Check engine light diagnosis, step by step

A diagnosis reads the trouble codes your car stored, then tests the system the code points to, because a code names a symptom and not always a failed part. A steady light usually means you can book a visit. A flashing light means pull over.

Drive with care, and not far

A steady light with normal power and temperature can wait a few days for a visit. A flashing light is different. RepairPal says to pull over and have the car towed to a diagnostician, since misfires can overheat the catalytic converter. Also stop if the car loses power, runs rough or overheats.

In danger or blocking traffic? Call 911 first.
Free for driversNo account neededPlain answers
SquadRoadside assistant
What's going on with the car? Pick one, or tell Squad in your own words.
Squad can make mistakes. In danger, call 911.

What the light is really telling you

The lamp is officially a malfunction indicator. It comes on when the engine computer logs a problem that could raise emissions or hurt the powertrain. Every gasoline car sold in the US since 1996 carries the OBD-II system behind it, and its 16-pin diagnostic port sits within about two feet of the steering wheel on most cars.

The light has two modes, and the difference matters. If it stays on steadily, the computer has found a fault it considers non-urgent. If it flashes, an active misfire is usually happening. The flashing light guide covers what to do on the road, and the engine misfire page explains why raw fuel reaching the exhaust is so damaging. Some cars label the same light with words, which our page on the service engine soon message covers.

Common triggers

RepairPal lists these as frequent causes, in this order: a loose gas cap, a bad oxygen sensor, fouled or failing spark plugs, bad spark plug wires, a faulty catalytic converter and a bad mass airflow sensor. It does not rank them by how often each occurs.

  • Gas cap. Tighten it until it clicks, and give the car a few days of driving. The light may clear on its own.
  • Sensors. Oxygen and airflow sensors feed the computer, and sensor replacement is a common outcome of a code read.
  • Ignition parts. Plugs and wires cause misfires, which can lead to catalytic converter replacement if driven on.
  • Evaporative leaks, vacuum leaks and exhaust issues. Some of these overlap with exhaust and muffler repair.

What the shop does

  1. Asks when the light came on and what you noticed, such as rough idle, hesitation, a new smell or worse mileage.
  2. Plugs a scan tool into the diagnostic port and reads the stored and pending codes. Codes have five characters. A leading P means powertrain, and a 0 in the second place means a generic code that means the same on every make.
  3. Looks at freeze frame data, which records engine conditions at the moment the fault was logged.
  4. Tests the suspect system with live data, a smoke test for leaks, a multimeter or a lab scope, depending on the code.
  5. Gives you a written quote for the repair. A good shop explains the finding, not just the code number.
  6. Clears the codes after the repair and confirms the light stays off on a test drive.

What it costs

A dependable national figure for the diagnostic fee was not available to us, so none is printed here. Many shops charge a flat diagnostic fee or an hour of labor and may credit it toward the repair, so ask upfront. What you pay after the diagnosis depends on the part. Browse the related repair pages for ranges, such as engine repair. Free code reads at parts stores give you a code number but not a diagnosis. Use them to learn what to ask, not to buy a part on a guess.

OutcomeTypical next step
Loose capTighten or replace the cap, then wait for the light to reset
Sensor faultReplace the sensor, then confirm with a scan
MisfireTest plugs, coils and fuel delivery before replacing anything
Catalyst efficiency codeRule out other causes first, because the converter is expensive

Questions to ask before approving work

  • Which code or codes did you find, and what test confirmed the cause?
  • Is the diagnostic fee applied to the repair if I approve it?
  • Can I see the old part when you are done?
  • If I decline the repair, what should I watch for?
  • Does the repair come with a warranty on parts and labor?

One more point. A code that returns after a repair can mean the first fix was a symptom. Bring the receipt back rather than starting over somewhere new.

What you can do yourself

A basic code reader plugs into the port and shows the code in seconds. Our guide to reading engine codes explains how, and what the letters and digits mean. Check the gas cap first. Then look at the oil level and coolant level, because low fluids can cause a warning on some cars. You can follow our oil level steps and keep your hands clear of a hot radiator cap, which you should never open.

Do not clear the code and hope. Clearing it erases the data a technician needs.

Fuel economy and the cost of waiting

FuelEconomy.gov says an engine problem could reduce your fuel economy, and recommends a mechanic inspect it. If the car is burning more gas than it used to, our page on poor fuel economy explains what else to check. Waiting on a steady light is tolerable for a short time. Waiting on a flashing one is not.

When to tow instead of drive

Call for a tow if the light is flashing, if the car is shaking hard, if you smell raw fuel or burning, if the temperature gauge climbs or if power drops. Choose light-duty towing for a typical passenger car, and see the broader check engine light page for the symptoms that go with each case.

Updated November 25, 2026

Questions drivers ask

Plain answers to the questions we hear most.

Is it okay to keep driving with the light lit?

If it is steady and the car runs normally, you can usually drive to a shop in the next few days. If it flashes, pull over safely. RepairPal advises having the car towed to a diagnostician, because misfires can overheat the catalytic converter.

Will the light turn itself off?

Sometimes. A loose gas cap, once tightened, often clears after several drive cycles. A real fault such as a failed sensor will keep the light on or bring it back. Do not rely on it clearing, and get any repeat light checked.

What does a code like P0300 mean?

The first letter P means powertrain, and the 0 in the second place means a generic code defined across makes. The last digits narrow the fault. A code names the system that reported a problem, so a shop still has to test to find the cause.

Is a free code read at a parts store enough?

It tells you the code, which helps you ask better questions. It does not confirm which part failed. The same code can come from several causes, so a diagnosis needs tests. Avoid buying parts on the code alone.

Will the light affect an emissions test?

Rules differ by state, and many places do not test at all. If yours does, ask the testing program how it treats a lit light. Clearing codes just before a test erases stored data, so it is a poor shortcut.

Help in your city

Local roads, towing rules and the help that covers them.

Run a tow company, roadside crew or repair shop?

Get jobs from drivers near you on your phone, and pay only for results.

TowSquad for pros

Every TowSquad service