Skip to content
MotorFiable

Timing and crank/cam sensorsGeneric OBD-II codeUrgency: Garage soon

Code P0366: camshaft sensor "B" out of range

P0366 means: camshaft position sensor "B" circuit: performance problem or out-of-range values (bank 1).[1][2] The signal from camshaft sensor "B" on bank 1 (normally the exhaust one) arrives, but does not behave as the ECU expects: it is noisy, arrives at the wrong point in the crankshaft's rotation or is not plausible when compared with it.[1]

System
Timing and crank/cam sensors
Urgency
Garage soon
You can drive carefully, but book a garage appointment as soon as possible
Possible causes
6
sorted from most to least likely
Type
Generic
The same on all makes

5 sourcesHow we work

What code P0366 means

The signal from camshaft sensor "B" on bank 1 (normally the exhaust one) arrives, but does not behave as the ECU expects: it is noisy, arrives at the wrong point in the crankshaft's rotation or is not plausible when compared with it.[1]

Unlike the circuit codes (P0365), there is a signal here, but it is not reliable. That is why the ECU usually leaves the variable valve timing in a base position until the signal becomes credible again. It is a generic code (P0).[1][3]

Original definition (SAE J2012): Camshaft Position Sensor "B" Circuit Range/Performance (Bank 1)[1][2]

Causes of P0366

From most to least likely, according to the sources.

  1. 1Camshaft sensor "B" generating a noisy or out-of-phase pulse.[1]
  2. 2Loose or corroded connector terminals, or oil in the connector.[1]
  3. 3Harness chafed, pinched or heat-damaged, or damaged shielding that lets interference in.[1]
  4. 4Camshaft wheel damaged or dirty, or incorrect gap between sensor and wheel.[1][4]
  5. 5Worn timing phaser or a slack timing chain, which puts the camshaft out of phase with the crankshaft.[1][4]
  6. 6Low oil level or dirty oil, which harms the variable valve timing actuator.[1]

Symptoms

How to diagnose P0366

In order: from the most likely and cheapest to check to the most expensive.

  1. 1Read the codes and the freeze-frame data. Look for accompanying codes from the P0365 to P0369 family, sensor "A" (P0340 to P0344), the crankshaft (P0335, P0336) or variable valve timing.[1][4]
  2. 2As it is often an intermittent fault, test with the engine warm, wiggling the harness and connector while watching the signal.[1]
  3. 3Check the camshaft connector, harness, sensor and wheel: oil, terminals, damage and gap to the sensor.[1][4]
  4. 4Check the oil level and condition, and if there are correlation codes (P0016, P0017) investigate the timing before replacing the sensor.[1][4]
  5. 5Replace the sensor only when everything else has been ruled out.[1][4]

Can I keep driving with P0366?

Garage soon

AutoDTCs rates it as moderate severity: you can usually keep driving, but there may be stalling, hard starting or loss of power, so it should be diagnosed before you depend on the car.[1]

Parts related to code P0366

The parts that most often cause this code. The code points to the circuit, not always the part: diagnose before you buy.

Affiliate links: if you buy from these shops, MotorFiable may receive a commission at no cost to you. Check compatibility against the registration plate or VIN before ordering. More information

Documented faults related to P0366

Known faults of specific engines and cars, with their repair cost, the affected years and their sources.

Engine sensors: the most serious faults by engine and car

All faults with the engine sensors (29)

Variable valve timing (VVT) actuator: the most serious faults by engine and car

All faults with the variable valve timing actuator (11)

Timing chain: the most serious faults by engine and car

All faults with the timing chain (47)

Wiring, connectors and short circuits: the most serious faults by engine and car

All faults with the electrical wiring (160)

P0366 by make

Documented faults that can trigger P0366 in each make's engines and cars.

Frequently asked questions

What does code P0366 mean?

The signal from camshaft sensor "B" on bank 1 is present, but is out of range or does not match that of the crankshaft.[1][2]

Does P0366 mean the sensor is broken?

Not necessarily. It can be down to the connector, the harness, the camshaft wheel or a timing offset; the chain and the phaser can also cause it.[1][4]

Can I drive with P0366?

You can generally keep driving for a while, but there is a risk of stalling, hard starting and loss of power. It should be diagnosed soon.[1]

Is it the same as P0341?

They are equivalent, but P0341 affects sensor "A" (normally the intake one) and P0366 sensor "B" (normally the exhaust one) on bank 1.[1][2]

Will I pass the MOT with code P0366?

If the code has switched on the engine warning light, no: with that light on, the inspection records a serious defect, and on Euro 5 and Euro 6 cars the ITV (Spain's roadworthiness inspection, similar to the MOT) also reads the OBD diagnostic system. Repair the fault before you go; clearing the code just before the inspection does not help either, because it counts as a serious defect.[5]

Not sure what is wrong with your car? Describe what you notice in the symptom diagnosis or see all fault codes.

Sources

Every fact on this page links to its source. If you find an error, let us know.

  1. P0366 – Camshaft Position Sensor “B” Circuit Range/Performance Bank 1AutoDTCs · Technical documentation · consulted 29 October 2026
  2. p0366 Generic DTC: Camshaft Position Sensor "B" Circuit Range/PerformanceDTCSearch · Technical documentation · consulted 29 October 2026
  3. On-board diagnosticsWikipedia · Other source · consulted 29 October 2026
  4. How to Test Crankshaft and Camshaft Position SensorsAutoDTCs · Technical documentation · consulted 29 October 2026
  5. Desmontando mitos: ¿puede pasar mi coche la ITV con el testigo de «avería motor» encendido?Diariomotor · Motoring press · published 8 March 2021 · consulted 2 October 2026 · in Spanish