P0021 Subaru Code: Meaning, Causes and TSB Checks
8 min read · by Nicole Bennett · Last updated: November 12, 2026
A P0021 Subaru code means the engine computer sees the bank 2 intake camshaft running more advanced than it commanded. The code is generic, so the cause can be engine oil, a control valve, wiring or a timing part.
Symptoms of a P0021 Subaru fault range from a check engine light to stalling and knocking. A shop can match your model year to a Subaru service bulletin before any parts are replaced.
What a P0021 Subaru Code Means
A P0021 Subaru code is the generic “A” camshaft timing over-advanced code for bank 2, so the intake cam is ahead of the position the engine computer commanded. KBB’s code guide describes the same condition and names P0022 as the companion code, which means the cam is retarded, or timing too slow. The general version of the code is explained in the P0021 code guide.

Subaru calls the variable cam system AVCS, short for Active Valve Control System. The Subaru service bulletin for AVCS codes is written for trained technicians, and it warns that untrained service could cause serious injury. Treat the checks below as an overview, not a repair guide.
The code alone does not say which part is at fault. A P0021 Subaru fault can come from oil, a valve, wiring or a mechanical timing part, so use the code as a starting point for checks rather than a parts list.
Which Subaru Models the Bulletin Covers
Subaru bulletin 02-163-16R lists P0021 for Legacy and Outback 2.5L models from 2013, Impreza 2.0L from 2012 and XV Crosstrek from 2013. Other Forester, WRX and BRZ years appear in the same chart.
| Model | Engine | First model year in chart |
|---|---|---|
| Legacy and Outback | 2.5L NA | 2013 |
| Impreza | 2.0L NA | 2012 |
| XV Crosstrek | 2.0L NA | 2013 |
| Forester | 2.5L NA | 2011 |
| Forester | 2.0L DIT | 2014 |
| WRX | 2.0L DIT | 2015 |
| BRZ | 2.0L NA | 2013 |
A Forester 2.0L DIT starts in 2014, while the 2.5L NA starts in 2011, so one model name can have two start years. The bulletin header also lists 2019 Ascent models, so coverage is wider than this table. The table comes from the 03/08/19 revision. Check the current copy for newer years, and confirm your VIN with a Subaru dealer before you order parts.
Symptoms and Whether You Can Keep Driving
Most P0021 Subaru cases start with a check engine light. The milder symptoms include hard starting, hesitation on acceleration and higher fuel use.
- Check engine light
- Hard starting
- Hesitation during acceleration
- Stalling when you come to complete stops
- Higher fuel use
Severe cases can produce a rattling or knocking sound from the engine bay. KBB quotes technicians who advise against driving when you hear knocking or rattling. Have a shop inspect the car before you drive it further.
How strongly the symptoms show depends on how far the cam is off. A small timing error may show only as a light, while a larger error can affect idle and starting. Compare the list above with what you actually notice before you assume the cause.
Causes, Oil First
Engine oil is the first cause to rule out, because the bulletin checks the oil level, oil condition and viscosity before it tests any part. The oil control valve comes next, since it controls the oil flow that moves the cam.

KBB’s guide lists these causes for a P0021 Subaru fault:
- Low, dirty or clotted oil, or oil of the wrong viscosity
- A clogged, dirty or defective oil control valve
- A failing variable valve timing control solenoid
- A cam phaser that seizes in the advanced position
- Damaged wiring or poor pin contact at the valve or sensors
The bulletin adds checks on oil pressure, the chain cover oil passages, the cam carrier oil filter and the oil strainer. It also covers related codes P0011 and P0024 in the same chart, so a scan may show more than one code.
The bulletin also says to use the specified viscosity and not to add any oil additives. If a P0021 Subaru code appeared after an oil change with a different grade or brand, check the oil label against your owner’s manual first.
How Technicians Work Through the Bulletin
The Subaru bulletin 02-163-16R chart for the P0021 Subaru fault starts with the oil check, replaces the oil control valve if the code stays, and ends with ECU replacement after the other steps. The order matters because it checks cheaper items before major parts.
- Check for other codes and save the freeze frame data. Then check the engine oil level, condition, additives and viscosity.
- If the code stays, replace the oil control valve with a new one, clear the memory with the Subaru scan tool, and complete a drive cycle.
- Read the AVCS diagnostic value. The bulletin passes the check when the value is 1000 or higher, or clearly above the opposite bank.
- Check the harness for poor contact or damaged pins. Resistance above 1 ohm between the valve, cam and crank sensors and the ECU needs repair.
- Check engine oil pressure, then the chain cover oil passages, O-rings and pump ports.
- Inspect the camshafts, the cam carrier oil filter, the oil line to the sprocket and the oil strainer on the oil pan.
- If the code still returns after these checks, the bulletin says to replace the ECU, which is the final step.
Several steps lead to shop work such as removing the cam carrier or replacing the chain cover. The bulletin also warns that technicians should not assume a condition applies to a given vehicle unless the car shows it.

