P0171
FORD FOCUS · 2.0L GDI · 2.0L ECOBOOST ST · 1.0L ECOBOOST

P0171 Code Ford Focus: Bank 1 Lean Causes and Fuel-Trim Tests

P0171 on a Ford Focus means Bank 1 fuel correction exceeded its lean limit. Use idle-versus-load trims, smoke testing, purge checks and fuel pressure to find why.

FORD PRIMARY SOURCES·GENERATION-AWARE·REVIEWED AUGUST 21, 2026
WHAT P0171 MEANS

P0171 means the PCM had to add more fuel than its calibrated limit to correct the Bank 1 mixture. Focus gasoline engines are inline engines, so Bank 1 represents the engine's only cylinder bank. The useful question is where the correction is largest: positive trim that improves above idle favors a vacuum, PCV or purge leak; trim that worsens with load raises fuel supply, injector delivery or measured-air accuracy.

SAE/Ford description: System Too Lean (Bank 1)
DRIVING RISKDiagnose promptly

A short trip is usually possible when the engine runs smoothly and the lamp is steady, but stop for a flashing lamp, hesitation, overheating or detonation. Lean operation can become misfire under load, so avoid boost and sustained high rpm until air leaks and fuel delivery are checked.

P0171 diagnostic path — each candidate cause paired with the test that separates it. The full cause matrix, with the evidence each cause needs, is below.
DIAGNOSTIC ROUTER

Match the symptom

Select the closest observation. The result changes the first test; it does not name a part to replace.

START HERE

Smoke-test the intake, PCV and brake-booster paths and verify the purge valve seals when commanded closed.

FINAL CHECK

The evidence that closes a P0171 diagnosis

A successful repair is more than an extinguished warning lamp. The condition that set P0171 must be reproduced safely, the relevant signals or counters must remain normal, and no pending companion code should return. If the original condition cannot be recreated, describe that limitation instead of claiming certainty.

Reinspect the area after the verification drive for leaks, loose connectors, chafing or fluid changes. When a catalyst, engine or fuel-system problem was involved, follow any shortened inspection interval recommended by the service procedure and retain the old-part findings.

If the code returns, do not clear it repeatedly. Compare the new freeze frame with the original. A changed temperature, load or companion-code pattern may point to a second fault, while an identical pattern suggests the original cause, wiring path or verification step was incomplete.

CAUSE MATRIX

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 causeEvidence that supports itFirst useful test
Intake, PCV or brake-booster air leakPositive trim strongest at idle and improves with rpmSmoke-test the sealed intake rather than spraying flammable cleaner
Purge valve leaking when commanded closedPost-refuel symptom or trim changes when purge is safely isolatedCommand purge closed and verify no flow/vacuum passes
Fuel-pressure or volume shortfallCorrection worsens as load and fuel demand riseGraph commanded versus actual pressure through the setting condition
MAF/airflow error or charge leakAirflow/load PIDs are implausible; turbo car has charge-system evidenceInspect the entire metered-air path and compare scan data with engine-specific expectations
Exhaust leak or biased upstream sensorLeak ahead of the sensor or response fails a controlled rich/lean testInspect cold exhaust sealing and prove sensor response before replacement

Why Bank 1 is not a side of the Focus

The gasoline Focus engines covered here are inline engines with one cylinder bank. Bank 1 therefore means the whole engine, not passenger side versus driver side as on a V engine.

A single-runner leak or injector can still affect one cylinder, so compare misfire counters when P0301–P0304 accompanies the lean code.

Use recall 18S32 as evidence, not a shortcut

Ford's recall names mixture-related drivability symptoms and several EVAP codes on affected 2.0L cars. A leaking purge valve can act like an intake leak.

VIN coverage, purge testing and tank inspection still matter. Replacing a purge valve without checking a deformed tank or saturated canister is incomplete recall-era diagnosis.

How to read the scan report before diagnosing P0171

