Diagnose soonSafe to drive to a shop, but diagnose soon - prolonged lean running damages the catalytic converter.
Can I drive with P0171?
Can I drive with a P0171 code?
Short trips and gentle driving only, until you know the cause. Safe to drive to a shop, but diagnose soon - prolonged lean running damages the catalytic converter. If the check-engine light starts flashing, the engine shakes badly, or the car loses significant power, pull over safely and have it towed.
How serious is P0171?
Moderate. WrenchFair rates this one “Diagnose soon” — the car can usually get you home, but driving on it can turn a cheap fix into an expensive one. Safe to drive to a shop, but diagnose soon - prolonged lean running damages the catalytic converter.
Will P0171 go away on its own?
The warning light can turn off by itself after clean drive cycles, but the code stays stored in the computer's memory and the fault is still there. Clearing it without fixing the cause just buys time — it will come back when the computer re-runs the self-test. Exception: a loose gas cap — tighten it and drive a few days.
Your engine is running lean on bank 1 - too much air or too little fuel. Usually a vacuum leak. Drivable, but don't ignore it: lean running overheats the catalytic converter and can damage it over time.
Model notes: Bank 1 is the bank containing cylinder 1; on inline engines there is only bank 1. Smoke-testing the intake tract is the fastest way to find the leak.
Key facts
P0171 means system too lean, bank 1. Your engine is running lean on bank 1 - too much air or too little fuel. Usually a vacuum leak. Drivable, but don't ignore it: lean running overheats the catalytic converter and can damage it over time. WrenchFair's published fair-price range for this repair is $10–$1000 parts and $0–$1100 labor at independent shops.
WrenchFair rates P0171 a 2-of-5 DIY difficulty (“Finding the leak is the work; fixing it is usually a hose or gasket.”) with a “Diagnose soon” driveability rating: Safe to drive to a shop, but diagnose soon - prolonged lean running damages the catalytic converter. These are this guide’s own published ratings.
For labor context, WrenchFair's methodology page cites two published numbers: about half of US independent shops charge $120–$159/hr (PartsTech survey of 752 shops, fall 2024), and the national average posted mechanical rate was $163/hr in June 2026 (NABR LaborRateHero). Multiply either band by a quote's labor hours to judge whether its labor line is in range.
Service bulletins: 528 factory bulletins on file for this vehicle (mostly Equipment, Electrical System, Engine And Engine Cooling) — see the latest ones
On your 2016–2021 Honda Civic (1.5L turbo (L15B7), 2.0L (K20C2)) — O2 (oxygen) sensors:Owner-verified
Both sensors are reached from below the car (raise and secure it, work cold). The upstream sensor is a wideband air-fuel ratio sensor threaded into the exhaust ahead of the catalytic converter — unplug its connector, then unscrew it with a 22 mm slotted O2 sensor socket. The downstream (secondary HO2S) sits after the catalytic converter and comes out the same way from underneath.
Do this test first: Smoke-test the intake tract - the fastest way to find the leak
→ Passes: that cause is ruled out — run the next test in the diagnostic path below.
→ Fails: fix what failed — that’s your cause. Clear the code and re-test before buying anything else.
No owner fix reports yet for P0171 on the 2016–2021 Honda Civic — but the community-sourced O2 (oxygen) sensors note above covers an owner-reported fix. Fixed yours? Report it — you'll help the next owner.
Torque specs
A/F (upstream) sensor: 45 Nm (33 lb-ft) — Honda service information torque tables, identical for the 1.5L and 2.0L.
Secondary HO2S (downstream): 45 Nm (33 lb-ft) — Honda service information torque tables, identical for the 1.5L and 2.0L.
Tips
On the 2016+ 1.5T the upstream sensor is a wideband A/F sensor, not a plain zirconia O2 — buy the correct type (NGK/NTK 234-9076 OEM-equivalent or Honda 36531-5K8-004); never fit a universal splice-in sensor.
On these cars the downstream sensor usually fails before the upstream one — if you're chasing one code, check which sensor it actually points at before replacing both.
A P0420 doesn't always mean a dead sensor — the downstream sensor is just reporting; rule out exhaust leaks, a tired cat, and fuel-trim issues first.
Typical difficulty: Moderate — based on 841 code guides for the sensors repair area (an area-level estimate, not this exact job).
How notes are verified:Robbie-tested — Robbie did this repair on his own car and confirmed the fix himself. Owner-verified — community repair procedure with 2+ cited sources. Factory-documented — drawn from a factory TSB, recall, or campaign document; a factory procedure, not an owner-tested fix. Community-reported — single-source or otherwise unverified; treat as a lead, not a verdict.
No owner reports yet
Symptoms
check engine light
rough idle
hesitation
poor fuel economy
lean
Likely causes
What usually pays the bill on this car, most common first — but work the diagnostic path above cheapest-first. Test order and bill order aren’t the same thing.
Vacuum leak - cracked breather/PCV hoses, intake boots, gaskets (very common with age) 3 owner notes link this repair to P0171
Failed PCV valve/diaphragm 3 owner notes link this repair to P0171
Dirty or failing MAF sensor 2 owner notes link this repair to P0171
Weak fuel pump / clogged filter
Clogged or restricted fuel injector(s)
Exhaust leak ahead of the O2 sensor - rare; check before replacing any sensor 2 owner notes link this repair to P0171
Owner notes linked to P0171: 6 across 3 repairs — these are counts of owner-written notes, not odds of fixing your car.
Too many suspects? Answer 4–6 quick questions and this page's published cause list re-orders itself for your situation — plus the cheapest test to run next. Start the elimination wizard →
Before you buy the part — 4 checks
Work these checks before spending money — each one rules a cause in or out, cheapest first.
Smoke-test the intake tract - the fastest way to find the leak Tests: Vacuum leak - cracked breather/PCV hoses, intake boots, gaskets (very common with age)
Check fuel trims at idle vs under load: high at idle that improves with RPM = vacuum leak; high everywhere = MAF or fuel delivery Tests: Vacuum leak - cracked breather/PCV hoses, intake boots, gaskets (very common with age)
Inspect the PCV system and all breather hoses for cracks Tests: Vacuum leak - cracked breather/PCV hoses, intake boots, gaskets (very common with age)
Check the MAF reading against spec in live data
No scan tool yet? The Veepeak OBDCheck (~$32) reads and clears codes from your phone in about two minutes.
Most likely job on your 2016–2021 Honda Civic: O2 (oxygen) sensors — test first, then buy for this job.
Expensive fork: Catalytic converter — only if the downstream waveform shows a dead cat after a good sensor and no exhaust leak.
The price range below is a national planning range for P0171 on this vehicle — not a quote: it spans the common job at the low end to the expensive fork at the high end. 0 owner invoices on this generation — treat these as planning numbers. If a shop quote lands near the top of the range, that’s fork money, not the common job — ask which test failed before authorizing it.
Typical price range
Parts$10 – $1000
Labor$0 – $1100
Three paths, very different prices: hose, PCV, or vacuum leak — or a MAF cleaning — $10-$280; intake manifold gaskets $300-$1,200 at an independent shop; fuel pump $400 DIY to $2,100 at a dealer (common Prius numbers). A smoke test to find the leak runs $40-$100. The ranges above span all paths; match the tier to your situation. National-average estimate. Actual quotes vary by vehicle, region, and shop — get a local written estimate. Corrected 2026-10-09 against real-world price evidence (Phase 2 adversarial audit).
Dealer vs independent shop: these ranges reflect typical independent-shop prices. A dealer will usually quote higher — higher labor rates plus OEM-only parts — so a dealer quote at the top of (or a bit above) this range isn't automatically a rip-off. For a big dealer number, get a second quote from an independent shop before authorizing the work.
What will this cost to fix?A code doesn’t name the repair — run the code-first estimator to see the most likely fixes for P0171 ranked, each with a price range. They handed you a printout at the parts store? Decode it before you buy.
DIY difficulty
2 of 5 — Finding the leak is the work; fixing it is usually a hose or gasket.
Pro tip: Relieve fuel pressure first (pull the pump fuse, run the engine until it stalls). Work cold, battery disconnected, extinguisher within reach — no power tools near open fuel.
As an Amazon Associate, WrenchFair earns from qualifying purchases.
🔌 Read your spark plugs This code names the unhappy system; your plugs show what the combustion actually looks like. Pull one and match it to the visual chart — how to read your spark plugs →
Who's behind this guide?WrenchFair is built by a fellow DIYer, not a repair shop. Code meanings follow the SAE J2012 standard; cause rankings come from real-world repair evidence (service bulletins, owner reports, NHTSA records); prices are typical US ranges, not quotes.Read the full methodology →