The check engine light means your vehicle's onboard diagnostic system detected a problem with the engine, emissions system, or transmission
The check engine light (also called the malfunction indicator lamp or MIL) turns on when your car's computer finds a fault code. This does not mean your engine is about to fail — it means the system recorded something that does not meet emissions or performance standards. The problem could be minor, like a loose gas cap, or serious, like a failing catalytic converter. You cannot know which without reading the code.
The light may be solid (steady on) or flashing. A flashing check engine light is more urgent and usually means stop driving and have the vehicle towed to a mechanic. A solid light means the problem is less when ready, but you should still have it diagnosed within a few days.
Key Takeaways
- A check engine light does not always mean expensive repairs — it could be a loose gas cap, a faulty oxygen sensor, or a problem with the emissions system.
- You need a diagnostic scan tool to read the fault code and learn what triggered the light; a mechanic or auto parts store can do this for you.
- A flashing check engine light means stop driving when ready and have the vehicle towed, because continuing to drive risks serious engine damage.
- The light will not turn off on its own once the code is set, even if you fix the problem — you or a mechanic must clear it with a scan tool.
How to read the fault code yourself
You can read the code without going to a mechanic by using an OBD-II scanner (onboard diagnostics scanner). These plug into the diagnostic port under your steering wheel and display the code on a small screen. Basic scanners cost $25 to $100 and work on most vehicles made after 1996.
Many auto parts stores (AutoZone, O'Reilly, NAPA, Advance Auto Parts) will scan your vehicle for free if you bring it in. They will tell you the code number and a brief description of what it means. Write down the exact code — it will look like "P0420" or "P0171" — because that code tells a mechanic exactly where to look.
Do not rely on the parts store description alone to decide what to fix. The same code can have different causes depending on your vehicle's make, model, and year. A mechanic needs to do further testing to confirm the actual problem.
Common reasons the check engine light turns on
A loose or missing gas cap is the most common cause and the easiest to fix. Tighten the cap, drive for a few miles, and the light may turn off on its own. If it does not, the code is still set and you will need to clear it.
An oxygen sensor failure is also common, especially on older vehicles. This sensor measures how much unburned fuel is in the exhaust. When it fails, the engine runs less efficiently and produces more emissions. Replacing an oxygen sensor typically costs $150 to $400 depending on which sensor and your vehicle.
A faulty catalytic converter is more expensive to repair ($800 to $2,500) but less common as a first failure. A mass airflow sensor (MAF sensor) problem is also costly to fix ($300 to $600) but shows up regularly on certain models. Loose or corroded battery terminals can also trigger the light because the computer cannot communicate properly.
When to stop driving when ready
A flashing check engine light means your engine is misfiring — fuel is not burning correctly in one or more cylinders. This creates excess heat and can damage the catalytic converter or engine in minutes. Stop driving as soon as it is safe to do so and have the vehicle towed.
Do not ignore a flashing light hoping it will go away. Continuing to drive risks a repair bill that jumps from hundreds to thousands of dollars. If you are on a highway when the light starts flashing, pull over, turn off the engine, and call for a tow truck.
A solid check engine light is less urgent but still needs attention within a few days. If the light comes on while you are driving and the vehicle feels normal (no rough idle, no loss of power, no strange noises), you can usually drive to a mechanic or parts store to get it scanned.
What happens at a mechanic's shop
A mechanic will plug in a diagnostic scanner and read the fault code, just like an auto parts store. The difference is that a mechanic can then perform additional tests to confirm what is actually wrong. For example, if the code says "oxygen sensor circuit," the mechanic will test the sensor itself, the wiring, and the connector before ordering a replacement.
Diagnostic fees vary widely — some shops charge $50 to $150 for a basic scan and diagnosis, while others charge by the hour ($75 to $150 per hour) if the problem requires more testing. Ask the shop for a quote before they start work. Many shops will credit the diagnostic fee toward the repair if you have the work done there.
Once the repair is complete, the mechanic will clear the fault code using the scan tool. The light will turn off. If the same code comes back within a few days, it means the repair did not fix the underlying problem and the shop should re-examine the work.
Clearing the check engine light yourself
You can clear the fault code yourself using an OBD-II scanner if you own one. Most scanners have a "clear codes" or "erase codes" button. Clearing the code turns off the light, but it does not fix the problem — the light will come back on within a few days or weeks if the fault is still there.
Clearing the code yourself is useful if you want to test a repair you made (like tightening the gas cap or replacing a battery terminal). Drive the vehicle for a few days and see if the light returns. If it does not, the problem is likely fixed. If it does return with the same code, the problem is still there and needs professional diagnosis.
Some states require that your vehicle pass an emissions test to renew your registration. A check engine light will cause an automatic failure on that test, even if the problem is minor. You must have the code read and the problem fixed before the test.
What your insurance and registration need
A check engine light does not affect your insurance rates or coverage. It is a maintenance issue, not a safety or accident claim. Your insurer will not know the light is on unless you tell them.
Your vehicle registration may be affected if your state requires an emissions inspection. Most states will not renew your registration if your vehicle fails the emissions test, and a check engine light is an automatic failure. You must have the problem diagnosed and fixed, and the code cleared, before you can pass the test and renew.
If you are selling your vehicle, you should disclose the check engine light to the buyer and have the code read so you can tell them what the problem is. Many buyers will ask for a discount or walk away if the light is on and the problem is unknown.
Frequently Asked Questions
Can I drive with the check engine light on?
If the light is solid and steady, you can usually drive to a mechanic or auto parts store to get it scanned. If the light is flashing, stop driving when ready and have the vehicle towed. A flashing light means the engine is misfiring and continuing to drive risks serious damage.
Will the check engine light turn off by itself?
No. Once a fault code is set, the light stays on until someone clears the code with a scan tool. The light will not turn off even if you fix the problem yourself. You must use a scanner to erase the code.
How much does it cost to fix a check engine light?
The cost depends entirely on what caused the light. A loose gas cap costs nothing to fix. An oxygen sensor costs $150 to $400. A catalytic converter costs $800 to $2,500. You cannot know the cost until the code is read and the problem is diagnosed.
What does the fault code number mean?
Fault codes are standardized across all vehicles. A code like "P0420" always refers to the same system (in this case, the catalytic converter). You can search the code online to learn what it means, but the actual cause can vary by vehicle. A mechanic needs to test to confirm.
Can a loose gas cap really trigger the check engine light?
Yes. The gas cap seals the fuel tank and prevents fuel vapors from escaping. A loose or missing cap triggers an emissions code because the system detects a leak. Tightening the cap is the first thing to check when the light comes on.