Skip to content
White 2019 Toyota Camry LE sedan on a city street, front three-quarter view

All

P0171 Toyota: Meaning, Causes, Fixes and Cost

Translate this article
In this article 12 sections

A P0171 code on a Toyota means the engine computer has been adding extra fuel to bank 1 and has run out of room to correct it. Toyota’s own bulletins tie the code to fuel pumps that lose pressure, flex-fuel software, a Prius vacuum line that separates and a corroded Highlander computer connector.

Quick answer: P0171 means bank 1 is running lean: too much air or too little fuel. The engine may keep running, but stop driving if the check engine light flashes or it stalls. On listed 2014-2020 Toyotas, bulletin T-SB-0009-23 says to check fuel pressure and replace the fuel pump if it is low, possibly under warranty. Otherwise, check for intake and PCV leaks first.

For the generic version of this code, see our P0171 code guide. Ford owners can compare the P0171 Ford guide.

What Does P0171 Mean on a Toyota?

P0171 Toyota Code – Quick Diagnostic Intelligence

Toyota wording: “System Too Lean [Bank One]” (Toyota T-SB-0041-15).
Type: Generic OBD-II code, same meaning on every make (Identifix).
Partner code: P0174 is the same fault on bank 2 of a V-type engine; Toyota bulletins often list both.
First checks: freeze frame data, fuel trims, and any Toyota bulletin or recall for your VIN.

According to Identifix, bank 1 is the side of the engine with cylinder No. 1, and an inline engine normally has only one bank. The engine computer trims fuel using the upstream air-fuel ratio or oxygen sensor, and P0171 sets when it must add more fuel than its calibrated limit allows. That can mean a truly lean mixture or misleading data, so the code alone does not prove a sensor, the mass air flow (MAF) meter or the fuel pump has failed.

Engine bay of a 2007 Toyota RAV4 with the 2AZ-FE four-cylinder engine, the air intake duct and air cleaner box on the right
2007 RAV4 2AZ-FE engine bay. Photo: Pizza1725tech, CC BY 4.0, via Wikimedia Commons.

Toyota’s Air-Fuel Ratio Sensor: Read the Data Correctly

Many late-model Toyotas use a wide-range air-fuel ratio (A/F) sensor instead of a conventional oxygen sensor. A November 2009 Technicians Service Training newsletter (article courtesy of Wells Manufacturing) explains what that means for diagnosis:

  • Wider range. A conventional oxygen sensor is accurate only near 14.7:1; the A/F sensor reads from 23:1 (lean) to 11:1 (rich).
  • Higher means leaner. The Toyota sensor signals with current, which the computer converts to a voltage. On a scan tool that reads it, about 3.3 volts means 14.7:1, higher means lean and lower means rich, the opposite of a conventional oxygen sensor.
  • Scaled or missing data. Some scan tools divide the value by 5, so 14.7:1 shows as 0.66 volt. Some generic OBD-II scanners show no A/F data at all, which can make a good sensor look faulty.

A lean A/F reading may simply be the sensor describing a real air or fuel problem. Identifix lists replacing the sensor because its data reports the condition as a common mistake. For a sensor-driven code on another make, our P1148 Nissan guide covers Nissan’s AFR sensor and closed-loop fueling.

Symptoms of P0171 on a Toyota

  • A check engine light, which may be the only symptom, or rough idle, stalling, hesitation, misfires or pinging under load (Identifix).
  • Hard starting or long cranking: Toyota bulletins T-SB-0009-23 and T-SB-0166-19 both describe a “hard start and/or MIL ON” condition.
  • 2010-2013 Prius: an engine that fails to start (P0A0F), possibly with P3190 poor engine power and P0171 (T-SB-0041-15).
  • 2014-2018 Highlander: drivability problems and low or no fuel pressure (T-SB-0072-19).
Toyota 2GR-FKS D-4S V6 engine bay with the ribbed air intake duct running from the air cleaner box
Toyota 2GR-FKS V6 engine bay. Photo: Iamjosemon, CC BY 4.0, via Wikimedia Commons.

Common Causes of P0171 on Toyota Vehicles

  • Low fuel pressure. T-SB-0009-23 covers listed 2014-2020 models with positive fuel trims and low pressure on a gauge. Separately, Toyota recalled low-pressure fuel pumps under NHTSA 20V-012 and 20V-682 because a failed pump can stall the engine.
  • Intake, vacuum and PCV leaks. Identifix lists a split intake boot, a leaking manifold gasket, a disconnected hose, a failed PCV part, a brake booster leak or a stuck-open purge valve. On 2010-2013 Prius, the purge VSV/PCV line can separate from the throttle body (T-SB-0041-15), and 2007 Camry owners report P0171 with a hissing brake pedal (NHTSA complaints).
  • MAF problems. Contamination, a wrong replacement sensor or air bypassing the sensor can skew airflow data. Clean the element only if the manufacturer permits it, with an approved cleaner.
  • Exhaust leaks ahead of the A/F sensor, which draw in outside air and make the mixture look lean.
  • Software and wiring. Toyota’s fix for flex-fuel Tundra and Sequoia trucks includes an ECM reflash (T-SB-0166-19). On 2014-2018 Highlanders, water from poorly sealed aftermarket windshield deicer harnesses can corrode the A43 ECM connector (T-SB-0072-19).

