P0018: crank-cam B2 timing offset
Crankshaft Position - Camshaft Position Correlation Bank 2 Sensor A
Severity: high
Updated: 29 Nov 2026 · Generic OBD-II code (SAE J2012 / ISO 15031-6). Written with AI and reviewed; translated automatically from the Spanish original.
What it means
This code means the ECU (ECM/PCM) has detected a difference between the crankshaft position and the camshaft position of bank 2 that does not match the expected timing. The ECU compares in real time the signal from the crankshaft sensor with that of the bank 2 camshaft sensor A, that is, on the side of the engine that the standard numbers as bank 2, which in V or boxer engines is usually the side opposite cylinder 1. When the relationship between both signals falls outside the tolerance margins repeatedly, the system records the fault. This may be due to an actual timing offset, a sensor giving erroneous readings, or a wiring or signal problem. As the correlation depends on both sensors, the code alone does not indicate which of the two components is failing.
Can I keep driving?
Only as far as you need to, and gently.
This fault can cause serious damage or affect safety. Avoid motorways, heavy loads and high revs, and have it diagnosed as soon as possible. If the engine shakes, loses power or a red light comes on, stop where it is safe.
If in doubt, put safety first: a red or flashing warning light, smoke, a burning smell or any change in the brakes or steering are reasons to stop.
Got P0018? Ask about your car
Tell us your car and what you notice: we answer right here, no account needed.
DATAIAO’s answer
AIYou're talking to DATAIAO's AI, specialised in car mechanics. Check anything important before acting. What we keep
Save this answer and your car, and I’ll ask you tomorrow whether it’s fixed.
Free and no card needed: 8 questions a day, your Garage and MOT/inspection reminders.
Warning: hazardous work
Affects:
Disclaimer. This information is for guidance only, is generated by artificial intelligence and may contain errors or omissions. Working on these systems can cause serious injury or death, as well as damage to the vehicle or to third parties. If you decide to do it, you do so at your own risk: always follow the manufacturer's workshop manual and the applicable regulations, and go to a workshop if you do not have the right training and tools. To the extent permitted by law, DATAIAO is not liable for damage arising from carrying out this work.
How the ECU detects it
The ECU evaluates the correlation continuously while the engine is running, normally once it has passed the starting phase and the engine has reached operating temperature. If the difference between the crankshaft and camshaft signals repeatedly exceeds the manufacturer's threshold for a set period of time, it stores the code. The warning lamp usually lights after the fault is confirmed over one or more driving cycles, depending on each manufacturer's strategy. The thresholds, activation conditions and exact timings vary according to the engine and software version, so it is worth consulting the specific technical documentation for the vehicle.
Symptoms
- Malfunction indicator lamp (MIL) on.
- Loss of power, especially when accelerating hard or climbing a hill.
- Rough idle, with vibrations or jerking when stationary.
- Slower start than usual or difficulty starting when warm.
- Increased fuel consumption without a clear cause.
- Metallic noises from the timing area, especially if the chain is stretched.
- Stalling or sudden shutdown in some cases.
Common causes
- Timing offset due to a stretched chain or worn belt, or a jumped tooth.
- Bank 2 camshaft sensor (sensor A) faulty or with unstable signal.
- Crankshaft sensor faulty or with altered mounting clearance.
- Crankshaft or camshaft tone wheel damaged, dirty or with broken teeth.
- Damaged wiring, rusty connectors or poor earthing in the sensor circuits.
- Failure of the timing chain tensioner or guide, allowing the chain to move excessively.
- Problems with the variable valve timing system (phase control solenoid valve) that alter the actual camshaft position.
- Electrical noise or signal interference, for example from sensor cables running close to high-tension leads.
What to check
- Read the code with an OBD-II reader and note also the related codes and the live data from both sensors.
- Clear the code and check whether it reappears after a test drive; an intermittent fault usually points to connections or sensors with play.
- Visually inspect the connectors and wiring of the crankshaft and bank 2 camshaft sensors, looking for moisture, rust, stripped wires or broken clips.
- Measure the supply voltage and earth of each sensor according to the manufacturer's wiring diagram, and check the signal shape with an oscilloscope if one is available.
- Check the engine timing marks following the manufacturer's procedure. If the marks do not match those specified, there is a mechanical offset that must be resolved before replacing sensors; this check should be carried out by a professional.
- Check the condition of the chain or belt, the tensioner and the guides. If the engine needs to be turned by hand, do so only with the manufacturer's procedure, without dismantling the timing system without training.
- Check the tone wheel, its position and its condition (teeth, dirt, metal filings) and the distance of the sensors from it.
- If all of the above is correct, test the sensors by controlled substitution or with advanced diagnostic equipment that allows the correlation to be viewed live.
Common diagnostic mistakes
- Replacing the camshaft sensor without first checking the mechanical timing of the timing system.
- Accepting a sensor as good just because its resistance looks correct, without observing its signal in operation.
- Forgetting that the code affects a specific bank and checking the wrong side of the engine.
- Confusing bank 1 with bank 2 when identifying the sensors, especially on V or boxer engines with poorly visible numbering.
- Clearing the code without investigating it, which hides an intermittent problem that may come back more seriously.
- Ignoring a dirty or damaged tone wheel, which can produce erroneous readings even though the sensor is not faulty.
- Not checking live data and basing the diagnosis only on the fault code.
Typical repairs
From the simplest and cheapest to the most expensive. Which one applies depends on the diagnosis.
- Clean the connectors, retighten earths and correct damaged wiring.
- Clean or replace the dirty tone wheel, and adjust the sensor distance to specification.
- Replace the bank 2 camshaft sensor or the crankshaft sensor if they are confirmed to be faulty.
- Replace the phase control solenoid valve if the variable valve timing system is involved.
- Replace the tensioner, the guides and the timing chain or belt when there is stretching or wear, together with the complete kit recommended by the manufacturer.
- Repair mechanical damage resulting from a jumped tooth, which may require a complete engine inspection.
Frequently asked questions
Can I keep driving with this code if the car seems to be running fine?
It is not advisable to do so for long. Although the engine may appear to run well, the timing offset may be due to a stretched timing chain or a jumped tooth, and on interference engines this can cause serious internal damage. If you also notice metallic noises, loss of power or a rough idle, avoid driving and take the vehicle to a garage as soon as possible.
Can I just clear it? Clearing the code does not fix the fault: if the cause is still there, it comes back, and with the engine warning light on the car will fail its roadworthiness test (MOT in the UK).
General information about a generic code. The exact causes depend on the make and engine: confirm them with a diagnosis before replacing parts.
Related codes
- P0016 It is the same correlation, but on bank 1 and camshaft sensor A.
- P0019 Crankshaft-camshaft correlation on bank 2, but with sensor B.
- P0345 Electrical circuit fault of the bank 2 camshaft sensor A, not the correlation between sensors.
- P0341 Bank 1 camshaft sensor A signal out of range or with abnormal performance.
- P0335 Crankshaft position sensor circuit fault, with no direct relation to the camshaft.
More codes: fuel, air metering and emission controls
- P0011 · Intake Camshaft Position Timing Over-Advanced or System Performance (Bank 1)
- P0012 · underboost timing retard
- P0013 · B camshaft actuator circuit
- P0014 · exhaust cam over-advanced
- P0015 · camshaft B timing retarded
- P0016 · Camshaft Position – Crankshaft Position Correlation Bank 1 Sensor A
- P0017 · crank-cam timing correl
- P0019 · Crank-cam B2, sensor B