A PC that restarts randomly is usually caused by overheating, a failing or undersized power supply, unstable RAM, or a Windows setting that automatically restarts after a crash. Check temperatures and power connections first, then test RAM, before assuming a component has failed.

Key Takeaways
  • Overheating and power supply issues are the most common causes.
  • Windows can be set to auto-restart after a crash, hiding the real error.
  • Unstable RAM or an overclock can also trigger random restarts.
  • Check Event Viewer for the actual error behind the restart.

Check What Windows Says First

Open Event Viewer, go to Windows Logs, then System, and look for a Critical or Error event around the time of the restart. This often names the actual cause, such as a kernel power event pointing to a sudden power loss, or a specific driver failure.

Common Causes and Fixes

1. Overheating

A CPU or GPU that hits its thermal limit can force a restart to protect itself. Check CPU overheating and GPU overheating for temperature checks and fixes, and clean dust from all coolers.

2. A failing or undersized power supply

A power supply that can’t deliver stable power under load, especially during gaming or heavy tasks, is one of the most common causes of a sudden restart or shutdown. If the supply is old, cheap, or undersized for your components, that’s the first thing to suspect.

3. Unstable RAM or an overclock

Run MemTest86 to rule out faulty memory, and reset any XMP profile or manual overclock to stock settings to see if the restarts stop.

4. Windows set to auto-restart on error

By default, Windows can restart automatically after a system crash instead of showing an error, which makes the problem look like a random restart. Disable this temporarily in Advanced System Settings, under Startup and Recovery, to see the actual blue screen error next time.

5. A failing CMOS battery or loose connection

See CMOS battery for its role, and reseat major connections including RAM, the GPU, and all power cables, since a loose connection can cause intermittent restarts.

6. Malware or a corrupted driver

Run a full malware scan with Windows Security, and update graphics and chipset drivers to their latest versions.

Note: if restarts happen only during heavy gaming or rendering, heat or power delivery is the most likely cause. If they happen randomly during light use too, suspect RAM, drivers, or Windows settings instead.

If Nothing Works

Test with one stick of RAM at a time, and if you have access to a spare power supply, try swapping it in temporarily. Isolating components this way, using a tool such as HWiNFO to log temperatures throughout, is the most reliable way to find an intermittent hardware fault that doesn’t show a clear error message.

On the CPU/RAM/GPU side: CPU overheating RAM not detected.

Frequently Asked Questions

Can a bad power supply cause random restarts?

Yes, this is one of the most common causes, especially if restarts happen under load such as gaming or heavy multitasking.

Does overheating cause a PC to restart?

Yes. Both the CPU and GPU can trigger a restart or shutdown as a safety measure when they exceed safe temperatures.

How do I find out why my PC restarted?

Check Event Viewer’s System log around the time of the restart for a Critical or Error event that names the specific cause.

Can RAM cause random restarts?

Yes, particularly with an unstable overclock or a genuinely faulty stick. Testing with MemTest86 and resetting XMP to stock helps rule this out.