OBD-II code · vehicle-specific
On this page
- How this differs from the generic P0171
- What actually causes it on this Camry
- TSB and recall awareness
- Diagnostic steps, Camry-specific
- Read the fuel trims first
- Clean the MAF sensor
- Smoke-test for unmetered air
- Check the PCV valve
- Fixes, cheapest first
- What Camry owners report on forums
- Frequently asked questions
P0171 Code in the Toyota Camry
How this differs from the generic P0171
The generic P0171 page splits the root cause across
vacuum leaks, MAF contamination, fuel delivery, and a handful of others.
On the Camry, and particularly the 2.4L 2AZ-FE used from 2002 through
2011, the distribution shifts. Unmetered air, whether through the MAF or
a gasket, dominates. Fuel-side failures sit near the bottom of the list.
This engine uses a hot-wire MAF sensor mounted in the intake tube ahead
of the throttle body. Oil mist from the PCV system slowly coats the
sensor element, so the MAF under-reports airflow as the miles climb. The
PCM trims fuel to match the airflow it thinks it sees, the mixture runs
lean, and P0171 sets once LTFT climbs past the threshold. The 3.5L
2GR-FE V6 follows the same broad pattern, with injector deposits and a
second bank (P0174) added to the mix.
What actually causes it on this Camry
Frequencies below are patterns reported in iATN Toyota threads and r/MechanicAdvice Camry posts, not exact statistics for any one model year.
Dirty or aged MAF sensor (~35%). The most common single cause on the 2AZ-FE. PCV oil vapor films the hot-wire element, airflow reads low, and fuel trim swings lean. Clue: LTFT high at idle and at cruise, scaling with rpm. A careful cleaning with CRC MAF-specific cleaner often drops trim back under +5% within a drive cycle.
PCV valve stuck or weak (~25%). A PCV valve that hangs open pulls extra unmetered air straight into the intake manifold. Toyota's 2AZ-FE PCV valve is cheap and threads into the valve cover. Clue: trim worse at idle than at cruise, sometimes a faint whistle near the valve cover.
Intake-manifold or throttle-body gasket leak (~20%). The gaskets between the intake manifold, the throttle body, and the head harden and shrink with heat cycles, especially past 100,000 miles. Air sneaking in downstream of the MAF leans the mixture. Clue: a smoke test reveals wisps at the gasket seams; carb cleaner sprayed there changes idle.
Vacuum hose, brake booster, or PCV hose cracked (~10%). Brittle rubber lines split at the bends. The brake-booster hose and the small purge and PCV lines are the usual offenders on an older Camry. Clue: audible hiss, harder brake pedal if the booster line is the source.
Fuel delivery shortfall (~5%). A clogging fuel filter, a tired pump, or dirty injectors can lean the high-load mixture. Clue: trim fine at idle but climbing under acceleration; check fuel pressure before buying parts.
Downstream issues, including a lazy upstream O2 sensor (~5%). A biased air-fuel sensor occasionally reports lean when the mixture is fine. Less common than owners assume. Clue: the sensor reads steady lean while a tailpipe gas check shows normal mixture.
On the four-cylinder Camry, clean the MAF and smoke-test the intake before you touch a fuel part. Roughly four out of five fixes live on the air side, not the fuel side.
TSB and recall awareness
There is no broad federal recall for P0171 on the Camry as of this
writing. That said, the 2007 through 2009 2AZ-FE four-cylinder is
well known for excessive oil consumption from worn piston rings, and a
low oil level plus heavy crankcase blow-by can push the PCV system and
fuel trim toward a lean reading. Toyota extended warranty coverage on the
oil-consumption issue for affected VINs under a customer support program,
which has since lapsed for most cars. If your Camry burns oil and sets
P0171, check the oil level first, then verify the PCV system.
For anything calibration-related or VIN-specific, call a Toyota service department with your VIN rather than trusting a bulletin number from a forum. Bulletins get superseded, and the one that matches your exact engine and build date is the only one worth acting on.
Diagnostic steps, Camry-specific
Read the fuel trims first
Plug in a scan tool that shows live short-term (STFT) and long-term
(LTFT) fuel trim. A healthy Camry holds combined trim within about plus
or minus 8%. P0171 typically sets when LTFT parks above +10% with STFT
also positive. Note how trim behaves across the rpm band.
- High at idle, better at cruise: points to a vacuum or PCV leak, since the unmetered air matters most when total airflow is low.
- High everywhere, scaling with rpm: points to the MAF under-reporting.
- Fine at idle, worse under load: points to fuel delivery.
Clean the MAF sensor
Remove the intake tube clamp, unplug the MAF connector, and pull the sensor. Spray the hot-wire element with MAF-specific cleaner only, never brake cleaner or a rag, then let it air dry fully before reinstalling. Clear the codes, reset fuel trim if your tool allows, and drive a mixed city and highway cycle. Watch whether LTFT falls back toward zero.
Smoke-test for unmetered air
A smoke machine fed into the intake after the throttle body is the fastest way to find a gasket or hose leak on this engine. Watch the intake-manifold-to-head seam, the throttle-body gasket, the brake-booster hose, and the PCV hose. No smoke machine on hand? Spray a short burst of throttle-body cleaner around each seam at idle and listen for an rpm change, working in a ventilated space well away from ignition sources.
Check the PCV valve
On the 2AZ-FE, pull the PCV valve from the valve cover and shake it. A healthy valve rattles and seals under vacuum. If it is stuck open or gummed shut, replace it. The valve is inexpensive and a frequent fix on high-mileage Camrys.
Fixes, cheapest first
| Fix | Cost (USD) | When it applies |
|---|---|---|
| Clean the MAF sensor | $8–$15 for a can of cleaner | LTFT high and scaling with rpm, MAF visibly oily |
| Replace the PCV valve | $10–$25 part | Trim worse at idle, valve stuck or no rattle |
| Replace a cracked vacuum or brake-booster hose | $10–$40 | Audible hiss, smoke test shows a leak at a hose |
| Replace intake-manifold or throttle-body gasket | $25–$70 part, $120–$300 shop labor | Smoke test shows a gasket-seam leak |
| Replace the MAF sensor (Denso OE) | $90–$170 part | Cleaning did not drop trim; element reads erratic |
| Diagnose fuel delivery (filter, pump, injectors) | $50–$400 | Trim fine at idle, lean only under load |
A genuine Denso MAF sensor is the part to buy if cleaning fails. The OE 2AZ-FE unit carries Denso reference numbers in the 197-6010 family, but confirm the exact fit against your VIN at a dealer or a reputable supplier before ordering. The PCV valve and gaskets are standard maintenance parts available through any Toyota dealer or RockAuto.
What Camry owners report on forums
A pattern repeats across Camry P0171 discussions, paraphrased here
rather than quoted.
"I cleaned the MAF and the code came back in a week." Common, and it usually means the MAF was a contributor but not the only leak. The next step is a smoke test, since a gasket leak plus a marginal MAF can stack up. Owners who skip the smoke test tend to throw a new MAF at the car and stay lean.
"I replaced the fuel pump and it did nothing." Also common, and a reminder that fuel parts sit near the bottom of the cause list on this platform. The fuel trim data almost always pointed to the air side first; the pump swap was a guess.
"P0171 and P0174 together on my V6." On the 3.5L 2GR-FE, both
banks reading lean points away from a single cylinder problem and toward
something shared: the MAF, the PCV system, or a common vacuum source.
Diagnose it as one lean condition feeding both banks, not two separate
faults.