P0171 Toyota Highlander: Find the Lean Condition Before Replacing Parts
17 min read · by Nicole Bennett · Last updated: November 25, 2026
P0171 Toyota Highlander means the engine is running too lean on Bank 1, usually because too much unmetered air is entering the engine or the fuel system is not delivering enough fuel. The engine computer detects that it must add more fuel than expected to maintain the correct air-fuel mixture. A vacuum leak, damaged PCV hose, dirty mass airflow (MAF) sensor, restricted injector, or low fuel pressure can trigger this code.
You may notice a check engine light, rough idle, hesitation, reduced acceleration, or increased fuel consumption. Some Highlanders show very few symptoms at first. The code can affect different Highlander engines and model years, so the correct repair depends on the vehicle’s engine, diagnostic readings, and inspection results.
Do not replace the upstream air-fuel-ratio sensor or MAF sensor just because P0171 appears. Start with an OBD2 scan, inspect the intake and PCV connections, and compare short-term and long-term fuel trims. These checks can help identify the actual problem before you spend money on replacement parts.
What P0171 Means on a Toyota Highlander
P0171 is the generic SAE code for System Too Lean (Bank 1). It means the engine computer detects an air-fuel mixture that contains too much air or too little fuel compared with the expected mixture. Toyota monitors this condition through fuel-trim corrections and feedback from the air-fuel-ratio sensor.
The engine needs the correct balance of air and fuel to produce stable combustion. When the mixture becomes lean, the engine computer increases fuel delivery to compensate. Short-term fuel trim responds to immediate changes, while long-term fuel trim records corrections that continue over time. If these corrections exceed the computer’s programmed limits, P0171 can be stored and the malfunction indicator lamp can illuminate.
Understanding Bank 1
Bank 1 refers to the side of the engine containing cylinder number 1. It does not automatically mean the driver’s side or passenger’s side. The physical location depends on the engine configuration and cylinder numbering. This distinction matters because the Highlander has been offered with different engine layouts across its production history.
On a four-cylinder Highlander, the engine has only one cylinder bank, so Bank 1 covers the entire engine. On applicable V6 models, the computer can monitor both banks separately. If P0171 appears without P0174, the lean condition is reported on Bank 1. If both codes appear together, investigate problems that could affect the entire engine, such as fuel delivery, shared intake plumbing, or MAF measurement.
Why Fuel Trim Matters
Fuel trim is one of the most useful diagnostic measurements for this fault. A positive percentage means the computer is adding fuel. A negative percentage means it is removing fuel. A combined short-term and long-term correction beyond roughly plus or minus 10 percent deserves investigation, especially when the engine is fully warmed up and operating in closed loop.
For example, suppose a Highlander displays short-term fuel trim of +8 percent and long-term fuel trim of +12 percent. The combined correction is approximately +20 percent. This indicates that the computer is adding considerably more fuel than its normal baseline. It does not identify the failed component, but it confirms that the engine is compensating for a mixture problem. Owners of other makes can check the matching guide: P0171 Acura.

