Why does the check engine light go off during a test drive?

Updated October 2026 · How we answer

Short answerA seller may have cleared the trouble codes just before you arrived, which turns the light off for a while. The light can return within a few miles, so run a diagnostic scan rather than trusting the dashboard.

How codes get cleared

Trouble codes are stored by the engine computer, and clearing them turns off the warning light. A recent clear also resets the emissions monitors, so the car may not show a complete readiness status. Both of these can hide a problem that is still there.

  • Codes cleared shortly before the viewing
  • Readiness monitors not complete
  • Light returns after a short drive

Checking it yourself

A basic OBD-II scanner can read stored and pending codes and show whether the monitors are ready. Plug it in with the engine running and note any codes you see. An inspector can run the same check during a pre-purchase inspection.

What to ask the seller

Ask why the light was on, whether the issue was repaired, and when the car was last checked. A vague answer is a reason to slow down. Walk away or negotiate if the seller will not explain.

If the seller refuses to let you scan the car, treat that refusal as a serious warning sign and move on to another listing. Ask whether the seller has maintenance records covering the period when the light first came on.

Common mistakes

  • Trusting a dashboard with no warning light as proof the engine is healthy.
  • Buying on the day of the test drive without a scan.
  • Assuming a light that went off means the repair is done.
From our shopsDad Gift Lab: Personalized mugs, tees and keepsakes for dad.