Common minor and major reasons for a check engine light to turn on include: Loose gas cap An internal problem in the engine An issue with or even theft of the catalytic converter Faulty spark plug, spark plug wires, or ignition coils Malfunctioning oxygen sensor Damaged mass airflow sensor A bad tank of gas