Toyota Service Bulletins That Mention P0171

These four bulletins were opened from NHTSA’s site. Each applies only to the listed vehicles and conditions, so a dealer must confirm that your VIN qualifies.

BulletinVehiclesWhat Toyota describesRepair
T-SB-0009-23 (Feb. 2023)Listed 2014-2020 models, including Camry, Corolla, RAV4, Tacoma, 4Runner, Highlander, Sienna, Tundra, SequoiaHard start and/or MIL with P0171, P0174 or P0087; positive fuel trims; no-pressure conditionReplace the fuel pump if pressure is out of specification
T-SB-0166-19 Rev1 (Dec. 2019, rev. Jan. 2020)2009-2018 Sequoia, 2009-2019 Tundra, 3UR-FBE flex-fuelHard start and/or MIL with P0171, P0174, P0172, P0175 or P1604; negative trims, high alcohol estimateReflash ECM, replace fuel pump, reset fuel alcohol learning
T-SB-0072-19 (June 2019)2014-2018 Highlander (P0171 listed for non-hybrid models)Drivability problems, low or no fuel pressure, codes including P0171Replace ECM, engine room main harness and windshield
T-SB-0041-15 (June 2015)2010-2013 Prius, 2012-2013 Prius vP0A0F with P3190, P3191 and/or P0171Replace purge VSV, reprogram ECM

NHTSA’s index also lists older Toyota bulletins without the documents. Bulletins from November 2005 describe a check engine light with P0171, P0174, P2195 or P2197 on 2005-2006 Tacoma, 4Runner, Tundra, Highlander, Camry and Camry Solara. October 2007 bulletins cover lean running in subfreezing temperatures on 2003-2008 Corolla and Matrix and 2000-2005 Celica.

Beige third-generation (XU50) Toyota Highlander SUV parked in a parking lot
Third-generation Toyota Highlander. Photo: Bull-Doser, Public domain, via Wikimedia Commons.

How to Diagnose P0171 on a Toyota Step by Step

  1. Save the freeze frame and every code before clearing (Identifix). Note any P0174, P0087, P1604 or misfire codes, because Toyota’s bulletins are keyed to those combinations.
  2. Read fuel trims and A/F data. Compare trims at idle and at a steady higher speed. If positive trim is highest at idle and improves as airflow rises, look for a vacuum leak first.
  3. Check your VIN. Use our VIN decoder to confirm the year and engine, then check open recalls, including 20V-012 and 20V-682.
  4. Listed 2014-2020 model with a hard start or P0171: measure fuel pressure with a gauge. If it is within specification, T-SB-0009-23 does not apply.
  5. Flex-fuel Tundra or Sequoia: T-SB-0166-19 continues when fuel trims are -10% or lower, or the alcohol density estimate is 15% or higher on E0-E10 fuel, and the ECM lacks the latest calibration.
  6. 2010-2013 Prius: inspect the purge VSV/PCV line at the throttle body. 2014-2018 Highlander with an aftermarket windshield: check the A43 ECM connector for water.
  7. Everything else: smoke-test the intake, PCV and purge plumbing, inspect the duct after the MAF, compare MAF data with known-good values, check for exhaust leaks ahead of the A/F sensor, then test the sensor’s response.
  8. Confirm the repair: clear the code, complete the drive cycle and make sure P0171 does not return.

If an EVAP code shows up too, read our P0441 Toyota guide: a purge valve stuck open can also let unmetered air into the engine.

How Much Does It Cost to Fix P0171 on a Toyota?

The bill depends on the confirmed cause, from a loose hose to a fuel pump. Identifix notes there is no single repair price, and no independent Toyota-specific estimate could be verified for this page. Toyota’s documented coverage for the bulletin repairs:

RepairCoverage stated by Toyota or NHTSASource
Fuel pump, T-SB-0009-23Toyota Powertrain Warranty, 60 months or 60,000 miles; some California-certified vehicles 7 years or 70,000 milesToyota TSB
ECM reflash and pump, T-SB-0166-19Toyota Federal Emission Warranty, 96 months or 80,000 milesToyota TSB
Purge VSV and ECM, T-SB-0041-15California Emission Warranty, 180 months or 150,000 miles (California-spec Prius in listed states); otherwise 96 months or 80,000 milesToyota TSB
Highlander connector, T-SB-0072-19Not applicable to warrantyToyota TSB
Fuel pump recall 20V-012 / 20V-682Free replacement at a Toyota dealerNHTSA

