P0170: mixture deviation
Fuel Trim Malfunction (Bank 1)
Severity: medium
Updated: 28 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
P0170 is a generic code (SAE J2012 / ISO 15031-6) defined as: fuel trim malfunction, bank 1. It indicates that the engine control module (ECM/PCM) has detected that the short-term (STFT) and long-term (LTFT) fuel adjustments, which it uses to keep the air-fuel mixture close to stoichiometry, are outside the expected limits. The code does not by itself indicate whether the mixture is lean or rich; that requires reading the adjustment values and the lambda sensor signal. The cause may be too little or too much fuel, or unmeasured or incorrectly measured air entering the engine.
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 P0170? Ask about your car
Tell us your car and what you notice: we answer right here, no account needed.
DATAIAO’s answer
AIYou're talking to DATAIAO's AI, specialised in car mechanics. Check anything important before acting. What we keep
Save this answer and your car, and I’ll ask you tomorrow whether it’s fixed.
Free and no card needed: 8 questions a day, your Garage and MOT/inspection reminders.
Warning: hazardous work
Affects:
Disclaimer. This information is for guidance only, is generated by artificial intelligence and may contain errors or omissions. Working on these systems can cause serious injury or death, as well as damage to the vehicle or to third parties. If you decide to do it, you do so at your own risk: always follow the manufacturer's workshop manual and the applicable regulations, and go to a workshop if you do not have the right training and tools. To the extent permitted by law, DATAIAO is not liable for damage arising from carrying out this work.
How the ECU detects it
The ECM continuously compares the lambda sensor signal with the mixture target and corrects using the STFT and LTFT adjustments. The code is stored when those adjustments exceed the set limits over several driving cycles in closed loop, normally with the engine warm and the sensor working. The number of trips needed to light the warning light depends on the manufacturer.
Symptoms
- Malfunction indicator lamp (MIL) on steadily;
- Rough or unstable idle, especially when cold or at standstill;
- Loss of power or slower response when accelerating;
- Higher than normal fuel consumption;
- Smell of unburnt petrol or dark smoke from the exhaust;
- Jerking or hesitation when cruising at constant speed
Common causes
- Dirty or clogged air filter restricting air intake;
- Vacuum leaks in hoses, unions or intake manifold gaskets;
- Mass air flow (MAF) sensor contaminated or faulty (depending on engine design);
- Upstream lambda sensor (bank 1) aged, slow or contaminated;
- Dirty, leaking or irregularly flowing injectors;
- Low fuel pressure due to a weak pump, blocked filter or faulty regulator;
- Manifold pressure or intake air temperature sensor giving incorrect readings;
- PCV valve or vapour recirculation system leaking or stuck;
- EGR system with flow or sealing faults;
- Coolant temperature sensor giving an incorrect reading;
- Mechanical problems affecting combustion (oil or coolant consumption). The most frequent causes vary by engine: they depend on the make, so consult the workshop manual for your engine.
What to check
- Check the air filter and replace it if very dirty or wet;
- Visually inspect vacuum hoses, intake ducts and manifold gaskets for cracks, disconnections or whistling;
- Read the STFT and LTFT values with a scanner at idle and at medium revs; if the adjustment is far from zero, it indicates the direction of the deviation (the exact limits depend on the make: consult the workshop manual for your engine);
- Check the bank 1 lambda sensor signal in real time, confirming that it switches in closed loop;
- Compare the MAF reading with the manufacturer's reference values for engine load;
- Verify fuel pressure with a gauge against the manufacturer's specification;
- Look for vacuum leaks with specific low-pressure smoke equipment; applying flammable liquids to the joints is not recommended due to fire risk;
- Check the PCV valve and EGR circuit for blockage or unmeasured air entry;
- Consider an injector flow test if pressure is correct and the adjustment remains high, always following the manufacturer's procedure;
- Confirm the readings of the temperature and manifold pressure sensors against the manufacturer's reference values
Common diagnostic mistakes
- Replacing the lambda sensor without first checking for vacuum leaks or the condition of the air filter, which are more frequent causes;
- Cleaning the MAF without checking its readings or inspecting the air filter;
- Clearing the code without correcting the cause;
- Relying on the code alone without reading the STFT and LTFT values in real time;
- Confusing P0170 with P0171 or P0172 and applying the wrong repair;
- Changing injectors without checking fuel pressure first
Typical repairs
From the simplest and cheapest to the most expensive. Which one applies depends on the diagnosis.
- Air filter replacement;
- Cleaning the MAF sensor with a specific product;
- Repairing vacuum leaks (hoses, unions, gaskets);
- Cleaning or checking the PCV system or the EGR valve;
- Replacing the bank 1 lambda sensor;
- Replacing the MAF sensor or the manifold pressure sensor;
- Cleaning or replacing injectors;
- Replacing the fuel pump or fuel filter
Frequently asked questions
Can I keep driving with P0170 on?
It is best not to delay the check. If the warning light is steady and the car runs normally, it can be driven for a limited time, but a mixture kept out of control increases fuel consumption and can damage the catalytic converter over time. If the car shakes badly, loses power noticeably, overheats or smells of fuel, stop driving and take it to a garage. A dirty air filter is fixed in minutes, but a vacuum leak or pump fault needs professional diagnosis.
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.
Related codes
- P0171 Indicates a lean mixture (too little fuel) on bank 1; P0170 refers to a deviation without specifying the direction, although they often appear together.
- P0172 Indicates a rich mixture (excess fuel) on bank 1, whereas P0170 is the generic code for the deviation.
- P0174 Is the lean mixture equivalent but on bank 2, in engines with two banks.
- P0300 Detects random misfires; it sometimes appears alongside P0170 when the incorrect mixture causes misfires.
- P0101 Points to an incorrect range or performance of the MAF sensor, which may be the cause of the mixture deviation.