Check this first
If the check engine light is flashing, stop driving – raw fuel is going into the catalytic converter.
What usually fixes it
In the order a good shop checks them. Typical total: $140–$925 at $130 an hour.
Spark plugs
$196–$404Worn plugs misfire under load first; they're the usual cause past 60,000 miles.
Ignition coils
$165–$595A weak coil drops out when it gets hot.
Vacuum leak
$171–$444A big leak upsets several cylinders at once.
Fuel delivery
$268–$925Low pressure or dirty injectors starve every cylinder a little.
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.