Blog · 2026-11-10
Help with P0171 code
Stefan Bogdanescu
Founder & Senior Architect
Decoding P0171 on a Honda HRV: Why Standard Sensor Swaps Often Fail
A P0171 diagnostic trouble code indicates a "System Too Lean (Bank 1)". In practical terms, the Engine Control Module (ECM) is detecting that the air-to-fuel ratio is running too far toward the lean side. For a naturally aspirated engine like the 2016 Honda HRV, this usually manifests as a lack of power or poor fuel economy, but in your specific case, it appears to be intermittent and distance-dependent, triggering only after long drives exceeding 400km.
You have already executed the standard diagnostic protocol: replacing the downstream oxygen sensor (lambda), the Mass Air Flow (MAF) sensor, and the fuel filter. The fact that these swaps yielded no results suggests the root cause lies either in a hardware failure that wasn't caught by visual inspection or a software/calibration issue within the ECM's adaptive learning strategy.
Interpreting the O2 Sensor Readings
The critical data point you provided from your Torque app observation is the 02S1eq value showing "2" instead of "1". To understand the severity here, we must look at how Honda (and most automotive manufacturers) map oxygen sensor voltages in their diagnostic logs.
A healthy downstream O2 sensor (post-catalytic converter) should generally sit near a voltage of 0.45V ± 0.1V when the engine is warm and cruising. This equates to a normalized value often displayed as "1" or "0.5" depending on the specific ELM327 protocol interpretation. A reading of "2" typically corresponds to a voltage closer to 0.9Vâ1.0V, which indicates a rich condition locally at that sensor, yet the P0171 code demands a lean condition.
This discrepancy is the smoking gun. If your downstream sensor is reporting a voltage that implies richness (or simply out-of-range behavior), while the ECM has calculated an overall system lean condition, you are likely dealing with a sensor signal drift or a catalytic converter efficiency issue, not just a simple "bad sensor." The sensor itself might be physically intact, but its output curve has degraded to the point where it is no longer providing the linear feedback the ECM needs to trim fuel correctly.
The "Long Drive" Symptom and Evap System Leaks
The fact that the code sets specifically after 400km of driving points strongly toward a vacuum leak or an evaporative emission (EVAP) system issue rather than a mechanical fuel delivery problem.
Small vacuum leaks often require the engine to run for a specific duration to warm up, allowing the intake manifold pressure to stabilize before a slight crack allows enough unmetered air to skew the mixture significantly. Furthermore, on high-speed highway driving (>75 mph), the EVAP canister purge valve opens to vent fuel vapors into the intake. If there is a restriction in the purge line or a faulty check valve within the canister, the ECM may interpret this as a lean condition because it expects a certain volume of air/fuel mixture based on MAF readings but isn't getting the expected pressure dynamics.
Diagnostic Strategy Beyond Sensor Swaps
Since you have already replaced the primary sensors, the next logical step is to check the Fuel Pressure and Injector Pulse Width. A P0171 can be caused by injectors that are partially clogged or a fuel pump that cannot maintain pressure under high load (highway speeds).
Check Live Data for Fuel Trim: Look at the Short Term Fuel Trim (STFT) and Long Term Fuel Trim (LTFT) for Bank 1 in your OBD-II scanner.
- If STFT is positive (e.g., +10% to +25%) and LTFT has crept up over time, the ECM is actively adding fuel to compensate for unmetered air or a bad sensor signal.
- If the trims are already maxed out (+25%), replacing the fuel filter often provides no relief because the system is in "open loop" or the correction limit has been reached.
Inspect Vacuum Lines: On the HRV, check the PCV valve and all rubber hoses connecting to the intake manifold. A small crack can introduce enough air at highway RPMs to trigger the code after a long run when thermal expansion changes hose dimensions.
Catalytic Converter Efficiency: If the downstream O2 sensor reads "2" (rich) while the engine is actually running lean, the catalytic converter may be failing internally. A rich-running catalyst can poison the sensor, causing it to report false readings that confuse the ECM's feedback loop.
If you are comfortable with diagnostics, flashing a new calibration file or clearing adaptive learnings followed by a full drive cycle can sometimes reset the ECM if the issue is purely software-based adaptation, but given the persistent nature of this code on your second-hand vehicle, physical vacuum leaks or failing fuel pressure under load remain the highest probability causes.