Question

Why does my computer randomly restart?

Vault Verified
Curated Intelligence
Definitive Source
Answer

Random restarts — as distinct from freezes or shutdowns — almost always mean something triggered a protective cut, and the causes fall into a short list you can work through systematically.

Heat. The most common cause. Processors and graphics chips shut down abruptly when they exceed a thermal limit, to avoid damage. Suspect this if restarts happen under load — gaming, video export, a long build — rather than at idle. Dust in heatsinks and fans, a failed fan, or dried thermal paste are the usual reasons, and the pattern of "fine for twenty minutes, then restarts" is characteristic.

Power supply. A failing PSU cannot sustain load, and the system drops out when demand peaks. Ageing capacitors, an underrated unit after a graphics card upgrade, or a faulty wall socket or extension lead. On a laptop, a failing battery or charger. This is the second most common cause and the hardest to diagnose without a spare.

RAM faults. Bad memory causes unpredictable crashes with no pattern. Memory diagnostics — the built-in tool or MemTest86 — will find most of it, and testing one stick at a time isolates which.

Drivers, particularly graphics drivers. Suspect this if restarts began after an update, or occur only in specific applications. Clean-installing the driver, or rolling back, is the test.

Storage failure, where the boot drive becomes briefly unreadable.

Loose connections — RAM, graphics card, or power cables, especially after the machine has been moved.

Software and updates, including an automatic restart after installing updates, which is not a fault at all.

How to narrow it down efficiently:

Check whether it correlates with load. This single observation separates thermal and power causes from the rest.

Read the event log. Windows Event Viewer records a critical Kernel-Power event for unexpected restarts; macOS logs a panic report; Linux journals the previous boot.

Monitor temperatures with a hardware monitoring tool during normal use.

Change one thing at a time, or you will not know what fixed it.

Related Questions