How to Reset the ECU (Battery Method and Scan Tool)
To reset the ECU, turn the engine off and disconnect the negative battery cable for 15 to 30 minutes, or pull the ECU or EFI fuse for the same time. Reconnect, turn the key on for about 30 seconds, then start the engine and let it idle so it relearns. A scan tool with an adaptation or KAM reset does the same job without cutting power.
The ECU (engine control unit, also called the ECM or PCM) learns as you drive. It adjusts fuel trims, idle speed and, on many cars, transmission shift points to match wear and conditions. Resetting it wipes that learned data and the stored trouble codes, so the computer starts over from factory baseline values.
That is useful after certain repairs, such as a new MAF sensor, throttle body cleaning, a vacuum leak fix or a new battery. It is not a cure for a failing part. This guide covers the three reset methods, what changes afterward and when a reset is the wrong move.

When an ECU Reset Helps
| Situation | Why a reset helps |
|---|---|
| After replacing a MAF, O2 sensor or injector | Old fuel trims were learned around the faulty part |
| After cleaning the throttle body | Old idle values were learned around the dirty throttle |
| After fixing a vacuum leak | Long-term fuel trim may still be stuck rich or lean |
| After a battery replacement with rough idle | Lets the computer relearn cleanly |
| After installing an intake or exhaust part | Speeds up adaptation to the change |
When it will not help
- A hard fault that is still present, such as a dead sensor
- An immobilizer or key problem; see how to reset the immobilizer system
- Tuning or programming changes; those are flashes or coding, not resets. See what ECU coding on a scan tool means
What You Need
- A 10mm wrench (most battery clamps) or a fuse puller
- Safety glasses and gloves
- Your radio code if the car uses one
- Optional: a scan tool with an adaptation, KAM or ECU reset function
- Optional: a memory saver if you want to keep radio and seat settings
OBD2 scanner with adaptation reset
A scanner that lists ECU reset, KAM reset or adaptation reset for your make lets you reset learned values without disconnecting the battery. Check model coverage before buying.
As an Amazon Associate, ReplaceKeyFob earns from qualifying purchases.
How to Reset ECU With Battery
This is the most common method and works on most cars from the 1990s through many current models.
- Turn the engine off and remove the key, or move the smart key well away from the car.
- Put on safety glasses. Batteries can vent hydrogen gas.
- Disconnect the negative cable (black, marked minus). Loosen the nut and lift the clamp off. Keep it away from the post.
- Wait 15 to 30 minutes. The computer has capacitors that hold memory for a while. To drain them faster, some technicians turn the headlight switch on or press the brake pedal for a few seconds with the cable off.
- Reconnect the negative cable and tighten until the clamp does not turn by hand.
- Turn the ignition to ON (engine off) for about 30 seconds so the throttle and modules wake up and self-check.
- Start the engine without touching the gas pedal and let it idle for about 10 minutes, with accessories off.
Why disconnect only the negative: removing the negative cable cuts the circuit with less risk of a wrench sparking against the body. Follow how to disconnect a car battery safely for the full routine.

