Fix a Computer That Keeps Restarting Randomly
In this article
Yes, a computer that keeps restarting randomly can usually be fixed by identifying and resolving the underlying cause, which is often overheating, driver conflicts, faulty hardware, or corrupted system files. The first step is to rule out simple issues like power supply problems or overheating before moving to software fixes like updating drivers or scanning for system errors.
What You'll Need
- Access to the computer's BIOS/UEFI settings
- Administrator account on the operating system
- External USB drive (optional, for creating recovery media)
- Basic computer tools (screwdriver, compressed air)
- Stable internet connection (for driver and system updates)
Step-by-Step
- Check for overheating: Turn off the computer and open the case. Use compressed air to clean dust from fans, heatsinks, and vents. Ensure all internal fans (CPU, GPU, case) are spinning when powered on. Monitor CPU and GPU temperatures using tools like HWMonitor or Core Temp. If temperatures exceed 85°C under load, thermal throttling or automatic shutdowns may be triggering restarts.
- Inspect the power supply: Ensure the power cable is securely connected. Test with a different power cable or outlet if possible. If using a desktop, consider testing with a known-working power supply unit (PSU). A failing PSU can cause unexpected reboots.
- Boot into Safe Mode: Restart the computer and press F8 (or Shift + Restart on Windows 10/11) to access the Advanced Startup Options. Choose Safe Mode with Networking. If the system remains stable in Safe Mode, the issue is likely software-related—such as a driver or startup program.
- Update or roll back drivers: In Safe Mode, open Device Manager (press Win + X and select it). Look for devices with yellow warning icons. Focus on graphics, chipset, and network drivers. Right-click each and choose 'Update driver' or 'Roll back driver' if a recent update coincided with the issue.
- Run System File Checker (SFC): Open Command Prompt as administrator and type
sfc /scannow. This scans for and repairs corrupted Windows system files. Wait for the process to complete and restart normally to see if the issue persists. - Check for Windows updates: Go to Settings > Update & Security > Windows Update. Install any pending updates. Microsoft often releases patches that fix stability issues causing random restarts.
- Scan for malware: Use Windows Security or a trusted third-party antivirus to run a full system scan. Malware can cause system instability and unexpected reboots.
- Review Event Viewer logs: Press Win + X and select Event Viewer. Navigate to Windows Logs > System. Look for critical errors or warnings around the time of each restart. Focus on events related to 'BugCheck' or 'Kernel-Power'. These can point to hardware or driver failures.
- Test RAM and hard drive: Use Windows Memory Diagnostic (search in Start menu) to test RAM for errors. For storage, run
chkdsk C: /f /rin an elevated Command Prompt to check the system drive for bad sectors. - Adjust power settings: Go to Control Panel > Power Options. Select 'High performance' or 'Balanced' and click 'Change plan settings'. Ensure 'Turn off hard disk after' is set to 'Never' and 'Sleep after' is disabled. Also, disable 'Fast startup' in Power Options > Choose what the power buttons do.
- Update BIOS/UEFI: Visit the motherboard or laptop manufacturer’s website. Download the latest BIOS update and follow their instructions carefully. A corrupted or outdated BIOS can cause instability.
- Perform a clean boot: Use System Configuration (msconfig) to disable all non-Microsoft startup items. If the system stops restarting, re-enable services one by one to identify the culprit.
Common Mistakes
One of the most frequent errors is skipping hardware checks and jumping straight into software fixes. Overheating and failing power supplies are common physical causes that software tools won’t resolve. Another mistake is updating the BIOS without proper preparation—always ensure stable power and follow the manufacturer’s guide exactly. Some users also ignore Event Viewer logs, missing critical clues about the root cause. Finally, disabling antivirus or security updates during troubleshooting can expose the system to further risk.
Tips
Keep a log of when restarts occur and what you were doing at the time—this can help identify patterns. Always back up important data before making major system changes. If using a laptop, ensure it’s on a hard, flat surface to allow proper airflow. Use manufacturer-provided diagnostic tools when available—they’re tailored to your specific hardware. Consider using a surge protector to prevent power-related damage.
Troubleshooting
If the computer still restarts after all steps, consider hardware failure. Test the RAM modules individually using MemTest86. Replace the CMOS battery if the system clock resets frequently. If you suspect the motherboard or CPU, consult a professional technician—these components are not easily tested at home. For laptops, overheating is more common due to compact design; consider professional cleaning or thermal paste replacement. If the system crashes only under heavy load, stress-test components using tools like Prime95 or FurMark to isolate the failing part. As a last resort, perform a clean Windows installation after backing up data—this eliminates deep software corruption.
Frequently Asked Questions
Why does my computer restart instead of shutting down?
This is usually due to Windows Fast Startup being enabled. Disable it in Power Options to allow full shutdowns.
Can a virus cause random restarts?
Yes, certain malware can trigger system instability or force reboots to evade detection or install payloads.
Does outdated BIOS cause random restarts?
Yes, an outdated or corrupted BIOS can lead to hardware incompatibilities and system crashes, especially after OS updates.
How do I know if my PSU is failing?
Signs include random restarts, failure to power on, or unusual noises from the power supply. Testing with a known-good unit is the best confirmation.
Is it safe to update BIOS?
Yes, if done correctly—use a stable power source, follow the manufacturer’s instructions, and don’t interrupt the process.
Should I replace thermal paste?
Yes, especially if the CPU runs hot. Reapplying high-quality thermal paste can significantly reduce temperatures and prevent thermal shutdowns.