P0366

Camshaft Position Sensor B Circuit Range/Performance (Bank 1)

P0366 is a generic OBD-II powertrain diagnostic trouble code: Camshaft Position Sensor B Circuit Range/Performance (Bank 1). It is logged by the engine control unit when the ckp/cmp monitor detects that a specific fault threshold has been exceeded — typically resulting in the malfunction-indicator lamp (MIL / check-engine light) being illuminated.

Code
P0366
Group
Powertrain
System
CKP/CMP
Severity
Warning (MIL on, possible limp mode)
Need P0366 disabled?
RaceTune permanently disables any OBD-II trouble code on supported ECUs — for motorsport, off-road, and export use.

What P0366 means

P0366 is a generic OBD-II fault code defined as a range/performance problem for camshaft position sensor "B" on Bank 1. Unlike P0365 — which indicates the sensor circuit is electrically absent or shorted — P0366 means the sensor is generating a signal that is electrically valid, but the cam position data does not correlate correctly with the crankshaft position signal over time. The PCM continuously compares the exhaust camshaft angle (sensor "B", Bank 1) against crank position; if the deviation exceeds a calibrated threshold for a set period, it stores P0366 and illuminates the MIL. This rationality check makes P0366 particularly important for diagnosing variable valve timing (VVT) systems: a stuck or sluggish exhaust cam phaser will cause the reported cam angle to diverge from the expected position at a given engine speed and load. Timing chain stretch or wear can cause a similar offset. Mechanical faults that alter the sensor-to-reluctor gap — such as bearing wear or a damaged tone ring — also produce range/performance failures. Because P0366 often indicates a mechanical problem rather than a purely electrical one, it typically warrants a deeper inspection of the VVT phaser, timing chain, and associated oil-flow hardware.

Common causes

Most-frequently reported root causes when P0366 is logged.

  • 1
    Stuck or sluggish exhaust cam VVT phaser (Bank 1) causing cam angle to deviate from commanded position
  • 2
    Timing chain stretch or guide wear allowing cam-to-crank phase to drift beyond calibrated limits
  • 3
    Degraded Hall-effect sensor element producing pulses with incorrect amplitude or duty cycle that pass threshold but fail rationality
  • 4
    Oil contamination, carbon buildup on the cam reluctor wheel, or debris on the sensor face attenuating pulse amplitude
  • 5
    Moisture ingress or corroded connector contacts introducing resistance that distorts the waveform without eliminating the signal entirely
  • 6
    Insufficient oil pressure to the VVT phaser actuator — caused by low oil level, worn oil pump, or blocked phaser solenoid oil screen
  • 7
    Damaged or chipped teeth on the camshaft reluctor wheel generating an irregular pulse pattern

Symptoms drivers notice

MIL (check engine light) illuminated
Rough idle or idle speed hunting as the PCM defaults VVT to a fixed cam position
Hesitation and power loss during acceleration, especially noticeable when VVT adjustment is commanded
Random misfires (often with companion misfire codes) caused by incorrect valve overlap timing
Engine stalling at low speed or during deceleration in severe cases
Poor fuel economy due to loss of optimal valve timing control across the load/speed range

How to diagnose P0366

A typical diagnostic flow when this code is present.

  1. 1
    Retrieve all stored DTCs; companion codes such as VVT performance codes (P0011/P0012 family) or oil control valve codes alongside P0366 strongly suggest a mechanical VVT or oil-supply fault
  2. 2
    Check engine oil level and condition before any further diagnosis — low or degraded oil is a leading cause of VVT phaser and oil control valve failure
  3. 3
    Use a scan tool with live PID capability to observe exhaust camshaft actual vs. desired position while varying engine speed; a significant and persistent gap confirms phaser or chain timing deviation
  4. 4
    Inspect the VVT oil control solenoid for the exhaust cam (Bank 1): remove and clean the solenoid screen/filter, test solenoid resistance, and verify the solenoid cycles correctly when commanded from the scan tool
  5. 5
    Perform a visual inspection of the CMP sensor "B" connector and harness for oil contamination and corrosion; use an oscilloscope to verify the waveform is a clean square wave with no missing pulses
  6. 6
    If oil pressure and VVT hardware are confirmed good, check timing chain slack with the engine at known TDC by manually rocking the camshafts with the chain cover removed; excessive lash indicates chain or tensioner wear
  7. 7
    Replace the exhaust cam VVT phaser if it cannot achieve commanded advance/retard targets after confirming adequate oil pressure and a functional solenoid

Related powertrain codes

Frequently asked questions

What is the difference between P0365 and P0366?

P0365 is an electrical circuit fault — the PCM sees a voltage that is out of range, absent, or stuck, indicating a wiring, connector, or sensor failure. P0366 is a rationality (range/performance) fault — the electrical signal looks valid, but the cam position data does not match what the PCM expects based on crankshaft position. P0366 more often indicates mechanical causes such as a stuck VVT phaser, timing chain stretch, or a blocked phaser oil solenoid.

Can low engine oil cause P0366?

Yes, low oil level or degraded oil viscosity is a common indirect cause. VVT phasers are hydraulically actuated; insufficient oil pressure prevents the phaser from achieving or holding the commanded cam angle. This produces a correlation error that the PCM interprets as a range/performance fault. Always verify oil level and quality before replacing sensors or VVT hardware.

Does P0366 mean the timing chain is stretched?

Timing chain stretch is one possible cause of P0366 because chain wear allows the cam-to-crank relationship to slip beyond the PCM's calibrated tolerance. However, it is not the only cause — a stuck phaser or faulty oil control valve are more common and cheaper to address. Confirm chain condition by checking cam-to-crank timing marks at TDC before attributing the code to chain wear.

Is it safe to drive with P0366?

The vehicle will typically remain drivable in a degraded state because the PCM defaults to a fixed VVT position. However, performance and fuel economy will be impaired, and continued operation with a stuck phaser or a worn timing chain risks further engine damage. If the fault is accompanied by unusual engine noise (chain rattle at startup) or additional timing codes, the vehicle should not be driven until inspected.

Disabling P0366 in software

RaceTune can permanently disable P0366 — and any other OBD-II diagnostic trouble code — on every ECU family we support. The monitor is disabled inside the ECU itself, so the fault stops being logged: the warning light stays off and the engine never enters limp mode for this code. The change is tied to your exact software version.

Permanent
The monitor is disabled in the ECU itself — not just cleared. It cannot return.
Tailored to your file
Each patch is matched to your specific software version — never a one-size-fits-all file.
Reversible
The original file is always preserved. Reflash the stock to return the ECU to factory state.

ECU families we can disable P0366 on

We hold the DaVinci A2L disable definitions for these families, so the exact P0366 path and mask addresses are mapped. verified marks a confirmed disable definition. We support many more — upload your file and our identifier will match it automatically.

  • Bosch MG1CP002 verified

Software modifications affect emissions compliance and are not road-legal in many jurisdictions. RaceTune service files are intended for motorsport, off-road, and export use.

Got P0366 in your scan?

Upload your ECU file — we'll identify the exact software version and confirm whether a disable is available for your car.

Upload your file