Troubleshooting

Why A Computer Restarts By Itself

Unexpected reboots usually trace back to heat, power, updates or software. Learn how to tell which, with safe checks and clear signs to ask for help.

On this page
  1. First, was it really unexpected?
  2. Notice the pattern
  3. Cause 1: Overheating
  4. Cause 2: Power problems
  5. Cause 3: Updates and system settings
  6. Cause 4: Software and unwanted programs
  7. Cause 5: Failing hardware

First, was it really unexpected?

Not every restart is a fault. Operating systems often restart after installing updates, and some are set to do so outside active hours. A message about finishing updates, a progress screen with a percentage, or a restart that follows a notification is usually normal.

A concerning restart is one that happens abruptly: the screen goes dark, the machine reboots, and you lose whatever was open. Sometimes it returns to a message saying the computer restarted unexpectedly. These are the cases worth investigating, and the cause is usually one of four things: heat, power, updates, or software. Rarely, failing hardware is behind it.

Notice the pattern

Before testing anything, observe a few restarts, or recall earlier ones.

  • Does it happen after the computer has been on for a while, or soon after starting?
  • Does it happen during demanding tasks, like games or video work, or while idle?
  • Is the room warm, or the laptop on a bed, couch, or blanket?
  • Does it follow waking from sleep or closing the lid?
  • Did it begin after an update, a new program, or a new device?
  • Does the fan get loud before the restart?
  • Is there a message or code afterward?

A short log of time, activity, and what you saw will help far more than memory. If a crash screen with a code appears before the restart, see the article on understanding blue screen errors, since the two problems overlap.

Cause 1: Overheating

Computers have temperature protection. If the processor or graphics hardware gets too hot, the system may slow down, shut off, or restart to prevent damage. Typical signs are loud fans, a hot case or keyboard area, and restarts that come after long or demanding use.

Common reasons include:

  • Dust clogging vents and fans.
  • Blocked airflow, for example a laptop on soft surfaces or a desktop pushed against a wall.
  • Fans that are slow or have stopped.
  • Warm rooms or direct sunlight.

Helpful steps:

  1. Make sure vents are clear and the computer sits on a hard, flat surface or a stand.
  2. Power it down, unplug it, and clean visible dust from outside vents gently, following the safe approach in the guide to cleaning a computer. Do not use a vacuum on internal parts, and do not open a laptop unless you are comfortable doing so.
  3. For laptops, review laptop overheating habits. For desktops, check that case airflow is not obstructed.
  4. Watch whether restarts become less frequent after improving cooling.

If the fan does not spin at all, or restarts continue with clean vents, stop and seek help. Dried-out thermal paste or failed fans need hands-on repair.

Cause 2: Power problems

Unstable power can cause immediate restarts with no warning.

  • A loose or worn cable or outlet connection. Reseat the power cable and try a different outlet.
  • A faulty power strip. Plug directly into a wall outlet to test. Consider whether surge protectors in use are old or overloaded.
  • Power supply trouble in a desktop. A weak or failing power supply may cope at idle but fail under heavy load. This can cause restarts when a game or intensive task begins. Replacing one means working inside the case, which is a job to do carefully, following the maker’s instructions, or to hand to a technician.
  • Laptop charger or battery issues. A damaged charger or an old battery may cause the laptop to shut off or restart when the power draw rises. If it only restarts when unplugged, battery drain and battery health are worth a look. If it restarts when plugged in, test with a known-good charger of the right type, as covered in replacement chargers.
  • Power outages or surges at home. If lights flicker or other devices reset at the same time, the problem is outside the computer.

Cause 3: Updates and system settings

Updates can restart a computer more than once, particularly big ones. Check your update settings to see when restarts are scheduled. Keeping software updates under control helps you choose convenient times.

An update can occasionally introduce a new problem, such as an unstable driver. If restarts began right after one, look for a newer fix from the maker. Do not interrupt an update that is installing, since that can cause bigger problems.

Also check the power settings. Some are set to restart or shut down after certain events. Sleep modes, hibernate, and fast startup features can interact with drivers and cause odd behavior after waking. If restarts happen mainly after sleep, read about sleep modes and test with a different option.

Some systems have an option to restart automatically after a system failure. That can make a crash look like a simple restart. Turning it off lets you see the message on screen, which gives you a clue. The setting’s location varies, so check your system’s own documentation.

Cause 4: Software and unwanted programs

A faulty driver, a misbehaving program, or damaged system files can crash the system and trigger an automatic restart.

  • Think about what you installed recently and remove it if the timing fits.
  • Review startup programs, since something that loads at boot may be involved.
  • Check for malware warning signs such as pop-ups, new browser toolbars, or unexplained slowness. Use trusted security tools from known makers.
  • Try safe mode. If the computer stays up for a long time there, the cause is more likely a driver or program than failing hardware.

Cause 5: Failing hardware

When heat, power, and software seem fine, a component may be failing. Memory faults, a storage drive in trouble, or a motherboard problem can all cause unexplained restarts. Clues include restarts with different symptoms each time, file errors, very slow access, or strange noises from the drive. Back up your files soon and read up on failing drives and what they look like.

Be careful with advice that claims one trick fixes every restart. If you reach the point of a clean reinstall to rule out software, remember that it erases data and requires planning. If the repair cost looks high compared with the computer’s age, the guide on repair or replace can help you decide.

The complete guide to troubleshooting

Basic PC Troubleshooting Steps
Read the guide

Keep exploring

Guides from other topics

All topics →