Why Is My Engine Stalling After Replacing the Battery?

It is not uncommon for late model vehicles to stall after the battery has gone dead or has been disconnected.

The engine computer has a basic idle speed control setting for when the engine is new. As you drive the car, deposits build up on the throttle body, which restricts the air flow and reduces the idle speed. The engine control computer compensates for this by opening the idle air bypass valve to achieve the correct idle speed. The computer stores this new bypass valve position in its memory. Over time, this can become a fairly substantial adjustment, but the change occurs so gradually, you will never notice it happening.

Unfortunately, when the battery is disconnected, some late model vehicles will lose this learned idle position, which will cause the vehicle to stall.

You can try one or both of these procedures try to correct this problem:

Clean the deposits built up on the throttle body (Throttle Body Service) using aerosol brake cleaner and a shop towel. This will allow the default idle air bypass valve value to function correctly. The idle learn procedure will begin again as it did when the vehicle was new. Some basic repair knowledge may be necessary to complete this procedure.

You can also perform the following procedure to try to force the engine computer to quickly relearn the necessary bypass valve position.

  1. Warm the engine, but hold your foot on the throttle as necessary to keep the engine running.
  2. With the transmission in Park, slowly release the throttle so that the engine will idle on its own. You may have to work at this a bit.
  3. Let the engine idle on its own for about one minute.
  4. Continue to let the engine idle and with your foot on the brake, place the transmission in Drive and let the engine idle for another minute.
  5. Continue to let the engine idle with your foot on the brake and the transmission in Drive. Turn the A/C on and let the engine idle for another minute with the A/C compressor running.
  6. Turn the ignition off and wait a minute.

If this corrects your problem—great! If not, you may need the help of your local service technician.

4 User Comments

Sign in to comment
This info was really helpful! My '02 Camry just exhibited the exact problems described here. I'd just add the following for a *manual transmission* that worked for me: 1) Warm the engine 2) Hold in the clutch and press the gas until the engine goes to about ~3k rpms 3) Keeping the clutch in, take your foot off the gas so that the rpms drop*. 4) Repeat steps 2 and 3 until the idle is correct again. (Each time you do step 3, the idle will stay higher until it is back to normal.) * The first time I did this, the engine stalled and I restarted it. The second and third times, it almost stalled. I don't know if it helps to add a little gas to keep that from happening, but you can try that if all else fails. Hope that helps someone else running into this problem!
Worked for me with an 03 Camry with 167,000 miles. Thanks.
yes cleaning the throttle body did the trick no more stalling . i spraed throttle body/carb cleaner into it . dont be afraid to use some .than i took a rag and a screw driver to push the rag inti the throttle body to clean out all of the black stuff make sure you look in side to seeif it is all gone .also make sure you clean all around the throttle palte .so far so good 3 days strong . thank you.
I started to panic wasn't sure what was going on motor broken, timing belt jumped cleaning out intake and letting car idle for a couple minutes worked on my 2006 camry now runs like a champ again thanks for all the recommendations you saved the day