Create your free account and get 10 bonus questions when you confirm your email. No card needed. Create free account

Try it free

P0171: System too lean (Bank 1)

Severity: medium

Updated: 13 Nov 2026 · Generic OBD-II code (SAE J2012 / ISO 15031-6). Written with AI and reviewed; translated automatically from the Spanish original.

What it means

The ECU compares the signal from the oxygen sensor located before the catalytic converter with the fuelling adjustments it applies itself. If the sensor indicates a lean mixture (too much air relative to fuel) and the ECU has to add more fuel than normal to compensate, and that adjustment exceeds a limit defined by the manufacturer, it records fault P0171. This code refers to Bank 1, that is, the side of the engine where cylinder number 1 is located on V or boxer engines; on inline engines there is only one bank. The code does not indicate the specific cause: it only shows that the mixture is not being corrected within the expected margin. For this reason, it is usually necessary to look for the air leak or the fuel supply fault that is causing it.

Can I keep driving?

Yes, but have it checked soon.

The car can normally be driven, but the fault can get worse or damage other parts over time (the catalytic converter or the particulate filter, for example). Book a diagnosis in the next few days.

If in doubt, put safety first: a red or flashing warning light, smoke, a burning smell or any change in the brakes or steering are reasons to stop.

Got P0171? Ask about your car

Tell us your car and what you notice: we answer right here, no account needed.

Symptoms

  • Rough or unstable idle, especially when the engine is warm.
  • Hesitation or jerking when accelerating.
  • Loss of power, especially on hills or under load.
  • Difficulty starting or engine stalling when stopping.
  • Knocking or detonation under load on some engines.
  • Overheating or abnormal noise if the lean mixture persists for a long time, with a risk of damaging valves, pistons or the catalytic converter.
  • On some vehicles, the warning light flashes or stays on with no other obvious symptoms.

Common causes

  • Unmetered air leak in the intake system: cracked or disconnected hoses, inlet manifold gasket, oil filler cap or dipstick not properly sealed.
  • Mass airflow sensor (MAF) dirty or faulty, measuring less air than is actually entering.
  • Vacuum leak in auxiliary circuits, such as the PCV valve or the EGR valve, depending on the engine design.
  • Low fuel pressure due to a pump, filter blocked or faulty regulator.
  • Blocked injectors or insufficient flow.
  • Bank 1 oxygen sensor aged or with slow response, which may indicate a lean mixture that does not actually exist.
  • Manifold pressure or faulty MAP sensor, on vehicles that use it to calculate airflow.

The relative frequency of each cause depends on the manufacturer and the engine year.

What to check

Safety warning: the fuel circuit is pressurised and petrol or diesel are flammable. Before measuring pressure, disconnecting lines or testing injectors, depressurise the circuit according to the manufacturer's manual, avoid sparks, flames and smoking, work in a well-ventilated area and have a fire extinguisher to hand. If you have no experience with this type of work, leave it to a professional.

  • Visually inspect the intake hoses and look for cracks, loose connections or hissing at idle.
  • Check that the oil filler cap, dipstick and coolant cap are closing correctly.
  • Inspect the air filter and replace it if it is very dirty.
  • Read the short-term and long-term fuel trims (STFT and LTFT) and the real-time oxygen sensor signal with a scanner. Positive and persistent correction values (roughly above ≈+10 %, depending on the manufacturer) indicate a lean mixture.
  • Clean the MAF sensor with a cleaner specific to this component, without touching the sensing element with objects.
  • Carry out a smoke test on the intake to locate leaks that are hard to see, following the equipment instructions.
  • Measure fuel pressure with a gauge on the supply line and compare it with the manufacturer's specification.
  • Check the PCV valve and the auxiliary vacuum lines.
  • Check injector flow or operation with a test bench.
  • Check the condition of the Bank 1 oxygen sensor and its electrical circuit as a last step, as it is a less common cause.

Frequently asked questions

Why does P0171 appear only when cold or only when accelerating?

With the engine cold, the ECU enriches the mixture on start-up and the correction adjustments are not yet the usual ones, so the fault may not appear until the engine reaches its operating temperature. This behaviour depends on the engine design and its management. When accelerating, fuel demand increases: if the pump, filter or regulator do not supply the necessary flow or pressure, the mixture can become lean only under load. Vacuum leaks are usually more noticeable at idle, when unmetered air has a greater effect on the mixture. For this reason, intermittent appearance guides the search, but does not replace scanner tests (STFT and LTFT under different conditions) or fuel pressure measurement.

Can I just clear it? Clearing the code does not fix the fault: if the cause is still there, it comes back, and with the engine warning light on the car will fail its roadworthiness test (MOT in the UK).

General information about a generic code. The exact causes depend on the make and engine: confirm them with a diagnosis before replacing parts.

More codes: fuel and air metering

All OBD codes in English