A replacement gas cap is a straightforward part you can buy at any auto parts store, gas station, or online retailer for between $5 and $20, depending on your vehicle's make and model
Your gas cap serves two purposes: it seals your fuel tank to prevent fuel from evaporating and keeps dirt and water out of the tank. When a cap cracks, goes missing, or no longer seals properly, your check engine light often comes on because your vehicle's emissions system detects the leak. A loose or missing cap is one of the most common reasons for that warning light, and replacing it is usually the fastest fix you can make yourself.
The process takes less than a minute. You unscrew the old cap, screw on the new one until it clicks or feels snug, and you're done. No tools required. If your check engine light was on only because of the cap, it should turn off within a few driving cycles — though some vehicles require you to clear the code with a scanner first.
Key Takeaways
- A missing or damaged gas cap triggers your check engine light because it breaks the seal on your fuel tank's emissions system.
- Replacement caps cost $5 to $20 and are sold at gas stations, auto parts stores, and online; you do not need your vehicle's year, make, and model to buy one that fits, but having that information makes the search faster.
- Installation takes under a minute and requires no tools — you straightforward unscrew the old cap and screw the new one on until it seats.
- After you install a new cap, your check engine light may take several driving cycles to turn off, or you may need to have the code cleared with a diagnostic scanner.
How to identify if your gas cap is the problem
Your check engine light comes on for many reasons, but a gas cap issue is one of the easiest to spot. Look at your fuel door — if the cap is missing, cracked, or loose, that is your answer. If the cap is there but you cannot remember the last time you checked it, unscrew it and inspect it for cracks, dried-out rubber, or corrosion around the threads.
A cap that no longer seals will often smell like fuel around your fuel door, especially after you have driven the vehicle. If you have a diagnostic scanner or can borrow one, you can read the specific code: a P0457 code means the cap is loose or missing, while P0455 or P0456 codes point to a small or large leak in the evaporative emissions system — which could be the cap, but might also be a hose or valve elsewhere in the system.
Where to buy a replacement gas cap
Gas stations are the fastest option if you need a cap when ready. Most stations that sell fuel also stock replacement caps in their convenience store or at the pump island. The selection is usually limited to one or two generic styles, but they fit most vehicles. Prices at gas stations typically run $8 to $15.
Auto parts stores like AutoZone, O'Reilly, NAPA, and Advance Auto Parts carry a wider range of caps, including OEM (original equipment manufacturer) caps specific to your vehicle. If you bring your vehicle's year, make, and model, or your vehicle identification number (VIN), the staff can look up the exact cap you need. Prices at these stores range from $5 to $20 depending on whether you choose a generic or OEM cap.
Online retailers including Amazon, eBay, and the parts websites of major manufacturers sell caps with home delivery. This option is cheapest if you are not in a hurry — caps often cost $5 to $12 online — but you will wait for shipping. If you order online, search by your vehicle's year, make, and model to may support you get the right fit.
Generic caps versus OEM caps
A generic gas cap is a universal design that fits most vehicles made in the last 20 years. These caps cost $5 to $10 and work fine for most drivers. They seal the tank and stop the check engine light from coming on.
An OEM cap is made by your vehicle's manufacturer and is designed to fit your specific model. OEM caps cost $10 to $20 but offer a tighter fit and may include features like a locking mechanism or a tether that attaches to your fuel door. If your vehicle has a locking fuel door, an OEM cap is the better choice because it will integrate with that lock. For most other situations, a generic cap works just as well.
How to install a replacement gas cap
Open your fuel door by pressing the release lever inside your vehicle or pushing on the door itself, depending on your car's design. Unscrew the old cap by turning it counterclockwise. Some caps unscrew by hand; others have a small slot that requires a coin or flat-head screwdriver, though this is rare on modern vehicles.
Once the old cap is off, inspect the threads on the fuel filler neck for dirt or corrosion. If you see debris, wipe it clean with a dry cloth. Screw the new cap onto the filler neck by turning it clockwise. Most caps are designed to click or snap when they reach the correct tightness — you will feel or hear this. Do not force it; once it clicks, stop turning. Close your fuel door.
What to do if the check engine light stays on
After you install a new cap, your vehicle's computer needs time to confirm the seal is working. Drive the vehicle normally for 50 to 100 miles over several days. The check engine light should turn off on its own during this time. If it does not, the problem may not have been the cap, or there may be another issue in the emissions system.
Some vehicles allow you to clear the check engine code yourself using a diagnostic scanner, which you can buy for $25 to $100 or borrow from an auto parts store. If you do not have access to a scanner, a mechanic or auto parts store can clear the code for you, usually for free or a small fee. Once the code is cleared, drive the vehicle again and watch whether the light returns.
When a gas cap is not the real problem
If you replace the cap and the check engine light returns within a few days, the issue is likely elsewhere in your emissions system. Common culprits include a cracked or disconnected hose, a faulty purge valve, or a leak in the charcoal canister. These repairs require a mechanic and cost more than a cap replacement.
If your light came on and you have never checked your gas cap before, start there — it is the cheapest and easiest thing to rule out. But if the cap looks fine and the light is still on, or if it comes back after you replace the cap, have a mechanic scan the vehicle to identify the actual code and the source of the leak.
Frequently Asked Questions
Can I drive without a gas cap?
You can drive short distances without a cap, but it is not safe or legal in most states. Without a cap, fuel evaporates, your emissions system fails, and your check engine light comes on. Fuel can also splash out on the road or into your vehicle. Replace the cap as soon as you can.
Do all gas caps fit all cars?
Most generic caps fit vehicles made in the last 20 years, but some older or specialty vehicles need a specific cap. If a generic cap does not screw on smoothly or does not click when seated, it is the wrong fit. Return it and ask for the OEM cap for your vehicle's year, make, and model.
Why does my new cap keep coming loose?
The threads on your fuel filler neck may be damaged or dirty. Before installing a new cap, clean the threads with a dry cloth and inspect them for cracks or corrosion. If the threads are damaged, the cap will not seal properly no matter how tight you make it. A mechanic can replace the filler neck if this is the case.
Will replacing the gas cap fix my check engine light?
If the light came on because of a loose or missing cap, a new cap will fix it — but only after you drive the vehicle for 50 to 100 miles so the computer can confirm the seal is working. If the light came on for another reason, the cap replacement will not help, and you will need to diagnose the actual problem.