sodcalculator

10 Tech How-To

How to Fix a Computer Turning Off by Itself

Guide 10-53824 · Updated · Step by step

When your computer shuts down unexpectedly, it’s usually a sign of overheating, a failing power supply, or a software issue. This guide walks you through the most common causes and fixes, from simple software checks to hardware diagnostics, so you can get your machine running reliably again.

What You’ll Need

  • Can of compressed air
  • Soft cloth or anti-static wipe
  • Screwdriver (usually Phillips head)
  • Thermal paste (if you plan to reapply)
  • Access to your computer’s BIOS/UEFI (usually by pressing Del, F2, or F12 during startup)
  • Optional: multimeter for testing the power supply

Step-by-Step

  1. Check for overheating – The most common cause. Feel the exhaust air at the back or side of the case. If it’s hot to the touch, or the fans are spinning loudly, overheating is likely. Download a temperature monitoring tool (like Core Temp or HWMonitor) and note your CPU and GPU temperatures while idle and under load. If they exceed 90°C (194°F) under load, you need to improve cooling.
  2. Clean the dust – Turn off the computer, unplug it, and open the case. Use compressed air to blow out dust from fans, heatsinks, and vents. Pay special attention to the CPU cooler and power supply fan. Dust acts as an insulator, trapping heat.
  3. Ensure fans are working – With the case open, power on the computer. Watch all fans (CPU, GPU, case) – they should spin up. If any fan is stuck or not spinning, replace it. Also check that fan cables are securely connected.
  4. Check power supply health – A failing power supply can cause sudden shutdowns, especially under load. If you have a multimeter, you can test the voltages (though this is advanced). Simpler: listen for unusual noises (buzzing, clicking) from the PSU. If the PSU is more than 5 years old or is a low-wattage unit, consider replacing it with a quality unit from a reputable brand.
  5. Update drivers and OS – Outdated or corrupt drivers, especially graphics and chipset drivers, can cause crashes. Go to your manufacturer’s website and download the latest drivers for your hardware. Also run Windows Update or macOS Software Update to ensure your OS is current.
  6. Run a virus scan – Malware can cause system instability. Use Windows Defender (or your preferred antivirus) to run a full system scan. Also consider a second opinion with Malwarebytes.
  7. Check Event Viewer (Windows) or Console (macOS) – Look for critical errors or warnings just before the shutdown time. This can pinpoint the cause (e.g., kernel-power event 41 often indicates a power issue).
  8. Test RAM for errors – Faulty RAM can cause random shutdowns. Use Windows Memory Diagnostic (search in Start menu) or Memtest86. Let it run for several passes.
  9. Check for faulty hardware – If you have a spare power supply or RAM, try swapping them. If the problem disappears, the part was faulty.
  10. Reset BIOS/UEFI settings – Sometimes a misconfigured BIOS can cause issues. Enter BIOS (usually Del/F2/F12 during boot) and select “Load Optimized Defaults” or “Reset to Default.” Save and exit.
  11. Reapply thermal paste – If your computer is old and you’ve never replaced the thermal paste between the CPU and its cooler, it may have dried out. Remove the cooler, clean both surfaces with isopropyl alcohol, apply a pea-sized drop of new paste, and reattach.

Common Mistakes

  • Ignoring the power supply – Many users focus on software and overlook the PSU, which is a common culprit.
  • Not cleaning the power supply fan – Dust in the PSU can cause it to overheat and shut down.
  • Overclocking without proper cooling – If you’ve overclocked your CPU or GPU, ensure your cooling is adequate.
  • Using a low-quality power strip or UPS – Fluctuations in power can cause shutdowns. Use a surge protector or UPS.
  • Assuming it’s a software issue first – Hardware issues are more common for random shutdowns.

Tips

  • Keep your computer in a well-ventilated area, away from walls and other heat sources.
  • Use a can of compressed air every 3-6 months to prevent dust buildup.
  • Monitor your temperatures periodically to catch issues early.
  • If you’re not comfortable opening the case, take it to a professional.
  • Consider a UPS (uninterruptible power supply) to protect against power surges and outages.

Troubleshooting

If the steps above don’t solve the problem, try these additional checks:

  • Test with a different power outlet – A faulty wall socket can cause issues.
  • Disconnect external devices – Unplug all USB devices, external drives, etc., and see if the problem persists.
  • Check the motherboard for bulging capacitors – If you see any swollen or leaking capacitors, the motherboard may be failing.
  • Run a stress test – Use a tool like Prime95 or FurMark to stress the CPU and GPU. If it shuts down during the test, it’s likely a hardware issue.
  • Check for a short circuit – Ensure no stray screws or cables are touching the motherboard.

Frequently Asked Questions

Why does my computer turn off when playing games?

Gaming puts high load on the GPU and CPU, generating more heat. If your cooling is insufficient or the power supply can’t handle the load, the system shuts down to protect itself. Improve cooling and check the PSU wattage.

Can a virus cause my computer to shut down?

Yes, some malware can cause system instability, including shutdowns. Run a full antivirus scan to rule this out.

How do I know if my power supply is failing?

Common signs include random shutdowns, especially under load, unusual noises from the PSU, and the computer failing to start. You can also use a PSU tester or multimeter to check voltages.

Is it safe to keep using my computer if it shuts down randomly?

It’s not recommended. Random shutdowns can indicate a serious hardware issue that could lead to data loss or permanent damage. Back up your data and fix the issue as soon as possible.

Why does my computer shut down and restart instead of staying off?

This is often a software issue, like a driver conflict or a Windows update problem. Check Event Viewer for the error and try a system restore to a point before the issue started.

How often should I clean my computer’s interior?

Every 3-6 months, depending on your environment. If you have pets or live in a dusty area, clean more frequently.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →