Car shut down while driving, but started right back

Car ran fine before today I got on the freeway and my car shut down on me I pulled over and it started right back up prove it another ten miles or so until it shut down on me again but wouldn't start all it did was turn over meanwhile while I was driving it that 10 miles I was only going about 40 miles an hour because it seemed like the car had a loss of power my car's been sitting and all it wants to do is turn over now but not start could this be the computer or fuel pump

My car has 160000 miles.
My car has an automatic transmission.

Experienced mechanics share their insights in answering this question :
Hello – your diagnostic intuition is good, this problem is most likely a fuel supply problem! A failing fuel pump, clogged fuel filter, or fuel pump with burned contacts could all cause the "loss of power" behavior you experience. If you do not hear the fuel pump running, or it sounds loud and harsh, that would further suggest a pump failure if the fuse is good. I would recommend an inspection of the fuel supply system to address the loss of power and stalling. A mobile, professional mechanic, such as one from YourMechanic, will come to your location, confirm this diagnosis, give you an accurate assessment of damage and cost estimate for repairs

How to Identify and Fix Common car Problems ?

Our sources include academic articles, blog posts, and personal essays from experienced mechanics :

If the engine starts right back up after stalling, the likely cause is low fuel volume delivery because of a weak pump. If the engine is running normally one minute, but suddenly quits, loss of ignition may be the problem. This can be caused by anything that disrupts the ignition system.
A faulty crankshaft position sensor will be unable to identify the exact piston position, triggering an engine misfire. This causes your car to shut off while driving. A drop in performance, fuel efficiency, rough engine, etc., are some important symptoms of a damaged crankshaft position sensor.
Common reasons for this to happen:

Low fuel pressure, dirty or defective fuel injectors, or broken fuel pump: The fuel pump is responsible for transferring fuel from the tank to the engine.

Fuses – If the car dies while idling but restarts, there`s a possibility that there might be an issue with the fuses of the car. It`s conceivable that one of the fuses has blown. Take each fuse from the box and hold it up to the light.
If too much fuel is added to the engine, it may not all burn up before the exhaust valves open — letting unburned gasoline into the red-hot exhaust headers, where it can combust and lead to a backfire. Too much fuel could be getting into your engine due to damaged and leaking fuel injectors or bad engine sensors.
Change the oil RELIGIOUSLY every 3,000 miles, and the engine will easily last 200,000 miles.
Malfunctioning spark plugs can make an engine stop for a while and resume its normal functioning. It can happen when you are driving. The engine can also sound rough when idle. The misfires affect the proper functioning of your car`s engine due to failing spark plugs that have no power to ignite the fuel-air mixture.
If the torque converter is broken, or if there is a low fluid level in the transmission, the converter will not do its job, and the car will be unable to maintain power at low speeds, which causes the engine to shut off.

Relevant Questions and Answers :

the most relevant questions and answers related to your specific issue

My car shuts off while driving and then turns back on multiple times or shuts off after driving and car turns off.
ANSWER : Hi there. Check the alternator and make sure that the wiring it connected tight. Check the battery cables and make sure that they are tight and clean. Look for any loose ground wires to the chassis on the vehicle. If everything checks out to be working correctly, then the PCM may need to be replaced as it may have a battery disconnect condition. If you need further assistance with multiple functions shutting off, then seek out a professional, such as one from Your Mechanic, to help you.

car hesitates when trying to start the car ,but when started then i shut car off and start again it will start right up
ANSWER : Hi there:

Sometimes when you have problems starting an engine initially it is caused by a restriction in fuel flow; caused either by clogged fuel injectors or the throttle body that needs to be cleaned. Once the fuel starts to flow and engine warms up, it’s much easier to start. However, it could also be an air filter, EGR valve or other components that causes this issue as well, which is why it’s best to have a professional mobile mechanic complete a car is hard to start inspection so they can pinpoint the source of this issue.

My car will not start Intermittently. I purchased a new battery 2 weeks ago and yesterday the car wouldn’t start. Got a jump and
ANSWER : The issue you are having is probably due to an intermittent fault in the starter motor itself or a deficiency in the starter electrical circuit, for example a large voltage drop due to a poor ground or a high resistance connection. These issues can be readily diagnosed and resolved on a mobile basis if you request a hard starting diagnostic. If you request that diagnostic, the responding certified mechanic will get this resolved for you promptly. Based on Toyota’s Factory Service Manual, the battery should not be disconnected if the vehicle engine is running. The battery acts as a large resistive voltage sink and consequently taking the battery out of the circuit, while the alternator is still running, can create a voltage spike on the car’s electrical system which is not good for voltage sensitive components such as the engine computer. If you have further questions or concerns, do not hesitate to re-contact YourMechanic as we are always here to help you.

Car shut down while driving, but started right back
ANSWER : Hello – your diagnostic intuition is good, this problem is most likely a fuel supply problem! A failing fuel pump, clogged fuel filter, or fuel pump with burned contacts could all cause the "loss of power" behavior you experience. If you do not hear the fuel pump running, or it sounds loud and harsh, that would further suggest a pump failure if the fuse is good. I would recommend an inspection of the fuel supply system to address the loss of power and stalling. A mobile, professional mechanic, such as one from YourMechanic, will come to your location, confirm this diagnosis, give you an accurate assessment of damage and cost estimate for repairs

My car stutter starts, but only after driving it for a few minutes.
ANSWER : Hey there. This may also be caused by what is called the fuel pressure regulator. This is a unit that helps to maintain the fuel pressure at the proper level. When this is not working properly, the fuel pump may be pumping properly, but the fuel may not arrive at the fuel injectors at the proper psi. When this happens, this can cause a lean fuel condition which may cause the car to hesitate, misfire, or stall. If you would like to have an expert pinpoint the issue, a certified professional from YourMechanic can come to your car’s location to inspect the hard start problem and confirm which repairs are needed.

I put the wrong key in my car and a few weeks later my car just shut down and it will not start I believe it’s the computer but…
ANSWER : Hi there. What had happened is the wrong key set the security to the vehicle. This is to prevent the vehicle from starting with the wrong keys. Try removing the battery cables (+) and (-) for 13 minutes. During that time, put the original key in the ignition and turn it on. Activate everything in the car even though there is no power. Then remove the key and hook up the battery cables. The computer should have reset and reset the security. If the security is still being tripped, then I recommend seeking out a professional, such as one from Your Mechanic, to help you

Whenever I drive 1.5 miles, the s3 light starts blinking and then when I stop my car and come back to it, the car won’t start.
ANSWER : Hello, thank you for writing in. It is difficult to determine the issue without some more information. To start, when the check engine light illuminates, you want to scan the vehicle for diagnostic codes. These are what set the check engine light off, and are meant to tell the driver what the computer has detected is wrong. Codes can be pulled at most automotive parts stores, and by most technicians. Once you have that information you can focus in on one component or system. If the engine is truly overheating, then you want to start by checking your coolant and fluid levels. For more help with diagnosing and resolving the issue, contact our service department to schedule an appointment.

Car starts but want drive?
ANSWER : Hi There,
It sounds like you are describing the symptoms of a failing throttle position sensor. The throttle position sensor monitors the throttle position of the throttle plate inside the throttle body in relation to your foot position on the gas pedal. Based upon the inputs from the sensor reading your foot’s position on the pedal, the ECU then makes the direction to supply more or less fuel to the motor. When this sensor is not working properly, this can cause intermittent responses when pressing the gas pedal. I would suggest having a professional from Your Mechanic come to you home to diagnose and inspect your vehicle.