car shuts off while driving? here’s how to fix it

a car that suddenly shuts off while driving can be very frustrating. here are the most common causes and how to fix them!

car shuts off while driving

when you own a car, it is your responsibility to care for it. many car owners seem to think a car runs on magic dust. you have to continually check oil, gas, coolant, etc., to make sure your car stays fit for a long time.

in modern vehicles, there are many sensors and functions to make your car run smoothly. having basic knowledge about your vehicle can help you counter a mechanical problem like your car shutting off while driving.

in this article, we will shed light on the reasons why your car turns off while driving so the next time it happens; you are well-prepared.

the most common reason a car shuts off while driving is due to a bad crankshaft position sensor or issues with the fuel system. it can also happen due to a bad alternator, ignition switch, empty fuel tank, or car engine sensors problems.

while this list gives you a hint of the most common signs, it is far from all of them. here is a more detailed list of the six most common causes why your car shuts off while driving:

6 causes of car turns off while driving

1. faulty crankshaft position sensor

crankshaft position sensors

the most common reason a car shuts off while driving is a defective crankshaft position sensor. the crankshaft sensor is necessary for your car engine to run on most car models.

you also have a camshaft position sensor on some car models, which the car uses if the camshaft sensor is faulty. here, a faulty crankshaft position sensor may not cause the vehicle to stop entirely.

however, if your car is equipped with a crankshaft position sensor but not a camshaft sensor and you get a trouble code on it, you need to replace it.

2. faulty fuel pump or fuel system

cars fuel pump

fuel pump supplies the engine with the correct amount of fuel. if the fuel pump does not provide the right fuel to the engine, the motor will shut off, and you will be left stranded.

the bad news is there is no bypass for a faulty fuel pump; you have to fix it or buy a new one. another reason could be that your fuel filter got clogged, so the fuel pump can’t pump fuel through it.

a fuel filter is a small component whose only job is to clean the fuel that goes into the engine. if the fuel filter is clogged, the fuel entering the system will be insufficient, and the engine will shut down. fortunately, it is easy for you to replace a fuel filter.

most fuel pumps are installed inside the fuel tank. a little mechanic’s secret is to give a kick with your foot or something similar on the fuel tank when the car shuts off. if the car starts then, there is most likely a problem with your fuel pump.

be careful not to hit it with anything with an edge, though, because the fuel tanks are made of plastic, and you may make a hole in it – and that is the last thing you want to do!

if your car turns off while driving but then turns back on suddenly, it can often be due to a bad fuel pump.

3. empty fuel tank

empty fuel tank

most car owners probably know that you should check your fuel level now and then while driving.

if you have sufficient fuel for your drive, that is perfect, but if your fuel gauge or fuel level sender has gone faulty and does not show the real fuel level in your car, you could have a big problem.

an easy way to try if there is a problem with your fuel gauge or fuel level sensor is to fill 1 gallon (4 liters) of fuel to see if it starts.

4. alternator problems


an alternator manages the supply of electricity in your vehicle. if your car suddenly stops running, the alternator may have gone bad. a faulty alternator will cut the power supply to vital car components, and you will notice the lights turning off in the dash or the engine abruptly losing power.

mainly if your alternator is going bad, you will experience a red battery light on your dashboard now and then.

if your car still has electric power and the starter motor works after it shut off while driving, there is another problem and not the alternator, though.

5. faulty ignition switch

igniton switch

sometimes, a faulty ignition switch can cause your car to shut off while driving. the ignition switch is installed behind the ignition lock and get’s turned while you turn the key to start the car.

inside of this switch, tiny metal plates can build up corrosion and rust. if this happens, one of these plates may lose connection, and the whole ignition will get switched off.

this will also cause the whole engine to shut off immediately. luckily this is easy to check if so.

when the car shuts down – check if there are still lights/ignition lights on your dashboard. if the dashboard instrument is dead – there is a big chance of a faulty ignition switch.

6. malfunctioning sensors

car engine sensors

modern cars have many sensors to optimize the air-fuel mixture for optimal fuel consumption. if one sensor fails and is off, your car engine might die altogether.

luckily, most of these sensors cannot shut off the engine completely, though. sensors like the maf sensor, coolant temp sensor, oxygen sensor could mess with the air-fuel mixture so much that the engine would die.

how to diagnose a car that shuts off while driving

car diagnostics

diagnosing a car that shuts off while driving can be difficult if the problem comes occasionally. however, it is much easier to find the problem for a car that just died after driving.

  1. check for any trouble codes in the engine control unit with an obd2 scanner. continue the diagnostics of the trouble code if you get any.
  2. fill the tank with 1 gallon or 4 liters of fuel to ensure the fuel level is good, and there is nothing wrong with the fuel level gauge.
  3. check the battery voltage and connect a car battery charger to make sure the battery charge is good.
  4. if you can start your car after the charging of the car battery. measure the voltage with a multimeter while the car is running. if it is 13.5-14.5 voltage, your alternator is fine, but if you get under 13 volts while the car is running, there is something wrong with the alternator system.
  5. check if the engine has correct fuel pressure with a fuel pressure gauge. if not – check the fuel pump and fuel filter. replace if faulty.
  6. check live data with your diagnostic tool and look for any strange values from the engine sensors. check if you get rpm from the crankshaft sensor when cranking the engine.
  7. check the rpm meter on your dashboard while cranking the engine on the starter motor. if it doesn’t move – the problem is most likely the crankshaft position sensor.

can low oil cause a car to shut off?

low engine oil levels do usually not cause your car to shut off. however, if it is so low that your oil pressure is getting low – the car can shut off the engine for safety reasons. this is often in newer cars, though.

can a bad battery cause a car to shut off while driving?

a bad car battery rarely causes the engine to shut off because the alternator gives the required power it needs. it can be such a short circuit in the car battery in some rare cases, so it will shut off, though.

why does my car keep cutting off when i stop?

if your car shuts off after you stop, the engine is very sensitive at idle. this can be caused by many things but is usually caused by a lean fuel mixture, causing the idle to drop too low. a faulty throttle body can also cause this.

why did my car shut off while driving and won’t start?

if your car shut off while driving and it won’t start, it is often caused by a faulty alternator or low fuel pressure caused by the fuel pump. however, many things can cause it, and it needs to be diagnosed with a diagnostic scanner.