P0171 means your engine is running too thin on fuel, and Bank 1 is the side of the engine with cylinder number one

The diagnostic trouble code P0171 fires when your engine's oxygen sensor detects that the air-to-fuel mixture is too lean—meaning there is too much air and not enough fuel burning in the combustion chamber. Bank 1 refers to whichever side of your engine contains the number-one cylinder (on most cars, the driver's side). Your car's computer uses the oxygen sensor reading to adjust how much fuel the injectors spray. When that sensor sends a signal that says "not enough fuel," the computer tries to add more. If it cannot add enough to reach the target ratio, the check engine light comes on and logs P0171.

A lean condition wastes fuel efficiency, causes rough idling, and can damage your catalytic converter if left unfixed. The code does not tell you which part is broken—only that the fuel system on Bank 1 is not delivering enough fuel or the oxygen sensor is reading incorrectly.

Key Takeaways

  • P0171 means the oxygen sensor on Bank 1 detected too much air relative to fuel in the combustion chamber.
  • The most common causes are a faulty oxygen sensor, a clogged fuel injector, low fuel pressure, or a vacuum leak.
  • You can check fuel pressure with a gauge (should read within the manufacturer's spec, usually 40–60 PSI for most cars) and inspect vacuum hoses for cracks or loose connections.
  • A fuel injector cleaner may clear a clogged injector, but a faulty oxygen sensor almost always requires replacement.
  • Ignoring P0171 will eventually damage your catalytic converter and reduce fuel economy significantly.

The most common causes: oxygen sensor, fuel pressure, injectors, and vacuum leaks

A faulty oxygen sensor is the most frequent culprit. The sensor measures unburned oxygen in the exhaust and tells the computer whether to add or subtract fuel. If the sensor is slow to respond, contaminated with carbon buildup, or simply worn out, it sends false lean signals even when the mixture is correct. Oxygen sensors typically last 80,000 to 100,000 miles before they degrade.

Low fuel pressure is the second most common cause. Your fuel pump sits in the tank and pushes gasoline through the fuel filter and injectors at a specific pressure—usually 40 to 60 PSI on most vehicles, though some high-pressure systems run higher. If the pump is failing, the filter is clogged, or the fuel pressure regulator is stuck, the injectors cannot spray enough fuel into the cylinders. A fuel pressure gauge (available at most auto parts stores for $20–$40) will tell you whether pressure is within spec.

A clogged fuel injector on Bank 1 will not spray the full amount of fuel even if pressure is normal. Carbon deposits build up inside the injector tip over time, especially if you use low-quality gasoline or skip oil changes. A fuel injector cleaner additive poured into the tank may dissolve light deposits, but a severely clogged injector usually needs removal and professional cleaning or replacement.

Vacuum leaks pull unmetered air into the engine, bypassing the fuel injectors entirely. Any crack in a vacuum hose, a loose hose clamp, or a leaking intake gasket will cause the engine to suck in extra air without the computer knowing about it. The oxygen sensor sees the lean condition and tells the computer to add fuel, but the extra air keeps coming in, and the computer cannot catch up. Inspect all visible vacuum hoses for splits, cracks, or loose connections.

How to check fuel pressure yourself

Fuel pressure is the easiest thing to rule out without a mechanic. Buy or borrow a fuel pressure gauge (many auto parts stores loan them free with a deposit). Locate your fuel rail—the metal tube that runs along the top or side of the engine and connects to all the injectors. Most fuel rails have a test port with a black cap; unscrew it and attach the gauge.

Start the engine and note the reading. Compare it to your vehicle's specification, which you can find in the owner's manual or by searching "[your year, make, model] fuel pressure spec" online. Most cars should read between 40 and 60 PSI at idle. If the reading is low, the pump or filter is likely the problem. If it is high, the fuel pressure regulator may be stuck closed. If pressure bounces around erratically, the pump is failing.

Turn off the engine and watch the gauge. Pressure should hold steady for at least 30 seconds. If it drops quickly, the fuel pump check valve is leaking, or an injector is leaking fuel back into the tank. Write down your readings and bring them to a mechanic if you are unsure what they mean.

Inspecting vacuum hoses and intake gaskets

Pop your hood and look at every rubber hose connected to the engine. Vacuum hoses are usually small-diameter black or clear tubing. Squeeze each one gently—it should feel firm, not cracked or brittle. Look for splits, holes, or white crusty deposits (a sign of age and degradation). Check that every hose is fully seated on its fitting and that the clamp holding it is tight.

Pay special attention to hoses near heat sources like the exhaust manifold. Heat cracks rubber faster than anything else. If you find a cracked hose, you can buy a replacement at any auto parts store for $5–$15 and swap it yourself in minutes. If you find a loose clamp, tighten it with a screwdriver.

Intake gaskets are harder to inspect without taking apart the intake manifold, but if you see oil or coolant seeping from the seams where the intake bolts to the cylinder head, a gasket is likely leaking. This is a job for a mechanic, but it is worth knowing the symptom.

When to replace the oxygen sensor

If fuel pressure is normal, vacuum hoses are intact, and the fuel injectors are not clogged, the oxygen sensor is almost certainly the problem. Oxygen sensors cost $40–$300 depending on whether you buy an original part or an aftermarket one, and whether your car has one or two sensors on Bank 1 (some engines have a sensor before and after the catalytic converter).

Replacing an oxygen sensor usually takes 15 to 45 minutes. The sensor screws into the exhaust manifold or exhaust pipe. You will need an oxygen sensor socket (a special deep socket with a slot for the wire) or a wrench that fits the sensor's hex head. Unplug the electrical connector, unscrew the old sensor, screw in the new one, and plug it back in. Some sensors are tight and may need penetrating oil to loosen.

After you replace the sensor, the check engine light may stay on for one or two driving cycles (a full start, drive, and shutdown). The computer needs time to re-learn the sensor's signal. If the light does not clear after 50–100 miles of normal driving, the new sensor may be defective, or another problem is still present.

Fuel injector cleaning and replacement

Before you replace an injector, try a fuel system cleaner. Pour a bottle of fuel injector cleaner (brands like Techron, Chevron Techron, or Redline are common) into your gas tank. These products dissolve carbon deposits inside the injector nozzle and throughout the fuel system. Cost is usually $10–$20 per bottle. Run the tank down and refill with fresh gasoline, then drive normally for 100–200 miles. Many light clogs clear this way.

If the code returns after cleaning, the injector is severely clogged or leaking. A mechanic can remove the injector, have it professionally cleaned or replaced, and test it on a flow bench to confirm it is working. Professional injector cleaning costs $50–$100 per injector. Replacement injectors cost $75–$300 depending on the vehicle. Some shops will swap in a remanufactured injector, which is cheaper than new.

What happens if you ignore P0171

A lean-running engine burns hotter than normal. Over weeks or months, this heat damages the catalytic converter, which is designed to handle a balanced air-fuel mixture. Once the converter is damaged, it will clog and restrict exhaust flow, making the engine run worse and costing $400–$2,500 to replace. Fuel economy also drops because the computer keeps trying to add fuel to compensate for the lean condition, and you end up burning more gas while getting fewer miles per gallon.

The engine may also develop a hesitation or stumble during acceleration, and in some cases, the spark plugs will foul from running too lean. Addressing P0171 within a few weeks of the code appearing prevents these cascading failures.

Frequently Asked Questions

Can I drive with P0171 showing?

Yes, the car will run, but it is running lean and damaging the catalytic converter. Fuel economy will suffer, and the engine may hesitate or run rough. Fix it within a few weeks to avoid a much more expensive repair.

What is the difference between Bank 1 and Bank 2?

Bank 1 is the side of the engine that contains cylinder number one. Bank 2 is the opposite side. If you see P0174 (system too lean Bank 2), the problem is on the other side of the engine. Some cars have the same issue on both banks, which would show both codes.

Will a fuel injector cleaner fix P0171?

It may, if the cause is a clogged injector. Pour one bottle into the tank and drive 100–200 miles. If the code clears, the problem is solved. If it returns, the injector is too clogged or the problem is something else (oxygen sensor, fuel pressure, or vacuum leak).

How much does it cost to fix P0171?

Costs vary widely. A fuel injector cleaner is $10–$20. An oxygen sensor replacement is $100–$400 in labor and parts. A fuel pump replacement can run $400–$800. A vacuum hose is $5–$15. Diagnosis by a mechanic typically costs $80–$150 and will narrow down the cause.

Can a bad air filter cause P0171?

A clogged air filter restricts airflow and can cause a rich condition (too much fuel), not a lean one. However, a vacuum leak in the air intake system can cause P0171. Check that the air filter box is sealed and the intake hose has no cracks.