How to Fix a Car Running Lean: P0171/P0174 Causes and Checks
A car running lean is getting more air, or less fuel, than the engine computer wants, and the usual sign is a check engine light with a P0171 or P0174 code, sometimes with a rough idle. The cause is not always a part: GM and Porsche bulletins on these codes point to air leaks and fuel pressure checks, and Porsche tells its technicians to stop repairing when nothing is found. This guide covers fuel-injected cars and gives an order that finds the problem before you spend money on parts.
What Does It Mean When a Car Is Running Lean?
Modern engines try to hold an air-fuel ratio of 14.7 parts air to 1 part fuel, known as the stoichiometric point. NGK explains that the engine computer reads the oxygen sensor and adjusts fuel delivery through the injectors to hold that ratio. Lean means too much air for the fuel being delivered. When the computer reaches the limit of the fuel it can add and the mixture is still lean, it stores a fuel trim code. Porsche’s bulletin lists the first of these as P0171, Fuel Trim, Bank 1 System Too Lean, and GM bulletins list P0171 and P0174 together as fuel trim system lean, bank 1 or 2.
Lean Code Check Pick
![]() |
INNOVA 5110 Check Engine Code Reader for Most 1996 and Newer OBDII Cars
|
As an Amazon Associate we earn from qualifying purchases. Spec-based pick from the listing, not a hands-on test.
A code reader is the first tool for this job because the code and its freeze frame data tell a technician where the engine was when the fault set. The EPA consumer fact sheet “What To Do With the Check Engine Light” (EPA420-F-00-041, September 2000) says the technician connects a scan tool to read what the computer stored.
Symptoms of a Lean-Running Engine
The sources describe fewer symptoms than most online lists, and that is useful to know. GM’s 2019 bulletin PIP5686A for the 2019 to 2020 Silverado and Sierra 1500 with the 5.3L engine describes a rough idle, a lean running concern and an air leak noise from the PCV system, with the service engine soon lamp on and P0171 and P0174 stored. GM’s PIP5341 (October 2015), for 2007 to 2016 V8 trucks and SUVs, also describes a rough idle with these codes. GM’s PIP4577K, for 2007 to 2009 Cadillac SRX, STS and XLR with the 4.6L engine, says the opposite can happen: the customer may only notice the light and is unlikely to complain of performance problems.

Use the code, not the feel of the engine, to decide what to check. For the opposite problem, see how to fix a car running rich.
Common Causes of a Lean-Running Engine
Every cause below comes from a maker page, with the car it applies to; none is a guaranteed diagnosis for your car.
| Cause | What the source says | Source and car |
|---|---|---|
| Air leak in the PCV system | A PCV tube that was not fully seated, or was damaged, can leak air and set P0171 and P0174. GM says to check that the tube is seated and to smoke test for leaks. | GM PIP5686A (Nov. 2019): 2019 to 2020 Silverado and Sierra 1500, 5.3L |
| Rubbed-through PCV tube | The engine cover can rub through the PCV tube at the left rear of the intake manifold; GM says to replace the tube and protect it with conduit. | GM PIP5341 (Oct. 2015): 2007 to 2016 V8 trucks and SUVs |
| Small air leak or misalignment in the intake | Check PCV connections, oil fill cap and dipstick seals, the canister purge line, loose induction clamps, the brake booster, a loose or deformed air box and a non-GM air filter. | GM PIP4577K (Jan. 2012): 2007 to 2009 Cadillac SRX, STS, XLR, 4.6L |
| Fuel pressure that falls after a hot soak | A technician watches fuel pressure for 10 minutes after shutdown; a drop of more than 5 psi leads to checking for leaking injectors, then the in-tank pump module. | GM PIP4577K |
| Contaminated mass air flow sensor | DENSO says its sensor design reduces exposure of the sensing unit to contaminants and recommends a good working air filter to protect accuracy. | DENSO mass air flow sensor page |
| Oxygen sensor signal problem | NGK says a faulty or missing oxygen sensor signal puts the computer in open-loop mode, so the sensor data is worth checking before it is blamed or replaced. | NGK oxygen sensor pages |
No maker page named a clogged fuel filter or a particular injector as a cause of P0171, so a part cannot be picked from the code alone. For background on the intake side, see what a vacuum leak is, what a mass air flow sensor does and how MAF and oxygen sensors work together.

