Check this first
Check the fuel cap first – if it's missing or loose, tighten it and see if the light goes out.
It won't hurt the engine, but it will fail an emissions test.
What usually fixes it
In the order a good shop checks them. Typical total: $36–$362 at $130 an hour.
Fuel cap
$36–$78Missing, cross-threaded or a perished seal.
EVAP hose
$119–$282A hose knocked loose or split, often near the tank.
Vent valve
$144–$362Stuck open, usually from dirt or corrosion.
Code titles are the generic SAE definitions. Prices are typical US parts and labor for a common car or light truck – a guide for judging a quote, not a quote. Always confirm a repair against the vehicle in front of you.