Common Causes of P0171 on the Highlander
The most useful starting points are the intake system, PCV plumbing, MAF sensor, fuel supply, and exhaust connections. Toyota diagnostic information also identifies injector problems, coolant-temperature sensor faults, and air-fuel-ratio sensor circuit problems as possible causes. The correct suspect depends on the model year and engine.
1. Vacuum Leaks and Unmetered Air
A vacuum leak is one of the first problems to investigate. The MAF sensor measures incoming air so the computer can calculate the required fuel delivery. If additional air enters the engine after the MAF sensor, the computer does not account for that air correctly. The resulting mixture can become lean.
Inspect the intake duct between the air filter housing and throttle body. Look for cracks, loose clamps, disconnected connections, and damaged rubber sections. Pay particular attention to the underside of flexible intake tubing because small splits can be difficult to see from above.
Other possible leak locations include intake manifold gaskets, vacuum hoses, throttle-body connections, and brake-booster plumbing. A leak may produce a noticeable hissing sound, but small leaks can remain silent. A smoke test is often more reliable than visual inspection alone.
2. Damaged PCV Valve or Hose
The positive crankcase ventilation (PCV) system routes crankcase gases back into the intake for combustion. Its valve and hoses must maintain the intended airflow. A split hose, loose connection, damaged valve, or incorrect installation can introduce unwanted air and affect fuel-trim readings.
Inspect the accessible PCV plumbing for hardened rubber, oil-soaked sections, loose fittings, and visible cracks. Toyota diagnostic procedures specifically include checking PCV piping connections when investigating lean-condition faults. A damaged connection may be responsible even when the PCV valve itself is working properly.
3. Dirty or Incorrectly Reporting MAF Sensor
The MAF sensor measures the amount of air entering the engine. Contamination on its sensing element can cause inaccurate airflow readings. If the computer underestimates incoming air, it may inject insufficient fuel and report a lean condition.
An electrical problem can create similar symptoms. Check the sensor connector, wiring insulation, terminal condition, and power supply before condemning the sensor. A loose electrical connection can interrupt the signal or make the reading unstable.
If cleaning is appropriate for the specific sensor, use a cleaner designed for MAF sensors and follow the product instructions. Do not touch the delicate sensing element or use aggressive solvents. Cleaning will not correct a damaged sensor, wiring fault, or air leak elsewhere in the intake.
4. Low Fuel Pressure or Restricted Injectors
A lean mixture can also occur when the engine does not receive enough fuel. A weak fuel pump, restricted fuel filter where separately serviceable, faulty pressure regulator, or injector restriction can reduce fuel delivery.
Restricted injectors may cause uneven combustion, hesitation, or poor acceleration. The symptoms can become more noticeable when the engine needs additional fuel during acceleration. A fuel-pressure test using the specification for the exact Highlander engine is necessary before replacing fuel-system components.
5. Exhaust Leaks and Air-Fuel-Ratio Sensor Problems
An exhaust leak before or near the upstream air-fuel-ratio sensor can allow outside air into the exhaust stream. This can create a misleading lean indication. Inspect the exhaust manifold, gasket areas, and nearby connections for leakage, soot marks, or unusual ticking noises.
The upstream air-fuel-ratio sensor itself can also become inaccurate or develop an electrical problem. However, replacing it without checking for intake leaks, fuel-pressure problems, and wiring faults is a common diagnostic mistake. The sensor reports information to the engine computer; it does not necessarily cause the mixture problem it detects. Compare the causes listed here with P0171 Toyota RAV4 to rule out make-specific issues.
For additional diagnostic context, Toyota technical guidance discusses unmetered air, exhaust leaks, metering devices, and combustion problems in its P0171 diagnostic technical tips. The guidance is useful for understanding possible failure mechanisms, but it is not a Highlander-specific repair bulletin.
Symptoms and Warning Signs to Watch For
A Highlander with P0171 may drive almost normally, particularly when the lean condition is minor. More serious faults can affect idle quality, acceleration, engine temperature, and overall drivability. Pay attention to when the symptoms occur because that information can help narrow down the cause.
- Check engine light: The malfunction indicator lamp illuminates after the engine computer confirms the fault. A pending P0171 may appear before the light comes on.
- Rough idle: The engine may shake, fluctuate in speed, or feel unstable when stopped at a traffic light.
- Hesitation: The Highlander may respond slowly when pressing the accelerator, especially when additional fuel is required.
- Reduced engine power: A significant mixture problem can affect combustion and make acceleration feel weaker than normal.
- Engine misfires: An excessively lean mixture can interfere with stable combustion and contribute to misfire codes.
- Unusual idle behavior: Vacuum leaks can cause a higher-than-normal idle or fluctuating engine speed.
- Increased fuel consumption: The computer may compensate by adding fuel, affecting overall efficiency.
- Hard starting: Some vehicles may experience starting difficulties when the underlying mixture or fuel-delivery problem is severe.
P0171 Alone Versus Additional Codes
The presence of other trouble codes can help determine whether the problem affects one component or a larger engine system. For example, P0171 combined with P0101 may justify checking MAF performance and intake connections. P0171 with a misfire code such as P0300 or P0301 requires investigation of both mixture control and combustion quality.
If P0171 and P0174 appear together on an applicable V6 Highlander, suspect a shared issue before assuming that two separate oxygen sensors have failed. Common intake leaks, incorrect MAF readings, and insufficient fuel supply can affect both banks. If only P0171 appears, focus on the affected bank while still checking shared systems.
A flashing check engine light is more urgent than a steady light. It indicates an active misfire that can overheat and damage the catalytic converter. Reduce engine load and stop driving when safe if the engine is running severely rough. Arrange prompt professional inspection rather than continuing a long journey.

