That being said, here are some symptoms that may indicate a bad gas cap or fuel:
Bad Gas Cap:
* Difficulty starting the vehicle
* Engine stalling or running rough
* Check engine light illuminated
* Strong fuel odor
* Poor fuel economy
Bad Fuel:
* Engine knocking or pinging
* Reduced power and acceleration
* Check engine light illuminated
* Difficulty starting the vehicle
* Stalling or rough idling
If you suspect that the gas cap or fuel may be the cause of the check engine light, you can try replacing the gas cap first. If that does not resolve the issue, you may need to have the fuel system inspected by a qualified mechanic.