P0170 Code: Meaning, Symptoms, Causes & Fixes

Your engine computer constantly adjusts fuel to keep the air-fuel mix close to perfect. When it has to correct too far for too long, it decides something is wrong. A P0170 code means the fuel trim on bank 1 went beyond the limits the engine computer allows, either rich or lean.

This guide explains what fuel trim is, how to read it on a scan tool and what usually pushes it out of range.

P0170 Code Breakdown

Every OBD-II code follows the same five-character pattern set by the SAE J2012 standard. Each character narrows down which system has the fault. This table shows what each part of the code tells you.

CharacterMeaningWhat It Tells You
PPowertrainThe fault is in the engine or transmission systems.
0Generic (SAE) codeThe definition is the same on every OBD-II vehicle.
1Fuel and air meteringThe fault involves the sensors that measure air and fuel.
70Specific faultFuel Trim Malfunction (Bank 1)

What the P0170 Code Means

The SAE J2012 standard defines the P0170 code as Fuel Trim Malfunction (Bank 1). Bank 1 is the side of the engine with cylinder 1. On four-cylinder and inline-six engines, it is the whole engine.

Fuel trim is the percentage the powertrain control module (PCM) adds to or removes from its base fuel amount. Short-term fuel trim (STFT) reacts within seconds to the oxygen sensor. Long-term fuel trim (LTFT) learns over time and stores the correction. Positive numbers mean the PCM is adding fuel, and negative numbers mean it is pulling fuel.

Healthy trims usually stay within about plus or minus 10 percent. When the combined trim reaches the PCM’s limit, often around plus or minus 25 percent, the code sets. Many makers use the more specific lean code P0171 or rich code P0172 instead, while some older vehicles use this general code.

Symptoms of a Fuel Trim Problem

The symptoms of a P0170 code depend on whether the engine runs lean or rich:

  • Check engine light on
  • Rough idle or hesitation
  • Misfires, especially when lean
  • Poor fuel economy, especially when rich
  • Fuel smell or black smoke if rich
  • Failed emissions test

What Causes the P0170 Code?

Anything that changes the balance of air and fuel can push trims too far. These are the common causes:

  1. Vacuum leaks. Unmetered air makes the engine run lean.
  2. Dirty or failing MAF sensor. Wrong airflow readings lead to wrong fuel amounts.
  3. Fuel pressure problems. A weak pump or a bad regulator changes fuel delivery.
  4. Clogged or leaking injectors. Too little or too much fuel reaches the cylinders.
  5. Exhaust leak before the front oxygen sensor. Outside air fools the sensor into reading lean.
  6. Faulty front oxygen sensor. A biased sensor sends the PCM in the wrong direction.

How to Diagnose the P0170 Code

A scan tool that shows fuel trims is the key tool. Warm the engine fully before testing.

Read the Fuel Trims

Look at short-term and long-term trims for bank 1 at idle and at a steady 2,500 rpm. Add them together for the total correction. A large positive total means the engine is lean. A large negative total means it is rich. That tells you which direction to search.

Compare Idle and Higher RPM

If trims are high at idle but improve at 2,500 rpm, a vacuum leak is likely, since a leak matters less as airflow rises. If trims stay high or get worse under load, look at fuel delivery or the MAF sensor.

Check the Basics

Listen for hissing vacuum leaks and check the intake boot between the MAF and throttle body for cracks. Look at the MAF reading at idle. A rough rule is about 1 gram per second per liter of engine size on many engines. A fuel pressure gauge confirms whether the pump and regulator meet spec.

Repairs That Clear the P0170 Code

Fix the root cause your tests found. Then clear the code, which also resets fuel trim learning, and drive normally for a few days.

  • Repair vacuum leaks in hoses, gaskets or the intake boot.
  • Clean the MAF sensor with MAF cleaner, or replace it if it reads wrong.
  • Restore fuel pressure by replacing a weak pump, clogged filter or bad regulator.
  • Clean or replace faulty injectors.
  • Fix exhaust leaks ahead of the front oxygen sensor.
  • Replace a biased front oxygen sensor if it fails a propane or vacuum leak test.

Repair Cost Breakdown

The cost of a P0170 code repair depends on the cause. This table lists typical ranges.

RepairDIY CostTypical Shop Cost
Vacuum hose or intake boot$10 to $80$100 to $300
MAF sensor cleaning or replacement$10 to $250$75 to $400
Fuel pump replacement$100 to $400$400 to $1,000
Fuel injector service$15 to $200$100 to $500
Smoke testNot usually DIY$75 to $150

Is It Safe to Drive with a P0170 Code?

You can usually drive for a short time. A lean engine may misfire and run hotter, while a rich engine wastes fuel and fouls spark plugs.

Either condition can damage the catalytic converter if you ignore it for long. Find the cause soon, especially if the check engine light starts flashing.

Related Codes

These codes often show up with this one or point to the same system:

CodeMeaning
P0171System Too Lean (Bank 1)
P0172System Too Rich (Bank 1)
P0173Fuel Trim Malfunction (Bank 2)
P0174System Too Lean (Bank 2)
P0175System Too Rich (Bank 2)

Bringing Bank 1 Fuel Trim Back in Range

A P0170 code means bank 1 fuel trim has gone past its limit. Vacuum leaks, MAF problems and fuel pressure faults cause most cases.

  • Read short-term and long-term fuel trims.
  • Decide whether the engine is lean or rich.
  • Compare trims at idle and 2,500 rpm.
  • Test fuel pressure and MAF readings before replacing parts.

Frequently Asked Questions

What Is a Normal Fuel Trim Reading?

On a healthy engine, short-term and long-term trims usually stay within about plus or minus 10 percent. Short-term trim moves around constantly, which is normal. A long-term trim that sits above +10 or below -10 percent tells you the PCM is working hard to correct a problem.

What Is the Difference Between the P0170 Code and P0171?

The P0170 code is a general fuel trim fault on bank 1 and does not say which direction. P0171 specifically means bank 1 is running lean. Some vehicles use the general code, while most newer ones use the lean and rich codes.

Can a Dirty Air Filter Cause the Code?

On modern engines with a MAF sensor, a dirty filter rarely sets a trim code, because the sensor measures the air that actually gets in. Very dirty filters can shed debris onto the MAF, though. Replace a dirty filter and clean the MAF if trims look off.

Will Clearing the Code Reset Fuel Trims?

Clearing codes with a scan tool usually resets long-term fuel trim to zero on most vehicles. The PCM then relearns over the next drives. If the cause is not fixed, the trim climbs back up and the code returns.