Bulletin coverage is limited to the condition described and counts from the in-service date. Outside these programs, get a written estimate once the cause is confirmed.

Handheld MaxScan OE509 OBD-II scanner with its OBD-II connector cable
OBD-II scan tool. Photo: Arp, Public domain, via Wikimedia Commons.

P0171 by Toyota Model

Only models tied to P0171 by a Toyota bulletin, NHTSA’s bulletin index or an NHTSA owner complaint are listed. Owner complaints are reports, not confirmed diagnoses.

Model and yearsWhat is documentedSource
Camry 2007Owners report P0171 with a hissing brake pedal; one dealer said the brake booster needed replacingNHTSA 10481255, NHTSA 10609988
Camry 2018-2020In T-SB-0009-23 (A25A-FKS, 2GR-FKS, Camry Hybrid) and recall 20V-682Toyota TSB, NHTSA
Corolla and Matrix 2003-20082007 bulletin: lean in subfreezing temperatures (summary only)NHTSA index
Corolla 2018-2020In T-SB-0009-23 (2ZR-FE, M20-FKS); a 2018 owner reports P0171 with stallingToyota TSB, NHTSA 11653942
RAV4 2019-2020In T-SB-0009-23 (A25A-FKS, RAV4 Hybrid); a 2019 owner reports P0171, P0505 and P117B with a surging idleToyota TSB, NHTSA 11667285
Tacoma 2017-2020In T-SB-0009-23 (2GR-FKS, 2TR-FE); a 2019 owner reports P0171, hard starts and a stall, fuel pump diagnosedToyota TSB, NHTSA 11476896
4Runner 2014-2019In T-SB-0009-23 (1GR-FE)Toyota TSB
Highlander 2014-2019T-SB-0072-19 (2014-2018); 2017-2019 in T-SB-0009-23; 2019 owners report P0171 and P0174 with a no-start or stallingToyota TSB, NHTSA 11526896, NHTSA 11722818
Tundra 2009-2019, Sequoia 2009-2018Flex-fuel 3UR-FBE: T-SB-0166-19Toyota TSB
Prius 2010-2013, Prius v 2012-2013Purge VSV/PCV line separation: T-SB-0041-15Toyota TSB

Can You Drive a Toyota With P0171?

Often the car keeps running, but get it diagnosed promptly. Identifix warns that a real lean condition can progress to hesitation, stalling, misfire and catalyst stress, and says to stop driving when safe if the check engine light flashes, the engine runs poorly or power drops. Misfire codes are covered in our P0300 code guide.

Stalling is the serious case. NHTSA’s summary for recall 20V-682 says a failed low-pressure fuel pump can stall the engine while driving, increasing the risk of a crash. If your Toyota stalls, check for open recalls before driving it further.

The Bottom Line

P0171 on a Toyota says bank 1 is lean, not which part failed. Save the freeze frame, read fuel trims and A/F data correctly, and check your VIN against Toyota’s bulletins first. If none applies, a smoke test for intake and PCV leaks is the logical next step.

Frequently Asked Questions About the P0171 Toyota Code

What does P0171 mean on a Toyota?
It means the engine computer sees bank 1 running lean and has had to add more fuel than its calibrated limit allows. Toyota’s bulletins describe it as “System Too Lean” on bank 1. The code does not name a failed part.
Is there a Toyota TSB for P0171?
Yes. T-SB-0009-23 covers listed 2014 to 2020 models with low fuel pressure, T-SB-0166-19 covers 2009 to 2019 flex-fuel Tundra and 2009 to 2018 Sequoia, T-SB-0041-15 covers 2010 to 2013 Prius and 2012 to 2013 Prius v, and T-SB-0072-19 covers 2014 to 2018 Highlander.
Can a bad fuel pump cause P0171 on a Toyota?
Yes. Toyota bulletin T-SB-0009-23 describes a hard start or check engine light with P0171, P0174 or P0087, positive fuel trims and low fuel pressure on a gauge. If the pressure is out of specification, the bulletin calls for a new fuel pump.
Why does Toyota’s A/F sensor reading go up when the engine runs lean?
Toyota’s wide-range air-fuel ratio sensor reads about 3.3 volts at the ideal 14.7:1 mixture on a scan tool that supports it, higher when lean and lower when rich. That is the opposite of a conventional oxygen sensor.
Will disconnecting the battery clear P0171 on a Toyota?
Clearing the code does not fix the cause, and Identifix warns that disconnecting the battery can erase useful data and create extra relearn work. On flex-fuel Tundra and Sequoia trucks, T-SB-0166-19 notes that learned values cannot be reset by disconnecting the battery.

Professional Notice: This guide is desk research from Toyota service bulletins, NHTSA records and technical publications. Verify procedures against Toyota service information for your vehicle.

Data Sources and Verification

Leave a Reply

Your email address will not be published. Required fields are marked *