How to Diagnose P0171 With an OBD2 Scanner
A capable OBD2 scanner can reveal whether the engine computer is adding fuel to compensate for a lean mixture. Begin by recording every stored and pending code, then examine freeze-frame information and live fuel-trim data. These readings provide a more useful starting point than replacing parts based on the P0171 description alone.
Step 1: Scan All Available Trouble Codes
Connect the scanner to the 16-pin OBD2 diagnostic connector, usually located underneath the driver’s dashboard. Turn the ignition on and follow the scanner’s instructions to communicate with the engine computer. Most US-market gasoline vehicles from model year 1996 onward support standard OBD-II diagnostics.
Record P0171 and every additional code before clearing anything. Check for MAF-related codes, oxygen or air-fuel-ratio sensor codes, misfire codes, and fuel-pressure-related faults where supported. A code that appears alongside P0171 may provide an important clue about the underlying problem.
Step 2: Examine Freeze-Frame Data
Freeze-frame data records engine operating conditions when the computer detected a fault. Depending on scanner support, useful parameters include engine speed, coolant temperature, vehicle speed, calculated load, intake airflow, and fuel-trim values.
Consider these examples:
- If P0171 appears at idle with high positive fuel trim, investigate vacuum leaks and PCV plumbing.
- If fuel trim becomes increasingly positive as engine load increases, investigate fuel delivery and MAF accuracy.
- If the code appears after the engine warms up, compare the coolant temperature reading with the actual engine temperature and inspect closed-loop fuel-control behavior.
- If the vehicle has recently run out of fuel, consider whether insufficient fuel supply contributed to the recorded lean condition.
Step 3: Compare Short-Term and Long-Term Fuel Trims
Select STFT and LTFT on the scanner. If the vehicle has two banks, compare Bank 1 and Bank 2 readings under similar operating conditions. Allow the engine to reach normal operating temperature and make sure it is operating in closed loop before interpreting the values.
| Combined Fuel Trim | Interpretation | Diagnostic Direction |
|---|---|---|
| -5% to +5% | Generally close to normal correction | Check whether the fault is intermittent or occurs under different conditions. |
| +6% to +10% | Mild positive correction | Monitor live data and inspect intake connections. |
| +11% to +20% | Noticeable lean compensation | Check vacuum leaks, PCV plumbing and MAF readings. |
| +21% to +25% | Significant positive correction | Investigate intake leaks and fuel-pressure problems promptly. |
| Above +25% | Severe positive correction | Check for major unmetered air, restricted fuel delivery or incorrect sensor information. |
These figures are practical diagnostic guidelines, not universal Toyota pass-or-fail specifications. Actual thresholds vary with engine calibration, operating conditions, and model year. The important point is the direction and size of the correction, along with how it changes between idle and higher engine speed.
For example, suppose Bank 1 shows +18 percent combined correction at idle but only +5 percent at approximately 2,500 rpm. This pattern can suggest a vacuum leak because the same amount of unwanted air represents a larger percentage of total airflow at idle. It is a diagnostic clue, not proof of a specific leaking hose.
Step 4: Inspect the Intake and PCV System
With the engine switched off and cool, inspect the air intake duct, clamps, accessible vacuum hoses, PCV connections, and intake manifold area. Look for disconnected fittings, split rubber, damaged seals, and signs of previous repairs. Check that the air filter housing is properly assembled and that the MAF connector is secure.
A professional smoke test can help locate leaks that are not visible. Smoke introduced into the intake system can escape through cracked hoses, leaking gaskets, and loose connections. This is particularly useful when the fuel trims suggest a vacuum leak but a visual inspection reveals nothing obvious.
Step 5: Check MAF and Air-Fuel-Ratio Sensor Data
Use the scanner to monitor MAF airflow, upstream air-fuel-ratio sensor information, and available downstream oxygen-sensor data. Check whether readings respond smoothly as engine speed and load change. An implausible or unstable airflow reading deserves further testing, but the reading must be compared with the correct engine-specific service information.
Do not assume every Toyota upstream air-fuel-ratio sensor behaves like a conventional narrowband oxygen sensor. Some Toyota systems use wideband air-fuel-ratio sensors with different signal characteristics. A generic scanner may display a calculated equivalence ratio, current, or manufacturer-specific parameter rather than a familiar switching voltage.
Step 6: Check Fuel Delivery and Other Possible Faults
If the intake system appears sealed and the MAF readings are plausible, move to fuel-system testing. Measure fuel pressure using the correct procedure and specifications for the particular Highlander engine. Check injector operation if the pressure test and fuel-trim pattern suggest a delivery problem.
Also consider exhaust leakage, sensor wiring, engine coolant-temperature readings, and ignition-related problems. Poor combustion can leave unburned oxygen in the exhaust, which may cause the sensor to report a lean condition. Compression or cylinder leak-down testing may be appropriate if misfires or mechanical problems are suspected.
Tip: Do not clear P0171 before saving the original codes, freeze-frame data, and fuel-trim readings. These details can disappear when codes are erased. Never spray flammable cleaners around a running engine to search for vacuum leaks. Use a suitable smoke-testing method or have a qualified technician perform the inspection. If a second code shows up during the scan, P0301 Toyota Highlander could be the next stop.
Repairs, Severity, and Whether You Can Keep Driving
The correct repair depends on the confirmed cause, not simply the stored code. Some Highlanders need a straightforward hose or intake connection repair, while others require fuel-system testing, sensor diagnosis, or mechanical engine inspection. Repair decisions should follow the evidence from the scan and physical inspection.
Common Repair Options
- Repair an intake leak: Replace damaged intake tubing, secure loose clamps, or repair a confirmed leaking gasket.
- Repair PCV plumbing: Replace a split hose, correct a loose connection, or install a properly specified PCV valve when testing confirms a fault.
- Service the MAF system: Clean a contaminated sensor using the correct procedure, repair damaged wiring, or replace a sensor proven to be defective.
- Restore fuel delivery: Address confirmed fuel-pressure problems, restricted injectors, or other defective fuel-system components.
- Repair exhaust leakage: Replace a failed gasket or repair a leaking exhaust connection before the upstream sensor.
- Repair sensor or wiring faults: Correct damaged connectors, wiring, heater circuits, or replace a defective air-fuel-ratio sensor after proper testing.
- Address combustion problems: Investigate ignition faults, compression problems, valve-clearance issues, or mechanical damage when the test results point in that direction.
How Serious Is P0171?
P0171 should not be ignored. A mild lean condition may allow the Highlander to continue operating normally for a short period, but a severe mixture problem can increase combustion temperatures and contribute to misfires, poor performance, and catalytic-converter damage. The risk depends on the underlying fault and how the vehicle behaves.
If the check engine light stays steady and the engine runs smoothly, a short, gentle trip to a repair facility may be reasonable. Avoid heavy acceleration, towing, steep climbs, and extended highway driving until the fault has been diagnosed. Arrange an inspection promptly rather than treating the vehicle as fully repaired.
If the check engine light flashes, the engine misfires severely, power drops suddenly, or the vehicle becomes difficult to control, stop driving when safe and arrange assistance. A flashing light indicates an active misfire that can damage the catalytic converter. Continuing to drive under those conditions can turn a manageable repair into a more expensive problem.
What Affects Repair Cost?
There is no single repair cost for P0171 because the code identifies a lean condition rather than a failed part. The total depends on the component involved, the engine configuration, labor requirements, diagnostic time, and whether additional problems are discovered.
A cracked vacuum hose or loose intake connection generally requires less work than diagnosing an intermittent electrical fault or replacing a fuel-system component. Access to the affected part can also influence labor hours. Some components are relatively accessible, while others require additional disassembly or specialized equipment.
Shop repairs normally include diagnostic labor, parts, installation, and verification. DIY repairs can reduce labor expenses if the owner has the right tools and experience, but incorrect diagnosis can result in unnecessary parts purchases. A professional smoke test, fuel-pressure test, or electrical diagnosis may be worthwhile when the source is not obvious.
Ask the repair facility to explain which test confirmed the failure. For example, a technician should be able to explain why an intake hose is leaking, why fuel pressure is outside the engine’s specification, or why an air-fuel-ratio sensor is reporting incorrectly. This is more useful than receiving a recommendation to replace several parts simply because P0171 is stored.
Model year and engine configuration also matter. Highlander applications have different intake arrangements, fuel systems, sensor designs, and diagnostic procedures. A repair instruction for one engine should not automatically be applied to another. Check the VIN, engine identification, and applicable Toyota service information before ordering parts or performing a repair. For another common fault on this model, see P0135 Toyota Highlander.
Frequently Asked Questions
Can a loose gas cap cause P0171 on a Toyota Highlander?
A loose gas cap usually causes an evaporative-emissions leak code rather than P0171. It is still worth checking the cap if other EVAP codes are present, but a loose cap should not be assumed to explain a lean Bank 1 condition.
Will P0171 automatically cause an emissions inspection failure?
An illuminated malfunction indicator lamp or an active emissions-related fault can cause an OBD-based inspection failure in states that use this testing method. Permanent diagnostic codes and incomplete readiness monitors can also affect inspection results, depending on the state’s rules.
Does replacing the battery erase P0171 permanently?
Disconnecting the battery may erase some stored diagnostic information and reset readiness monitors, but it does not repair the underlying lean condition. If the problem remains, the engine computer can detect it again when the relevant monitor runs.
Can cold weather make P0171 appear intermittently?
Temperature can affect rubber hoses, intake seals, fuel vaporization, and engine operating conditions. A small leak may behave differently as components expand or contract. Compare freeze-frame temperatures and fuel trims when the fault appears rather than assuming cold weather is the cause.
Will P0171 disappear immediately after the repair?
Not necessarily. A stored code may remain until it is cleared or the vehicle completes the required diagnostic checks. A permanent code cannot normally be erased with a scanner; the computer removes it after the underlying problem is fixed and the relevant monitor passes.
P0171 on a Toyota Highlander means the engine computer is correcting a lean Bank 1 air-fuel mixture, not necessarily that an oxygen sensor has failed. Start with freeze-frame data, fuel trims, intake hoses, and PCV connections before testing the MAF sensor, fuel pressure, and exhaust system. Confirm the actual cause before replacing parts, then verify the repair by checking fuel trims and completing the appropriate drive cycle.
-
Nicole Bennett, Technical Content Editor at BestOBD2Picks Nicole turns OBD-II standards, service bulletins, and repair data into step-by-step diagnostic guides anyone can follow. Technical Content Editor
Related guides
LearnP0171 Toyota Tundra: Find the Lean Condition and Fix It
LearnP0304 Toyota Highlander: Diagnose the Cylinder 4 Misfire
LearnP0171 Toyota Tacoma Code: Causes, Checks and Fixes
LearnP0303 Toyota Highlander: Find and Fix Cylinder 3 Misfires
LearnP0128 Toyota Highlander: Diagnose Low Engine Temperature and Fix the Problem
LearnP0113 GMC: Diagnose Intake Air Temperature Sensor Problems