Check engine light after getting gas
If the check engine light comes on soon after you refuel, check the gas cap first: a loose, missing or damaged cap lets fuel vapor escape, and the evaporative (EVAP) system reports that as a leak. Tighten it until it clicks and drive normally; the light can take several trips to go off, and if it stays on or flashes, read the codes.
Key facts
| Key fact | Detail |
|---|---|
| First thing to check | The gas cap: present, not damaged, tightened until it clicks |
| Why it sets the light | The EVAP monitor sees the open filler as a vapor leak |
| Leak size checked | As small as a 0.040 inch hole, and 0.020 inch under California rules |
| After tightening | The light can go off by itself after several trips once the system rechecks |
| Related codes | P0457 (fuel cap loose/off), P0455, P0456, P0442, P0440 |
| Flashing light | Not a gas cap problem: a severe fault such as a misfire, so minimize driving |
Your owner's manual has the exact cap instructions for your car. Some cars show a separate fuel cap message instead of, or before, the check engine light.
Why refueling can turn on the light
Gasoline gives off vapor. The EVAP system stores that vapor and later burns it in the engine instead of letting it escape. To do that, the fuel system has to stay sealed, and the gas cap is part of the seal.
OBD rules require the car to check the whole EVAP system for leaks. U.S. federal rules set the check at a leak the size of a 0.040 inch (about 1 mm) hole, and California's OBD II rule adds a 0.020 inch test. A cap that is left loose or off is a large opening by those standards, so the monitor reports a leak and the check engine light comes on.
The EVAP leak test is a non-continuous monitor. It only runs when its conditions are met, so the light does not always come on at the pump. It can appear on a later drive.
California's rule lets a car use a separate fuel cap warning instead of the check engine light when it can tell that the cap is the cause. That is why some cars show a fuel cap message first.
What to do, step by step
- Stop when it is safe and switch the engine off.
- Check that the cap is there, that its seal is not cracked or torn, and that nothing is caught under it.
- Refit the cap and turn it until it clicks. Kia's manuals say to tighten it until it clicks one time, otherwise the engine warning light will appear.
- Drive normally. EPA guidance says the light should go out by itself after a few trips once the problem is fixed, and California's rule allows the car to turn the light off once it has confirmed the cap is secure.
- If the light is still on after several trips, read the codes. A leak code that stays may point to another part of the EVAP system, not the cap.
If the light flashes while you drive, the cap is not the cause. EPA describes a blinking light as a severe problem such as a misfire: reduce speed and load and have the car checked soon.
See also: Flashing check engine light · Check engine light on: what to do
EVAP codes you may see after refueling
These are generic SAE code titles. The title names the size or type of the fault, not the part that failed, so confirm the cause before you replace anything.
| Code | What the title says | Gas cap link |
|---|---|---|
| P0457 | Leak detected, fuel cap loose or off | Direct: the system itself suspects the cap |
| P0455 | Leak detected, large leak | A cap left off or loose is one possible large leak |
| P0456 | Leak detected, very small leak | Check the cap and its seal first, then the rest of the system |
| P0442 | Leak detected, small leak | Check the cap and its seal first, then the rest of the system |
| P0440 | Evaporative emission system fault | General EVAP fault; needs the full diagnosis |
See also: All EVAP system codes · How to read an OBD2 code
Refueling habits that help
- Switch the engine off when you refuel. Both EPA and Kia's manual say so.
- Stop filling when the nozzle shuts off the first time. Kia's manual and University of Nebraska fleet guidance both say not to top off the tank.
- Tighten the cap until it clicks before you drive away.
Check it with OBD Master Pro
If the light stays on, connect a generic ELM327 class adapter and read stored, pending and permanent codes. Note whether the code is P0457 or a general leak code. Tighten or replace the cap, drive normally, and scan again after a few trips. You can also open the emission readiness check to see whether the EVAP monitor has run again. Results depend on your car and adapter.

Clearing the code with a scanner also resets the readiness monitors, so the car may not be ready for an emissions test straight away. Waiting for the light to go off by itself avoids that.
See also: OBD2 readiness monitors explained · How to clear the check engine light
Frequently asked questions
How long does it take for the check engine light to go off after tightening the gas cap?
It is not instant. EPA guidance says the light should go out after a few trips once the problem is gone, and California's OBD II rule lets the car turn it off after it confirms the cap is secure. The EVAP test only runs under certain conditions, so the time varies by car.
Can I just clear the code instead of waiting?
You can clear it with a scanner after you fix the cap, but clearing also resets the readiness monitors. If you have an emissions inspection soon, the car may need a drive cycle before it can pass.
The cap is tight but the light is still on. What next?
Read the codes. If an EVAP leak code stays after several trips, the leak may be elsewhere in the EVAP system, such as hoses or valves, and the car needs a proper diagnosis.
Watch a short video

Videos load from YouTube (privacy-enhanced mode) only after you press play.
Try it on your own car
OBD Master Pro turns your Android phone and a generic ELM327 adapter into a code reader: read and clear codes, view freeze frame and live data, and check emissions readiness.
Keep reading
Related guides: Check engine light on: what to do · Flashing check engine light · OBD2 drive cycle explained · How to read an OBD2 code · Stored, pending and permanent codes · OBD2 readiness monitors explained · ELM327 adapter not connecting · How to clear the check engine light · What is fuel trim · OBD2 live data and PIDs · OBD2 port pinout · What is a U code? · O2 sensor readings · ABS and airbag codes · OBD1 vs OBD2 · OBD2 glossary
Common codes: P0171 System Too Lean · P0420 Catalyst Efficiency · P0300 Random Misfire · P0455 EVAP Large Leak
All OBD2 guides · OBD2 by car brand · OBD2 trouble code guides
Sources
- U.S. EPA: What to do with the Check Engine Light (EPA420-F-00-041)
- U.S. EPA: Do you drive a 1996 or newer car or light truck? (EPA420-F-02-016). Blinking check engine light = catalyst-damaging misfire
- U.S. Code of Federal Regulations, 40 CFR 86.1806-05, On-board diagnostics (govinfo.gov)
- California Code of Regulations, Title 13, Section 1968.2 (OBD II): evaporative system monitoring and missing or loose fuel cap rules
- Kia owner's manual: Closing the fuel filler door (tighten the cap until it clicks, otherwise the engine warning light appears)
- Kia Canada: 2023 Sorento owner's manual (fuel cap and check engine light, refueling warnings)
- University of Nebraska-Lincoln Fleet Management: Fuel saving tips (do not top off the tank)
- California Bureau of Automotive Repair: On-Board Diagnostic Test Reference (readiness monitors and drive cycles)
- Texas Department of Public Safety: Ready or Not (OBD II readiness monitors and drive cycle)
- SAE J2012: Diagnostic Trouble Code Definitions (generic DTC titles including P0128 and misfire codes)
- OBD-codes.com: OBD-II trouble code lists (generic, manufacturer, body, chassis and network codes)
- OBD Master Pro on Google Play (app features, supported connections and protocols)
Published . Updated . General information only. Details generally vary by model, year and market, so always follow the owner's manual and service information for your vehicle.
