Computer Diagnostic & Repair

Why Does My Computer Restart Randomly? Causes and Fixes

TL;DR: Your computer may restart randomly because of overheating, power problems, faulty RAM, driver conflicts, or damaged system files. The pattern of when it restarts can help narrow down the cause.

Laptop on a desk showing a restart screen when the computer restarts randomlyIn this guide:

You’re in the middle of something, an email, a game, a video call, and the screen just goes black. A few seconds later, your computer boots back up like nothing happened. No warning. No “Windows needs to restart” message. Nothing.

You didn’t click restart. You didn’t install anything. So why did your computer decide to reboot on its own?

Random restarts happen on both Windows PCs and Macs, and the cause usually comes down to heat, power, memory, or software. Some problems are easy to rule out at home, while others can point to hardware that needs attention.

The good news is that the way your computer restarts, when it happens, what you were doing, and whether you saw an error first, can give you useful clues. Here’s what to check.

Overheating is one of the first things to check

Dust buildup on a computer cooling fan that can contribute to overheating

Overheating is a common reason a computer shuts down or restarts without warning. Your CPU and GPU generate heat as they work, and if the cooling system can’t keep up, the computer may shut itself down to protect its components.

A few things can make overheating more likely:

  • Dust buildup blocking the fans or air vents
  • Using a laptop on a bed, couch, or blanket that restricts airflow
  • Running demanding programs, such as games or video-editing software, for long periods
  • A cooling fan or other cooling component that isn’t working properly

How to check for overheating

  • On Windows, a hardware-monitoring tool such as HWMonitor or Core Temp can help you check CPU temperatures in real time.
  • On a Mac, Activity Monitor doesn’t show CPU temperature, but it can help you identify apps or processes using an unusually high amount of CPU. If high CPU usage comes with loud fans, excessive heat, or restarts while you’re doing something demanding, overheating is worth investigating.

There isn’t one temperature that counts as “too hot” for every computer. Safe operating temperatures vary by processor, GPU, and device, so it’s more useful to look for unusually high temperatures or a clear pattern between heavy use and unexpected restarts. Our guide to checking CPU temperature on Windows and Mac can walk you through what to look for.

What you can do

Start with the basics. Keep your laptop on a hard, flat surface, make sure the vents aren’t blocked, and clean out visible dust buildup. If the computer gets unusually hot or the fans become very loud right before it restarts, that’s another clue that cooling may be the problem.

If improving airflow and cleaning the vents don’t help, the issue may be deeper in the cooling system, such as a failing fan or degraded thermal paste. At that point, it’s better to have the cooling system checked rather than keep using a computer that regularly overheats.

Power problems can cause sudden restarts

Desktop power supply unit that can cause unexpected computer restarts when failing

If your computer suddenly loses stable power, it can restart with zero warning, and this one tends to catch people off guard because it feels random even though it isn’t.

On a desktop, the usual suspects are the power supply unit (PSU), a loose internal connection, or an unstable outlet. On a laptop, it’s more often a failing battery, a worn-out charger, or a charging port that’s not making a solid connection anymore.

One clue that points straight at power: if your laptop runs fine while plugged in but restarts the moment it switches to battery, that’s rarely a coincidence. Same goes for a desktop that restarts specifically under heavy load, like gaming or rendering, when the PSU is being asked to deliver more power than it can consistently supply.

What you can do

Start with the simple checks: make sure the power cable or laptop charger is firmly connected. On a desktop, check that internal power connections haven’t come loose, especially if the tower was recently moved or opened.

If the restarts continue, the PSU or battery may need to be tested rather than replaced on a guess. Our PSU replacement guide covers the warning signs in more detail and what a replacement typically involves.

Faulty RAM can make your computer unstable

RAM modules installed in a desktop computer motherboard

RAM is your computer’s short-term memory, the space it uses to juggle whatever programs and processes are active right now. When a RAM module develops a hardware fault, the whole system can become unstable and restart out of nowhere. Freezing, apps crashing for no clear reason, or the occasional blue screen right before the restart can all point to a RAM issue.

On Windows

Search for Windows Memory Diagnostic in the Start menu and choose “Restart now and check for problems.” Your PC will restart and test the memory. If Windows reports an error, the RAM may need further testing or replacement.

On Macs with Apple silicon

Memory is integrated into the system rather than installed as removable RAM modules, so it isn’t something you can swap out yourself. Apple Diagnostics can help identify possible hardware problems.

Outdated drivers and recent updates can trigger restarts

Laptop installing a Windows update before restarting

Sometimes the hardware is fine and the problem is the software communicating with it. 

  • On Windows, a damaged or incompatible driver can make the system unstable enough to crash or restart. Graphics drivers are especially worth checking because they’re updated frequently. Recent software changes matter too. Think back to when the restarts started: Did Windows install an update? Did you update a driver, install a new app, or connect a new device? If the timing lines up, start there instead of changing several things at once.
  • On a Mac, third-party software, connected accessories, and system extensions can also contribute to unexpected restarts or kernel panics.

