Why the cap matters to the engine computer
The evaporative emissions system, or EVAP, keeps gasoline vapor out of the air. Vapor from the tank collects in a charcoal canister and is later drawn into the engine and burned. Now and then the engine computer seals the system off and checks whether it holds pressure or vacuum. A cap that does not seal is the most common reason it fails.
The test only runs under certain conditions. On many cars the tank has to be roughly 15 to 85 percent full, the outside temperature between about 0 and 90 degrees F, and the car must have sat overnight. That is why the light often comes on a day or two after a fill-up. You may notice a faint fuel smell, but the car drives normally.
Codes a loose cap usually sets
A cap problem tends to show up as one of these generic codes. Our guide to pulling codes with a scan tool covers how to read them.
| Code | What it reports | Is the cap a likely cause? |
|---|---|---|
| P0457 | EVAP leak detected, fuel cap loose or off | Very likely |
| P0455 | EVAP large leak detected | Often |
| P0456 | EVAP very small leak detected | Sometimes, from a worn seal |
The same codes can come from a cracked vapor hose or a faulty valve, so the cap is the first thing to rule out, not the only one.
Tightening it so it seals
- Park and switch the engine off before you open the fuel door.
- Unscrew the cap all the way, even if it felt tight. A cap that went on crooked can feel snug without sealing.
- Wipe the threads and the lip of the filler neck with a clean, dry cloth. Grit on that lip is enough to leave a gap.
- Screw the cap back on squarely and keep turning until it clicks. Some caps seal after one click, while others want three.
- Stop at the clicks. The ratchet keeps you from crushing the seal, so forcing it further does not help.
- Close the fuel door and make sure the tether, if there is one, is not pinched under the cap.
Look the seal over for cracks
Turn the cap over. The rubber ring around the base of the threads does the actual sealing. Replace the cap if that ring is cracked, torn, flattened, hard and shiny, or missing a piece, or if the cap spins without ever clicking. Shine a flashlight on the filler neck too. Dents or heavy rust on the rim where the seal presses can keep even a new cap from sealing, and that is a job for a shop.
Cars with a capless filler
Some newer cars have no cap at all. A spring-loaded flap inside the filler opens when the nozzle pushes in and closes when it comes out. There is nothing to tighten, but dirt, ice or debris can keep the flap from closing fully. Look in with a flashlight, and if something is lodged there or the flap stays partly open, have a shop clear it rather than probing it with a tool.
If your capless car came with a filler funnel, use it for gas cans, because an ordinary spout may not open the flap properly. Waiting on a gallon or two brought to the car? Tell the driver the filler is capless.
Buying the right replacement cap
- Match the cap to your exact year, make, model and engine. Parts store catalogs and dealer parts counters look it up by vehicle.
- Pass on one-size-fits-all caps. A thread or seal that is slightly off may screw on and still leak.
- A locking cap works the same way, as long as it is listed for your car.
How long the light takes to go off
The light will not go out on the spot. The computer has to run its leak test again and see it pass. On many cars the code clears itself after about three drive cycles with no fault, and because the test waits for the right fuel level, temperature and an overnight rest, that usually means a few days of normal driving. Keeping the tank between about a quarter and three quarters full gives the test its chance.
A scan tool can turn the light off sooner, but it also wipes the readiness data an emissions inspection looks for. If a test is coming up, let the light go out on its own and drive a few more days before you go.
When the cap is not the cause
Look further if the light is still on after a week of regular driving with a good cap, or if the same code returns soon after it clears. Other EVAP parts fail too: a cracked vapor hose, a sticking purge or vent valve, or a cracked charcoal canister. Shops find these leaks with a smoke machine and a scan tool that can command the leak test, which most home code readers cannot do. A proper diagnosis at a shop is the next step, and our overview of reasons the light comes on covers the wider list, including dashboards that word the warning differently.
Some signs point away from the cap entirely:
- A flashing light means a misfire bad enough to harm the catalytic converter. Follow our steps for a blinking engine light.
- Shaking, stumbling or lost power points to a misfiring cylinder.
- A strong smell of raw gasoline or fuel dripping under the car is a leak, not a cap code. Park away from buildings, keep flames away, and have the car towed to a shop instead of driving it.
Updated November 25, 2026