* Faulty Coolant Temperature Sensor (CTS): This sensor tells the engine control module (ECM) the engine's temperature. A faulty CTS, especially one that's reading falsely *low* when the engine is hot, can cause the ECM to increase the idle speed to compensate for what it thinks is a cold engine. Once driving, the increased airflow over the radiator might cool the engine sufficiently for the faulty sensor to give a slightly more accurate reading, thus lowering the idle speed.
* Worn or Dirty Idle Air Control (IAC) Valve: The IAC valve regulates the amount of air entering the engine at idle. If it's dirty or sticking, it might allow too much air in at idle, raising the RPMs. The increased engine load while driving might overcome this sticking, resulting in a lower idle speed.
* Vacuum Leak: A vacuum leak can cause erratic idling, particularly at higher temperatures. Heat can exacerbate leaks in deteriorated hoses or gaskets. The increased vacuum at higher engine speeds while driving might temporarily seal or reduce the effect of the leak.
* Throttle Position Sensor (TPS) Issue: While less likely to be the primary cause of this specific symptom, a faulty TPS can lead to irregular idling. The engine load during driving might mask the TPS problem.
* EGR Valve Problem: A malfunctioning Exhaust Gas Recirculation (EGR) valve can contribute to rough idling, especially at higher temperatures. The increased airflow while driving might again lessen its impact.
Troubleshooting Steps:
1. Check Coolant Level and Condition: Low coolant or coolant that's contaminated can lead to overheating and erratic sensor readings.
2. Inspect Vacuum Hoses and Connections: Look for any cracks, leaks, or loose connections in the vacuum lines.
3. Clean the IAC Valve: A dirty IAC valve is a common culprit for idle problems. Cleaning it (following instructions specific to your vehicle) might resolve the issue.
4. Check the CTS: You can test the CTS with a multimeter to see if it's providing accurate readings at various temperatures. Replacing it is relatively inexpensive and often solves this type of problem.
5. Diagnose with a Scanner: Using an OBD-II scanner can read diagnostic trouble codes (DTCs) stored by the ECM. This can pinpoint the source of the problem much more efficiently than guesswork.
It's crucial to diagnose the problem properly before replacing parts. Starting with the simplest and most common culprits (coolant level, vacuum leaks, IAC valve cleaning) before moving to more complex components (CTS, TPS) is a good approach. If you're not comfortable working on your car yourself, take it to a qualified mechanic for diagnosis and repair.