Why is my check engine light on?
The car's computer has found a fault it cannot correct, most often in the emissions or engine-control systems. The cause can be as small as a loose gas cap or as serious as a failing sensor or misfire. A steady light means get it checked soon; a flashing light means ease off and get it looked at promptly. The stored code tells a shop where to start.
Free to ask. Local shops send quotes, and you pay only when you book one.
By Kasra Taheri, Founder, LoclisPublished
Researched and drafted with AI, then checked claim by claim against the sources listed below before it was published. Prices and rules change; the dates beside each source say when it was last checked.
Step by step
Read when to stop and call a pro, further down this page, before you start.
Step 1: Note whether the light is steady or flashing
A steady light is a warning to book a check; a flashing light is more urgent, so reduce speed and load and get the car looked at promptly.
Step 2: Check the dashboard for other warnings
Look for oil pressure or temperature warnings alongside the light. If either is lit, stop driving and call for help.
Step 3: Tighten the gas cap
A loose gas cap is one of the simplest causes.[1] Turn it until it clicks, and check that its seal is not cracked.
Step 4: Drive normally for a few days
After a cap fix, the light may go out on its own once the computer re-runs its self-checks. If it stays on, the fault is still there.
Step 5: Write down what you notice
Note rough idling, hesitation, poor mileage or a smell, and when it happens. A shop can use these with the stored code.
Step 6: Have the code read and the cause diagnosed
Book a diagnosis rather than clearing the code yourself.[1] A code points to a system or circuit, not always to the failed part.
Step 7: Approve a repair of the cause
Ask for the code, the test results and an itemized written quote before you approve any parts, and keep the invoice.
The car's computer has found a problem it cannot correct on its own, and it is telling you to have it checked. The cause ranges from a loose gas cap to a failing sensor or an engine misfire, which is why the stored trouble code matters more than the light itself.
FuelEconomy.gov, the Department of Energy and EPA site, describes it this way: "The check engine light, or malfunction indicator lamp, on your dash board indicates that something is wrong with your engine."[1] It adds: "Modern vehicles are so advanced that they may seem to drive normally even when a repair is needed, which sometimes leads drivers to ignore the indicator."[1]
What the light is actually telling you
On a 1996 or newer car, the light is run by the on-board diagnostic system, which Virginia's emissions regulation defines as "the computerized emissions control diagnostic system installed on model year 1996 and newer affected motor vehicles."[2] The regulation calls its self-checks "monitors": "computer programs in the on-board vehicle computer that evaluate the various emissions components and systems to determine status of such components and systems."[2] When a check fails, the computer stores a code and switches the light on.
So the light does not name a part. It says a system is out of range, and the code narrows down where to look. Two cars with the same code can need different repairs.