For drivers, stick to Windows Update or the hardware manufacturer’s official support site rather than third-party driver-download websites. If the problem started immediately after a driver update, rolling back that driver may help.

Damaged system files can make Windows unstable

Windows Command Prompt running an SFC scan to check and repair damaged system files

If your computer has gone through a rough shutdown, an interrupted update, or any kind of unexpected crash, some of its system files can end up damaged. Windows actually has a built-in tool for this exact situation, called System File Checker.

To run it:

  1. Search for Command Prompt in the Start menu
  2. Right-click it and choose Run as administrator
  3. Type sfc /scannow and press Enter
  4. Let the scan finish

Windows will check protected system files and attempt to repair damaged ones. It’s a useful step when the restarts began after an interrupted update, crash, or improper shutdown. If the restarts have already led to a system that won’t boot cleanly at all, our guide to repairing a crashed computer walks through the next steps.

On a Mac, it might be a kernel panic

If you’re on a Mac and you see a message that says something like “Your computer was restarted because of a problem,” that’s macOS telling you it hit a kernel panic, a serious system-level error it couldn’t recover from on its own.

Kernel panics can come from software, a connected accessory, a system extension, or occasionally a hardware fault. If the restarts started right after you plugged in something new, an external drive, an audio interface, any accessory, disconnect it and see if the problem goes away.

You can also dig into the Console app to look for diagnostic reports tied to the exact time of the restart. Fair warning: they’re written for technical troubleshooting, so if the report looks like a wall of gibberish, that’s completely normal. That’s exactly the kind of log a technician can read and translate for you.

What if your computer restarts before Windows or macOS loads?

This is a slightly different problem than the one we’ve covered so far, and it’s worth separating out because the fix is different too. If your computer powers on, gets partway through loading, and then restarts again before you ever reach the desktop, that’s usually described as a boot loop rather than a random restart. If you’re seeing an error message during startup, our guide to common computer startup errors can help you understand what it means.

Boot loops tend to point toward something more foundational: a failing hard drive or SSD, a corrupted boot sector, a recent Windows update that didn’t finish installing correctly, or in some cases, the same overheating and power issues covered above, just happening early enough in the startup process that you never get past it. If your computer also seems to take unusually long to restart, or seems to hang indefinitely somewhere in the process, our guide on a computer stuck restarting is the better next stop, since it covers what to do when the system won’t move past that stage on its own.

How to read your computer’s error logs

Windows Event Viewer showing system logs after an unexpected computer restart

If your computer keeps restarting and you want real answers instead of guesses, don’t wait around for the next one to happen. Your operating system may already have logged useful clues about what happened.

On Windows: open the Start menu, search for Event Viewer, and go to Windows Logs > System. Look for errors or critical events around the exact timestamp of your last restart. You may see a Kernel-Power event, including Event ID 41, after an unexpected restart.

Don’t panic when you see it. That event just tells Windows the computer didn’t shut down the normal way, it isn’t a diagnosis on its own. The real clue is usually sitting in the events logged right before it, so that’s where to look next.

On Mac: the Console app generates diagnostic reports after unexpected restarts, especially around kernel panics, and can help pinpoint whether a specific app, extension, or system component was involved.

Wrapping up

Random restarts can come from something as simple as blocked airflow or a recent driver update, but they can also point to failing RAM, an unstable power supply, or another hardware problem. Start with the clues you can see: when the restart happens, whether the computer feels unusually hot, what changed recently, and what Windows or macOS recorded around the time of the restart.

If the problem keeps coming back, your computer won’t stay on, or you’ve already worked through the basic checks without finding the cause, it may be time for a closer look. Geeks on Site offers computer repair and troubleshooting to help identify what’s causing the restarts and determine the right fix.

FAQs

Can a computer restart randomly without showing a blue screen?

Yes. A sudden restart can happen without a blue screen or visible error message. Power interruptions, overheating, driver problems, and hardware issues can all cause this behavior. Checking Windows Event Viewer or macOS diagnostic reports may give you more information about what happened.

Does a recent Windows update explain why my PC suddenly started restarting?

It can. A Windows update may introduce a driver conflict or compatibility issue on some computers. If the restarts started shortly after an update, check your Windows Update history and any recently updated drivers. If a driver appears to be the trigger, rolling it back may resolve the problem.

Is Kernel-Power Event ID 41 always a sign of a hardware problem?

No. Kernel-Power Event ID 41 means Windows detected that the computer shut down or restarted unexpectedly; it doesn’t identify the cause. It can appear after a power interruption, hardware problem, driver crash, or forced shutdown. Check the events recorded immediately before it for more useful clues.

How do I stop my computer from restarting itself?

The fix depends on what’s causing the restarts. Start by checking for overheating and power problems, then test the memory and review any recent software or driver changes. On Windows, you can also run System File Checker and review Event Viewer for errors. If the restarts continue after those checks, the computer may need further hardware testing.

Last Updated on September 4, 2026

Check out related articles

Get in touch
with us today

Say goodbye to your home or office tech troubles today. With Geeks on Site, you’re not just getting a quick fix, you’re investing in peace of mind.