P0391 Code: Diagnose Camshaft Sensor Problems and Restore Engine Timing
21 min read · by Nicole Bennett · Last updated: November 26, 2026
The p0391 code indicates a Camshaft Position Sensor B Circuit Range/Performance problem on Bank 2, meaning the engine computer has detected an incorrect, inconsistent, or out-of-range camshaft position signal. This signal helps the engine control module (ECM) coordinate ignition timing, fuel injection, and variable valve timing. When the signal does not match the expected pattern, the computer may turn on the check engine light.
A failing camshaft position sensor is one possible cause, but replacing it immediately is not always the right repair. Damaged wiring, poor electrical connections, a worn timing chain, a faulty camshaft phaser, or an oil-related variable valve timing problem can produce similar symptoms. The correct diagnosis depends on the vehicle’s engine design and manufacturer-specific testing procedures.
This guide explains what P0391 means, how to recognize its symptoms, which components commonly cause it, and how to diagnose the problem with an OBD2 scanner and electrical testing equipment. It also covers driving safety, repair considerations, and the information to collect before replacing parts.
What Does the P0391 Code Mean?
P0391 is a powertrain diagnostic trouble code associated with an abnormal camshaft position sensor signal on Bank 2. Its generic SAE definition is Camshaft Position Sensor B Circuit Range/Performance (Bank 2). The ECM detects that the signal does not match the expected operating pattern or does not correlate correctly with crankshaft position.
The camshaft and crankshaft rotate in a coordinated relationship. The crankshaft position sensor reports crankshaft speed and position, while the camshaft position sensor helps the computer identify the camshaft position and determine which part of the engine cycle is occurring. If their signals disagree, the ECM may have difficulty controlling fuel injection and ignition timing.
Understanding the P0391 code structure
The five-character code provides information about the affected system and the type of fault:
- P: Identifies a powertrain fault involving the engine or transmission control system.
- 0: Indicates a generic SAE diagnostic code rather than a manufacturer-specific P1xxx code.
- 3: Identifies the relevant engine diagnostic category.
- 9: Further identifies the particular diagnostic code within that category.
- 1: Identifies the specific range/performance fault.
Although the generic description identifies Sensor B, some manufacturer documentation uses different sensor labels or identifies the affected camshaft more specifically. For example, a Holden V6 service procedure identifies P0391 as an exhaust camshaft position sensor range/performance fault on Bank 2. You can consult the Holden V6 camshaft position sensor diagnostic procedure for an example of the manufacturer-specific circuit description and testing approach.
What are Sensor B and Bank 2?
Sensor B generally identifies the second camshaft position sensor designation within the manufacturer’s engine management system. On many dual-camshaft engines, Sensor A and Sensor B correspond to different camshafts, commonly intake and exhaust. However, the assignment is not universal.
Bank 2 identifies the cylinder bank that does not contain cylinder number 1. On a V6 or V8 engine, the two cylinder banks are physically separated into different sides of the engine. An inline four-cylinder engine generally has only one cylinder bank, so the usual Bank 2 description does not apply in the same way.
Do not assume the sensor is located on the driver’s side or passenger side. Engine orientation and cylinder numbering vary. Consult the vehicle’s service information before attempting to identify or access the affected sensor.
The following comparison helps distinguish P0391 from related diagnostic codes.
| Code | Description | Main distinction |
|---|---|---|
| P0390 | Camshaft Position Sensor B Circuit Bank 2 | General circuit fault |
| P0391 | Camshaft Position Sensor B Circuit Range/Performance Bank 2 | Signal performance problem |
| P0392 | Camshaft Position Sensor B Circuit Low Bank 2 | Signal voltage too low |
| P0393 | Camshaft Position Sensor B Circuit High Bank 2 | Signal voltage too high |
| P0346 | Camshaft Position Sensor A Circuit Range/Performance Bank 2 | Sensor A performance problem |
These related codes help narrow down the problem, but they do not identify the failed component by themselves. A P0391 code accompanied by other camshaft, crankshaft, or variable valve timing codes deserves a broader investigation.
Common Symptoms of a P0391 Fault
P0391 can cause anything from an illuminated check engine light to serious engine drivability problems. The symptoms depend on how far the camshaft signal has deviated from the expected pattern and how the ECM responds to the fault.

