Question
What is code P0021?
P0021 code means ‘A’ Camshaft Position – Timing Over-Advanced (Bank 2), meaning the powertrain control module (PCM) has found out that the position of Bank 2’s intake camshaft is far more advanced than what the PCM anticipates.
The PCM makes use of a signal from the camshaft position sensor to find out the right time to fire the fuel injectors for igniting spark plugs. To know the proper timing of the engine, the PCM compares this signal to the crankshaft’s signal.
Newer cars use a variable timing system to adjust when the exhaust and intake valves open and close to increase engine performance and fuel efficiency. The PCM logs the P0021 code when the camshaft is not in the right position when compared to the crankshaft.
What are the common P0021 code symptoms?
These are some common signs that you can observe when the PCM logs this code.
- Decreased fuel economy
- The engine has a rattling noise
- Hard start
- Poor engine performance
- The car stalls
- Rough or poor idling
- Fails in emissions test
- The check engine light turns on
What causes the P0021 code?
These are some common reasons why this error code shows up in your car.
- Low engine oil level
- Stuck or faulty timing valve control solenoid
- Defective or damaged timing chain
- Inaccurate camshaft timing
- A faulty timing chain guide or tensioner
- Issues with the PCM
- Wiring issues in the intake timing control valve control solenoid system
- The variable timing actuator is faulty
- Engine oil doesn’t meet the manufacturer’s specifications
How to fix the P0021 code

These are some possible repairs that will fix this error code.
- Change the oil and filter
- Replace oil with one having the right viscosity
- Repair the wiring around the camshaft oil control valve
- Change the camshaft oil control valve
- Inspect the timing chain
- Replace camshaft phasers
How much does it cost to repair the P0021 code?
It will cost anywhere between $200 and $400 for common, slight fixes like a Variable Valve Timing (VVT) solenoid replacement or cleaning oil passages. However, it can cost over $2,000 to fix a severe issue like a gallery gasket leak or timing chain failure.
| Repair type | Repair cost |
| Oil flush/Change | $50-$100 |
| Oil Control Valve/ VVT Solenoid | $120-$250 |
| Timing Chain or other major repairs | $2,000+ |
| Diagnosis fee | $75-$150 |
Is it safe to drive with a P0021 code?
Yes, you can safely drive with this error code for a short period. But we don’t recommend driving with this code for a long period. Driving for a long period can lead to issues like decreased fuel economy, engine hesitation, stalling, and rough idling, which can finally cause unsafe driving conditions.
Save over $40 on oil change and smog emission check
Simple. Fast. Free.
Get affordable rates from trusted insurers in just a few clicks.
Upload
Provide your existing policy information
View
Get instant, accurate quotes with no hidden fees
Compare
See how your coverage stacks up against leading insurers
Switch & Save
Lock in your new rate; we’ll cancel your old policy

