P0171: System Too Lean (Bank 1)
P0171 is a powertrain diagnostic trouble code in the fuel and air metering group. Our vehicle database stores it against 175 models.
What P0171 actually means
The stored definition for P0171 is “System Too Lean (Bank 1)”. The first character of the code identifies the system — Powertrain in this case. The second character tells you who defined the code: this one is a generic code defined by SAE J2012 and shared by every manufacturer. Reading the code this way matters, because it tells you whether the fault is a generic behaviour common to most vehicles or something a specific manufacturer chose to monitor.
Within that system, P0171 sits in the fuel and air metering group. That is the part of the powertrain the control module was monitoring when it set the code, and it narrows down enormously where a technician will start looking.
How serious is P0171?
We rate P0171 as Moderate — diagnose soon. That rating comes from the severity recorded in our database for this code, not from how alarming the name sounds.
A moderate-severity code usually leaves the vehicle drivable, but the underlying fault tends to worsen and can cascade into a more expensive repair. It is reasonable to drive cautiously to a workshop in the near term, but the code should be diagnosed rather than cleared and forgotten.
Most likely causes of P0171, ranked
These causes are taken from the vehicles in our database that log this code, ranked by how many of them record each cause. A cause that shows up across many different platforms is a more probable starting point than one tied to a single model.
- Dirty MAF — recorded for 46 of the 175 vehicles logging P0171.
- Dirty MAF sensor — recorded for 41 of the 175 vehicles logging P0171.
- intake leak — recorded for 34 of the 175 vehicles logging P0171.
- cracked intake boot — recorded for 27 of the 175 vehicles logging P0171.
- PCV valve leak — recorded for 26 of the 175 vehicles logging P0171.
- Carbon-restricted intake runner — recorded for 19 of the 175 vehicles logging P0171.
- leaking PCV — recorded for 19 of the 175 vehicles logging P0171.
- PCV valve — recorded for 19 of the 175 vehicles logging P0171.
- vacuum leak from PCV hose — recorded for 15 of the 175 vehicles logging P0171.
- Intake leak — recorded for 14 of the 175 vehicles logging P0171.
- PCV leak — recorded for 14 of the 175 vehicles logging P0171.
- dirty MAF — recorded for 12 of the 175 vehicles logging P0171.
- PCV valve integrated in valve cover failure — recorded for 12 of the 175 vehicles logging P0171.
- PCV failure — recorded for 11 of the 175 vehicles logging P0171.
- PCV valve failure integrated in valve cover — recorded for 10 of the 175 vehicles logging P0171.
- Carbon-restricted intake — recorded for 9 of the 175 vehicles logging P0171.
- vacuum leak — recorded for 6 of the 175 vehicles logging P0171.
- PCV — recorded for 4 of the 175 vehicles logging P0171.
- Dirty fuel injectors — recorded for 3 of the 175 vehicles logging P0171.
- fuel pressure — recorded for 2 of the 175 vehicles logging P0171.
- Intake boot leak — recorded for 2 of the 175 vehicles logging P0171.
- Intake manifold gasket leak — recorded for 2 of the 175 vehicles logging P0171.
- tune — recorded for 2 of the 175 vehicles logging P0171.
- failing PCV valve — recorded for 1 of the 175 vehicles logging P0171.
- intake carbon — recorded for 1 of the 175 vehicles logging P0171.
- PCV system — recorded for 1 of the 175 vehicles logging P0171.
- PCV valve failure — recorded for 1 of the 175 vehicles logging P0171.
- vacuum leak at intake manifold gasket — recorded for 1 of the 175 vehicles logging P0171.
Causes are listed as recorded in the database. The same code can have different root causes on different engines, so the ranking is a starting order for diagnosis rather than a diagnosis in itself.
How a technician diagnoses P0171
Diagnosis for P0171 follows the same logic as any stored code: confirm the code is active rather than historic, then work through the ranked causes from cheapest and most likely to most intrusive. In practice that means:
- Re-read the codes and capture freeze-frame data. The snapshot taken when P0171 was set records the engine conditions at that moment, which is often what separates one candidate cause from another.
- Check for the cheap, physical causes first. Several of the causes recorded for this code — dirty maf, dirty maf sensor, intake leak — can be inspected visually or with a basic tool before any part is replaced.
- Test rather than guess. A technician should confirm the faulty component with live data or a measurement before replacement. Parts-swapping on a powertrain code is the single most common reason a repair costs more than it needed to.
- Clear the code and verify the fix. Clearing alone proves nothing; the code must stay clear through a full drive cycle that reproduces the original conditions.
If a workshop replaces a component for P0171 without showing you the measurement that condemned it, ask for the data. On this code family, the recorded causes are usually testable, so a diagnosis should be demonstrable rather than asserted.
What drives the cost of fixing P0171
We deliberately do not print a single repair price for P0171. The honest answer is that the cost is set by which cause is actually present, and that range is wide — a repair for the first item in the ranked list above and the last can differ by more than an order of magnitude in parts alone. Add regional labour rates and the spread becomes wider still.
The factors that actually move the number, in rough order of impact:
- Which candidate cause is confirmed. A cleaning or adjustment is a different job from replacing a major assembly.
- Access. Components buried against the firewall or under the intake can add hours of labour that have nothing to do with the part price.
- OEM versus aftermarket parts. The gap is largest on emissions and sensor components.
- Whether diagnosis is billed separately and whether it is credited against the repair.
The practical approach: get the cause confirmed first, then collect two or three written quotes for that specific repair. To judge whether the repair is worth doing against the value of the vehicle, use our repair-or-replace decision guide.
Vehicles in our database that log P0171
175 models store this code. The makes appearing most often are Honda (15), Chevrolet (13), Nissan (13), Toyota (11), BMW (10). Each model links to its own guide, where this code appears alongside that vehicle's full fault list and running costs.
Frequently asked questions about P0171
What does the P0171 code mean?
P0171 is a powertrain trouble code meaning "System Too Lean (Bank 1)". It belongs to the fuel and air metering group of the SAE J2012 numbering scheme, and it is a generic code defined by SAE J2012 and shared by every manufacturer. The code is set by the engine control module when the monitored system reports a value outside its expected range.
Is it safe to drive with P0171?
Severity for P0171 is rated medium in our database. A moderate-severity code usually leaves the vehicle drivable, but the underlying fault tends to worsen and can cascade into a more expensive repair. It is reasonable to drive cautiously to a workshop in the near term, but the code should be diagnosed rather than cleared and forgotten.
What are the most common causes of P0171?
In our vehicle database, the causes recorded for P0171 are: Dirty MAF; Dirty MAF sensor; intake leak; cracked intake boot; PCV valve leak; Carbon-restricted intake runner; leaking PCV; PCV valve; vacuum leak from PCV hose; Intake leak; PCV leak; dirty MAF; PCV valve integrated in valve cover failure; PCV failure; PCV valve failure integrated in valve cover; Carbon-restricted intake; vacuum leak; PCV; Dirty fuel injectors; fuel pressure; Intake boot leak; Intake manifold gasket leak; tune; failing PCV valve; intake carbon; PCV system; PCV valve failure; vacuum leak at intake manifold gasket. They are ranked on the page by how many of the 175 vehicles that log this code list each cause.
How much does it cost to fix P0171?
We do not publish a single figure for P0171 because the real cost depends entirely on which cause is present — a repair for the cheapest cause on the list and the most expensive one differ by an order of magnitude, and labour rates vary by region. The page explains which factors drive the cost and recommends collecting written quotes before authorising work.
Which vehicles commonly report P0171?
Our database stores P0171 against 175 vehicles, most frequently from Honda (15), Chevrolet (13), Nissan (13), Toyota (11), BMW (10). The full list is shown on this page and each model links to its own cost and fault guide.
Related codes and next steps
Codes that share the same system group often appear together, because a single fault can set more than one:
For the full list, see the OBD-II fault code cross-reference. If the repair cost is what you are weighing, model the total with our total cost of ownership calculator before deciding, and check whether an open safety recall covers the fault with the recall lookup.
Sources and scope
Code definitions follow SAE J2012 / ISO 15031-6 naming. The descriptions, listed causes, and severity ratings on this page are the values stored in the VehCalc vehicle database (snapshot 2026-08-20) for the models listed above. Codes and causes vary by model year and engine.
Diagnostic reference only — not repair advice. This page is provided for educational and planning purposes and does not replace an inspection by a qualified technician or the manufacturer's service information. Before repairing a vehicle you depend on, confirm the diagnosis with an ASE-certified mechanic.