car shuts off while driving? 6 causes & how to fix it

car shuts off while driving

are you experiencing that annoying problem when your car shuts off while driving out of nowhere? don’t worry, we’ll help you!

in modern vehicles, there are many sensors and functions to keep your car running smoothly. having a basic knowledge of your vehicle can help you counteract a mechanical problem, such as your car turning off while driving. so, what can cause a car to shut off while driving?

the most common reasons a car shuts off while driving are a bad crankshaft position sensor or fuel supply problems. it can also happen due to a bad alternator, ignition lock, or an empty fuel tank. because of the many possible causes, it is important to diagnose it properly.

although this list gives you an idea of the most common signs, it is far from exhaustive. here is a more detailed list of the six most common reasons why your car shuts off while driving:

6 reasons why a car shuts off while driving

1. faulty crankshaft position sensor

crankshaft position sensors

the most common reason a car dies 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. a faulty crankshaft position sensor may not cause the vehicle to stop entirely, though.

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 supply system

cars fuel pump

a fuel pump supplies the engine with the correct amount of fuel to the fuel injectors. 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 shuts off while driving but then restarts immediately, 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 see 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.

if your alternator is going bad, one of the main symptoms you will experience is the red battery light on your dashboard coming on now and then.

if your car still has electric power and the starter motor works after it shuts off while driving, there is another problem. in this case, the alternator is not at fault.

related: 6 symptoms of a bad alternator (& replacement cost)

5. faulty ignition switch

igniton switch

sometimes, a faulty ignition switch can cause your car to shut off while driving. the ignition switch is located behind the ignition lock and gets turned when you turn the key to start the car.

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

this will also cause the whole engine to shut off immediately. luckily, this is easy to check. 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. if you notice that your car shuts off while driving but starts back up after, or if it shuts off when stopped at idle or when slowing down, it could be caused by a faulty engine sensor, which could cause a wrong air-fuel mixture or idle rpm.

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

how to fix a car that shuts off while driving

if your car shuts off while driving, the first thing you should do to fix it is to check the engine control module for error codes and all sensor data. you also want to make sure there is fuel in the tank and that the alternator is charging.

here is some more detailed information on how to fix your car shuts off while driving issue:

1. check trouble codes

read trouble codes

with older car models, you had to diagnose the car with a multimeter or just common sense to find a problem. fortunately, modern cars have built-in diagnostic software that detects when there is a problem with one of the engine sensors and then stores a fault code resulting in a check engine light.

this makes diagnosis much easier, and you don’t have to waste time measuring every sensor in your car engine. you also don’t have to guess and replace the wrong parts.

so the best way to find out why your car shuts off while driving is to check these trouble codes in the engine control module and see if there is any stored issue. to read the fault codes, however, you need an obd2 scanner. you can either buy one yourself, or you can go to a repair shop, and they will read the codes for you.

continue 2022年世界杯淘汰赛 with the information you received from the diagnostic scanner. for example if you find a misfire trouble code, it could be caused by bad spark plugs, the ignition coil, or the ignition system.

2. check the alternator voltage

alternator test

if you don’t have an obd2 scanner or can’t find any stored trouble codes, the next thing you want to do is check the alternator voltage with the engine running.

basically, you need to apply the emergency brakes and start the engine and measure the voltage of the car battery with a multimeter. if you get a reading below 12.5 volts, there may be a problem with your alternator or charging system.

here is a complete guide on how to test your alternator: how to test a car alternator (5 steps)

3. fill the fuel tank

fill fuel tank

while it may seem obvious that you need to fill up the fuel tank, you may actually be low on fuel even if you don’t know it. low fuel can cause the engine to stall when cornering at higher speeds because the fuel pump will suck air instead of fuel.

there is also a risk that the fuel gauge sensor in your tank is faulty, and your fuel level is low even though your fuel gauge says it is full. so this is definitely something you want to check by opening the fuel cap and adding a little fuel.

4. check fuel pressure

car fuel pressure

low fuel pressure is another common issue when your car shuts off while driving, so you’ll want to check the fuel pressure in your car. the best way to check fuel pressure is to connect a manual pressure gauge to the fuel rail or line.

you can also use a diagnostic scanner to measure the pressure from the vehicle’s pressure sensor if there is one, but there is always a risk that this sensor is bad. check the fuel pressure specifications for your car, and if you notice that the fuel pressure is low, you need to inspect the fuel filter, fuel pump and fuel pressure regulator.

related: 7 symptoms of low fuel pressure (& 6 common causes)

5. inspect the tachometer


the rpm meter or so-called tachometer on your dashboard receives the information from the crankshaft position sensor in most car models.

if you notice that your tachometer does not work when your car shuts off while driving, or if it does not move when you start the engine, it could mean that there is a problem with the crankshaft position sensor or camshaft position sensor.

6. check the dashboard

dashboard warning lights

the next thing you want to check is the lights on your dashboard when your car shuts off. if you notice that the lights on the dashboard turn off when the car engine shuts off, this may indicate a problem with the ignition switch.

but it can also be caused by low battery voltage due to a bad alternator as we discussed earlier. if that’s the case, you definitely want to inspect both of these things.

7. check sensor data

car diagnostic sensor data

if you cannot find any error codes stored in the ecu, but still have a problem with your car, you need to check data from all car engine sensors with an on-board diagnostic test.

to check this data, you need a diagnostic tool compatible with your car’s engine control module. it can also be quite difficult to know what readings these sensors are supposed to give, so you will first need to obtain a repair manual or the specifications of your vehicle.

8. talk to a professional

professional mechanic

if you’ve tried everything above but your car still shuts off while driving, it may be wise to seek the help of a professional. although it may cost a lot of money, it may be wise to get help from someone who has dealt with this issue many times before.

it’s also not certain that it will be more expensive to have a mechanic take a look at it, if he can locate the problem quickly and accurately instead of replacing the wrong parts.


frequently asked questions

can low oil cause a car to shut off?

low engine oil levels do not usually cause your car to shut off while driving. but if it’s so low that your oil pressure is getting low, the car may turn off the engine for safety reasons. however, this is often only in newer cars.

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

a bad car battery rarely causes the engine to shut down because the alternator provides the power required. there may be a short circuit in the car battery in some rare cases. this will cause the car to shut down.

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 rpm 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 shuts 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.


when your car shuts off while driving at the side of the road, it can be really annoying, as the problem can sometimes be hard to pinpoint. fortunately, modern cars have built-in diagnostic systems that can be used to find out what is wrong with your car. therefore, you should always start by reading the error codes with a diagnostic tool before diagnosing your car further.

i hope this guide helped you with your car problem, and if you went through this article carefully, i’m sure you should find a solution for your car.

learn more:

want to ask a car question? ask for free in our new community!

magnus sellén
written by:

magnus, the founder and owner of 2022世界杯非洲赛程表 , is an experienced car mechanic and diagnostic technician with over a decade of experience in advanced car diagnostics and 2022年世界杯淘汰赛 . by holding certification as an automotive diagnostic technician, magnus's technical expertise is widely recognized and forms the bedrock of the trusted advice shared here. his background is further enriched by his time as a motorsport (drifting) driver for sellén drifting, which reflects a deep passion and extensive involvement in the automotive industry. magnus is committed to using his extensive knowledge and enthusiasm for cars to provide reliable, accurate and practically sound advice.

related posts