Start with the first freeze frame associated with P0171, then save confirmed, pending and permanent codes from every module that can communicate. RPM, load, coolant temperature, vehicle speed and time since start describe the moment the PCM objected. A fault that appears only on a cold start needs a different test from one that matures during steady cruise or full operating temperature.

Next, look for companion codes that change the diagnostic order. Circuit codes move wiring and power checks ahead of component replacement; misfire can make catalyst and mixture results unreliable; low-voltage history can create several implausible signals at once. Record readiness before clearing because it shows which monitors had enough valid operating time to judge their systems.

Use live data as a comparison, not as isolated numbers. Compare cold temperature sensors with ambient, commanded values with actual values, and a suspect signal with the engine's other relevant PIDs. Save graphs or screenshots with units and test conditions. A normal-looking value at warm idle does not disprove a fault that set during refueling, boost, deceleration or an overnight cold soak.

DIY checks versus professional P0171 diagnosis

A careful owner can inspect fluid levels on a cold car, battery terminals, intake and EVAP hoses, accessible connectors, grounds, air ducts and recent repair areas. A capable scan tool can preserve freeze frame, show pending codes and graph basic PIDs. Those observations often decide which system deserves testing without opening a pressurized fuel, hot cooling or internal engine system.

Professional equipment becomes appropriate when the test requires direct-injection fuel-pressure work, bidirectional purge or fan control, regulated EVAP smoke, oscilloscope cam/crank analysis, exhaust-gas testing, compression/leak-down work or catalyst monitor interpretation. Turbocharged ST and RS cars also need safe charge-system and fuel testing that cannot be replaced by repeated full-throttle road pulls.

Choose a shop when the warning lamp flashes, the engine overheats, stalls, loses oil pressure, makes mechanical noise or shows evidence of raw fuel. Ask the technician which observed result failed and what test proved it. A diagnosis written as only 'code present—replace part' does not separate the component from its circuit, plumbing, calibration or the condition that may have damaged it.

What a complete P0171 repair should document

The repair order should identify the Focus model year, engine, calibration status and relevant build or recall information. It should preserve the original code list and freeze frame, name the failed inspection or measurement, and record the part number or procedure used. That trail matters when the same warning returns because it separates a repeat fault from a new companion condition.

For a recall-era 2.0L car, record whether 18S32 applies by VIN and whether the complete remedy was already performed. A receipt for one purge valve does not automatically prove PCM programming, canister inspection and fuel-tank checks were completed. For modified cars, document the tune and hardware state used during both failure and verification.

Avoid estimates that bundle several untested parts. Authorize additional components when inspection shows damage, contamination, leakage, failed electrical response or a required one-time-use rule. This protects both repair quality and the ability to challenge a comeback when the evidence does not match the invoiced diagnosis.

Verification after clearing P0171

Clear codes only after the original evidence is saved and the proven cause is corrected. Recheck connectors, hose routing, fluid levels, tool removal and any disturbed fasteners before starting. Observe the relevant live data at idle first; stop immediately if temperature, fuel pressure, misfire count or mechanical sound becomes unsafe.

Repeat the safe portion of the original freeze-frame condition. That may mean a true cold start, a warm idle after refueling, steady cruise or moderate load—not an arbitrary five-minute idle. Watch for a pending code and confirm the repaired signal responds normally rather than merely waiting for the dashboard lamp.

Finally, verify readiness progresses without another reset. Some monitors require fuel-level, temperature, soak and driving windows and will not complete immediately. A permanent code clears only after enough passing monitor operation. Keep the before-and-after scan report; it is the strongest proof that the repair corrected the monitored condition.

BEFORE CLEARING

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 fuel trim
  • RPM and calculated load
  • Coolant temperature and closed-loop status
  • MAF, MAP and throttle data
  • Commanded/actual fuel pressure
  • Purge command and companion misfire/EVAP codes
TEST SEQUENCE