Repair Costs for P0021 Subaru
Generic P0021 repair ranges run from $45 to $150 for an oil and filter change up to $1,000 to $5,000 for a cam belt or chain repair, as read on 2026-11-12. These are parts and labor estimates for any vehicle, not Subaru pricing. The sources read for this article do not give a Subaru-specific price for a P0021 Subaru repair.
| Repair | Typical range, parts and labor |
|---|---|
| Oil and filter change | $45 to $150 |
| Camshaft oil control valve | $125 to $350 |
| Harness or wiring repair | $50 to $550 |
| Timing valve control solenoid | $150 to $450 |
| Camshaft position sensor | $50 to $200 |
| Camshaft belt or chain repair | $1,000 to $5,000 |
These figures come from MechanicBase’s P0021 cost ranges, whose page was last updated October 18, 2026. Labor time and parts differ by model and year, so a written shop estimate for your car is the figure to use.
What the Sources Do Not Confirm
The bulletin and the code guides read for this article do not confirm which side is bank 2 on a Subaru, the oil control valve part number, or a Subaru-specific repair price. Check these items before you trust a number.
- Bank 2 side: check your service manual, or ask a shop to show you on your engine.
- Valve part number and location: use your VIN in a Subaru dealer parts lookup.
- Subaru repair cost: request a written estimate for your model year.
- Newer bulletins: ask a dealer whether 02-163-16R has been replaced for your year.
Until these are checked, treat any cost or location claim for a P0021 Subaru fault on parts seller pages as unverified.
Related Guides
Frequently Asked Questions
Is P0021 on a Subaru always an oil problem?
No. A P0021 Subaru fault is not always oil. The bulletin starts with oil because low, dirty or wrong-viscosity oil is a common cause. The chart then checks the oil control valve, wiring, oil pressure and camshafts before a shop replaces major parts.
Can I clear P0021 and keep driving?
Clearing the P0021 Subaru code does not fix the cause, and the code often returns. If you hear knocking or rattling, or the engine stalls, stop driving and have it inspected, since KBB advises against driving with knocking or rattling.
Which Subaru models does the bulletin cover for a P0021 Subaru fault?
The table in bulletin 02-163-16R lists Legacy and Outback 2.5L from 2013, Impreza 2.0L from 2012, XV Crosstrek from 2013, Forester 2.5L from 2011, Forester 2.0L DIT from 2014, WRX from 2015 and BRZ from 2013. Confirm your year against the current copy.
Does a P0021 repair cost the same on every Subaru?
No. The cost ranges come from a generic code guide, not Subaru pricing. Labor time and parts differ by model and year, so a written estimate for your car is the number to trust.
Should the ECU be replaced first?
No. In the Subaru chart the ECU is the final step, after the oil, valve, wiring, oil pressure, camshaft and oil path checks. Replacing it early costs money and may not fix the cause.
Where is bank 2 on my Subaru?
The sources read for this article do not say which side is bank 2 on a Subaru. Check the service manual for your engine, or ask a shop to point it out on your car.
If the P0021 Subaru code returns after an oil change, hold off on buying parts. Ask the shop to show the test results for the oil control valve, wiring and oil pressure, and request a written estimate that names the failed part.
-
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
LearnP0022 Subaru: Find the Cause Before Replacing Parts
LearnP0011 Subaru Outback: Find the AVCS Problem and Fix It
LearnP0010 Subaru: Diagnose the AVCS Circuit and Fix the Fault
LearnP0030 Subaru Code: Bank 1 Sensor 1 Heater Circuit
LearnP0037 Subaru Code: Heater Circuit Low Bank 1 Sensor 2 Causes and Fixes
LearnP0202 Chevy: Diagnose the Cylinder 2 Injector Circuit