P0021 BMW: Diagnose Bank 2 Camshaft Timing Problems
20 min read · by Nicole Bennett · Last updated: November 25, 2026
The p0021 bmw trouble code means the engine computer has detected an over-advanced or out-of-range intake camshaft timing condition on Bank 2. On BMW engines equipped with VANOS variable valve timing, this fault commonly involves the intake camshaft adjustment system, its oil supply, or the components responsible for monitoring camshaft position. The check engine light may appear, and the engine may develop rough idle, hesitation, or reduced power.
A P0021 code does not automatically mean the VANOS solenoid has failed. Low engine oil, incorrect oil condition, restricted oil passages, an inaccurate camshaft sensor signal, and mechanical timing problems can produce similar symptoms. The correct repair depends on comparing commanded and actual camshaft positions and checking the supporting components before replacing parts.
This guide explains the SAE code definition, BMW VANOS operation, common symptoms, likely causes, scanner-based diagnosis, repair considerations, and driving risks. Because BMW has used different engines and control systems across its model range, the exact diagnostic procedure and component arrangement must be verified using the vehicle’s model year, engine identification, and BMW-specific service information.
What P0021 Means on a BMW
P0021 is the generic SAE definition for “‘A’ Camshaft Position – Timing Over-Advanced or System Performance (Bank 2).” BMW’s published SAE P-code list uses this same definition. It indicates that the engine computer has detected an intake camshaft timing condition outside its expected operating range on the second cylinder bank.

The engine control module, commonly called the DME on BMW vehicles, compares the requested camshaft position with information received from the camshaft and crankshaft position sensors. If the measured timing does not agree with the expected position under the required operating conditions, the system can record a fault. The code describes a detected performance problem, not a confirmed defective component.
Understanding the P0021 Code
The five-character code contains useful information about the affected system:
| Code portion | Meaning |
|---|---|
| P | Powertrain fault involving the engine, transmission, or related controls. |
| 0 | Generic SAE diagnostic trouble code. |
| 0 | Additional classification digit within the powertrain code family. |
| 2 | Camshaft timing and variable valve timing code group. |
| 1 | Over-advanced timing or camshaft system performance fault on Bank 2. |
The word “advanced” describes camshaft timing relative to the crankshaft. It does not mean that the engine is necessarily running at an advanced ignition timing setting. Camshaft timing controls when intake valves open and close in relation to piston movement. A problem with this relationship can affect airflow, combustion, idle quality, and engine output.
What Bank 2 Means
Bank 2 identifies the cylinder bank that does not contain cylinder number one. This distinction matters on BMW V6, V8, and V12 engines because they have multiple cylinder banks. On applicable North American BMW V-type engines covered by the Snap-on BMW diagnostic manual, Bank 1 is on the passenger side and Bank 2 is on the driver side. However, always verify cylinder numbering and bank identification for the specific engine before inspecting components.
An inline-six BMW engine does not have two separate cylinder banks in the same way as a V-type engine. Therefore, do not assume that a generic Bank 2 description identifies a particular physical cylinder or sensor on every BMW. Confirm the manufacturer’s enhanced fault description and engine configuration before ordering replacement parts. Shops often compare notes across makes for this code, and P0021 Ford Code is a good reference.
How BMW VANOS Relates to P0021
BMW VANOS is a variable camshaft timing system that adjusts valve timing according to engine operating conditions. Since the system depends on hydraulic oil pressure, electrical solenoid control, and accurate sensor feedback, a problem in any of these areas can interfere with the requested camshaft position.