A practical diagnostic workflow

  1. 01
    Confirm closed-loop lean correction

    Save codes and freeze frame, warm the engine and verify P0171 is not merely historical after another repair.

  2. 02
    Compare idle with higher airflow

    Record combined trim at idle and around 2,500 rpm. Improvement with airflow is a strong leak clue.

  3. 03
    Smoke-test the air path

    Seal and smoke the intake/PCV system. On turbo cars include charge plumbing using the correct low-pressure method.

  4. 04
    Test purge control

    Verify the valve does not flow when closed and review recall status if post-refuel symptoms or named recall codes are present.

  5. 05
    Verify fuel delivery and sensor response

    Graph pressure under the failing load and test the upstream sensor response only after leaks are excluded.

  6. 06
    Confirm trims after repair

    Repeat idle and load comparisons and look for pending lean or misfire codes.

!
Do not load the parts cannon

Do not replace the upstream oxygen sensor because it reports lean. It is often accurately reporting extra air or insufficient fuel. Condemn it only after intake, purge, exhaust and fuel tests show the sensor itself responds incorrectly.

APPLICATION BOUNDARIES

Why the model year changes the test

A North American Focus can be a naturally aspirated 2.0L GDI car, a turbocharged Focus ST, a 1.0L EcoBoost, or an RS with a 2.3L EcoBoost. The engine, build date and recall history change the likely causes and the correct pinpoint test, so identify them from the VIN and underhood label before ordering parts.

  • The 2.0L GDI and GTDI fuel systems have high-pressure components that require Ford procedures and safety precautions.
  • A 1.0L or turbocharged performance model needs its own airflow and pressure baseline.
  • The 2012–2018 2.0L GDI/GTDI recall population must be checked by VIN; model year and engine description alone do not prove coverage or completion.
  • Focus ST, RS, 1.0L EcoBoost and naturally aspirated 2.0L cars do not share every sensor, fuel-system test, calibration or service specification.
  • Save aftermarket tune, intake, exhaust and recent repair details. Returning a modified car to a known calibration can be a valid diagnostic step.
COMMON QUESTIONS

P0171 FAQ

What does P0171 mean on a Ford Focus?+

The PCM exceeded its allowed positive fuel correction because Bank 1 appeared lean.

Which side is Bank 1?+

On an inline Focus engine there is only one bank, so Bank 1 is the whole cylinder row.

Can a vacuum leak cause P0171?+

Yes. Trim that is most positive at idle and improves with rpm strongly supports a fixed air leak.

Can the purge valve cause P0171?+

Yes, if it flows when commanded closed. Test it, especially after-refuel symptoms, rather than guessing.

Can I drive with P0171?+

Only gently if it runs normally and the lamp is steady. Stop for flashing, hesitation, knock or overheating.

Does P0171 mean a bad O2 sensor?+

No. The sensor may be reporting a real lean condition from air or fuel faults.

What scan data matters most?+

Compare combined trims at idle and higher airflow, then add fuel pressure, MAF/MAP and purge command.

How is the repair confirmed?+

Repeat the setting condition and verify trims remain normal with no pending lean or misfire codes.

SOURCE TRAIL

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.

01Ford 2017 gasoline OBD operation summaryFord EVAP, misfire, fuel and comprehensive-component monitor descriptions02Ford 2024–2025 gasoline OBD operation summaryFord monitor logic, enabling conditions and drive-cycle requirements03Ford Safety Recall 18S32 / NHTSA 18V-735 — Focus purge valve and fuel tankFord dealer instructions for affected 2012–2018 Focus 2.0L GDI/GTDI vehicles; specifically names P0420, P1450, P0456 and P2196 among the relevant DTCs04Ford owner manuals and warranty guidesOfficial year- and VIN-specific manual lookup for your vehicle

Sources shown.
Check the application.

480 reference pages.
21 vehicle makes.

Review status visible.
Every page shows its source trail.