Year, make, model and engine would help but, a bad timing belt or a bad fuel pump could do that.
"That usually points to something heat-related common causes are a failing fuel pump, crankshaft sensor, ignition coil, or even vapor lock. These parts can work fine when cold but start failing once the engine warms up. I dealt with something similar and taking it to Bergman’s Auto Repair they took the time to test it properly after warming up the car and found the exact cause instead of guessing. Definitely worth diagnosing early, because problems like this tend to get worse and leave you stranded."
Possible a bad or corroded ground cable .
I am no mechanic, but I had the same problem on my 95 Ford Taurus SHO. My car would just shut down while I was driving and turn on for awhile after it shut off. After looking around, I found out it was the crankshaft positioning sensor. I changed it out, and that fixed the problem. I suggest to look online taking to consideration your make and model of your vehicle.
yep... especially if the alternator is bad too
fuel pump
Had to disconnet my radio it was shorting out the engine.
A car shutting off while driving is usually caused by loss of fuel, spark, or power. Common reasons: Fuel issues: empty tank, bad fuel pump, clogged filter Electrical problems: weak battery, bad alternator, loose wiring Ignition faults: failing spark plugs or ignition coil Engine sensors: faulty crankshaft or camshaft sensor Overheating: engine shuts down to prevent damage Air intake issues: clogged air filter or throttle problems Quick tip: If it restarts after a few minutes, it’s often a sensor or fuel pump overheating issue.
toyota mr 2
Faulty ignition wires, distributor cap and rotor could be to blame.
Yes! I got a 1994 MX6 and it would shut down while driving when your oil is low.
If it won't crank, which is probably what you really have going on, it means your battery went bad while you were driving.
Contaminated gas or the wrong type of fuel for the vehicle.