Your car is losing electrical power or fuel while you drive, then recovering it
When your car shuts off mid-drive but restarts when ready or after a few seconds, you are experiencing an intermittent stall. The engine is not failing permanently — something is cutting off either the spark, fuel, or electrical signal it needs to keep running, and then that supply returns. This is different from a complete breakdown because the car proves it can start and run; the problem is that it stops doing so unpredictably.
The cause is almost always one of four systems: the battery or charging system, the fuel pump or fuel delivery line, the ignition switch, or the engine computer's ability to receive sensor signals. Because the stall is intermittent, the problem often does not show up on a basic diagnostic scan — the computer may not have recorded a fault code at the moment the stall happened. This makes the repair harder to pin down than a permanent failure, but it also means you have time to gather information before the car leaves you stranded.
Key Takeaways
- Intermittent stalls usually come from a weak battery, a failing alternator, a clogged fuel filter, a bad fuel pump relay, or a corroded battery terminal — not from the engine itself.
- A basic diagnostic scan may not catch the problem because the fault code is only recorded if the computer detects the failure at that exact moment.
- You should note when the stall happens — during acceleration, at idle, after the car has been running for ten minutes, in wet weather — because the pattern tells a mechanic where to look first.
- A stall that happens only when the car is warm, or only after rain, points to different causes than a stall that happens randomly at any time.
- Do not ignore intermittent stalls; they often get worse and can leave you stranded on a highway or in traffic.
Battery and charging system problems cause most intermittent stalls
A weak battery or failing alternator is the most common reason a car shuts off while driving. The alternator charges the battery while the engine runs; if it is not charging properly, the battery drains. Once the battery voltage drops below a certain point, the engine computer loses power and the engine stops. The car may restart because the battery still has enough charge for a quick start, but then it drains again.
A corroded or loose battery terminal can cause the same symptom. Even if the battery itself is good, a thick layer of white, blue, or green corrosion on the terminal, or a cable that has worked loose, can interrupt the flow of power. The connection is intermittent — it works sometimes and fails other times — which is why the car starts and stops unpredictably.
To check this yourself, turn off the engine and look at both battery terminals. If you see corrosion, disconnect the negative terminal first, then the positive one. Clean both the terminal and the cable end with a wire brush or baking soda and water until they are shiny. Reconnect the positive terminal first, then the negative. If the terminals are tight and clean but the stalling continues, the alternator or battery itself is likely failing and needs professional testing.
Fuel system failures that come and go
A fuel pump that is beginning to fail will sometimes deliver fuel and sometimes not. You may notice the car hesitates or stumbles before it stalls, or the stall may happen suddenly. A failing fuel pump often gets worse in hot weather or after the car has been running for a while, because heat makes the pump work harder and its internal parts wear faster.
A clogged fuel filter can also cause intermittent stalls, especially if the blockage is partial. The filter restricts fuel flow, the engine starves for fuel, and the car shuts off. After sitting for a few minutes, pressure builds up enough to push fuel through again, and the car restarts. This pattern — stall, wait, restart — is a clue that fuel delivery is the problem.
A fuel pump relay that is failing will cut power to the fuel pump intermittently. The relay is a small switch in the engine bay that turns the pump on when you turn the key. If it is corroded or has internal damage, it may work for a while, then stop, then work again. This is harder to diagnose than a dead relay because the car does not fail every time you drive it.
Ignition switch and electrical connection problems
A worn ignition switch can cause the engine to shut off while driving if the internal contacts are loose or corroded. When you turn the key to start, the switch completes a circuit. If that circuit is not solid, the engine may start but then lose the signal to keep running. This is more common in older cars or cars where the key has been turned roughly or the steering column has been bumped.
Loose or corroded connections in the engine bay — on the starter, on sensor connectors, or on ground straps — can also cause intermittent stalls. The engine computer needs a solid ground connection to work properly. If a ground wire is loose or corroded, the computer may lose power momentarily, shut down the engine, and then regain power when the connection shifts back into place.
Engine sensor failures that trigger stalls
The engine computer relies on sensors to know how much fuel to inject and when to fire the spark plugs. A mass airflow sensor (MAF), oxygen sensor, or crankshaft position sensor that is failing can send bad data to the computer, causing it to shut down the engine as a safety measure. These sensors often fail intermittently — they work correctly most of the time, then send a false signal, and the engine stalls.
A failing sensor may or may not trigger a check engine light. If the sensor fails only briefly, the computer may not store a permanent fault code. This is why a car can stall repeatedly but show no codes when you scan it. A mechanic may need to monitor the sensor data in real time while driving the car to catch the problem.
How to gather information before you see a mechanic
Write down the details of each stall: the time of day, the outside temperature, how long the car had been running, whether you were accelerating or at a stop, whether it was raining or humid, and how long it took to restart. This pattern is worth more than a diagnostic scan because it narrows down the cause. A stall that happens only when the car is warm points to a fuel pump or sensor. A stall that happens only in wet weather points to a corroded connection or a failing ignition switch. A stall that happens randomly at any time points to the battery or alternator.
If the check engine light comes on, even if it goes off again, note that too. Take the car to a parts store or mechanic and have the fault codes read. Write down the exact code numbers, not just a description. A code like P0335 (crankshaft position sensor) is much more useful than "sensor problem."
What a mechanic will do to find the problem
A mechanic will start by testing the battery voltage and the alternator output with a multimeter. A healthy battery should read around 12.6 volts when the engine is off and 13.5 to 14.5 volts when the engine is running. If the voltage is lower, the battery or alternator is failing. They will also check the battery terminals and ground connections for corrosion or looseness.
If the battery and alternator are good, they will test fuel pressure with a gauge connected to the fuel rail. Fuel pressure should stay steady while the engine runs. If it drops or fluctuates, the fuel pump or fuel filter is the problem. They may also scan the computer for fault codes and monitor live sensor data while driving the car to catch a sensor failure in the act.
In some cases, a mechanic may need to drive the car themselves to reproduce the stall. This is why describing when and how the stall happens is so important — it helps them recreate the conditions that trigger the problem.
Frequently Asked Questions
Can I drive the car if it keeps shutting off?
You can drive it to a mechanic, but not on the highway or in heavy traffic. An intermittent stall can become a permanent stall at any time, and losing power while merging or in a turn is dangerous. If the stalls are getting more frequent, stop driving it and have it towed.
Why does the car restart if the engine is broken?
The engine itself is usually not broken. The problem is that the spark, fuel, or electrical signal is being cut off temporarily. Once the cause clears — the battery regains voltage, the fuel pressure builds back up, or the sensor sends a good signal again — the engine can start and run normally until the problem happens again.
Will a code reader tell me what is wrong?
A code reader will help, but intermittent problems often do not leave a permanent code. If a fault code is stored, it will point you in the right direction. If no code appears, the pattern of when the stall happens is more useful than the scanner.
Is an intermittent stall cheaper to fix than a permanent breakdown?
Not always. An intermittent problem can be harder to diagnose because the mechanic has to find the fault while it is happening. A battery or alternator replacement is straightforward and affordable. A fuel pump or sensor replacement costs more. The sooner you have it checked, the less likely it is to fail completely and leave you stranded.
What if the stall only happens in certain weather?
Weather patterns are a strong clue. Stalls that happen only in rain or humidity point to corroded connections or a failing ignition switch. Stalls that happen only in hot weather point to a fuel pump or battery that is stressed by heat. Tell your mechanic the weather pattern — it will help them focus on the right system.