Check engine light and stalling

How to tell what's causing it

  • The engine cuts out while driving, may not restart, and a crankshaft sensor or engine speed code (P0335, P0339, P0320) is stored.

    A weak or erratic crankshaft signal makes the computer lose its timing reference, so the engine misfires or stalls; with no signal at all it will not restart.

    Points to: Crankshaft position sensor, P0335, P0339, P0320

  • It stumbles under load or on acceleration before it stalls, and a low fuel pressure or pump circuit code (P0087, P0627) is stored.

    Low fuel pressure leans the mixture and causes hesitation and stalling; a pump that quits while driving stops the engine. Kelley Blue Book rates P0087 as extremely serious and advises avoiding driving if possible. Fuel system testing is shop work.

    Points to: Fuel pump, P0087, P0627

  • It stalls at idle or as you come to a stop, and lean codes (P0171, P2177) or idle control codes (P0505, P0507) are stored.

    A vacuum leak lets in air the computer does not measure, which matters most at idle. A stalling or unsteady idle is often a leak rather than the idle control parts.

    Points to: Vacuum hoses and intake leaks, P0171, P2177, P0505, P0507

  • A mass airflow code (P0101) is stored with stalling or an unsteady idle.

    A dirty or faulty airflow sensor misreports the air coming in, so the fuel is wrong for the air and the engine can stall.

    Points to: Mass airflow (MAF) sensor, P0101

  • It stalls or idles badly right after refuelling, and a purge code (P0496) is stored.

    A purge valve stuck open feeds fuel vapour to the engine when it should not; a Ford recall names engine stall from this.

    Points to: EVAP canister purge valve, P0496

Codes that go with it

  • P0335

    Crankshaft position sensor A circuit fault

    Severity: Inspect soon
  • P0339

    Crankshaft position sensor A circuit intermittent

    Severity: Inspect soon
  • P0320

    Engine speed signal missing or unreliable at the engine computer

    Severity: Inspect soon
  • P0087

    Fuel pressure in the rail or supply system is lower than the engine computer requested

    Severity: Inspect soon
  • P0627

    Fuel pump A control circuit open

    Severity: Inspect soon
  • P0171

    Engine computer has reached its limit adding fuel on bank 1: the mixture is lean

    Severity: Monitor
  • P2177

    Engine computer sees a lean mixture on bank 1 off idle (while cruising or at light throttle): too much air for the fuel being delivered

    Severity: Monitor
  • P0505

    Idle air control system malfunction

    Severity: Monitor
  • P0507

    Idle speed higher than the computer is aiming for

    Severity: Monitor
  • P0101

    Airflow sensor reading doesn't match what the engine computer expects for the throttle opening

    Severity: Inspect soon
  • P0496

    EVAP purge flow when purge should be off

    Severity: Monitor

Sources and review

  1. Crankshaft Position CKP Sensors — AA1Car.com (Larry Carley)
  2. What are the symptoms of a bad crankshaft sensor? — Delphi Technologies Aftermarket
  3. P0320 code page (OBD-II codes) — Kelley Blue Book
  4. P0339 Code: Crankshaft Position Sensor 'A' Circuit Intermittent — CarParts.com Research Team
  5. Fuel Pump Diagnosis — AA1Car.com (Larry Carley)
  6. p0087 Code - Fuel Rail/System Pressure - Too Low Bank 1 — Kelley Blue Book (KBB Service Advisor)
  7. P0627 Code: Fuel Pump 'A' Control Circuit/Open — CarParts.com Research Team
  8. Troubleshoot Idle Speed Control System — AA1Car.com (Larry Carley)
  9. Kelley Blue Book OBD-II code P2177 — Kelley Blue Book
  10. Ford P0171 & P0174 Lean Codes (Larry Carley) — AA1Car.com
  11. How to Clean a Mass Air Flow Sensor — CRC Industries
  12. Saab 9-2X 2.5i (2005) WIS DTC P0101: Mass or volume air flow circuit range/performance — Saab Automobile (Saab WIS service information, hosted by Saab Club of North America)
  13. Ford Safety Recall 18S32 Supplement #3 (canister purge valve) — Ford Motor Company / NHTSA ,
  14. Vapor Canister Purge Valve — MotoRad
  15. Final Regulation Order: 13 CCR §1968.2, Malfunction and Diagnostic System Requirements (OBD II), 2004 and subsequent model-year passenger cars, light-duty trucks and medium-duty vehicles (2015 amendments) — California Air Resources Board
  16. OBD consumer brochure: Do you drive a 1996 or newer car or light truck? (EPA420-F-02-016) — U.S. Environmental Protection Agency, Office of Transportation and Air Quality ,
  17. 2023 Integra Owner's Manual: Indicator, Coming On/Blinking — American Honda Motor Co.
  18. 2020 Nissan Altima Owner's Manual — Nissan North America
  19. Interim owner notice, NHTSA Recall 20V-700 (2020-2021 Toyota Supra potential fuel tank leak) — Toyota Motor Sales, U.S.A. / NHTSA
  20. Owner notification, NHTSA Recall 20V-112 (2020 Nissan Versa fuel tank leak) — Nissan North America / NHTSA ,
  21. Troubleshoot Odors Inside Your Car — AA1Car.com (Larry Carley)
Last reviewed
Written by
Saurabh K.
Editorial review
Technician review
Technician review pending

This page explains what a code usually means; it is not a substitute for a professional inspection. How we source and review · Report an error

My Car

Pick your car and code pages will point out notes and bulletins for it. Saved only in this browser.

Fill this in from your VIN

Used once to identify your engine; not stored.