The check engine light comes on when your vehicle's onboard diagnostic system detects a problem with the engine, emissions system, or transmission

Your check engine light is connected to the OBD-II system (onboard diagnostics), which continuously monitors dozens of sensors and components. When one of those sensors reports a reading outside normal range, the system stores a diagnostic trouble code and illuminates the light on your dashboard. The light itself does not tell you what is wrong — only that something needs attention.

The problem could be minor (a loose gas cap) or serious (a failing catalytic converter). The light may be solid or blinking. A solid light means you should have the vehicle scanned soon. A blinking light means stop driving when ready — continuing could cause engine damage.

Key Takeaways

  • A blinking check engine light means stop driving and have the vehicle towed; a solid light means you should get it scanned within a few days.
  • The diagnostic trouble code stored in your vehicle's computer tells a technician what system triggered the light, not always what part failed.
  • Common causes include a loose or missing gas cap, a faulty oxygen sensor, a failing catalytic converter, and ignition coil problems.
  • You can read the code yourself with an inexpensive OBD-II scanner, but the code is a starting point for diagnosis, not a final answer.

Common reasons the check engine light turns on

Gas cap issues are the most frequent cause. If your cap is loose, missing, or damaged, fuel vapors escape and the system detects the leak. Tighten or replace the cap and the light may clear on its own after a few drive cycles.

Oxygen sensor failure is the second most common trigger. Your vehicle has one or more oxygen sensors that measure unburned oxygen in the exhaust. A failing sensor sends incorrect data, which throws off the fuel mixture and triggers the light. Replacing an oxygen sensor typically costs between $150 and $400 depending on which sensor and your vehicle.

Catalytic converter problems cause the light when the converter is clogged, damaged, or failing. This is one of the more expensive repairs, often $800 to $2,500. Ignoring it can lead to worse engine damage.

Ignition coil or spark plug issues occur when coils wear out or plugs are overdue for replacement. You may notice misfiring (the engine stumbling or hesitating) along with the light.

Mass airflow sensor malfunction happens when this sensor, which measures air entering the engine, gets dirty or fails. The engine runs rough and fuel economy drops.

Solid light versus blinking light — what each means

A solid check engine light indicates a problem that needs attention but is not an when ready threat to engine safety. You should have the vehicle scanned within a few days and avoid driving long distances until you know what triggered it. Most repair shops will scan the code for free or for $50 to $100.

A blinking check engine light means the engine is misfiring or running so poorly that continued driving risks serious damage. Pull over safely, turn off the engine, and have the vehicle towed to a repair shop. Do not drive it there yourself, even slowly.

How to read the diagnostic trouble code yourself

You can purchase an OBD-II scanner for $25 to $100 and read the code without visiting a shop. Plug the scanner into the diagnostic port under your steering wheel, turn the key to the "on" position without starting the engine, and the scanner will display the code — usually a letter followed by four numbers, like P0420.

The code tells you which system reported the problem. P codes relate to the powertrain (engine and transmission), C codes to the chassis, B codes to the body, and U codes to the network. A P0420 code, for example, points to the catalytic converter system, but does not mean the converter itself is bad — it could be a sensor, wiring, or the converter.

Write down the code and search for it online to understand what system it relates to. This gives you a starting point for conversation with a technician, but the code alone is not a diagnosis. A technician will need to perform additional tests to pinpoint the actual cause.

When to drive to a repair shop and when to call a tow truck

If the light is solid and your vehicle is running normally with no hesitation, rough idle, or loss of power, you can drive to a nearby repair shop. Avoid highways and long distances.

If the light is blinking, the engine is misfiring, you hear knocking or pinging, or the vehicle is losing power, stop driving when ready. Continuing to drive risks damage to the catalytic converter and engine. Call a tow truck or roadside information.

If you are unsure whether the light is solid or blinking, treat it as a blinking light and stop driving. It is safer to be cautious.

What happens at the repair shop

A technician will connect a diagnostic scanner to your vehicle and read all stored codes and pending codes. They will then perform tests related to those codes — checking sensor readings, testing voltage, inspecting wiring, and sometimes removing and inspecting components.

The technician will explain what they found and what repair is needed. Ask them to show you the code and explain why they believe a specific part is the cause, not just the symptom. Some shops will provide a written estimate before starting work.

Repair costs vary widely. A gas cap replacement costs $5 to $20. An oxygen sensor replacement runs $150 to $400. A catalytic converter replacement can exceed $2,000. If the estimate seems high, you can get a second opinion from another shop.

Preventing check engine light issues

Keep your gas cap tight and replace it if it cracks or no longer seals. Have your vehicle serviced on schedule — regular oil changes and filter replacements reduce sensor problems. Use quality fuel and avoid running the tank nearly empty, which can damage the fuel pump and trigger emissions codes.

If you notice rough idle, hesitation, or loss of power, address it promptly rather than waiting for the light. Early attention to drivability problems often prevents more expensive repairs down the road.

Frequently Asked Questions

Can I drive with the check engine light on?

If the light is solid and the engine runs normally, you can drive to a repair shop, but avoid highways and long trips. If the light is blinking, the engine is misfiring, or you notice loss of power, stop driving and call a tow truck. Continuing to drive risks engine and catalytic converter damage.

Will the check engine light go away on its own?

Sometimes. If the problem was a loose gas cap or a temporary sensor glitch, the light may clear after a few drive cycles once the issue is fixed. If the underlying problem remains, the light will stay on or return. A technician must diagnose the cause to know whether it will clear.

What does the code P0420 mean?

P0420 indicates a problem with the catalytic converter system, but does not mean the converter itself is bad. It could be a faulty oxygen sensor, a wiring issue, an exhaust leak, or an actual converter failure. A technician must test to determine the real cause.

How much does it cost to fix a check engine light?

Costs range from $5 for a gas cap to $2,500 or more for a catalytic converter. Most common repairs — oxygen sensors, ignition coils, spark plugs — fall between $150 and $500. The only way to know is to have the vehicle scanned and diagnosed.

Can I clear the check engine light myself?

You can use an OBD-II scanner to clear the code, but the light will return if the underlying problem is not fixed. Clearing the code without repair is not a solution and may mask a serious issue that worsens over time.