The most common reasons your PC shuts down on its own
Your PC is shutting down because of one of five things: overheating, a failing power supply, corrupted Windows files, a driver problem, or a hardware fault. The fastest way to find out which one is to check Windows Event Viewer, which logs every shutdown and the reason for it. Open Event Viewer by typing "Event Viewer" into your Windows search bar, then navigate to Windows Logs > System. Look for entries marked "Critical" or "Error" that happened right before your shutdown. The message will often name the culprit — "thermal shutdown", "power failure", "kernel panic", or a specific driver name.
If Event Viewer shows nothing useful, your next step depends on when the shutdown happens. Does it occur during heavy use (gaming, video editing, large file transfers)? That points to overheating or power supply failure. Does it happen randomly while you are idle or browsing? That suggests a driver conflict or corrupted Windows file. Does it happen when ready after you turn the PC on? That usually means a hardware problem or BIOS setting gone wrong.
Key Takeaways
- Check Windows Event Viewer (System logs) for "Critical" or "Error" entries timestamped at the moment of shutdown — the message often names the cause directly.
- Overheating during heavy use is the most common cause; clean dust from your fans and heatsink, and check that your CPU cooler is seated properly.
- A failing power supply will cause shutdowns under load; if your PC shuts down while gaming or rendering but stays on while idle, test the PSU with a different one or a PSU tester.
- Corrupted Windows files or driver conflicts cause random shutdowns; boot into Safe Mode to see if the problem stops, which narrows it down to a recent driver or software update.
- If Event Viewer is empty or shows hardware errors, run Windows Memory Diagnostic to test your RAM, which is a common but overlooked cause.
Overheating as the cause and how to check temperatures
Overheating is the single most common reason for unexpected shutdowns, especially if the shutdown happens during gaming, video rendering, or any task that loads your CPU or GPU heavily. Your PC has a built-in thermal cutoff — when your CPU or GPU reaches a critical temperature (usually 90–100°C depending on your processor), Windows shuts down to prevent permanent damage to the chip.
To check your temperatures, read a free tool like HWiNFO or Core Temp. Run the tool, then start the activity that normally triggers the shutdown. Watch the temperature readings. If your CPU hits 85°C or higher, or your GPU hits 80°C or higher, overheating is your problem. The fix is usually one of three things: dust buildup on your heatsink or fans, a cooler that is not making good contact with the CPU, or a room temperature that is too high. Open your case, use compressed air to blow dust out of your heatsink and fans (hold the fan blades still so they do not spin), and reseat your CPU cooler by removing it, cleaning the old thermal paste off with isopropyl alcohol, explore fresh paste, and reinstalling it. If you are not comfortable opening your case, a PC repair shop can do this in under an hour.
Power supply failure and how to test it
A failing power supply will cause your PC to shut down suddenly, usually when you are running demanding software. The shutdown feels like you pulled the plug — no warning, no graceful shutdown, just darkness. This happens because the PSU cannot deliver enough stable power under load, so it cuts out as a safety measure.
The first sign is usually that shutdowns happen only during heavy use (gaming, video editing, large file transfers) but not when you are browsing or working in documents. If that matches your situation, your PSU is the likely culprit. To confirm, you can test it with a PSU tester (a small device that plugs into the 24-pin motherboard connector and lights up if the PSU is working), which costs around $20–30 and is reusable. Alternatively, borrow a known-good power supply from a friend or take your PC to a repair shop and ask them to swap in a test PSU for 15 minutes. If the shutdowns stop with a different PSU, your original one is failing and needs replacement. A new PSU typically costs $50–150 depending on wattage and quality.
Corrupted Windows files and driver problems
If your PC shuts down randomly at any time — not just during heavy use — the problem is usually a corrupted Windows file or a driver conflict. This often happens after a Windows Update, a driver update, or the installation of new software. The shutdown may or may not be preceded by a blue screen of death (BSOD); sometimes Windows just cuts out.
To narrow this down, restart your PC and boot into Safe Mode by holding Shift while clicking Restart from the Windows Start menu, then selecting Troubleshoot > Advanced Options > Startup Settings > Safe Mode. In Safe Mode, Windows loads only essential drivers and services. If your PC does not shut down in Safe Mode, the problem is a third-party driver or software. If it still shuts down in Safe Mode, the problem is Windows itself. For a driver problem, go to Device Manager (right-click the Start button and select Device Manager), look for any devices with a yellow warning triangle, right-click them, and select "Uninstall device". Restart and let Windows reinstall the driver automatically. If you recently updated a specific driver (GPU, chipset, audio), uninstall it and roll back to the previous version through Device Manager or the manufacturer's website.
For a Windows file problem, open Command Prompt as Administrator (right-click Command Prompt and select "Run as administrator") and type sfc /scannow. This scans and repairs corrupted system files. It takes 15–20 minutes. Restart when it finishes. If the problem persists, type DISM /Online /Cleanup-Image /RestoreHealth to repair the Windows image itself.
RAM failure and how to test it
A failing RAM stick will cause random shutdowns, freezes, or blue screens of death. The shutdown can happen at any time and is often preceded by strange behavior like stuttering, graphical glitches, or programs crashing. Many people overlook RAM because the symptoms look like software problems.
To test your RAM, open Windows Memory Diagnostic by typing "Memory Diagnostic" into your Windows search bar and selecting "Windows Memory Diagnostic". Choose "Restart now and check for problems". Your PC will restart and run a memory test that takes 10–15 minutes. If errors are found, one of your RAM sticks is failing. The fix is to replace it. If you have two sticks, you can also try removing one stick, running your PC for a day, then swapping in the other stick and running it for a day. Whichever stick causes the problem is the faulty one. A replacement RAM stick costs $30–80 depending on capacity and speed.
BIOS settings and hardware conflicts
Less commonly, a wrong BIOS setting or a loose internal component can cause shutdowns. If your PC shuts down when ready after turning on, or if it shuts down only when a specific USB device or external drive is connected, check your BIOS. Restart your PC and press Delete, F2, or F12 during startup (the key varies by motherboard — watch the boot screen for the prompt). Look for settings related to power management, thermal protection, or boot order. If you have recently changed anything, reset to defaults by selecting "Load Optimized Defaults" or "Reset to Factory Settings". Save and exit.
If the shutdown happens only when a specific device is plugged in, the device may be drawing too much power or causing a driver conflict. Try plugging it into a different USB port, or into a powered USB hub instead of directly into the PC. If the problem stops, the issue was power delivery or a port-specific driver problem.
When to replace your PC versus repair it
Most shutdown problems can be fixed for under $100 — a new cooler, a PSU replacement, or a RAM stick. The exception is if Event Viewer shows hardware errors on your motherboard or CPU, or if multiple components are failing at once. In that case, the cost of repair may exceed the value of the machine, especially if your PC is more than five years old.
A used PC in good condition costs $200–500, and a new budget PC costs $400–700. If your repair bill will exceed half the cost of a replacement, replacement is usually the better choice. Before you decide, get a quote from a local repair shop — many offer free diagnostics and can tell you exactly what needs fixing and what it will cost.
Frequently Asked Questions
How do I know if my PC is overheating or if the power supply is failing?
read HWiNFO and watch your temperatures while the shutdown happens. If your CPU or GPU is above 85°C, it is overheating. If temperatures are normal (below 70°C) when the shutdown occurs, your power supply is likely failing. Overheating shutdowns usually happen during heavy use; PSU failures happen under load but can also happen randomly.
Can I fix a shutdown problem without opening my PC?
Yes, for driver and Windows file problems. Boot into Safe Mode and run the System File Checker (sfc /scannow) and DISM repair commands from Command Prompt. If the problem stops in Safe Mode, it is a driver issue you can fix through Device Manager. If it persists, take your PC to a repair shop — opening the case yourself risks damaging components if you are not experienced.
What does it mean if Event Viewer shows "kernel power" errors?
Kernel power errors mean Windows shut down unexpectedly, usually due to overheating, power supply failure, or RAM problems. They do not pinpoint the cause. Check your temperatures first, then test your RAM with Windows Memory Diagnostic, then consider PSU failure if both check out.
Will Safe Mode help me figure out what is wrong?
Yes. If your PC shuts down in Safe Mode, the problem is Windows or a system driver. If it does not shut down in Safe Mode, the problem is a third-party driver or software. This cuts your troubleshooting time in half because you know where to look.
Is it safe to keep using my PC if it keeps shutting down?
It depends on the cause. Thermal shutdowns are safe — they are designed to protect your hardware. Power supply failures and RAM problems can damage your motherboard or data if left unfixed. If Event Viewer shows hardware errors, stop using the PC and have it repaired before the damage spreads.