P0171 on Toyota & Lexus: System Too Lean — Causes, Fixes & Cost
In short
P0171 means your Toyota or Lexus is running lean on Bank 1 — too much air relative to fuel — and the computer has run out of room adding fuel to compensate. On Toyota's 1MZ/2GR V6s and 2AZ/2AR four-cylinders, the two usual culprits are a dirty mass-airflow (MAF) sensor under-reporting airflow and a brittle, cracked PCV or vacuum hose letting in unmetered air. Both are inexpensive fixes once you confirm them with live fuel-trim data, and Toyota MAF sensors in particular often respond to a careful cleaning.
Is it safe to drive with P0171-toyota?
Generally safe to drive in the short term — the engine will run, though you may feel a slightly rough idle or a brief hesitation. Don't leave it for long: a lean mixture burns hotter and, on Toyota engines, a sustained lean condition can lead to misfires and accelerated wear. If P0171 appears with misfire codes (P0300-series) or its Bank 2 twin P0174, diagnose it promptly.
Symptoms
- Check engine light on with stored code P0171 (System Too Lean, Bank 1)
- Slightly rough or surging idle, occasionally stalling at a stop
- Brief hesitation or stumble on light acceleration
- Mildly reduced fuel economy
- Often no obvious symptom other than the light
- May appear alongside P0174 on V6 models
Common causes (most → least likely)
How to diagnose it (before buying parts)
- 1 Read live fuel-trim data first. High positive Short- and Long-Term Fuel Trims on Bank 1 (roughly +15% to +25%) confirm the engine is adding fuel to fight a lean condition.
- 2 Note when the lean trim is worst: bad at idle points to a vacuum/PCV leak; bad at higher RPM or load points to the MAF or fuel delivery.
- 3 Clean the MAF sensor with MAF-specific spray (never touch the element). Toyota/Lexus MAFs are a frequent cause and often recover after cleaning — recheck trims afterward.
- 4 Inspect the PCV hose and every vacuum line for cracks and brittleness; the V6 PCV hoses harden and split with age. A smoke test or carb-cleaner spray around the intake will reveal leaks by changing the idle.
- 5 Check the oil level and condition, especially on 2AZ-FE engines known for oil consumption, before chasing sensors.
- 6 If idle vacuum, MAF and PCV all check out, test fuel pressure and trims under load to rule out weak fuel delivery.
Repair options & cost
By manufacturer
On 1MZ-FE and 2GR-FE V6s (Camry, Avalon, Highlander, Sienna, RAV4), brittle PCV hoses and a dirty MAF are the classic P0171 causes, frequently with P0174 on Bank 2. Clean the MAF and replace the hardened PCV/vacuum hoses before suspecting anything internal.
ES, RX and Highlander-platform Lexus models share the 1MZ/2GR V6 and behave the same way — start with the MAF and the crankcase-vent hoses. Use Denso sensors; off-brand MAFs often re-trigger lean codes.
Scion tC/xB (2AZ-FE) can throw P0171 partly from oil consumption fouling things up. Confirm the oil level and check the PCV system before replacing parts.
Frequently asked questions
What's the most common cause of P0171 on a Toyota?
A dirty MAF sensor or a cracked PCV/vacuum hose letting in unmetered air. On the V6 engines these brittle crankcase-vent hoses are a known weak point, and the MAF often just needs cleaning. Both are cheap to address once live fuel trims confirm the lean condition.
Will cleaning the MAF sensor fix P0171 on my Lexus or Toyota?
Frequently, yes. Toyota and Lexus MAF sensors respond well to a careful clean with MAF-specific spray; recheck your fuel trims afterward. If trims are still high, look for a cracked PCV/vacuum hose next, then consider a Denso replacement MAF.
Why do I have P0171 and P0174 together?
Both banks reading lean usually points to a shared cause that affects all cylinders — most often a dirty MAF (which feeds both banks) or a crankcase-ventilation/intake leak. Fix the common cause and both codes typically clear.
How much does it cost to fix P0171 on a Toyota?
Often very little: MAF cleaner is under $20, and a PCV or vacuum hose is typically $15-$120 in parts. A Denso replacement MAF runs roughly $60-$300, and an intake gasket job at a shop can reach $250-$700 if it comes to that. Confirm the cause with fuel-trim data so you don't replace parts unnecessarily.