Code & Cost

Why does my car smell like gas?

A fuel smell can be as simple as a loose gas cap or as serious as a leaking fuel line. Liquid fuel near a hot engine is a fire risk, so do not ignore it.

How urgent
Fix now
Safe to drive?
Not if you can see fuel dripping or the smell is strong inside the car.

Most common causes

Most likely first. Typical US shop prices shown where available.

  1. Loose or worn gas cap$15–$50

    Fuel vapor escapes. Often sets an EVAP code too.

  2. EVAP system leak$200–$240

    Cracked hoses or a bad purge valve let vapor out.

  3. Leaking fuel injector or fuel line$768–$953

    Raw fuel under the hood. Fix right away.

  4. Engine running rich$262–$406

    Unburned fuel in the exhaust smells like gas.

Codes to check

If your check engine light is on, read the codes. These are the ones most often linked to this problem:

Repair costs

RepairTypical costSource
Gas cap replacement$15–$50Cost Insight Hub
Purge valve replacement$200–$240RepairPal
Fuel injector replacement$768–$953RepairPal
Mass air flow sensor replacement$262–$406RepairPal

National averages, parts and labor, before tax. Checked December 2026.

Is the repair worth it?

Compare the quote with what your car is worth before you pay.

Repair or sell calculator