The P0366 OBD-II trouble code means the engine control module is receiving a signal from Camshaft Position Sensor “B” on Bank 1, but that signal does not behave as expected.
On most dual-overhead-cam engines, Sensor B monitors the exhaust camshaft. Bank 1 is the cylinder bank containing cylinder number one. Manufacturer terminology varies, so confirm the sensor location using vehicle-specific service information before replacing anything.
Unlike P0365, which indicates a general circuit malfunction, P0366 usually means the sensor signal is present but implausible, distorted, mistimed or outside its expected operating range.
Possible causes include a failing sensor, incorrect sensor air gap, reluctor-wheel damage, wiring resistance, electrical interference, incorrect valve timing or a variable valve timing problem.
P0366 Code Quick Reference
| Item | Details |
|---|---|
| Code | P0366 |
| Definition | Camshaft Position Sensor “B” Circuit Range/Performance Bank 1 |
| System | Camshaft position monitoring |
| Sensor B | Usually the exhaust camshaft sensor |
| Bank 1 | Cylinder bank containing cylinder number one |
| Common symptoms | Hard starting, stalling, hesitation and reduced power |
| Common causes | Sensor failure, distorted signal, reluctor damage or timing problems |
| Repair urgency | Moderate to high |
| Safe to drive? | Only briefly if the engine runs normally |
What Does the P0366 Code Mean?
The camshaft position sensor tracks the rotational position of the camshaft. The ECM compares this information with crankshaft position, engine speed and commanded variable valve timing.
A properly functioning sensor produces a predictable electrical pattern as the camshaft rotates. The ECM expects the signal to:
- Switch at the correct time
- Maintain the correct voltage range
- Follow engine speed
- Match the camshaft trigger pattern
- Remain synchronized with the crankshaft
- Respond correctly to VVT commands
P0366 is stored when the Bank 1 Sensor B signal is present but does not match the expected pattern or operating conditions.
The ECM may detect:
- Incorrect pulse spacing
- Distorted waveform
- Missing portions of the pattern
- Weak signal amplitude
- Unexpected signal frequency
- Implausible camshaft position
- Slow response to camshaft movement
- Signal interference
- Incorrect relationship to engine speed
- A position reading outside the calibrated range
This distinction matters. P0366 is not simply “camshaft sensor bad.” It means the ECM does not trust the information it is receiving.
What Does Sensor “B” Mean?
On most dual-overhead-cam engines:
- Sensor A monitors the intake camshaft.
- Sensor B monitors the exhaust camshaft.
P0366 therefore commonly refers to the Bank 1 exhaust camshaft position sensor.
Some manufacturers use different terminology or multiple sensors on the same camshaft. Confirm Sensor B through:
- Factory component-location diagrams
- Vehicle-specific wiring diagrams
- Connector terminal identification
- Scan-tool data labels
- Manufacturer service information
Do not identify Sensor B based only on its physical location. The sensor nearest the front of the engine is not automatically Sensor A, and the rear sensor is not automatically Sensor B.
What Is Bank 1?
Bank 1 is the cylinder bank containing cylinder number one.
On an inline engine, the entire engine is Bank 1 because there is only one cylinder bank.
On V-style and horizontally opposed engines, Bank 1 can be located on either side of the vehicle. It is not automatically the driver or passenger side.
Confirm Bank 1 using:
- Cylinder-numbering diagram
- Firing-order information
- Manufacturer repair manual
- Underhood emissions label
- Vehicle-specific technical database
Testing the wrong bank produces excellent measurements of a component that was never accused of anything.
How the Camshaft Position Sensor Works
A camshaft position sensor reads a trigger wheel, reluctor or encoded target attached to the camshaft.
As the camshaft rotates, the target passes the sensor and creates an electrical pattern. The ECM uses that pattern to determine camshaft position and cylinder sequence.
Common designs include Hall-effect and variable-reluctance sensors.
Hall-effect sensor
A Hall-effect sensor commonly uses three wires:
- Supply or reference voltage
- Ground
- Digital signal output
The signal switches between low and high voltage as the target passes the sensor.
A P0366 fault may occur when the signal switches but produces:
- Incorrect pulse width
- Missing pulses
- Electrical noise
- Slow transitions
- Irregular spacing
- Incorrect timing relative to the crankshaft
Variable-reluctance sensor
A variable-reluctance sensor commonly uses two wires and generates alternating voltage as the reluctor moves past it.
Signal strength normally increases with engine speed.
A weak or distorted signal can result from:
- Excessive sensor air gap
- Low cranking speed
- Metal debris on the sensor
- Reluctor damage
- Sensor deterioration
- Wiring resistance
- Electromagnetic interference
The correct testing procedure depends on the sensor design. Do not assume every camshaft sensor can be evaluated with a basic resistance test.
P0366 Symptoms
Possible symptoms include:
- Illuminated check engine light
- Extended cranking
- Intermittent no-start
- Engine stalling
- Difficult hot restart
- Rough idle
- Hesitation
- Reduced acceleration
- Poor fuel economy
- Engine misfire
- Unstable idle speed
- Reduced-power mode
- Incorrect VVT operation
- Increased exhaust emissions
- Harsh or unusual transmission shifts
- Engine running normally despite the stored code
Some vehicles can continue running using crankshaft-position information and a substitute camshaft strategy. Others may stall or refuse to restart when the ECM loses confidence in the camshaft signal.
Common Causes of P0366
Possible causes include:
- Failing Camshaft Position Sensor B
- Incorrect replacement sensor
- Excessive sensor air gap
- Sensor installed incorrectly
- Loose sensor mounting bolt
- Damaged camshaft reluctor or trigger wheel
- Bent, cracked or missing reluctor tooth
- Metal debris attached to a magnetic sensor
- Excessive camshaft end play
- Loose or damaged sensor connector
- Corroded connector terminals
- Oil contamination inside the connector
- Excessive resistance in the signal circuit
- Poor sensor ground
- Unstable sensor supply voltage
- Signal wire routed near an ignition or charging circuit
- Damaged shielding
- Electrical interference
- Low battery voltage during cranking
- Incorrect valve timing
- Stretched timing chain
- Worn timing-chain guides
- Weak timing-chain tensioner
- Damaged or incorrectly installed timing belt
- Sticking camshaft phaser
- Restricted VVT oil passage
- Incorrect engine-oil viscosity
- Low engine-oil level
- Faulty ECM input circuit
- Incorrect ECM calibration
How Serious Is the P0366 Code?
P0366 can become serious if the signal problem affects ignition timing, fuel-injection synchronization or variable valve timing.
Possible consequences include:
- Engine stalling
- Difficult starting
- Reduced engine power
- Incorrect fuel delivery
- Engine misfires
- Increased emissions
- Catalytic-converter damage
- Failure to restart after shutdown
- Internal engine damage if mechanical timing is incorrect
The code deserves prompt diagnosis even if the engine currently runs normally. A marginal sensor or damaged wire may fail completely once it becomes hot.
Stop driving if:
- The engine stalls repeatedly
- The check engine light flashes
- Timing-chain noise is present
- Oil pressure is low
- The engine loses significant power
- The engine runs severely rough
- Mechanical timing failure is suspected
P0366 vs P0365
P0365 and P0366 monitor the same general sensor location but describe different problems.
| Code | Diagnostic meaning |
| P0365 | General circuit malfunction |
| P0366 | Signal range or performance problem |
P0365 commonly indicates that the ECM cannot detect a usable Sensor B circuit or signal.
P0366 normally means a signal exists, but its voltage pattern, timing, frequency or response is implausible.
For example:
- A completely open signal wire may set P0365.
- A distorted waveform caused by excessive sensor air gap may set P0366.
- A missing reference-voltage circuit may set P0365.
- A loose reluctor creating irregular pulse spacing may set P0366.
Diagnosis can overlap, but P0366 requires closer attention to signal quality and mechanical trigger accuracy.
P0366 vs P0017
P0017 identifies an incorrect relationship between the crankshaft and Bank 1 Sensor B camshaft.
P0366 focuses on the performance or plausibility of the camshaft sensor signal itself.
| Code | Primary focus |
| P0366 | Camshaft sensor signal quality or performance |
| P0017 | Crankshaft-to-camshaft timing correlation |
A damaged reluctor, stretched timing chain or phaser problem can potentially contribute to either code. However, P0017 should retain the mechanical correlation search intent, while P0366 should focus on evaluating the Sensor B signal and its trigger source.
When both codes appear, record the codes and freeze-frame data before clearing them. Test signal quality first, then verify mechanical timing if the waveform or scan data suggests an actual position error.
P0366 vs P0013
P0013 indicates an electrical fault in the Bank 1 exhaust-camshaft actuator circuit.
The actuator—often called a VVT solenoid or oil-control valve—changes the camshaft position. Sensor B reports the resulting position to the ECM.
The difference is straightforward:
- P0013 monitors the actuator circuit.
- P0366 monitors the sensor signal’s range and performance.
A failed actuator can leave the camshaft in an unexpected position, but that does not automatically mean Sensor B has failed.
P0366 vs P0027
P0027 identifies a range or performance problem involving the Bank 1 exhaust valve-control solenoid.
Although both codes use “range/performance,” they monitor different sides of the VVT system:
- P0027 concerns the mechanism commanding or controlling exhaust-valve movement.
- P0366 concerns the sensor reporting exhaust-camshaft position.
If both codes appear together, inspect engine-oil condition, VVT operation, commanded and actual camshaft angles, and Sensor B waveform quality.
P0366 vs P0367, P0368 and P0369
The following codes further define specific Sensor B circuit failures on Bank 1:
| Code | Meaning |
| P0366 | Circuit range/performance |
| P0367 | Circuit low input |
| P0368 | Circuit high input |
| P0369 | Circuit intermittent |
P0366 concerns a signal that does not make sense.
P0367 and P0368 indicate signal voltage that remains too low or too high. P0369 indicates that the signal disappears intermittently.
Keeping those definitions separate prevents four pages from becoming slightly rearranged copies of “replace the cam sensor and hope.”
How to Diagnose the P0366 Code
Diagnosing P0366 may require a scan tool, digital multimeter, wiring diagram and oscilloscope.
1. Scan every module
Record all stored, pending and permanent codes.
Look for:
- P0365 and P0367–P0369
- P0013–P0017
- Crankshaft-position sensor codes
- VVT actuator codes
- Engine misfire codes
- Low-voltage codes
- Oil-pressure-related codes
Save the freeze-frame information before clearing anything.
Important data includes:
- Engine speed
- Coolant temperature
- Vehicle speed
- Calculated engine load
- Battery voltage
- Commanded camshaft position
- Actual camshaft position
- VVT duty cycle
2. Confirm Bank 1 and Sensor B
Use manufacturer information to identify:
- Cylinder number one
- Bank 1
- Sensor B
- Sensor connector
- Sensor type
- ECM signal terminal
- Reference-voltage circuit
- Ground circuit
This is especially important on engines using several camshaft sensors.
3. Inspect engine-oil condition
Check:
- Oil level
- Oil viscosity
- Oil contamination
- Service history
- Signs of sludge
- Evidence of low oil pressure
P0366 is not simply an oil-change reminder, but dirty or incorrect oil can interfere with VVT operation and place the camshaft outside its expected position.
Correct obvious oil problems before evaluating camshaft response.
4. Inspect the sensor installation
Verify that Sensor B is:
- Fully seated
- Properly tightened
- The correct part number
- Free of physical damage
- Installed with the correct seal
- Positioned at the specified air gap
An aftermarket sensor may physically fit while generating an incorrect waveform. When a code appears immediately after sensor replacement, confirm the replacement component before assuming the ECM suddenly became dramatic.
5. Inspect the connector and wiring
With the ignition off, inspect:
- Connector engagement
- Broken locking tabs
- Loose terminals
- Oil intrusion
- Corrosion
- Bent or recessed pins
- Frayed conductors
- Brittle insulation
- Harness contact with hot components
- Wiring routed beside ignition coils or alternator cables
- Missing or damaged signal shielding
Electrical noise can alter an otherwise functional sensor signal.
6. Test battery and charging-system voltage
Verify:
- Battery state of charge
- Cranking voltage
- Charging voltage
- Battery terminal condition
- Engine grounds
- ECM powers and grounds
A weak battery can reduce cranking speed and sensor output, particularly with variable-reluctance sensors.
7. Verify sensor power and ground
For a powered Hall-effect sensor, test the supply and ground circuits.
Supply voltage may be approximately 5 volts, battery voltage or another manufacturer-specified value.
Perform a voltage-drop test on the ground circuit while the sensor is operating. A static continuity reading may not reveal excessive resistance.
8. Examine live camshaft data
Use a capable scan tool to compare:
- Commanded camshaft angle
- Actual camshaft angle
- Bank 1 Sensor A
- Bank 1 Sensor B
- Bank 2 Sensor B when equipped
- Engine speed
- VVT solenoid command
Look for:
- Slow response
- Position that remains fixed
- Sudden jumps
- Unreasonable angle
- Excessive difference between commanded and actual position
- Data that changes when the harness is moved
Live data can identify a performance problem, but it may not reveal brief signal defects. Use a scope when possible.
9. Inspect the waveform
Connect an oscilloscope according to the manufacturer’s test procedure.
A healthy Hall-effect sensor should generally produce a clean digital waveform. A variable-reluctance sensor should produce a consistent alternating waveform.
Look for:
- Missing pulses
- Uneven pulse spacing
- Weak amplitude
- Rounded signal transitions
- Excessive electrical noise
- Double pulses
- Signal dropouts
- Changes as the sensor heats up
- Pattern errors repeating every camshaft revolution
Compare the waveform with:
- A known-good pattern
- Bank 1 Sensor A
- Bank 2 Sensor B
- The crankshaft-position signal
A repeating irregularity at the same point in every revolution often suggests a damaged reluctor or trigger wheel rather than random wiring interference.
10. Perform a cam-and-crank correlation test
A dual-channel oscilloscope can display the camshaft and crankshaft signals together.
This allows you to evaluate:
- Relative signal timing
- Missing reluctor teeth
- Incorrect camshaft position
- Timing-chain stretch
- Trigger-wheel movement
- Phaser position
- Signal synchronization
Do not replace the timing chain solely because the waveforms appear different from a generic online picture. Compare them with a known-good pattern for the same engine.
11. Check the sensor air gap
An excessive or inconsistent air gap can weaken or distort the sensor signal.
Possible causes include:
- Sensor not fully seated
- Debris beneath the sensor
- Incorrect sensor
- Damaged mounting surface
- Worn camshaft bearing
- Excessive camshaft end play
- Bent trigger wheel
Measure the gap using the manufacturer’s procedure where accessible.
12. Inspect the reluctor or trigger wheel
Inspect the trigger target for:
- Cracked teeth
- Bent tabs
- Missing segments
- Loose mounting
- Incorrect orientation
- Metal debris
- Physical contact with the sensor
- Movement relative to the camshaft
A damaged trigger target can produce a convincing sensor waveform for most of the revolution and one incorrect pulse that repeatedly triggers P0366.
13. Test the VVT system
If actual camshaft position does not follow the commanded position, inspect:
- VVT solenoid
- Oil-control valve
- Camshaft phaser
- Oil passages
- Oil pressure
- Electrical actuator circuit
- Mechanical camshaft movement
Distinguish between a sensor reporting the wrong position and a sensor accurately reporting that the camshaft is in the wrong position.
That difference saves a great deal of unnecessary parts replacement.
14. Verify mechanical timing
Inspect mechanical timing when supported by:
- P0017 or another correlation code
- Abnormal cam-and-crank waveform
- Timing-chain noise
- Low compression
- Incorrect actual camshaft angle
- Engine work performed recently
- Debris in the engine oil
Possible faults include:
- Stretched timing chain
- Jumped chain or belt
- Worn guides
- Weak tensioner
- Incorrect timing-mark alignment
- Loose camshaft gear
- Failed camshaft phaser
15. Evaluate the ECM last
Before condemning the ECM, verify:
- Correct sensor part
- Proper sensor installation
- Stable supply voltage
- Good ground
- Signal-wire integrity
- Clean waveform at the sensor
- Clean waveform at the ECM
- Correct trigger-wheel condition
- Correct mechanical timing
- ECM power and ground
- Applicable software updates
If the waveform is correct at the sensor but distorted at the ECM connector, the wiring remains suspect. If the waveform is correct at both locations and all mechanical checks pass, ECM diagnosis becomes more reasonable.
Common P0366 Diagnostic Mistakes
Replacing Sensor B without examining its signal
P0366 is a performance code. The sensor may generate a signal while a damaged reluctor or mechanical timing problem makes that signal implausible.
Confusing P0366 with P0365
P0365 identifies a general circuit problem. P0366 focuses on signal behavior or performance.
Assuming Sensor B is always the exhaust sensor
Sensor B usually identifies the exhaust camshaft on a dual-overhead-cam engine, but manufacturer terminology must be verified.
Assuming Bank 1 is always on one side
Bank 1 is whichever bank contains cylinder number one.
Ignoring replacement-part quality
An incorrect or poorly manufactured sensor may create the wrong waveform even when it plugs into the factory connector.
Replacing the timing chain without checking the waveform
Mechanical timing can cause P0366, but so can sensor installation, air gap, wiring resistance and reluctor damage.
Using resistance as the only sensor test
A sensor can pass a resistance test and still produce a weak, noisy or improperly timed signal.
Ignoring the difference between commanded and actual camshaft position
A sensor may be accurately reporting a VVT actuator or mechanical timing problem. Blaming the messenger remains popular, but it is not especially effective.
How to Fix the P0366 Code
The correct repair depends on the diagnostic results.
Possible repairs include:
- Reseating the Sensor B connector
- Cleaning or replacing damaged terminals
- Repairing the signal wire
- Repairing the sensor ground
- Restoring sensor supply voltage
- Correcting wiring interference or shielding
- Properly seating the sensor
- Correcting the sensor air gap
- Removing metal debris from a magnetic sensor
- Installing the correct OEM-quality sensor
- Replacing a failed Camshaft Position Sensor B
- Repairing or replacing the camshaft reluctor
- Correcting engine-oil level or viscosity
- Cleaning restricted VVT oil passages
- Replacing a failed VVT solenoid
- Repairing or replacing the camshaft phaser
- Correcting valve timing
- Replacing a damaged timing belt or stretched chain
- Performing a required camshaft or crankshaft relearn
- Updating ECM software
- Repairing or replacing the ECM after complete testing
Estimated P0366 Repair Costs
| Repair | Estimated cost |
| Diagnostic inspection | $100–$250 |
| Connector or wiring repair | $100–$500 |
| Camshaft position sensor replacement | $150–$550 |
| Engine-oil and filter service | $80–$200 |
| VVT solenoid replacement | $200–$750 |
| Camshaft phaser replacement | $700–$2,500 |
| Reluctor or trigger-wheel repair | $500–$2,500+ |
| Timing-belt replacement | $700–$1,800 |
| Timing-chain replacement | $1,200–$4,500+ |
| ECM replacement and programming | $800–$2,500+ |
Actual costs depend on engine design, sensor accessibility and local labor rates.
Can You Drive with the P0366 Code?
The vehicle may remain drivable if the engine runs normally and the check engine light stays steady. Driving should still be limited until the fault is diagnosed.
A failing camshaft signal can cause sudden:
- Stalling
- Hard starting
- No-start condition
- Reduced power
- Misfire
- Incorrect VVT operation
Stop driving if the check engine light flashes, the engine runs severely rough, timing-chain noise develops or oil pressure is low.
How to Verify the Repair
After completing the repair:
- Clear all diagnostic codes.
- Start the engine and monitor Sensor B data.
- Compare commanded and actual camshaft position.
- Inspect the waveform at idle and increased engine speed.
- Perform a cold start and hot restart.
- Road-test the vehicle under the freeze-frame conditions.
- Monitor for pending P0366 or correlation codes.
- Complete any required relearn procedure.
- Confirm that readiness monitors can complete.
If the code returns only when hot, repeat signal testing after the engine reaches operating temperature. Heat-related sensor and connector failures enjoy passing every test conducted on a cold engine.
Frequently Asked Questions
What does the P0366 code mean?
P0366 means the ECM receives a Bank 1 Camshaft Position Sensor B signal that is outside the expected range or does not perform correctly.
Is Sensor B the exhaust camshaft sensor?
On most dual-overhead-cam engines, yes. Always confirm the manufacturer’s sensor designation.
Which side is Bank 1?
Bank 1 is the cylinder bank containing cylinder number one. Its physical location varies by engine.
Does P0366 mean the camshaft sensor is bad?
Not necessarily. The problem may involve the sensor, wiring, installation, air gap, reluctor, VVT system or mechanical timing.
What is the difference between P0365 and P0366?
P0365 identifies a general circuit malfunction. P0366 indicates that a signal exists but falls outside the expected range or performance.
Can a timing chain cause P0366?
Yes. A stretched or incorrectly installed timing chain can place the camshaft signal outside its expected position.
Can dirty oil cause P0366?
Dirty, low or incorrect oil can interfere with VVT operation and cause the camshaft to respond improperly. It is not the only possible cause.
Can P0366 cause a no-start condition?
Yes. Some engines cannot properly synchronize ignition and fuel injection without a reliable camshaft-position signal.
Can an aftermarket camshaft sensor cause P0366?
Yes. An incorrect or low-quality replacement may produce the wrong voltage, waveform or signal timing.
Should I replace the sensor before testing it?
No. Inspect the connector, verify power and ground, examine the waveform and check the trigger wheel before replacing parts.
Final Thoughts
P0366 means the Bank 1 Camshaft Position Sensor B signal is present but does not make sense to the ECM.
Begin by confirming Sensor B and Bank 1. Inspect the installation and wiring, verify power and ground, and examine the waveform. If the electrical signal is clean, determine whether a damaged reluctor, faulty VVT system or mechanical timing problem is placing the camshaft outside its expected position.
The sensor may be lying—or it may be accurately reporting that the camshaft has wandered off-script. Testing determines which one deserves the blame.