How to Diagnose a Lean-Running Engine
The order matters more than any single step: a new sensor on a car with a cracked intake tube leaves the leak in place and the code returns. This sequence uses only steps the sources describe.
- Read the code and freeze frame data. Note whether P0171, P0174 or both are stored. GM’s PIP4577K says that when both set at about the same time the cause can be a small air leak in the induction system.
- Check for a blinking light first. If it is blinking, follow the EPA advice to minimize driving, avoid high speed and heavy loads, and get it checked quickly.
- Look at the air path with the engine off and cool. The GM bulletins list a loose or deformed air box, loose induction clamps, an aftermarket or damaged air filter and a PCV tube that is out of place or cracked. Look by eye; do not pull on hoses on a hot engine.
- Have the intake smoke tested. GM’s PIP5686A uses a smoke test to confirm there are no leaks. Smoke testing is shop equipment; ask for it before accepting a part swap.
- Check the fuel side at a shop. GM’s PIP4577K checks ethanol content and fuel pressure after a hot soak. Fuel pressure work is a shop task.
- Check sensor data before replacing a sensor. GM’s PIP4577K has the technician record MAF sensor grams and long-term fuel trim values and graph them to spot a sensor reading that spikes low. NGK says a faulty oxygen sensor signal puts the computer in open loop.
- Retest. GM’s 2019 bulletin clears the codes, idles the engine for 5 minutes, shuts it off, repeats once more, and checks whether the codes return. If they return, the full diagnostic procedure for that code follows.
Fuel Trims at a High Level
Fuel trims are the computer’s running correction to fuel delivery. The only numbers in the sources come from one car: in GM’s PIP4577K for the 4.6L Cadillac, long-term fuel trim can rise 2 to 3 percent with each hot-soak cycle on a known good vehicle, up to about 12 percent after three cycles, and the car counts as repaired if the codes do not return after three cycles. Those are that bulletin’s numbers for those engines, not a rule for other cars.
How to Fix a Lean-Running Engine
Fix what the diagnosis found. Reseating or replacing a PCV tube, restoring a loose air box or ducting, or replacing a worn air filter are the repairs the GM bulletins actually name. Porsche’s bulletin shows some codes end with software and a module, and with a stop order if no cause is found.
| Symptom or code | Likely cause per sources | Safe first check | DIY or pro |
|---|---|---|---|
| P0171 or P0174 with rough idle | PCV tube leak or damage; intake air leak | Engine off and cool: look at the air box, ducting clamps and PCV hoses | Look yourself; smoke test and tube replacement by a pro |
| Both codes set together | Small air leak in the shared air induction system | Check air filter fit and intake clamps by eye | Pro for smoke test and manifold work |
| Light only, car drives normally | Same causes; GM says the light may be the only symptom | Read the code and freeze frame with a scan tool | DIY read; pro for diagnosis |
| Blinking check engine light | Severe misfire per the EPA fact sheet | Reduce load and speed | Pro quickly |
| Code returns after cleaning or part swap | Cause not yet found; Porsche says stop if none is identified | Retest as GM describes: clear, idle 5 minutes, repeat | Pro with guided diagnostics |
| Oxygen sensor code with the lean code | Open-loop operation if its signal is missing, per NGK | Confirm the sensor signal before replacing | Pro or confident DIYer with data |
NGK says failing to replace a faulty oxygen sensor at the first sign of trouble can cause premature catalytic converter failure. For sensor life, see how long oxygen sensors last.

