P0171 means the ECM reached the lean correction threshold for Bank 1; it does not automatically mean an oxygen sensor failed. Compare both banks at idle and raised rpm. Both banks lean suggests measured-air error, a broad intake leak or weak fuel delivery; one bank lean points toward a bank-specific gasket, exhaust leak, injector or sensor circuit. Two Highlander-specific checks matter: T-SB-0072-19 covers water intrusion caused by certain aftermarket windshield-deicer harnesses on 2014–2018 vehicles, while T-SB-0009-23 covers fuel-pressure loss on specifically listed 2017–2019 Highlander/Highlander Hybrid applications. Verify VIN/VDS and symptoms before using either branch.
Match the symptom
Select the closest observation. The result changes the first test; it does not name a part to replace.
Compare trims at idle and 2,500 rpm; prioritize unmetered air or purge flow if they improve.
How to clear P0171 and confirm the repair
Clearing is the final step, not the first. Save the original freeze frame and trim pattern, correct the proven fault, and then use the scan tool to erase codes if the service procedure calls for it. Disconnecting the battery is a poor substitute: it can erase learned values and unrelated settings without proving anything.
Warm the engine to closed loop and repeat the same idle and higher-airflow comparison used during diagnosis. Bank 1 should no longer require abnormal positive correction, Bank 2 should remain a useful reference, and the repaired hose or seal should pass a second smoke inspection. Then reproduce the load and temperature recorded in freeze frame without forcing unsafe operation.
Recheck pending codes after the drive and confirm readiness progresses normally. A lamp that remains off for five minutes at idle is not proof. If trims drift positive again, stop and preserve the new data rather than clearing repeatedly; an intermittent purge, wiring or fuel-delivery fault may need a longer graph and a different operating condition.
What can set P0171—and how to separate it
The order below is evidence-driven, not a universal probability ranking. Vehicle year, repair history, companion codes and the operating condition in freeze frame change where diagnosis should begin.
| Possible cause | Evidence that supports it | First useful test |
|---|---|---|
| Unmetered air after the MAF | Trims most positive at idle and improve with rpm | Smoke-test intake and PCV plumbing |
| MAF under-reporting or intake contamination | Both-bank trims and airflow data disagree with load | Inspect duct/filter and compare MAF data |
| Fuel-pressure or delivery loss | Lean under load, extended crank or low measured pressure | Compare commanded/actual and manual pressure as specified |
| Bank 1 exhaust leak or injector imbalance | One-bank trim split, cold tick or contribution result | Leak test and injector balance |
| A43 ECM connector water intrusion | 2014–2018 match with aftermarket deicer harness/water evidence | Follow T-SB-0072-19 inspection |
Let the bank split choose the next test
On a V6, a large Bank 1/Bank 2 difference is localization evidence. Inspect the affected bank's intake sealing, exhaust ahead of its sensor and injector contribution.
Nearly equal positive correction suggests a shared problem. Replacing one bank sensor in that situation ignores the strongest clue.
Fuel pressure must be tested when demand rises
A pump can look adequate at idle yet fail during acceleration or after heat soak. Preserve the load and temperature from freeze frame and reproduce safely.
T-SB-0009-23 has defined applicability and procedures. It supports a fuel-pressure branch; it does not turn P0171 into a pump verdict.
Connector corrosion can imitate multiple systems
Water at an ECM connector can produce a mixture of starting, fuel-pressure, communication and misfire symptoms. That code diversity is a reason to inspect common electrical paths.
The Toyota bulletin ties this branch to specific aftermarket windshield-deicer harness sealing. Do not condemn the ECM merely because water is suspected.
Save these scan-data clues
Freeze frame is a snapshot of conditions when the PCM matured the fault. It can distinguish an idle-only problem from a load, cold-start or monitor-completion problem. Clearing first throws that context away.
- Short- and long-term trim for both banks
- RPM, load, coolant temperature and speed
- MAF airflow and calculated load
- Commanded/actual fuel pressure where supported
- A/F sensor data and misfire counters
- Starting history, rain/accessory work and companion codes
A practical diagnostic workflow
- 01Preserve both-bank data
Save freeze frame and graph trims before clearing adaptations.
- 02Confirm the configuration
Four-cylinder and V6/hybrid fuel systems do not share every test point.
- 03Compare idle with raised rpm
A trim change helps separate an intake leak from delivery or metering problems.
- 04Smoke-test measured air
Inspect the complete post-MAF tract, brake-booster and PCV paths without flammable spray.
- 05Test fuel pressure under the fault condition
Use the VIN-correct high- and low-side procedure; pressure at idle alone may mislead.
- 06Inspect bulletin branches only when matched
Check the aftermarket deicer connector path and fuel-pump program by exact applicability.
- 07Prove the repair
Reset only after saving evidence, then confirm both banks remain controlled through load changes.
Do not replace Bank 1's A/F sensor because the code says Bank 1. The sensor may be accurately reporting extra air or insufficient fuel. Likewise, do not assume every 2017–2019 vehicle qualifies for the fuel-pump program; confirm the bulletin's VIN/VDS and test results.
Why the model year changes the test
Highlander diagnostics span the first-generation 2.4L 2AZ-FE and 3.0L/3.3L MZ engines, later 2.7L 1AR-FE and 3.5L 2GR-family V6 engines, several hybrid systems, the 2020+ 2.5L A25A four-cylinder hybrid, and newer 2.4L turbo applications. Bank layout, fuel delivery, EVAP hardware, VVT control and safe hybrid procedures differ sharply. Confirm model year, VIN, engine code, hybrid status, drivetrain and emissions label before choosing tests or parts.
- 2014–2018: T-SB-0072-19 concerns connector corrosion related to a damaged or poorly sealed aftermarket windshield-deicer harness.
- 2017–2019: T-SB-0009-23 includes specific Highlander and Highlander Hybrid fuel-pump applications.
- A four-cylinder has one bank; a V6 provides useful Bank 1 versus Bank 2 comparison.
- Hybrid and direct-injection systems require powertrain-specific pressure and safety procedures.
P0171 FAQ
Does P0171 mean a bad oxygen sensor?+
No. The A/F sensor may be correctly reporting a lean mixture caused by air, fuel or exhaust faults.
What if P0174 is also stored?+
Both banks lean moves shared air metering, intake and fuel supply higher on the list.
Can a loose gas cap cause P0171?+
Usually not by itself; gas-cap faults more directly affect the EVAP monitor.
Can I clean the MAF?+
Inspect data and contamination first; use only an approved method and never touch the sensing element.
Is the fuel pump automatically covered?+
No. Coverage and remedy depend on the exact VIN/VDS, year, application and program terms.
Why check windshield accessory wiring?+
Toyota documented water intrusion through certain aftermarket deicer harness installations on 2014–2018 models.
Can an intake leak damage the engine?+
Severe lean operation can cause poor combustion and catalyst stress, especially under load.
What proves the repair?+
Stable trims on both banks under idle and load, normal pressure and no pending P0171.
Ford diagnostic references
These documents explain Ford monitor operation. Exact pinpoint tests, connector views and specifications must be selected for the truck's VIN and model year in current service information.
01Toyota T-SB-0072-19 — Highlander connector corrosion2014–2018 Highlander/Highlander Hybrid only; damaged or poorly sealed aftermarket windshield-deicer harnesses can admit water and cause drivability faults and DTCs including P0171, P0300 and P1604↗02Toyota T-SB-0009-23 — fuel-pump pressure lossIncludes specifically listed 2017–2019 2GR Highlander and 2017–2019 Highlander Hybrid applications; VIN/VDS coverage must be verified↗03Toyota Highlander manuals and warranty guidesOfficial Toyota model-year document lookup; confirm the VIN, engine, hybrid status and emissions certification↗04Toyota Technical Information SystemToyota's current North American repair manuals, bulletins, wiring diagrams and calibration information↗