PC Restarting by Itself: Causes and Fixes for Random Reboots

Dark monitor on a desk with a large red circular restart arrow icon glowing on its blank screen.

A PC restarting by itself with no warning can be caused by heat, a power problem, faulty memory, a driver or malware. The first job is to find out what Windows recorded when it happened, then test the likely causes in order. If your PC restarts only when you choose Shut down, or switches itself back on after shutting down, see Windows 11 restarts instead of shutting down instead.

Windows 10 note: Windows 10 reached end of support on October 14, 2025, so it no longer gets free security updates. These steps also work on Windows 10. Consider moving to Windows 11 or enrolling in Extended Security Updates.

Step-by-step: find the cause

Step 1: Note the pattern

Write down when it restarts: while gaming, at idle, after waking from sleep, or during startup. Restarts only under load point to heat or power. Restarts at idle or after sleep point to drivers or settings. If you are not sure which of these fits your PC, the interactive Repair Assistant can help you pick the right step.

Step 2: Stop the automatic restart to see the error

If a blue screen appears for a moment and the PC restarts, turn off the automatic restart so you can read the error.

  1. Press Windows + R, type sysdm.cpl and press Enter.
  2. Open Advanced > Startup and Recovery > Settings.
  3. Untick Automatically restart and select OK.

Next time, write down the stop code (for example WHEA_UNCORRECTABLE_ERROR). The blue screen guide lists what common codes mean: blue screen errors. If the PC restarts with no blue screen at all, that points to a sudden power loss or a hardware reset, so go to Step 3.

Step 3: Read Event Viewer

Press Windows + R, type eventvwr and open Windows Logs > System. Look near the time of the restart for:

  • Kernel-Power, ID 41 (critical): the PC restarted without shutting down cleanly. Double-click it and open the Details tab. A BugcheckCode of 0 means there was no blue screen, which fits a power loss, overheating shutdown or hard reset. A non-zero code means a blue screen happened (you can look the code up).
  • BugCheck, ID 1001: Windows recorded a blue screen and its stop code. A common one is IRQL_NOT_LESS_OR_EQUAL, covered in our guide to fixing IRQL not less or equal errors.
  • EventLog, ID 6008: the previous shutdown was unexpected.

Also open Reliability Monitor (Windows + R, perfmon /rel) to see the crash timeline. If nothing is logged except ID 41 with code 0, suspect heat or the power supply first. For more on these logs, see Windows 11 random restarts and Event Viewer.

Step 4: Check heat

Install a free tool such as HWiNFO and watch the CPU and GPU temperatures while you do what triggers the restart (see how to check CPU and GPU temperature). If the PC restarts as the temperature climbs toward the maximum for your model, clean it and improve airflow. See fix a PC that keeps overheating.

Step 5: Test the memory

Faulty RAM can cause sudden restarts. Press Windows + R, type mdsched.exe and choose Restart now and check for problems. Any error means faulty memory or an unstable profile. A pass is not proof, so follow our guide to check if your RAM is failing for the longer test.

Step 6: Check the power supply and cables

A power supply that cannot deliver enough power under load can cut power or restart the PC. This is a common cause when restarts happen only in games or heavy work, with no blue screen. Check that the power cable, the 24-pin cable and the CPU and graphics card power connectors are firmly seated (PC unplugged first). Try a different wall outlet without an extension strip. If you can, test with a known-good power supply. See how to test a PC power supply safely.

Step 7: Update drivers and Windows, and roll back recent changes

Install the latest chipset and graphics drivers from the manufacturer (see how to update drivers in Windows 11 safely). If the restarts began after a change:

  • Driver: open Device Manager, double-click the device (often Display adapters), open the Driver tab and choose Roll Back Driver.
  • Windows update: open Settings > Windows Update > Update history > Uninstall updates (see how to uninstall a Windows update).
  • System Restore: press Windows + R, type rstrui and pick a date before the problem (see how to use System Restore).

Step 8: Check for forced update restarts

Windows may restart to finish updates. Open Settings > Windows Update > Advanced options and check the active hours and the restart notification setting. Update restarts normally show a message first, so a restart with no warning at all is usually something else. If Windows instead refuses to shut down, see fixing Windows that will not shut down.

Step 9: Scan for malware

Run a full scan with our malware removal guide.

Step 10: Test with Fast Startup off and default BIOS settings

Back up your important files first. Note or photograph your current BIOS settings before you change them, so you can restore them later.

  1. Open Control Panel > Power Options > Choose what the power buttons do > Change settings that are currently unavailable and untick Turn on fast startup. Save and restart.
  2. Enter the BIOS and choose Load Optimized Defaults. This also turns off any overclock and XMP or EXPO profile. Save and restart.

If the restarts stop after one of these, that setting was the cause.

If nothing works

  • Repair Windows files: SFC and DISM.
  • Back up your files, then try resetting Windows 11 without losing your files. If the restarts continue on a fresh Windows, the cause is hardware.
  • Hardware faults that the tests above do not find (motherboard, CPU, power supply) need a repair shop with spare parts.

More help

For other problems, search by symptom in the PC repair guides on PC Repair Atlas.

FAQ

Is it the power supply? It can be, especially if restarts happen under load with no blue screen. Swapping in a known-good unit is the clearest test.

Can Windows updates cause restarts? Yes, but they should show a message first. Restarts with no warning are usually hardware or driver problems.

Should I keep using the PC? Back up your files and fix the cause soon, since sudden power loss can damage files.