Engine surging with the check engine light on

How to tell what's causing it

  • At a stop the engine speed rises and falls on its own, or sits too high, and an idle control code (P0505 or P0507) is stored.

    The computer holds the idle by opening an idle air valve or the electronic throttle, and sets P0505 when the idle does not respond as commanded; Kelley Blue Book lists a fluctuating idle among its symptoms. A vacuum leak adds air the computer has to fight, and a leak bigger than it can offset makes the idle too fast, so a smoke test for leaks comes before the idle control parts or a dirty throttle body.

    Points to: Vacuum hoses and intake leaks, Electronic throttle body, P0505, P0507

  • On a 2004 to 2009 Ford, Lincoln or Mercury, the idle fluctuates and it starts hard after the battery was disconnected or went flat, with P0505, P0506, P2111 or P2112 stored.

    Ford's bulletin traces this to the engine computer losing its learned idle values when the battery was disconnected, so ask about relearning the idle before any idle or throttle parts are replaced.

    Points to: Engine control module (ECM / PCM), P0505, P0506, P2111, P2112

  • The car surges or hesitates while driving, a reduced-power or throttle warning may show, and P2135, P2111 or P2112 is stored.

    Electronic throttles use paired position sensors. When their signals disagree the computer sets P2135, and Kelley Blue Book lists surging or hesitation and a fail-safe mode that limits acceleration. P2111 and P2112 mean the throttle is not moving as commanded; NHTSA's review of some Ford throttle bodies traced these codes to wear in the throttle motor. Loose or corroded connectors and wiring are checked before the throttle body or pedal is replaced.

    Points to: Electronic throttle body, Accelerator pedal position sensor, P2135, P2111, P2112

  • The engine runs erratically or the idle is uneven, and a mass airflow code (P0101) is stored.

    Kelley Blue Book says P0101 can make the engine run erratically and idle inconsistently. Air that leaks in after the sensor is not measured, so Saab's procedure checks for intake air leaks and the crankcase ventilation hoses before the sensor. A dirty sensor can be cleaned with a dedicated MAF cleaner, never carburetor or brake cleaner.

    Points to: Mass airflow (MAF) sensor, Vacuum hoses and intake leaks, P0101

  • The engine runs unevenly or surges, and a rich mixture code (P0172) is stored.

    Saab's service information lists uneven running and misfire with P0172 and checks for a purge valve stuck open and for fuel pressure that is too high. Bosch notes that a worn oxygen sensor can cause surging and hesitation. Fuel pressure testing is shop work.

    Points to: EVAP canister purge valve, Oxygen (O2) sensor, P0172

Codes that go with it

  • P0505

    Idle air control system malfunction

    Severity: Monitor
  • P0507

    Idle speed higher than the computer is aiming for

    Severity: Monitor
  • P0506

    Idle control system RPM lower than expected

    Severity: Monitor
  • P2111

    The engine computer commanded the electronic throttle to close further but saw it stay more open than expected

    Severity: Inspect soon
  • P2112

    The engine computer commanded the electronic throttle to open but saw it stay more closed than expected

    Severity: Inspect soon
  • P2135

    Two throttle or pedal position sensor signals (A and B) that should agree with each other don't

    Severity: Inspect soon
  • P0101

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

    Severity: Inspect soon
  • P0172

    Engine computer has reached its limit removing fuel on bank 1: the mixture is rich

    Severity: Monitor

Sources and review

  1. p2135 Code - Throttle/Pedal Position Sensor/Switch 'A'/'B' Voltage Correlation — Kelley Blue Book (KBB Service Advisor)
  2. NHTSA ODI Preliminary Evaluation PE13-003: Electronic throttle body malfunction (2009-2013 Escape, Fusion, Mariner, Milan) — National Highway Traffic Safety Administration, Office of Defects Investigation ,
  3. P0505: Idle Air Control System Malfunction — Kelley Blue Book
  4. P0101 Code: Mass or Volume Air Flow Circuit Range/Performance — Kelley Blue Book
  5. NHTSA recall 26V081: Electronic throttle body gears may break (2024-2025 Nissan Rogue 1.5L VC-Turbo) — Nissan North America / NHTSA ,
  6. SB-01-045-10: P2104/P2111 with possible fail-safe speed limit (CX-9) — Mazda North American Operations / NHTSA ,
  7. 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
  8. 2023 Integra Owner's Manual: Indicator, Coming On/Blinking — American Honda Motor Co.
  9. 2020 Nissan Altima Owner's Manual — Nissan North America
  10. 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 ,
  11. Troubleshoot Idle Speed Control System — AA1Car.com (Larry Carley)
  12. Engine Vacuum Leaks — AA1Car.com (Larry Carley)
  13. Nissan NTB21-080: MIL on with P0223, P0507 and/or P2135 (2020–2021 Frontier) — Nissan North America / NHTSA ,
  14. Ford TSB 12-7-4: hard start and idle fluctuation with P0505/P0506/P2111/P2112 after battery disconnect — Ford Motor Company / NHTSA ,
  15. TSB-12-7-4: Hard start and idle fluctuation after battery disconnect, P0505/P0506/P2111/P2112 — Ford Motor Company / NHTSA ,
  16. What You Should Know About Electronic Throttle Control — AA1Car (Larry Carley)
  17. p2111 Code - Throttle Actuator Control System - Stuck Open — Kelley Blue Book (KBB Service Advisor)
  18. Saab 9-3 (2008) WIS DTC P0101 00 (ME9): Mass air flow sensor performance (deviation from calculated mass air) — Saab Automobile (Saab WIS service information, hosted by Saab Club of North America)
  19. 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)
  20. How to Clean a Mass Air Flow Sensor — CRC Industries
  21. Saab 9-3 (2008) WIS DTC P0172 00 (ME9): Long term fuel trim min value, air/fuel too rich — Saab Automobile (Saab WIS service information, hosted by Saab Club of North America)
  22. Saab 9-2X 2.5i (2005) WIS DTC P0172 System too rich (bank 1); P0171 uses the same procedure — Saab Automobile (Saab WIS service information, hosted by Saab Club of North America)
  23. Bosch Oxygen Sensors consumer brochure — Robert Bosch LLC ,
Last reviewed
Written by
Gaurav Sharma
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.