A car that shuts off while driving is almost always losing one of three things: fuel, spark, or electrical power. The most common culprits are a failing alternator, a dying fuel pump, a worn ignition switch, or a sensor malfunction that confuses the engine’s computer. Some causes give you warning signs for weeks before the engine quits. Others strike without notice.
Your Alternator Drained the Battery
The alternator charges your battery while the engine runs. When it fails, the battery takes over every electrical function in the car, but it isn’t designed to do that for long. You’ll typically notice dimming headlights, weak acceleration, or dashboard warning lights appearing before the car loses power entirely. Once the battery is fully drained, the engine shuts off and won’t restart.
This is one of the more dangerous causes because losing the alternator also means losing power steering and power brake assist. If your lights have been dimming or your battery warning light has flickered recently, the alternator is a strong suspect.
The Fuel Pump Is Failing
A fuel pump that’s going bad can cause the engine to stall suddenly, sometimes with no warning at all. The pump sits inside your fuel tank and pushes gasoline to the engine under pressure. When it starts to fail, it can’t deliver enough fuel to keep combustion going, and the engine dies.
There are a few patterns that point to the fuel pump specifically. You might lose power going uphill or while carrying a heavy load, because those situations demand more fuel than a weak pump can supply. An overheating fuel pump can also stall the engine, particularly on hot days or during long drives. Some drivers notice the car surging (speeding up and slowing down on its own) before a full stall happens.
A clogged fuel filter creates similar symptoms. It restricts fuel flow to the engine, causing rough running, decreased gas mileage, and eventually stalling. The filter is cheaper and easier to replace than the pump, so it’s worth checking first.
A Sensor Stopped Talking to the Computer
Modern engines rely on a network of sensors to time every spark and every squirt of fuel with precision. The crankshaft position sensor is one of the most critical. It monitors how fast the crankshaft is spinning and where it is in its rotation, then sends that data to the engine control unit (ECU). The ECU uses this information to decide exactly when to fire the spark plugs and inject fuel.
When this sensor fails or sends incorrect signals, the ECU essentially loses track of the engine’s rhythm. It doesn’t know when to trigger ignition or fuel injection, so the engine stalls, runs rough, or refuses to restart. A failing crankshaft position sensor can cause intermittent stalling that comes and goes for days before it fails completely.
The Ignition Switch Is Worn Out
The ignition switch isn’t just the slot where you insert your key. It’s an electrical component that maintains power to the fuel system and ignition system while the car is running. Over time, the internal contacts wear down and develop resistance. When the switch can no longer hold a steady connection in the “on” position, it briefly cuts power to critical systems.
This often shows up as the engine dying and then restarting on its own moments later. You might experience temporary power loss followed by the car coming back to life, or the engine cutting out completely at random. If your car stalls and then starts again without explanation, a failing ignition switch is a likely cause.
Vacuum Leaks and Air Problems
Your engine needs a precise ratio of air to fuel for combustion. A vacuum leak lets unmetered air sneak into the engine, leaning out the mixture (too much air, not enough fuel) to the point where combustion can’t sustain itself. The result is rough idling, misfires, and stalling.
Vacuum leak problems are usually most noticeable at idle or low speeds, like sitting at a stoplight. At higher speeds, the extra air from the leak is a smaller percentage of total airflow, so it has less impact. If your car stalls mainly when you’re stopped or slowing down but runs fine at highway speed, a vacuum leak is worth investigating.
Manufacturing Defects and Recalls
Sometimes the problem isn’t wear and tear. It’s a factory defect. In 2025, General Motors recalled nearly 600,000 vehicles (2021 to 2024 Silverado 1500, Tahoe, Suburban, Yukon, Escalade, and Sierra 1500 models with the 6.2L V8 engine) because manufacturing defects in the crankshaft and connecting rods could cause engine failure while driving. GM identified over 14,000 complaints involving loss of propulsion. Warning signs included knocking or banging noises, the check engine light, hesitation, high RPMs, and abnormal shifting.
You can check whether your vehicle has any open recalls by entering your VIN at NHTSA.gov. Recall repairs are always free.
Auto Start-Stop System Failures
If your car has an automatic start-stop system (the feature that shuts the engine off at red lights to save fuel), a weak battery can prevent the engine from restarting when you lift your foot off the brake. This has been a recurring issue across multiple brands, including Subaru and Honda models, often appearing between 30,000 and 60,000 miles.
The frustrating part is that a weak battery can still show a normal voltage reading on a standard test while lacking the amperage needed to actually crank the engine. Several owners have reported dealers initially clearing the battery as “fine” only to diagnose a bad battery after the system failed in traffic. A faulty hood latch sensor can also trip the system, since start-stop is designed to stay disabled when the hood is open. If the sensor misreads, it can interfere with normal operation. Many drivers choose to disable the start-stop feature after experiencing a failure.
What Your Check Engine Light Can Tell You
If the check engine light was on before your car stalled, the engine’s computer likely stored a diagnostic trouble code that points to the problem. A code reader (available at most auto parts stores for free scanning) can pull these codes. One of the most common is P0300, which indicates multiple cylinders are misfiring. That code can trace back to a clogged fuel filter, a bad fuel pump, worn ignition components, or a failing fuel pressure regulator. If the check engine light was flashing before the stall, the problem is severe and risks serious engine damage.
What to Do When Your Engine Dies at Speed
When the engine cuts out while you’re moving, you lose power steering and power brakes. The car doesn’t become impossible to control, but it takes significantly more physical effort. Steering gets heavier as you slow down, and your brakes will still work for one or two presses before the power assist runs out completely.
Steer gradually toward the shoulder or side of the road. Apply the brakes firmly, knowing they’ll feel stiff and require more force than normal. If the main brakes aren’t enough, use the parking brake to help stop. Once you’re safely off the road, turn on your hazard lights. Don’t try to restart the engine repeatedly in the middle of traffic, as getting to a safe position comes first.

