You cleaned the throttle body, fitted a new sensor or changed a clutch, and now the idle hunts, the car stalls at junctions or the gearbox shifts roughly. The part is fine; the ECU simply has not learned the new situation yet. This guide explains what adaptation values are, when a relearn is required and how to use them to find real faults instead of resetting them blindly.
What adaptation values are
An ECU stores small corrections that it calculates while the engine runs: how much extra fuel is needed, where the throttle plate closes, how much air the idle needs, how each injector behaves or where a clutch begins to bite. They are held in non-volatile memory so the vehicle drives normally at the next start, and they change slowly as parts age.

Which systems adapt
- Fuel trims, throttle and idle learning, and injector corrections on the engine side.
- Crankshaft and camshaft reference learning, used for misfire detection and cam phasing.
- Knock control retard per cylinder.
- Boost actuator end stops and electric wastegate or VGT learning.
- Clutch and pressure adaptation on automatic, dual-clutch and automated manual gearboxes. See our DSG and DCT diagnostics guide.
- Battery registration for the battery sensor.
When a relearn is needed
A relearn is normally required after cleaning or replacing the throttle body, after replacing a crank, cam or MAF sensor, after fitting injectors or a boost actuator, after a new battery, after clutch or gearbox repairs and after a new ECU or changed software. Some adaptations return automatically over a drive cycle, others need a routine started with a scan tool, usually with a charged battery, no stored faults and a warm engine.

Example: after throttle body cleaning
Over time the ECU opens the throttle plate a little more to make up for carbon build-up. After cleaning, the same learned opening lets in too much air, so the idle runs high, hunts or the engine dies when you lift off. Running the throttle adaptation routine lets the ECU learn the new closed position and idle airflow. If the idle still hunts afterwards, look for a vacuum leak or a faulty throttle body rather than repeating the relearn.
A practical test order
1. Read codes and live data first
Before clearing anything, note stored codes and adaptation values: long-term trims, idle adaptation and, on automatics, clutch adaptation. These values show what the ECU has been compensating for.
2. Fix the actual fault
If a value sits at its limit, look for the cause: a vacuum leak, a dirty MAF, a weak fuel pump, a worn injector or a worn clutch. The fuel trim diagnostics guide explains how to separate them.
3. Check supply voltage and grounds
Learning routines stop or fail when the supply voltage is low. Charge the battery and check grounds before running a procedure.
4. Run the relearn routine
Use the “basic settings”, “adaptation” or “learning” function in the scan tool, or the drive cycle in the service data, with loads such as A/C and lights switched off.
5. Verify
Check the idle speed against the target, the trims, the shift quality and the absence of new codes. For stubborn idle faults see our guide to electronic throttle control diagnostics.

Why resetting is not a repair
Clearing adaptations makes the ECU start from default values, so a car with a mechanical fault may feel better for a short time and then drift back. If the same values return to their limits, the cause is still there. Reset only after the repair, or as the service procedure requires.
Before and after tuning
Writing a modified file can change the starting point for adaptation. Save the original read first, follow the tool maker’s advice on whether adaptation should be reset and check the idle and fuel trims on the first drive. Hardware faults should be repaired before reading the ECU or judging a calibration.
Related fault codes (DTCs)
| Code | Meaning | Typical causes |
|---|---|---|
| P0506 | Idle control system RPM lower than expected | Dirty throttle body, vacuum leak, adaptation lost or not relearned, high engine load |
| P0507 | Idle control system RPM higher than expected | Intake air leak, throttle not relearned after cleaning or replacement, sticking throttle, idle control fault |
| P2101 | Throttle actuator control motor performance | Worn or dirty throttle body, wiring fault, throttle position not learned |
| P2111 / P2112 | Throttle actuator stuck open / closed | Carbon build-up, mechanical sticking, failed return spring |
| P0171 / P0172 | System too lean / too rich (bank 1) | Fuel trims at their limit: air or fuel supply fault, sensor error, incorrect adaptation |
| P2187 / P2188 | System too lean / too rich at idle (bank 1) | Vacuum leak, injector fault, MAF error; adaptation no longer able to compensate at idle |
| P0016 | Crankshaft / camshaft position correlation | Chain or belt stretch, sensor fault, crank or cam learn not completed after repair |
| P0730 | Incorrect gear ratio | Clutch or gearbox wear, adaptation not matched after repair, solenoid fault |
| P0894 | Transmission component slipping | Worn clutch, low line pressure, adaptation limits reached |
Many adaptation faults are manufacturer-specific and have no generic SAE code. A code only tells you which learned value or monitor has failed; the service data for the exact vehicle describes the required relearn procedure and the limits.
Looking for an original or modified ECU file for your car, truck, bike or tractor? Browse the file database at ECUFlashFiles.
ECU Bench Pinouts, Flashing Tools & Calibration Training Hub ā
Compare OBD vs. Bench vs. Boot tools (AutoTuner, KESS3, FLEX, PCMflash, FoxFlash), wiring rules & WinOLS map training.