A computer that restarts on its own is most often doing it on purpose after a crash, because both Windows and macOS default to rebooting when the system hits a serious error. The other common triggers are overheating, automatic updates, a weak or failing power supply, bad memory, or a driver conflict. The reliable fix is to read the crash logs and rule out heat and hardware one at a time.
Why this happens
An unexpected restart is almost always a symptom, not the disease. Something forces the machine to reboot, and by default the computer does not stop to tell you what.
- Automatic restart after a crash: When Windows hits a stop error (blue screen), it is set to restart immediately, so you may only see a flash before it reboots.
- Overheating: If the CPU or GPU gets too hot, the hardware shuts down or reboots to protect itself. Dust, a failing fan, or dried thermal paste are common reasons.
- Power problems: A failing power supply, a loose power cable, or a bad outlet or surge can drop power for an instant and force a reboot.
- Faulty RAM or storage: Bad memory modules or a failing drive can cause random crashes and restarts.
- Drivers and updates: A buggy driver (often graphics) can crash the system, and Windows Update can reboot on its own to finish installing.
- Malware: Less common, but some malware forces restarts.
Is this normal?
An occasional restart right after installing updates is normal. Random, repeated restarts during normal use are not normal and point to a heat, power, driver, or hardware fault worth investigating.
Does it cause any problems?
Yes. Sudden restarts can lose unsaved work and, over time, an unclean shutdown can corrupt files or the operating system. If the cause is overheating or a failing power supply, ignoring it can shorten the life of other components.
How to fix or check it
- Stop the auto-restart so you can read the error (Windows): Search for "View advanced system settings," open Startup and Recovery > Settings, and uncheck "Automatically restart." Next time it will show the error instead of rebooting.
- Check the logs (Windows): Open Event Viewer, go to Windows Logs > System, and look for red "Critical" or "Error" entries (such as Kernel-Power Event 41) at the time of each restart.
- Check the logs (Mac): After a restart, a panic report may appear. You can also open Console and review system logs for a kernel panic around the restart time.
- Rule out heat: Clean out dust, make sure fans spin, and check temperatures with a monitoring tool. If restarts happen only under load, heat is likely.
- Test the memory (Windows): Run the built-in Windows Memory Diagnostic (search "mdsched.exe") and let it test on the next reboot.
- Update or roll back drivers: Update graphics, chipset, and network drivers. If the problem started after a recent driver update, roll it back.
- Check power and hardware: Try a different outlet or cable. On a desktop, a failing power supply is a frequent culprit. Reseat RAM and storage if you are comfortable opening the case.
- Scan for malware: Run a full scan with your security software.
Frequently asked questions
Can a virus make my computer restart on its own?
Yes, some malware forces reboots, but it is one of the less common causes. Overheating, power issues, drivers, and failing hardware are far more likely. Run a full malware scan, then keep checking the other causes.
Why does it restart only when I play games or run heavy programs?
Restarts under load usually mean overheating or a power supply that cannot deliver enough stable power. Watch your temperatures during the task and make sure cooling is working before looking at other causes.
Is it the same as a computer that shuts down and stays off?
No. A restart reboots and comes back, which often points to a crash or update. A shutdown that stays off more often points to serious overheating protection or a power delivery failure, though the checks overlap.