Mistakes to Avoid With a Lean Code
| Mistake | Why it backfires, per the sources |
|---|---|
| Clearing the code and driving on | The EPA says a lit light can mean wasted fuel and shorter engine life; the code is the clue a technician needs. |
| Replacing the MAF sensor first | GM lists air box fit, ducting and filter type as reasons a MAF reads wrongly, and air leaks as the first thing its bulletins check. |
| Changing parts without a smoke test | GM PIP5686A confirms the PCV tube with a smoke test before replacing it. |
| Working on the fuel system at home | Fuel pressure checks are shop work in the GM bulletin; this guide does not cover opening the fuel system. |
Because a lean code can overlap with other trouble, see also what causes a car to run lean for a cause-by-cause list, what happens if your car fails an emissions test if the light has put an inspection at risk, and what the RPM gauge means for reading idle speed.
Preventing Lean Conditions in the Future
Keep a good working air filter in place, as DENSO recommends. After any repair near the intake, make sure the air box and ducting are seated, since GM notes that air flow across the MAF can be disturbed by a previous repair. If a lean code appears after a fill-up, tell the shop: GM’s bulletin retests on gasoline with under 10 percent ethanol. And do not wait on a lit light: the EPA says maintenance on the maker’s schedule and attention to the check engine light give a car extra years of service. For a code reader to own, see the best OBD2 scanners for beginners.
For where the fuel filter and pump sit and what each does, see the fuel filter location and what a fuel pump does. The maker documents behind this page are the Porsche bulletin 2301.1 (December 2023) and the GM bulletin PIP4577K (January 2012), both written for technicians and hosted by NHTSA.
Frequently Asked Questions
What does it mean when my car is running lean?
The engine is getting more air, or less fuel, than the computer expects. NGK explains that the computer uses the oxygen sensor signal to hold an air-fuel ratio of 14.7 parts air to 1 part fuel. When it cannot add enough fuel to hold that ratio, a lean fuel trim code such as P0171 or P0174 can set and the check engine light comes on.
Can I drive my car if it’s running lean?
The EPA fact sheet says a steady light means the car will not stop running but needs attention soon. A blinking light signals a severe problem such as a misfire: minimize driving, avoid high speed and heavy loads, and get it checked quickly. If the car runs very roughly, have a shop look at it.
How do I know if my fuel filter is causing a lean condition?
None of the maker pages read for this guide ties a lean code to a fuel filter, so it cannot be confirmed from the code alone. GM’s bulletin PIP4577K has a technician watch fuel pressure after a hot soak, which is a shop test rather than a guess at parts.
Can a lean-running engine damage my car?
The EPA says a check engine light can mean a condition that shortens engine life, and that a severe misfire can lead to engine damage. NGK says the computer runs a programmed, usually richer, amount of fuel when it loses the oxygen sensor signal to protect the engine from an over-lean condition.
How often should I clean my MAF sensor to prevent lean issues?
No maker interval was found, so none is given here. DENSO says its mass air flow sensor design limits exposure of the sensing element and recommends keeping a good working air filter. Follow the sensor or vehicle maker’s instructions.
What is the difference between P0171 and P0174?
Both are lean fuel trim codes. Porsche’s bulletin lists P0171 as Fuel Trim, Bank 1 System Too Lean. GM’s PIP4577K notes that when both store at about the same time the cause can be a small air leak in the air induction system.
Conclusion
Running lean has several possible causes, and the maker pages agree on the approach: read the code, check the air path, confirm fuel pressure and sensor data at a shop, then retest. Treat a blinking light as urgent.
- What this guide does not cover: carbureted engines, diesel engines, repair prices, or relieving fuel pressure and opening the fuel system. Ask a licensed shop for an estimate and follow your owner’s manual.
Products related to this article
Sponsored / affiliate links. As an Amazon Associate I earn from qualifying purchases. I may earn additional commission from eligible campaigns.



