Why does my car stall while driving?
An engine that suddenly dies while driving is dangerous: you can lose power steering and brake assist. Find the cause before relying on the car.
How urgent
Fix now
Safe to drive?
No. Stalling in traffic is a safety risk.
Most common causes
Most likely first. Typical US shop prices shown where available.
- Failing crankshaft position sensor$230–$335
Often cuts out when the engine gets hot, then restarts after cooling.
- Weak fuel pump$1,344–$1,513
Fuel pressure drops under load and the engine starves.
- Dirty throttle body or idle control problem$623–$766
Usually stalls when you come to a stop.
- Failing alternator$809–$1,088
The car runs on battery alone until the voltage is too low.
- Faulty mass air flow sensor$262–$406
Wrong airflow readings make the mixture too rich or lean to keep running.
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
| Repair | Typical cost | Source |
|---|---|---|
| Crankshaft position sensor replacement | $230–$335 | RepairPal |
| Fuel pump replacement | $1,344–$1,513 | RepairPal |
| Throttle body replacement | $623–$766 | RepairPal |
| Alternator replacement | $809–$1,088 | RepairPal |
| Mass air flow sensor replacement | $262–$406 | RepairPal |
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.