Check MyEngine Light
Guide

The check engine light came on right after you got gas.

The short answer

Most of the time the gas cap is loose, did not click shut, or has a worn rubber seal. The car tests its fuel vapor system for leaks, and an open cap looks like a big leak. Tighten the cap until it clicks. The light will not go off right away: the car has to pass its leak test again, which can take a few days of normal driving.

Why a gas cap turns on the light

Your car keeps gasoline vapor in a sealed system, called EVAP, and burns it in the engine instead of letting it into the air. Every so often the computer seals that system and checks that it holds. A loose cap, a cracked seal or a cap that does not fit lets air in, the test fails, and the light comes on.

It is a pollution warning, not an engine problem. The car drives exactly the same.

What to do

  1. Click the cap shut. Turn it until it clicks at least once.
  2. Look at the rubber ring. A crack, a tear or a flattened spot means a new cap. Get one made for your car.
  3. Drive normally for a few days. On many cars the leak test only runs after the car has sat overnight and when the tank is neither nearly empty nor completely full. That is why the light can stay on for several trips after the fix.
  4. Still on after a week? Read the code again. The leak may be somewhere else.

The codes you will usually see

P0457 is the clearest: some makers use it for a loose or missing cap. P0455 is a large leak, which is often the cap too. P0442 and P0456 are small and very small leaks. Those point less to the cap and more to a cracked hose or a valve.

When it is not the gas cap

If the light comes back with the cap clicked, or the code is P0440, P0441 or P0446, the problem is elsewhere in the system: the purge valve, the vent valve, a cracked hose or the charcoal canister that holds the vapor. It is still not urgent, but it is worth a shop visit.

One habit that causes these: topping off after the pump clicks off. The extra fuel can soak the charcoal canister. Stop at the first click.

Rarely: bad fuel

If the light came on right after a fill up and the car also runs rough, hesitates or stalls, bad fuel or water in the fuel can cause misfires. That shows up as a different code, in the P0300 range, and should be checked soon.

Codes that often come with this

Quick answers

How long after tightening the gas cap does the light go off?

Usually a few days of normal driving. The car has to pass its leak test again, and on many cars that test only runs after the car sits overnight. If it is still on after about a week, have the code read again.

Is it safe to drive with a loose gas cap code?

Yes. A loose cap does not hurt the engine. Click it shut and keep driving normally. If the light starts flashing, that is a different problem and more serious.

Can I just clear the code?

You can, with an adapter and the app. But if the leak is still there the light comes back, and clearing resets the emissions monitors, which can make the car fail an inspection for a while.

Estimates only. A mechanic should confirm. If the car shows a hot temperature gauge, an oil pressure warning, smoke or a burning smell, stop as soon as it is safe.