Common causes, from simple to serious
FuelEconomy.gov puts the range plainly: "It could be something as minor as a loose gas cap, but it could also be a more serious issue that could reduce your fuel economy, increase emissions, and/or lead to costly repairs later."[1] In practice, the usual suspects are:
- A loose or worn gas cap. The fuel system is sealed, and a cap that does not seal can set an evaporative-emissions code.
- A failing oxygen sensor. These sensors read the exhaust, and when they drift the computer cannot mix fuel properly, which often shows up as poor mileage.
- Ignition parts. Worn spark plugs or a weak ignition coil can cause a misfire, which feels like a stumble or shake.
- An airflow or intake problem. A dirty or failing airflow sensor, or a leak in the intake, upsets the fuel mixture.
- A catalytic converter problem. This is often the result of another fault, such as a long-running misfire, rather than the first thing to fail.
None of these can be told apart from the driver's seat. That is why the sensible plan is a diagnosis, not a guess at parts.
Steady or flashing
A steady light means the fault is not an emergency in itself. Book a check soon, and watch for symptoms in the meantime.
A flashing light is different. It usually signals a more serious problem than a steady light, such as an active misfire, so do not keep driving hard. Ease off, avoid towing or climbing hills at speed, and have the car looked at promptly. If the oil pressure or temperature warning also comes on, stop driving.
What to do first
Start with the free checks. Tighten the gas cap until it clicks, and look at its rubber seal for cracks. Then drive normally for a few days, because some lights clear once the computer's self-checks pass again.
If the light stays on or comes back, do not wait for it to get worse. FuelEconomy.gov's advice is direct: "So, when the check engine light comes on, have your vehicle inspected by a mechanic."[1] Ask the shop to read the stored code and say what test confirmed the fault before any part is replaced. Our guide to what a diagnosis costs in Virginia covers the fee and what to ask about.
Why not just clear the code
A code reader that clears the light removes the evidence, not the cause. The light will usually return, and a recently cleared computer has not finished its self-checks, and Virginia's rule is that a vehicle whose OBD system is in a "not ready" status is rejected from testing.[3] In the Northern Virginia emissions program that matters: the rule is that "Emissions-related failure codes that cause the malfunction indicator lamp to be commanded "on" provided by OBD systems of OBD vehicles shall cause the vehicle to fail the emissions inspection."[3] The full picture is in whether a check engine light fails a Virginia emissions inspection.
One more reason to keep paperwork: the regulation says, "A waiver shall not be issued for a vehicle which is eligible for the emissions control systems performance warranty, under the provisions of § 207(b) of the federal Clean Air Act."[3] If your car is new enough to be covered, ask the dealer before paying an independent shop.
Stop and call a pro if
- The light is flashing. Reduce speed and load and have the car looked at promptly.
- The car runs rough, stalls or loses power. These point to a fault that needs proper test equipment.
- An oil pressure or temperature warning is lit too. Stop driving and arrange a tow.
- You smell fuel, burning or rotten eggs. These are not gas cap problems.
- The light returns after the cap and a few days of driving. The cause is still there; get the code read.
Getting help in Virginia
Browse more automotive repair answers, see local automotive repair businesses, or read what a diagnosis costs in Virginia before you call.
When you are ready, describe the problem once and local shops quote it.
Common questions
- Can I keep driving with the check engine light on?
- Usually for a short time, if the light is steady and the car drives normally. FuelEconomy.gov says that when the check engine light comes on, you should have your vehicle inspected by a mechanic. A flashing light, rough running, loss of power, or an oil pressure or temperature warning means stop or slow down and get help promptly.
- Will the light go off by itself?
- Sometimes. After a minor fault such as a loose gas cap, the computer may turn the light off once its self-checks pass on later drives. If it comes back or never goes out, the fault is still there and needs a diagnosis.
- Does the light mean my car will fail inspection?
- In the Northern Virginia emissions program it can. Emissions-related failure codes that turn the light on fail the test. Elsewhere in Virginia that rule does not apply. Read whether a check engine light fails a Virginia emissions inspection for the details.
- Is it safe to just clear the code?
- Clearing it hides the evidence and does not fix the cause. The light will usually return, and the computer's self-checks have to run again before an emissions test, so a freshly cleared car can be rejected as not ready.
- Why did the light come on after I filled the tank?
- A gas cap that was not tightened, or one with a worn seal, is a common reason because the fuel system can no longer hold a seal. Tighten it until it clicks and drive normally for a few days. If the light stays on, get a code read.
Sources
- [1] Gas Mileage Tips: Keeping Your Vehicle in Shape, FuelEconomy.gov, U.S. Department of Energy and U.S. Environmental Protection Agency. Checked October 28, 2026.
- [2] 9VAC5-91-20, Terms defined, Virginia Administrative Code, State Air Pollution Control Board. Checked October 28, 2026.
- [3] 9VAC5-91-420, Inspection procedure; rejection, pass, fail, waiver, Virginia Administrative Code, State Air Pollution Control Board. Checked October 28, 2026.
Want a pro to handle it?
Describe the job once. Licensed local businesses send quotes, and you pay only when you book one.
Get a quote for Automotive