Some vehicles continue running relatively normally because the computer can use backup strategies. Others experience rough operation, starting difficulties, reduced performance, or unexpected stalling. A vehicle with a mechanical timing problem may develop more serious symptoms than one with an intermittent electrical connection.
1. Check engine light
The most recognizable symptom is an illuminated check engine light. The ECM stores P0391 when its diagnostic conditions are satisfied. Depending on the manufacturer’s monitoring strategy, the code may initially appear as pending before becoming confirmed.
A steady light does not necessarily mean the engine is about to fail. However, it indicates that the control system has detected a problem that needs investigation. Do not clear the code before recording its freeze-frame information.
2. Hard starting or extended cranking
The ECM relies on camshaft and crankshaft position information to synchronize engine operation. An unreliable camshaft signal can make it harder to establish the correct engine position during starting.
You may notice that the engine takes longer than usual to start, particularly after sitting overnight. In more severe cases, the engine may crank without starting. This symptom can also result from fuel delivery, ignition, battery, or other sensor problems, so it should not be treated as proof of a failed camshaft sensor.
3. Rough idle and engine vibration
Incorrect camshaft position information can interfere with accurate fuel injection and ignition timing. The engine may idle unevenly, vibrate more than usual, or produce noticeable fluctuations in RPM.
A damaged sensor, poor connection, or mechanical timing issue can all contribute to unstable operation. If the engine also misfires, check for additional powertrain codes rather than focusing exclusively on P0391.
4. Reduced acceleration and engine power
Some vehicles reduce engine output when the ECM cannot reliably determine camshaft position. This protective strategy may limit acceleration or change transmission behavior depending on the vehicle’s design.
You might notice sluggish acceleration, hesitation when pressing the throttle, or difficulty maintaining speed on an incline. These symptoms can make merging into traffic or overtaking less predictable.
5. Engine stalling or misfires
An unstable camshaft signal may cause intermittent synchronization problems. The engine can stumble, misfire, or stall, particularly when the fault becomes more pronounced.
A flashing check engine light requires immediate attention. It indicates an active misfire that can overheat and damage the catalytic converter. Reduce engine load and arrange prompt inspection rather than continuing to drive normally.
Not every vehicle displays all these symptoms. Some drivers notice only a warning light, while others experience multiple problems at once. The combination of symptoms and stored codes provides more useful diagnostic information than the P0391 code alone. Seeing P0390 Code alongside this one? That guide explains what it means.
What Causes the P0391 Code?
The most common causes involve the camshaft position sensor circuit, the mechanical components that generate the sensor signal, or the systems controlling camshaft timing. A proper diagnosis should separate electrical faults from mechanical problems before parts are replaced.
The following components and conditions deserve particular attention when investigating a P0391 fault.
1. Faulty camshaft position sensor
The camshaft position sensor monitors the rotation and position of the camshaft. Many modern engines use Hall-effect sensors, while other designs use different sensing technologies. The sensor sends an electrical signal to the ECM whenever the camshaft’s target or reluctor passes its sensing element.
Internal sensor damage, heat exposure, contamination, or age-related deterioration can produce an inconsistent signal. The sensor may work normally when cold but become unreliable after the engine reaches operating temperature.
A failed sensor is a reasonable possibility, but its replacement should follow electrical and signal testing. A sensor that is working correctly cannot compensate for a damaged reluctor or incorrect mechanical timing.
2. Damaged wiring or electrical connectors
The sensor depends on reliable electrical connections. A damaged wire, corroded terminal, loose connector, or poor ground can interrupt the signal or introduce electrical noise.
Engine vibration and repeated heating and cooling can weaken wiring insulation. Harnesses routed near hot exhaust components or moving engine parts can also become damaged.
Some electrical problems are intermittent. For example, an engine may run normally while stationary but develop a signal problem when vibration increases during acceleration. This is one reason why a visual inspection and live-data evaluation are important.
3. Damaged reluctor wheel or camshaft target
The sensor reads a rotating target, reluctor, or toothed wheel attached to or associated with the camshaft. Its shape and position allow the ECM to interpret camshaft movement.
A damaged tooth, excessive debris, incorrect installation, or a displaced target can create an irregular signal. The sensor may have proper electrical power and ground while still reporting incorrect camshaft position information.
This type of fault can be difficult to identify with a basic OBD2 scanner. An oscilloscope or manufacturer-specific diagnostic procedure may be necessary to confirm the signal pattern.
4. Timing chain, timing belt, or tensioner problems
The crankshaft and camshaft must maintain their correct mechanical relationship. A stretched timing chain, worn tensioner, damaged guide, or incorrectly installed timing belt can alter that relationship.
If the camshaft moves out of its expected position relative to the crankshaft, the ECM may detect a correlation problem and store a performance-related code. Other timing codes may appear alongside P0391.
A rattling noise from the timing area, difficult starting, or sudden changes in engine performance should increase concern about mechanical timing. Timing-related repairs can involve extensive engine disassembly and should be handled by a qualified technician when the required procedures exceed your experience.
5. Variable valve timing problems
Variable valve timing (VVT) systems adjust camshaft position to improve engine performance, emissions, and efficiency. Depending on the engine, the system may use oil-controlled camshaft phasers and control solenoids.
A sticking phaser, malfunctioning control valve, restricted oil passage, or incorrect oil pressure can prevent the camshaft from reaching the requested position. The ECM may then detect a difference between expected and measured camshaft behavior.
Ford service information for certain applications also identifies electromagnetic interference, damaged camshaft phasers and sprockets, and oil-flow problems as possible causes of P0391. These are application-specific diagnostic possibilities, not universal failure patterns for every vehicle.
6. Engine oil problems
Many VVT systems depend on engine oil pressure to operate their camshaft actuators. Low oil level, incorrect viscosity, contaminated oil, or restricted passages can affect how quickly and accurately the phasers respond.
If the oil is overdue for service, inspect its level and condition according to the owner’s manual. A low oil level should be corrected using the manufacturer’s specified oil, but simply adding oil will not repair a damaged phaser, worn timing chain, or blocked internal passage.
7. ECM or control circuit problem
A damaged engine control module or an internal circuit problem can occasionally cause an incorrect sensor reading. However, this is less common than sensor, wiring, timing, and VVT problems.
Before considering ECM replacement, verify the power supply, grounds, reference voltage, wiring integrity, and sensor waveform. Replacing an expensive control module without these checks can leave the original problem unresolved.
How to Diagnose P0391 With an OBD2 Scanner
An OBD2 scanner provides a useful starting point for diagnosing P0391. A basic code reader can identify the stored fault, but a more capable scanner can display freeze-frame data, camshaft position readings, crankshaft synchronization, and other engine parameters.

