Troubleshooting
Windows 11 Random Shutdown: Find the Cause and Stop It
Written by Windows 11 Field Guide Editorial Team · Updated

A PC that switches itself off in the middle of work loses unsaved documents and can corrupt files. A Windows 11 random shutdown has a small number of usual causes: heat, power, driver or hardware crashes, and updates restarting the PC on schedule. The trick is to find out which one before changing anything. This guide shows where Windows records what happened, then walks through the fixes for each cause, starting with the safest.
The steps apply to Windows 11 version 24H2, 25H2 and 26H2, on desktops and laptops.
What kind of shutdown is it?
| What you notice | Likely type | Main suspects |
|---|---|---|
| Screen goes black instantly, like pulling the plug | Power loss | Overheating, power supply, battery, loose cable |
| Blue screen with a stop code, then restart | System crash | Drivers, faulty RAM, disk errors |
| Restart overnight or at a set time, apps closed | Planned restart | Windows Update |
| PC switches off even in the BIOS/UEFI screen | Hardware | Power supply, overheating, motherboard |
If you see a blue screen, write down the stop code and see Windows 11 blue screen.
Step 1: Read Reliability Monitor
Reliability Monitor gives a day-by-day timeline of crashes and failures:
- Search for View reliability history in Start and open it.
- Look for red X icons under Critical events on the days of the shutdowns.
- Select an event to see details such as “Windows was not properly shut down” or a hardware error, and which app or driver was involved.
Step 2: Check Event Viewer
- Right-click Start and select Event Viewer.
- Go to Windows Logs > System.
- Select Filter Current Log and tick Critical and Error.
- Find entries at the time of the shutdown. Kernel-Power, Event ID 41 means Windows restarted without shutting down cleanly. It does not give the cause; look at the errors just before it, such as disk, driver or WHEA hardware errors.
Step 3: Rule out Windows Update
Open Settings > Windows Update > Update history. If updates installed at the time of the restart, Windows restarted to finish them. Set Active hours in Settings > Windows Update > Advanced options so restarts happen outside your working hours; Microsoft’s active hours page explains the options. See pause Windows 11 updates for short-term control.
Step 4: Heat
Overheating is the classic cause of instant power-offs, especially during games or video work. Microsoft’s Surface guidance notes that a device exceeding its maximum operating temperature shuts down immediately. Use the PC on a hard surface, clear the vents, check Task Manager for apps keeping the processor busy and consider a more efficient power mode. Our Windows 11 laptop overheating guide covers this in detail.
Step 5: Power
- Laptops: test on battery and on the charger. Shutdowns only on battery suggest a worn battery; check it with the battery report.
- Desktops: try another wall socket without an extension lead. A power supply that is old, underpowered for a new graphics card, or failing can switch the PC off under load. Testing it needs a technician or a spare known-good power supply.
- Loose cables: reseat the power cable at both ends.
Step 6: Drivers and recent changes
Microsoft’s guide to unexpected restarts recommends:
- Install the latest updates: Start > Settings > Windows Update > Check for updates.
- Check Device Manager: right-click Start, open Device Manager and look for devices with an exclamation mark. Right-click and select Update driver; if that does not help, try disabling or uninstalling the device.
- Remove new hardware: if you added hardware shortly before the problems started, shut down, remove it and test.
- Use safe mode if the PC restarts too often to work: see Windows 11 safe mode.
- Keep free space: Microsoft suggests keeping 10 to 15 percent of the drive free.
- Restore: if nothing else works, use a restore point or another recovery option; see System Restore.
A graphics driver crash often shows as a black screen and restart during games; install the latest driver from the PC or GPU maker.
Step 7: Test RAM and the drive
- Memory: search for Windows Memory Diagnostic, select Restart now and check for problems, and read the result after signing in.
- System files: run
DISM /Online /Cleanup-Image /RestoreHealthandsfc /scannowin an administrator terminal; see SFC scannow. - Drive: check SSD health as described in check SSD health in Windows 11.
See the stop code next time
By default Windows restarts automatically after a crash, which hides the blue screen. To keep it on screen: search for View advanced system settings, select Settings under Startup and Recovery, clear Automatically restart and select OK. Next time, note the stop code.
Sleep and hibernate can look like shutdowns
Not every “shutdown” is a crash. If the PC goes dark after a period of inactivity and wakes with a key press or the power button, it was sleeping or hibernating. Check Settings > System > Power & battery > Screen, sleep & hibernate timeouts and see change screen timeout in Windows 11. A laptop that goes to sleep when you close the lid is also behaving as configured.
When it is time for a repair
If the PC switches off even in the BIOS/UEFI setup screen, or with nothing running, Windows is not the cause. Contact the PC maker or a repair shop. Back up your files now with Windows Backup or an external drive, since a PC that shuts off at random can fail completely. If it will not start at all, see Windows 11 won’t turn on.
Frequently asked questions
Why does my Windows 11 PC shut down randomly?
Common causes are overheating, a failing power supply or battery, driver crashes, faulty RAM, and updates restarting the PC. Reliability Monitor usually shows which one.
What is Kernel-Power event 41?
An Event Viewer entry recorded when Windows restarts without shutting down cleanly. It says the shutdown was unexpected, not why; look at events just before it and check for heat or power problems.
Could Windows Update be restarting my PC?
Yes. Check Settings > Windows Update > Update history for installs at the time of the restart and set active hours so restarts happen when you are not using the PC.
How do I disable automatic restart on system failure?
In System Properties > Advanced > Startup and Recovery, clear Automatically restart. The PC then stays on the blue screen so you can read the stop code.
Can a bad power supply cause random shutdowns?
Yes, especially on desktops under load, such as when gaming. A failing laptop battery or charger can do the same.
Sources
Windows 11 Field Guide Editorial Team
Editorial team
The Windows 11 Field Guide team writes and updates independent Windows 11 guides and checks each step against Microsoft's documentation and the current Settings app.