BMW uses different VANOS arrangements depending on the engine family. Some engines use single VANOS, which controls the intake camshaft, while dual VANOS systems can adjust both intake and exhaust camshafts. The control module changes solenoid operation using pulse-width-modulated electrical signals to regulate oil pressure applied to the VANOS adjustment mechanism.
How the System Changes Camshaft Timing
During normal operation, the DME calculates the appropriate camshaft position using engine speed, throttle position, and other sensor information. It then commands the VANOS solenoid to control hydraulic pressure. That pressure moves the adjustment mechanism, changing the relationship between the camshaft and crankshaft.
The camshaft position sensor reports the resulting position to the engine computer. The DME uses this feedback to determine whether the requested adjustment has occurred. If the actual position remains too far advanced or falls outside the permitted operating range, a performance fault such as P0021 may be recorded.
Oil condition is particularly important because VANOS depends on hydraulic pressure and controlled oil flow. Oil that is too low, contaminated, unsuitable for the engine, or unable to maintain the required pressure can affect adjustment speed and accuracy. A sticking control valve can also prevent the mechanism from returning to the requested position.
Why the BMW Engine Version Matters
BMW has used several VANOS designs across different generations. A diagnostic procedure suitable for an older naturally aspirated engine may not apply to a later turbocharged engine. Solenoid arrangements, sensor locations, adjustment mechanisms, oil supply passages, and DME software can differ.
For example, diagnostic information for a documented BMW N62TU application identifies P0021 as an inlet VANOS Bank 2 adaptation fault. Its diagnostic sequence includes checking related camshaft sensor faults, VANOS valve contamination, reluctor position, and timing-chain condition. This is useful evidence of possible failure mechanisms, but it should not be treated as a universal repair procedure for every BMW.
BMW has also published service information for certain N51, N52K, and N54 applications describing VANOS adjustment problems caused by insufficient oil pressure supply. The BMW VANOS service bulletin hosted by NHTSA explains why oil supply, solenoid operation, and the oil-filter housing cap insert can matter during diagnosis. Those model-specific findings should not be automatically applied to unrelated BMW engines.
Tip: Identify the BMW engine code before diagnosing VANOS faults. Use the VIN to confirm the engine family and obtain the matching BMW service procedure. Do not assume that two BMW models with the same P0021 code use identical solenoids, timing components, or diagnostic specifications.
Symptoms of a BMW P0021 Fault
P0021 can produce noticeable changes in engine behavior because camshaft timing affects cylinder filling and combustion. Some BMWs may initially show only a check engine light, while others experience rough running, reduced acceleration, or difficulty starting.
The severity depends on how far the actual camshaft position differs from the requested position and whether the underlying problem affects other engine systems. A scanner may also reveal additional faults that help explain why the camshaft timing problem developed.
Common Warning Signs
- Check engine light: The malfunction indicator lamp illuminates when the DME detects a qualifying fault. It may remain on even when the vehicle appears to drive normally.
- Rough idle: Incorrect camshaft timing can affect airflow and combustion at low engine speeds. The engine may shake or idle unevenly.
- Hesitation during acceleration: The engine may respond slowly when the accelerator is pressed because valve timing is not being adjusted as expected.
- Reduced engine power: The DME may limit engine output when it detects an unacceptable camshaft timing condition.
- Increased fuel consumption: Incorrect valve timing can reduce combustion efficiency and increase fuel use.
- Hard starting: A significant timing control problem can interfere with normal starting and idle operation.
- Engine stalling: More serious timing problems can make the engine unstable, especially at low speeds.
- Unusual engine noise: Chain, tensioner, or adjustment mechanism problems may produce abnormal mechanical sounds.
Symptoms Compared With Possible Causes
| Symptom | Possible explanation | Diagnostic direction |
|---|---|---|
| Rough idle | Incorrect camshaft timing or unstable VANOS operation | Compare commanded and actual camshaft positions. |
| Slow acceleration | Camshaft adjustment not following DME commands | Review live camshaft data under changing engine speeds. |
| Hard starting | Incorrect base timing or camshaft position feedback | Check camshaft and crankshaft correlation. |
| Intermittent warning light | Intermittent solenoid, sensor, connector, or oil-flow problem | Review pending codes and freeze-frame records. |
| Mechanical rattling | Possible timing-chain or tensioner wear | Arrange mechanical timing inspection. |
These symptoms are not exclusive to P0021. Ignition misfires, vacuum leaks, fuel delivery problems, and other engine faults can cause similar behavior. The code and live data must be interpreted together rather than using symptoms alone to select replacement parts. The fault logic is shared, but the test points change, so check P0021 Nissan Code too.
Common Causes of P0021 on BMW Vehicles
The most common diagnostic areas include VANOS control, engine oil supply, camshaft position feedback, and mechanical timing components. A systematic inspection helps distinguish an inexpensive maintenance issue from a more involved engine repair.
1. Sticking or Contaminated VANOS Solenoid
The VANOS solenoid regulates oil flow to the camshaft adjustment mechanism. Sludge, deposits, or internal wear can prevent the valve from responding correctly to DME commands. If the adjustment mechanism remains advanced instead of moving to the requested position, the system may detect a performance fault.
Electrical problems can produce similar results. Damaged insulation, loose connectors, corroded terminals, or an open circuit can interfere with solenoid control. A technician should check the relevant electrical fault codes and wiring before concluding that the valve itself is defective.
2. Low, Dirty, or Incorrect Engine Oil
VANOS needs a suitable oil supply to move its hydraulic adjustment components. A low oil level can reduce the available supply, while contaminated oil can contribute to restricted passages or sticking control valves. Incorrect oil specifications can also affect operation.
Check the oil level using the method specified for the particular BMW. Some vehicles use an electronic measurement procedure rather than a traditional dipstick. Review oil service history, the specified viscosity and approval, and any evidence of leaks or excessive consumption.
3. Camshaft Position Sensor Problems
The camshaft position sensor supplies information that allows the DME to monitor camshaft movement. A defective sensor, damaged wiring, contaminated connector, or incorrect sensor signal can make the reported position inaccurate.
A sensor fault should be confirmed through electrical testing and live-data analysis. Replacing a sensor simply because P0021 mentions camshaft position can lead to unnecessary repairs, especially when the actual problem is hydraulic or mechanical.
4. Timing Chain or Tensioner Wear
A stretched timing chain, worn guide, or faulty tensioner can change the relationship between crankshaft and camshaft positions. This can affect the base mechanical timing that VANOS depends on to make accurate adjustments.
Mechanical timing problems deserve particular attention if the engine produces persistent rattling, has multiple camshaft correlation faults, or continues to record timing errors after the oil supply and electrical controls have been checked. A mechanical timing inspection requires the correct BMW locking tools and engine-specific procedures.
5. VANOS Adjustment Mechanism or Oil Passage Damage
The camshaft adjuster itself can develop internal wear or mechanical sticking. Restricted oil passages can also prevent the required hydraulic pressure from reaching the adjustment mechanism. These problems may cause slow response, excessive timing deviation, or an inability to achieve the requested camshaft position.
A damaged reluctor or trigger wheel can create another problem by producing an incorrect position reference. BMW’s documented diagnostic information for certain N62TU applications specifically includes checking reluctor position as part of the P0021 troubleshooting process.
How to Diagnose BMW P0021 With an OBD2 Scanner
An effective diagnosis starts by retrieving the complete DME fault memory and recording the conditions under which the code appeared. A basic generic OBD2 reader can identify P0021, but a BMW-capable diagnostic tool is more useful because it can access manufacturer-specific fault information and VANOS live data.
Do not clear the fault before saving the available information. Freeze-frame data, related codes, and actual camshaft position readings can help identify whether the problem occurs during starting, warm idle, acceleration, or another operating condition.
Step 1: Scan All Available Engine Codes
Connect an OBD2 scanner to the 16-pin diagnostic connector, normally located under the driver-side dashboard. Select the engine or DME module and retrieve stored, pending, and permanent diagnostic trouble codes where supported.
Record any additional camshaft, crankshaft, VANOS, oil-pressure, or misfire codes. Multiple related faults may indicate a shared problem, such as an oil supply issue or electrical fault. A code involving a sensor circuit should be investigated before assuming the VANOS adjustment mechanism has failed.
Step 2: Review Freeze-Frame Data
Freeze-frame information records engine operating conditions when the fault was detected. Depending on the BMW and scanner, available information may include engine RPM, coolant temperature, calculated load, vehicle speed, and system voltage.
For example, a fault recorded near idle with a warm engine may suggest a different diagnostic direction from one recorded during acceleration. Compare the stored conditions with the driver’s description and look for a repeatable pattern. Do not assume the recorded operating condition identifies the failed part.
Step 3: Check Engine Oil and Electrical Supply
Check the engine oil level, condition, and service history. Verify that the correct oil specification is being used. If there is evidence of low oil pressure, investigate that condition using the BMW-approved procedure rather than assuming a new VANOS solenoid will solve the fault.
Battery voltage should also be considered when evaluating electrical faults. A healthy battery at rest is approximately 12.6 volts, while a typical charging system with the engine running operates around 13.5 to 14.7 volts. These are general reference values, not substitutes for BMW-specific charging-system specifications.
Step 4: Compare Commanded and Actual Camshaft Positions
Use a BMW-compatible scanner to monitor the available intake camshaft target and actual position parameters. Some systems display camshaft angles in degrees, while others use different units or manufacturer-specific values.
Observe the readings under the operating conditions specified by BMW. At idle, the actual camshaft position should respond consistently with the commanded position. During a controlled change in engine speed or load, the measured position should follow the requested adjustment within the engine’s permitted tolerance.
A persistent difference between target and actual position suggests that the control system is not achieving the requested timing. However, the difference alone cannot distinguish a sticking solenoid from restricted oil flow, a defective sensor, or a mechanical timing problem.
Step 5: Review Fuel Trims and Related Engine Data
Fuel trims are not the primary measurement for diagnosing P0021, but they can help identify additional problems affecting engine operation. Compare short-term and long-term fuel trim values on both banks when the engine is warm and operating in closed loop.
Combined fuel-trim corrections beyond roughly plus or minus 10 percent suggest a possible mixture problem. Corrections approaching or exceeding about 25 percent can contribute to lean or rich diagnostic codes. A mixture fault does not automatically explain P0021, but related faults should be resolved as part of the overall diagnosis.
Where supported, Mode $06 can provide monitor test information. It may help identify relevant monitor results or test failures, but its usefulness depends on the BMW’s control module and the scan tool’s ability to interpret the data correctly. It should not replace enhanced VANOS measurements and mechanical inspection.
Step 6: Perform BMW-Specific VANOS Tests
Use the appropriate BMW diagnostic software to run available VANOS activation or adjustment tests. These tests can help establish whether the solenoid responds and whether the camshaft reaches the requested position.
If the electrical command is present but camshaft movement is incorrect, investigate oil supply, solenoid operation, and the adjustment mechanism. If the position signal is implausible, inspect the relevant sensor circuit and reluctor. If the mechanical timing is suspect, further inspection should follow the engine-specific timing procedure.
For additional background on BMW scan-tool functions, camshaft parameters, and VANOS control, consult the BMW Vehicle Communication Software Manual. Its descriptions explain how the diagnostic system handles engine parameters and VANOS solenoid control. Always use the correct service specifications for the particular engine.
Tip: Avoid repeatedly clearing P0021 to see whether it returns. Save the original freeze-frame data, pending codes, and camshaft readings first. Clearing codes can erase useful diagnostic information and reset emissions readiness monitors. Permanent codes may remain until the relevant monitor confirms that the fault has been corrected. P0013 BMW covers another issue owners of this vehicle run into.
BMW P0021 Repairs and Cost Considerations
The correct repair depends on which part of the camshaft timing system has failed. Some cases involve an oil service issue or electrical connection, while others require VANOS component replacement or mechanical timing work. Replacing the most commonly suspected part without testing can increase repair costs without resolving the fault.
Correcting Oil-Related Problems
If the oil level is incorrect, restore it according to BMW’s specifications and investigate why it became low. If the oil is overdue for service or does not meet the required specification, an appropriate oil and filter service may be necessary.
An oil change will not repair a damaged timing chain, defective sensor, or worn VANOS adjuster. If the fault persists after correcting the oil condition, continue with hydraulic and mechanical testing.
Repairing the VANOS Solenoid or Wiring
A confirmed sticking or defective VANOS solenoid may require cleaning where BMW permits it or replacement when the component fails testing. Inspect the connector and wiring for damage at the same time. A new valve cannot correct an electrical supply problem or restricted oil passage.
Electrical repairs should restore the correct connections, insulation, and terminal condition. The technician should then repeat the appropriate activation test and compare actual camshaft movement against the requested position.
Replacing a Camshaft Sensor
A camshaft position sensor should be replaced only when testing confirms that it is defective or producing an unreliable signal. The correct replacement depends on the BMW engine and sensor application. After installation, verify the signal, inspect related wiring, and confirm that the DME receives plausible camshaft position information.
Timing Chain and VANOS Mechanical Repairs
A worn timing chain, damaged guide, faulty tensioner, or defective camshaft adjuster can require extensive engine work. These repairs may involve specialized timing fixtures, precise mechanical measurements, and access to components inside the engine.
A qualified BMW technician should establish whether the mechanical timing is incorrect before replacing major components. If a chain problem is suspected, continuing to operate the engine may increase the risk of additional internal damage.
What Determines the Repair Cost?
There is no reliable single repair price for P0021 across the BMW range. The total depends on the engine family, the actual failed component, labor time, parts availability, and whether additional damage is discovered during inspection.
- Diagnostic labor: BMW-specific scanning, electrical testing, live-data analysis, and mechanical timing checks affect the initial labor requirement.
- Oil and filter service: The required oil specification, filter, and any underlying oil supply problem affect the maintenance portion of the repair.
- VANOS solenoid replacement: Parts quality, accessibility, and the number of affected components influence labor and parts costs.
- Sensor and wiring repairs: The cost depends on whether the issue involves a sensor, connector, wiring harness, or associated electrical diagnosis.
- Mechanical timing repairs: Timing-chain, guide, tensioner, and camshaft adjuster work generally requires more labor and specialized tools.
- Shop versus DIY: Independent BMW specialists and dealerships have different labor rates. DIY work can reduce labor expenses but requires suitable tools, technical knowledge, and access to the correct repair specifications.
Before approving a major repair, request the scan results, the failed-component test, and the reason the proposed part is considered defective. A useful estimate should distinguish diagnostic labor, parts, additional mechanical work, and post-repair verification.
Is It Safe to Drive a BMW With P0021?
A BMW with P0021 may still run, but that does not mean it is safe to continue normal driving. A mild timing-control fault with no unusual noise or drivability symptoms may allow a short, cautious trip to a repair facility. Severe symptoms, unstable engine operation, or suspected mechanical timing damage require a more conservative response.
Camshaft timing affects combustion and engine performance. If the problem involves a sticking adjustment mechanism or mechanical timing wear, continued operation can worsen the underlying condition. The appropriate decision depends on the severity of the symptoms and any additional faults.
When a Short Trip May Be Reasonable
If the check engine light is steady, the engine idles normally, acceleration remains consistent, and there are no abnormal mechanical sounds, a short trip to a nearby repair facility may be reasonable after checking the oil level. Avoid high engine loads, hard acceleration, high RPM, towing, and unnecessary driving.
This is not a guarantee that the vehicle is safe. If the warning returns with worsening symptoms, stop driving and arrange professional assistance. A BMW with reduced-power warnings should not be used for demanding journeys or highway overtaking.
When to Stop Driving
- The check engine light flashes, indicating an active misfire that can damage the catalytic converter.
- The engine produces persistent metallic rattling or abnormal timing-chain noise.
- The engine stalls repeatedly or cannot maintain a stable idle.
- There is a red oil-pressure warning or evidence of serious oil starvation.
- The vehicle experiences severe power loss, overheating, or major drivability problems.
- A technician identifies suspected mechanical timing failure or possible internal engine damage.
Tip: A flashing check engine light is different from a steady warning. Reduce engine load and arrange immediate diagnosis because an active misfire can overheat and damage the catalytic converter. If the BMW has an oil-pressure warning, severe mechanical noise, or major engine instability, shut the engine off when safe and arrange towing rather than attempting to drive it to a shop.
The safest approach is to diagnose the code promptly instead of waiting for additional symptoms. A fault that initially causes only a warning light may become more expensive if the underlying problem involves deteriorating timing components or inadequate lubrication. If you need equipment for this job, see Best Scan Tool for Injector Coding.
Frequently Asked Questions
1. Is P0021 a generic or BMW-specific diagnostic trouble code?
P0021 is a generic SAE powertrain code, not a BMW-exclusive code. Its standardized definition identifies an over-advanced or system-performance problem involving camshaft A on Bank 2. BMW may provide additional manufacturer-specific fault descriptions through the DME that give technicians more detailed information about the affected VANOS function.
2. Does P0021 always mean the intake camshaft is mechanically stuck?
No. The code identifies a timing performance condition, not a confirmed mechanical seizure. The cause may be hydraulic, electrical, sensor-related, or mechanical. A comparison of requested and actual camshaft positions is needed to determine what is preventing correct operation.
3. Can a BMW have P0021 without turning on the check engine light?
Yes. A pending fault may be stored after the system detects a problem that has not yet met the conditions for a confirmed malfunction. The warning lamp behavior depends on the fault-monitoring strategy and operating conditions. Checking pending and stored DME codes can reveal a developing issue even when the dashboard warning is not illuminated.
4. Will disconnecting the BMW battery permanently erase P0021?
No. Disconnecting the battery is not a reliable repair method. The underlying fault can return when the DME repeats its diagnostic checks. On vehicles supporting permanent diagnostic trouble codes, the permanent record requires the relevant monitor to confirm that the problem has been corrected before it clears.
5. Can P0021 affect emissions testing?
Yes. A confirmed powertrain fault that commands the malfunction indicator lamp can cause an OBD emissions inspection failure. Clearing the code immediately before testing may also leave readiness monitors incomplete, preventing the vehicle from qualifying for an inspection until the required monitoring conditions have been satisfied.
P0021 on a BMW identifies an over-advanced or out-of-range Bank 2 camshaft timing condition, often involving the VANOS system. Check the engine oil, scan the DME, compare commanded and actual camshaft positions, and investigate electrical and mechanical timing components before replacing parts. Prompt diagnosis can prevent additional engine damage and help ensure the repair addresses the actual cause.
-
Nicole Bennett, Technical Content Editor at BestOBD2Picks Nicole turns OBD-II standards, service bulletins, and repair data into step-by-step diagnostic guides anyone can follow. Technical Content Editor
Related guides
LearnP0018 BMW: Diagnose Camshaft Timing and VANOS Problems
LearnP0013 BMW: Diagnose the Exhaust VANOS Solenoid Circuit Fault
LearnP0016 BMW: Causes, Symptoms, Diagnosis, and Repair
LearnP0014 BMW: Diagnose Exhaust VANOS Timing Problems
LearnP0012 BMW Code: Meaning, Causes and Repair Costs
Learnp0352 nissan: Diagnose the Ignition Coil Circuit