The best approach is to record the available information before clearing codes, inspect the electrical system, and then compare the sensor signal with actual engine operation. Manufacturer-specific service information should determine the exact test limits and expected waveform.
Step 1: Scan all stored and pending codes
Connect the scanner to the vehicle’s 16-pin OBD2 diagnostic connector. On most vehicles, this connector is located beneath the dashboard on the driver’s side, near the steering column.
Turn the ignition on and follow the scanner’s instructions to retrieve diagnostic trouble codes. Record all stored, pending, and permanent codes before attempting repairs.
Pay particular attention to additional codes involving camshaft position, crankshaft position, timing correlation, misfires, and VVT control. Multiple related codes may reveal a shared electrical or mechanical problem.
Step 2: Review freeze-frame data
Freeze-frame data records operating conditions associated with a diagnostic fault. It can help determine whether P0391 appeared during cold starting, warm idle, acceleration, or sustained engine operation.
Record these available parameters:
- Engine RPM when the fault occurred.
- Engine coolant temperature.
- Calculated engine load.
- Vehicle speed.
- Battery or control-module voltage.
- Available camshaft and crankshaft synchronization information.
For example, a fault that repeatedly occurs during cold starts may point toward a different diagnostic direction than one that appears after the engine becomes hot. Freeze-frame data does not identify the failed component, but it helps reproduce the conditions that triggered the code.
Step 3: Inspect the sensor and wiring
Locate the correct Bank 2 camshaft position sensor using the vehicle’s wiring diagram and component-location information. Inspect the connector, visible wiring, and surrounding area for damage.
Look for corrosion, bent terminals, loose connections, damaged insulation, oil contamination, and signs of overheating. Check whether the wiring harness is rubbing against another component or routed too close to an exhaust surface.
A connector can look normal from the outside while having poor terminal tension internally. Use the correct connector inspection procedure rather than forcing test probes into electrical terminals.
Step 4: Check sensor power, ground, and signal
Many Hall-effect camshaft sensors use a 5-volt reference circuit, a ground circuit, and a separate signal wire. However, the exact circuit design varies by vehicle.
A digital multimeter can help check the reference voltage, ground integrity, and wiring continuity. Compare the readings with the manufacturer’s specifications rather than assuming every sensor uses identical electrical values.
A sensor may receive correct power and ground but still produce an irregular signal. In that situation, a scope test can provide more useful information than a simple voltage measurement.
Step 5: Examine live camshaft and crankshaft data
If the scanner supports enhanced live data, monitor the affected camshaft position, commanded camshaft angle, actual camshaft angle, and crankshaft synchronization status.
Compare the commanded and actual camshaft positions when the engine is operating under the conditions specified by the service procedure. An actual position that consistently fails to follow the commanded position may suggest a VVT actuator, oil supply, or mechanical timing problem.
Look for sudden jumps, missing readings, irregular movement, or synchronization changes. The expected values depend on the engine, so generic numerical limits should not replace manufacturer specifications.
Step 6: Check engine oil and VVT operation
Check the engine oil level and service condition. Confirm that the oil grade matches the owner’s manual and investigate any low-oil-pressure warnings or unusual timing-area noises.
If the vehicle uses an oil-controlled camshaft phaser, the technician may need to inspect the control solenoid, oil passages, and actual oil pressure. A VVT system can malfunction even when the camshaft sensor is electrically sound.
Step 7: Use an oscilloscope when necessary
An automotive oscilloscope displays the electrical signal as a waveform over time. This allows a technician to identify missing pulses, irregular patterns, electrical interference, and synchronization problems.
Comparing the camshaft and crankshaft waveforms can help determine whether the problem originates in the sensor circuit or mechanical timing. The technician can also compare the waveform with known-good reference information for the exact engine.
Some advanced scan tools offer Mode $06 information for supported onboard monitor tests. Where the vehicle exposes relevant camshaft monitor results, these records can provide additional diagnostic clues. Mode $06 data is manufacturer-dependent, and not every scanner displays useful P0391-related information. If you also pulled P0392 Code Meaning, Symptoms, Causes, and Step-by-Step Diagnosis, that guide walks through it step by step.
| Diagnostic finding | Possible direction | Next check |
|---|---|---|
| Missing or unstable sensor signal | Sensor or electrical circuit | Power, ground, connector, and waveform |
| Correct supply but irregular waveform | Sensor, target, or interference | Scope test and reluctor inspection |
| Actual cam angle differs from commanded angle | VVT or oil supply problem | Phaser, solenoid, oil pressure |
| Camshaft and crankshaft signals out of synchronization | Mechanical timing issue | Timing chain, tensioner, and alignment |
| Intermittent fault with visible harness damage | Wiring or connector problem | Harness inspection and circuit testing |
Tip: Do not clear P0391 immediately after connecting your scanner. Save the freeze-frame information, record every related code, and note the engine conditions when the fault appeared. Clearing codes too early can remove useful diagnostic evidence. Never disconnect electrical components or probe circuits without following the vehicle’s safety and testing procedures. Choosing the right equipment matters here, so take a look at Best Code Readers with Live Data.
How to Fix the P0391 Code
The correct repair depends on the component responsible for the abnormal camshaft signal. Replacing the sensor may solve the problem when the sensor itself is defective, but electrical, mechanical, and VVT-related faults require different repairs.
Once testing identifies the cause, choose the repair that addresses the actual failure rather than replacing several parts based only on the diagnostic code.
Replace a confirmed faulty camshaft position sensor
If testing confirms that the sensor produces an incorrect signal despite having the correct electrical supply and ground, replacement may be necessary. Use a sensor that matches the vehicle’s exact engine and sensor application.
Sensor replacement procedures differ. Some sensors are relatively accessible, while others require removal of surrounding components. Follow the manufacturer’s instructions for installation, sealing, connector routing, and tightening specifications.
After installation, verify that the new sensor produces a stable signal and that the ECM can correctly synchronize the camshaft and crankshaft readings.
Repair damaged wiring and connectors
If the problem comes from a damaged wire or connector, repair the affected circuit using the correct automotive wiring materials and manufacturer-approved procedures.
A proper repair should restore electrical continuity, maintain secure terminal connections, and protect the harness from heat, moisture, and vibration. Simply wrapping damaged wiring with ordinary tape may not provide a reliable long-term repair.
Correct engine oil and VVT problems
If oil level, oil condition, or oil pressure is affecting camshaft timing, address the underlying lubrication problem. Depending on the findings, this may involve an oil and filter service, oil pressure diagnosis, cleaning or repair of restricted passages, or replacement of a defective VVT control component.
A damaged camshaft phaser may require more extensive work. The technician should verify that the phaser can respond correctly to commanded changes before replacing it.
Repair mechanical timing problems
If testing confirms a stretched chain, damaged tensioner, worn guide, or incorrect timing alignment, the mechanical timing system must be repaired according to the engine manufacturer’s procedure.
Timing repairs may require specialized locking tools, engine support equipment, and precise alignment procedures. Incorrect installation can cause serious engine damage, particularly on interference engines where pistons and valves can contact each other.
Do not attempt a timing chain or belt repair without the correct service information, equipment, and experience.
Verify the repair and clear the code
Once the underlying problem has been corrected, use the scanner to clear eligible diagnostic codes. Follow the manufacturer’s specified operating conditions so the relevant monitor can run again.
Check whether P0391 returns, review camshaft synchronization data, and confirm that the engine starts and runs correctly. If the code remains as a permanent diagnostic trouble code, that does not automatically mean the repair failed.
Permanent codes are designed to clear only after the underlying fault is corrected and the relevant onboard monitor passes. A scanner cannot necessarily erase a permanent code manually.
Is It Safe to Drive With P0391?
Driving with P0391 is not recommended until the cause has been identified. The risk depends on whether the problem is an intermittent electrical fault, an unreliable sensor, or a more serious mechanical timing issue.
A vehicle with a steady check engine light and no noticeable drivability problems may still operate, but that does not guarantee the engine is safe to use for extended driving. A timing-related problem can worsen and lead to more expensive damage.
When limited driving may be possible
If the check engine light is steady, the engine starts normally, there are no unusual mechanical noises, and the vehicle maintains normal operation, a short and cautious trip to a repair facility may be possible.
Avoid heavy acceleration, high engine speeds, towing, and unnecessary journeys. Arrange diagnosis promptly rather than continuing to use the vehicle as usual.
When you should stop driving
Stop in a safe location and arrange professional assistance if you notice any of these warning signs:
- A flashing check engine light.
- Repeated engine stalling or severe misfires.
- Loud rattling or unusual noises from the timing area.
- A sudden and significant loss of engine power.
- An oil pressure warning or evidence of inadequate lubrication.
- Severe starting problems or an engine that stops unexpectedly.
A flashing check engine light is particularly important because an active misfire can overheat the catalytic converter. Reduce engine load and stop driving when it is safe to do so. A suspected timing chain failure or severe mechanical timing problem also warrants towing rather than attempting to reach a repair shop under engine power.
Tip: Never ignore an oil pressure warning while investigating P0391. Low oil pressure can affect VVT operation and may also cause serious internal engine damage. If the oil pressure warning appears while the engine is running, stop the engine as soon as it is safe and have the problem investigated.
How serious is the code?
P0391 should be treated as a potentially serious engine management fault. A simple sensor or connector issue may require a relatively straightforward repair. However, a worn timing chain, failed tensioner, or malfunctioning camshaft phaser can create more extensive mechanical problems.
The severity cannot be determined from the five-character code alone. Consider the warning light behavior, other stored codes, engine noises, starting performance, and live-data results when deciding how urgently the vehicle needs attention.
What affects repair costs?
The total repair expense depends on the failed component, vehicle design, parts availability, labor time, and the amount of diagnostic work required. A sensor replacement may involve limited labor on an accessible engine, while a timing chain or phaser repair can require extensive disassembly.
Shop repairs generally include diagnostic labor, replacement parts, installation time, and post-repair verification. Independent shops, dealerships, and specialist engine repair facilities may have different labor rates and diagnostic capabilities.
DIY repairs can reduce labor expenses when the fault is clearly identified and the component is accessible. However, incorrect sensor selection, wiring repairs, or timing installation can create additional problems. A professional diagnosis may be the more economical choice when the cause is uncertain. If a nearby code such as P0389 Code is stored too, its guide is worth reading.
Frequently Asked Questions
These additional questions address details that often arise when interpreting P0391 and planning the next diagnostic step.
1. Can P0391 cause a vehicle to fail an emissions inspection?
Yes. A confirmed emissions-related check engine fault can prevent a vehicle from passing an OBD2-based inspection. Even after repairs, the vehicle may need to complete its required readiness monitors before it qualifies for an inspection. Local inspection rules determine the exact requirements.
2. Will disconnecting the battery permanently remove P0391?
No. Disconnecting the battery does not repair the underlying fault and is not a reliable method of removing every stored code. Permanent diagnostic trouble codes are specifically designed to remain until the fault is repaired and the relevant monitor passes. Battery disconnection can also erase useful learned settings and diagnostic information.
3. Can P0391 appear without noticeable engine symptoms?
Yes. Some vehicles can compensate for an intermittent or minor camshaft signal problem without producing obvious drivability symptoms. The ECM may still record the fault because the signal has failed its diagnostic criteria. An absence of symptoms does not prove that the sensor circuit or timing system is healthy.
4. Can a weak battery trigger P0391?
Low system voltage can interfere with electronic sensor and control-module operation, especially during starting. However, a weak battery should not be assumed to be the cause of P0391. A fully charged battery typically measures about 12.6 volts at rest, while a functioning charging system commonly produces approximately 13.5 to 14.7 volts with the engine running. Compare actual readings with vehicle-specific specifications.
5. Does replacing the camshaft sensor require a computer relearn?
Not necessarily. Some vehicles require no additional relearn after sensor replacement, while others have specific camshaft variation, crankshaft variation, or VVT adaptation procedures. Follow the manufacturer’s instructions for the exact engine. Clearing the code alone does not perform a required calibration or relearn.
The P0391 code identifies an abnormal Bank 2 camshaft position signal, but it does not automatically mean the sensor has failed. Check freeze-frame data, wiring, electrical signals, engine oil condition, and mechanical timing before replacing parts. Accurate diagnosis is the best way to restore reliable engine operation and prevent unnecessary repairs.
-
Nicole Bennett, Technical Content Editor at BestOBD2Picks Nicole turns OBD-II standards, service bulletins, and repair data into step-by-step diagnostic guides anyone can follow. Technical Content Editor
Related guides
LearnP0017 Chevy Code: What GM Says It Means and How to Fix It
LearnP0141 Honda Code: What Bank 1 Sensor 2 Means and How to Check It
LearnDim Headlights: Causes, Quick Checks and When to Get Help
LearnP0522 Code: Oil Pressure Sensor Low Meaning, Causes and Fixes
LearnP1922 Code: Understand the Fault and Find the Right Repair
LearnB0078 Code: Third Row Right Seatbelt Pretensioner Fault