If your Windows PC keeps restarting unexpectedly, the first step is to identify when it happens. A computer that restarts during startup may have a Windows or driver problem, while one that reboots during gaming may be overheating or experiencing unstable power. Restarts during Windows updates can indicate an installation problem, and random restarts while the PC is idle may point to a system error, memory issue, or hardware fault. Start with the symptoms, check for error messages, and work through the relevant troubleshooting steps before resetting Windows or replacing hardware.
Windows can also restart automatically after a serious system error. Microsoft explains how to investigate these incidents in its official guide to troubleshooting unexpected restarts and stop-code errors.
Why Does My Windows PC Keep Restarting?
Unexpected restarts can result from software conflicts, excessive heat, defective hardware, corrupted system files, unstable power, or problems with a recent update. The cause is not always obvious because several different faults can produce similar symptoms.
Common causes include:
- CPU or graphics card overheating.
- Faulty or incompatible device drivers.
- Windows Update or system-file problems.
- Defective or unstable RAM.
- A failing desktop power supply or laptop charging system.
- Recently installed software or hardware.
- Unstable BIOS settings or overclocking.
- A Windows stop error followed by automatic restart.
First, Identify When the PC Restarts
Use the restart pattern to decide which checks to perform first.
| When the restart happens | What to investigate |
|---|---|
| During startup or shortly after signing in | Startup software, drivers, Windows errors, and recently installed updates. |
| During gaming or other demanding tasks | Overheating, graphics drivers, power delivery, and hardware stability. |
| During Windows Update | Whether the restart is expected, update errors, and incomplete installations. |
| When the laptop or power cable moves | Charger connection, battery, charging port, or internal hardware. |
| Randomly while idle | System errors, memory, drivers, scheduled restarts, and power problems. |
These clues help narrow the possibilities, but they do not prove the cause. If you see a blue screen, record its stop code before proceeding.
How to Fix a Windows PC That Keeps Restarting
1. Check for overheating
Overheating is worth investigating if your PC restarts while gaming, editing video, rendering, or running other demanding software. High temperatures can cause performance throttling and, in some circumstances, shutdowns or restarts.
What to do:
- Shut down the computer and let it cool.
- Make sure ventilation openings are not blocked.
- Place a laptop on a hard, flat surface rather than a bed or cushion.
- Check whether the cooling fans are operating normally.
- Carefully clean accessible dust from the vents.
- If the computer remains usable, monitor CPU and GPU temperatures while reproducing the activity that normally triggers the restart.
If the computer becomes unusually hot before restarting, investigate its cooling system before changing Windows settings. For laptop-specific guidance, read our article on how to fix an overheating laptop.
If you notice smoke, a burning smell, or signs of electrical damage, turn the computer off and arrange professional inspection.
2. Check for a blue-screen error
Windows may restart automatically after a serious system error. Temporarily disabling automatic restart can give you time to read the blue-screen message and record its stop code.
- Press Windows + R.
- Type
sysdm.cpland press Enter. - Open the Advanced tab.
- Under Startup and Recovery, select Settings.
- Under System failure, clear Automatically restart.
- Select OK to save the change.
This setting does not repair the underlying problem. It simply makes it easier to read an error that might otherwise disappear when Windows reboots.
If a blue screen appears, write down the stop code and any driver or file name displayed. For example, a memory-related stop code may justify checking RAM, while a driver-related error may direct you toward a recent driver update. Neither type of message is conclusive by itself, so use it alongside other evidence.
Microsoft’s guide to resolving blue-screen errors in Windows explains how to investigate stop codes and related errors.
3. Check Windows Update and recent software changes
If the restarts began after a Windows update, driver installation, or new application, investigate that change before attempting more advanced repairs.
Open Settings > Windows Update and check for pending updates or installation errors. If Windows is stable enough, install available updates and allow the process to finish. Keep a laptop connected to reliable power during installation.
If the problem started immediately after a specific update, check the update history and consider whether uninstalling that update is appropriate. Follow Microsoft’s Windows recovery guidance before using recovery options.
Also consider whether the issue began after installing a new application, security program, driver utility, or hardware-monitoring tool. If the timing matches, uninstall the suspected application through Windows Settings, restart the PC, and test whether the problem returns.
Do not remove unfamiliar Windows components or essential drivers simply because their names look unfamiliar. Identify the software first.
4. Update or roll back a problematic driver
Drivers help Windows communicate with graphics cards, network adapters, storage devices, and other hardware. A faulty or incompatible driver can cause crashes and unexpected restarts.
Graphics drivers deserve particular attention if the problem occurs during gaming or video editing. Other drivers may be relevant depending on the error message and when the restarts happen.
- Right-click the Start button and open Device Manager.
- Look for devices displaying warning symbols.
- Expand the relevant category, such as Display adapters or Network adapters.
- Open the device’s properties and review its driver options.
- If the problem began after a driver update, check whether Roll Back Driver is available.
Download drivers through Windows Update or the official website of your computer or component manufacturer. Avoid unknown driver-download websites and utilities that promise to update every driver automatically.
Microsoft provides instructions for updating drivers through Device Manager.
5. Test Windows in Safe Mode
Safe Mode starts Windows with a limited set of drivers and services. If the computer becomes stable in Safe Mode but keeps restarting during normal use, a third-party driver, startup application, or other software component may be involved.
On Windows 11, open Settings > System > Recovery and select Restart now beside Advanced startup, if available. In the recovery environment, select Troubleshoot > Advanced options > Startup Settings, choose Restart, and select the Safe Mode option.
Menu names and access methods can vary by Windows version. If Windows cannot start normally, use the recovery options available for your device.
If the PC is stable in Safe Mode, investigate recently installed applications, startup programs, and drivers. Safe Mode is a diagnostic test, not proof that every hardware component is healthy.
6. Repair Windows system files
Corrupted Windows system files can contribute to crashes and instability. Windows includes built-in tools that check protected system files and repair the Windows component store.
Open Windows Terminal or Command Prompt as an administrator. Run the following command first:
DISM /Online /Cleanup-Image /RestoreHealth
Wait for DISM to finish. Then run:
sfc /scannow
Allow the scan to complete without closing the window. If it reports that files were repaired, restart the computer and check whether the restarts continue. If the tools report errors they cannot repair, note the exact message and investigate further.
These commands can address certain Windows component problems, but they cannot repair a failing power supply, defective RAM, or an overheating processor.
7. Check Event Viewer for restart clues
Event Viewer records Windows system events, including some unexpected shutdowns and hardware-related errors. It can help you determine what Windows recorded around the time of a restart.
- Press Windows + X and open Event Viewer.
- Navigate to Windows Logs > System.
- Find the approximate time when the computer restarted.
- Review nearby critical and error events for relevant messages.
Look for events that occurred immediately before the restart, such as a driver or device error. The timing can be more useful than a single warning viewed in isolation.
You may encounter an event named Kernel-Power. This can indicate that Windows detected an unexpected shutdown, but it does not automatically mean the power supply is defective. The event may appear after several kinds of unexpected shutdowns without identifying the underlying cause.
Compare Event Viewer entries with the blue-screen stop code, temperature readings, recent driver changes, and other evidence. If you cannot identify a clear cause, avoid replacing hardware based on the Kernel-Power event alone.
8. Test your RAM
Unstable or defective memory can cause crashes, freezes, blue screens, and unexpected restarts. This is especially worth checking if you recently upgraded RAM or the computer began misbehaving after a hardware change.
To run Windows Memory Diagnostic:
- Press Windows + R.
- Enter
mdsched.exe. - Choose the option to restart and check for memory problems.
- Allow the test to finish and review the results after Windows starts again.
Microsoft also explains how to review diagnostic results in its blue-screen troubleshooting guidance. A clean result does not rule out every possible memory fault. If errors appear or the PC continues restarting, additional testing may be necessary.
If you recently installed RAM, check that the modules are compatible with your system and correctly installed. Our guide on how to upgrade laptop RAM explains important compatibility considerations.
9. Check the power supply, charger, and battery
A desktop computer needs stable power from its power supply, while a laptop depends on its charger, battery, charging circuitry, and internal power connections.
For a desktop PC:
- Check that the power cable is firmly connected.
- Replace visibly damaged external cables.
- Consider whether the problem began after installing a more powerful graphics card or another component.
- If restarts happen under heavy load, have the power supply and power connections checked when appropriate.
For a laptop:
- Inspect the charger and connector for visible damage.
- Notice whether the problem occurs only on battery power or only while charging.
- Use a compatible charger recommended for the device.
- If moving the laptop or cable triggers a restart, consider a loose connection or hardware fault.
Do not open a power supply yourself. Internal components can retain dangerous electrical energy even after the computer is unplugged. If power-related checks do not resolve the problem, seek professional diagnosis.
10. Disconnect recently added hardware and undo unstable settings
If the restarts began after connecting a USB device, adding memory, installing a graphics card, or changing BIOS settings, temporarily reverse that change when safe to do so.
For example, if a desktop began restarting after a graphics card upgrade, the cause could involve the new card, its driver, its power requirements, or the installation. Testing the previous configuration can help narrow down the possibilities.
If you have manually overclocked the CPU, GPU, or RAM, return the relevant settings to their standard values and test the computer again. An unstable performance setting may fail only during demanding tasks.
BIOS and firmware updates require extra care. Do not update firmware simply because the computer is restarting. Use only the manufacturer’s official instructions when an update is specifically recommended for your device or the problem you are experiencing. An incorrect or interrupted firmware update can make a computer unusable.
11. Use System Restore if the problem started recently
If the PC was stable before a driver, application, or system configuration change, System Restore may help when a suitable restore point is available.
System Restore can revert system files, settings, drivers, and installed programs to an earlier state. It is different from a factory reset and is not intended to remove personal files, although you should still back up important data whenever possible.
To open System Restore, press Windows + R, type rstrui.exe, and press Enter. Select an appropriate restore point from before the problem began, review the affected programs if that option is available, and follow the instructions.
Read Microsoft’s guide to using System Restore before proceeding. If you are considering Reset this PC or another major recovery option, back up important files first and understand which data, apps, and settings may be removed.
Why Does My PC Restart During Gaming?
Gaming places extra demands on the processor, graphics card, cooling system, and power supply. If the PC restarts only during demanding games, start by checking temperatures, graphics drivers, power delivery, and overclocking settings.
For example, a computer that works normally while browsing but restarts during a graphics-intensive game may have a cooling problem or unstable hardware under load. Temperature monitoring and a review of recent driver or hardware changes can help narrow down the cause.
Do not assume overheating is always responsible. A faulty driver, unstable memory, or power-delivery problem can produce similar symptoms.
What If Your PC Keeps Restarting After an Update?
If the restarts began during or immediately after a Windows update, first determine whether Windows is performing a normal update restart or repeatedly failing to start.
- If the update is still progressing, keep the computer connected to reliable power and avoid interrupting it unnecessarily.
- If Windows starts normally, check Windows Update history for installation errors and follow Microsoft’s troubleshooting guidance.
- If the problem began after a specific update, consider the appropriate recovery options, such as uninstalling the update, when available.
- If Windows is stuck in a restart loop and cannot load, use the Windows Recovery Environment and choose the option that matches the problem.
Do not jump straight to resetting Windows. Microsoft’s recovery options guide explains the available approaches and warns that some options can result in data loss.
When Should You Get Professional Help?
Software troubleshooting may not resolve a restart problem caused by a failing power supply, damaged motherboard, defective RAM, a cooling fault, or another physical component.
Arrange professional diagnosis if:
- The computer repeatedly restarts despite appropriate software checks.
- You notice a burning smell, smoke, visible damage, or unusual electrical sounds.
- The PC becomes extremely hot or its cooling system appears to have failed.
- The computer restarts when its power connection moves.
- Memory tests report errors or hardware problems persist after recent upgrades.
- You cannot access important files and are considering a recovery operation that could erase them.
Back up important files whenever Windows is stable enough to allow it. Avoid repeatedly reinstalling Windows or replacing components without evidence of the cause.
Frequently Asked Questions
Why does my PC keep restarting randomly?
Random restarts can result from overheating, driver problems, Windows errors, unstable memory, power faults, or failing hardware. Identify when the restart occurs, check for a stop code, and use Event Viewer and Windows diagnostic tools to narrow down the cause.
Can overheating make a PC restart?
Yes. Excessive temperatures can cause a computer to reduce performance or shut down to protect its components. Check cooling and ventilation, especially if the restart happens during gaming or other demanding work.
Can bad RAM cause repeated restarts?
Yes. Unstable or defective RAM can cause crashes, freezes, and unexpected restarts. Windows Memory Diagnostic is a useful first test, although persistent problems may require additional hardware testing.
Does a Kernel-Power error mean my power supply is bad?
No. A Kernel-Power event can record an unexpected shutdown without identifying its underlying cause. Investigate power, temperature, drivers, memory, and hardware before deciding that the power supply needs replacement.
Should I reinstall Windows if my PC keeps restarting?
Not as the first step. Reinstalling Windows may help with some software problems, but it will not fix overheating or defective hardware. Diagnose the likely cause and back up important files before considering major recovery options.
Final Thoughts
When your Windows PC keeps restarting, start by identifying the pattern and checking for error messages. Investigate overheating, recent software changes, Windows updates, drivers, and system files before moving on to memory, power, and other hardware checks.
Use Event Viewer and blue-screen stop codes as clues rather than treating any single message as a complete diagnosis. A Kernel-Power event alone does not prove that the power supply is faulty, and a computer that restarts during gaming does not necessarily have an overheating problem.
If the issue continues after appropriate troubleshooting, back up your files and seek professional diagnosis. The goal is not merely to stop one restart but to identify the underlying cause so the problem is less likely to return.