How to Reset ECU Without Disconnecting the Battery
Fuse method
- Open the fuse box diagram and find the fuse labeled ECU, ECM, PCM, EFI or ENGINE.
- With the engine off, pull that fuse.
- Wait 15 to 30 minutes.
- Refit the fuse and follow steps 6 and 7 above.
This keeps radio and clock settings on many cars, but some engine computers have more than one power feed, so it may not clear everything. If in doubt, use the battery method.
Scan tool method
Many mid-level and pro scanners have a function called “ECU reset”, “KAM reset” (keep alive memory, common on Ford), “adaptation reset” or “fuel trim reset”.
- Plug the scanner into the OBD2 port.
- Choose the engine module.
- Open service or special functions and select the reset.
- Follow the prompts, which may ask you to turn the ignition off and on.
Why it is better on newer cars: it resets the right values without cutting power to every module, so you do not lose windows, radio or security settings. Some newer computers store adaptations in non-volatile memory that a battery disconnect does not clear, so the scan tool is the only real reset.
What Happens After an ECU Reset
| Change | How long it lasts |
|---|---|
| Idle slightly high or unsteady | A few minutes to a few drives |
| Shifts feel firmer or different | A few days on many automatics |
| Fuel economy shifts a bit | A few tanks while trims relearn |
| Readiness monitors “not ready” | Until a complete drive cycle is done |
| Radio, clock and window settings lost | Until you reset them |
Most cars relearn idle during the first idle period. Some, especially many Nissan, Subaru and Toyota models, have a specific idle or throttle relearn procedure after a reset or throttle cleaning. Check your service information if the idle stays high, surges or the engine stalls.
Drive cycle
After the idle period, drive with a mix of steady highway speed, gentle acceleration and city stops. This lets the readiness monitors run again. Our guide on the drive cycle after clearing codes lists the typical pattern.
Other resets you may need
- Radio anti-theft code; see radio code after battery change
- Auto-up windows; see how to reset auto-up windows after battery change
- Steering angle sensor on some cars, if a stability control light appears
To avoid losing those settings next time, read how to change a car battery without losing data.
ECU Reset Differences by Vehicle Type
- Older cars (1996 to about 2005): the battery method clears almost everything, and the engine relearns idle within minutes.
- Many newer gasoline cars: a battery disconnect clears codes, but some adaptations survive. A scan tool reset is more thorough.
- Start-stop cars with AGM batteries: after any power disconnect, some need the battery registered or the start-stop system relearned; see how to register a car battery with a scan tool.
- Hybrids: disconnect only the 12V auxiliary battery, never the high-voltage pack, and follow the maker’s procedure.
- Diesels: many store injector and particulate filter data that should not be wiped; use a scan tool with a targeted reset instead of a full power cut.
If the Car Runs Worse After a Reset
| Symptom | Likely cause | Fix |
|---|---|---|
| Stalls at idle | Idle not relearned, dirty throttle | Idle relearn procedure, clean throttle body |
| High idle that will not drop | Throttle not relearned, vacuum leak | Relearn, check hoses |
| Check engine light returns | Original fault still present | Read the code; fix the part |
| Security light on, no start | Immobilizer lost sync on some models | Key relearn procedure |
| Harsh shifts | Transmission adaptations reset | Drive normally for a few days |
If the check engine light comes back, the reset did its job and revealed a real fault. See how to reset the check engine light without a scanner for what the light behavior means.
Mistakes to Avoid
- Resetting before an emissions test. All monitors go “not ready”, so the car will likely fail until they complete.
- Touching both battery cables together while connected. This shorts the battery. Only cables fully removed from the battery are ever touched together, and many manuals do not recommend it at all.
- Expecting a reset to fix a bad part. The fault code will return.
- Revving the engine right after reconnecting. Let the throttle self-calibrate first.
When to Call a Pro and What It Costs
A shop can perform a scan tool reset and relearn in under 30 minutes. Typical 2026 US costs are about $50 to $150 for a reset with relearn, and about $100 to $200 for full diagnosis if the problem returns. Reprogramming (flashing) the ECU with new software at a dealer typically costs about $100 to $250.
Frequently Asked Questions
About 15 to 30 minutes on most cars. Some technicians wait longer or briefly turn on the headlight switch with the cable off to drain stored power faster.
Yes. Pull the ECU or EFI fuse for 15 to 30 minutes, or use a scan tool with an ECU, KAM or adaptation reset function. The scan tool method is often the best option on newer cars.
Stored codes and learned values are erased. The idle may be unsteady for a short time, shifts may feel different and readiness monitors reset until a complete drive cycle is done.
Only if the old learned values were wrong, such as after replacing a faulty sensor or fixing a vacuum leak. On a healthy engine, the car simply relearns the same values.
Yes, it clears stored codes and turns the light off, but if the fault is still present the light will come back.
