Why Does My Computer Keep Restarting? 11 Proven Fixes
Why does my computer keep restarting? It happens when Windows crashes or the hardware loses power. Common causes are bad drivers, Windows updates, overheating, faulty RAM, and a weak power supply. Check for updates and heat first, then test your RAM and power supply.
This guide shows you how to spot your type of restart, then walks you through 11 easy fixes, starting with the simplest ones first.
Why Does My Computer Keep Restarting?
A computer restarts on its own for one of two reasons. Either Windows crashed and rebooted itself, or the hardware lost power or got too hot and shut down. From the outside, both look the same. The screen goes dark, and the PC starts up again.
The most common causes are:
- Windows updates that install, fail, or get stuck in the background
- Bad or outdated drivers, especially graphics drivers
- Overheating of the processor or graphics card
- Faulty RAM or a failing storage drive
- A weak or failing power supply
- Damaged Windows system files
- A new program or device that does not get along with Windows
- Malware that interferes with system processes
Software problems are usually cheaper and easier to fix. Hardware problems take more testing. The next sections help you tell them apart.
There is one more thing to know. Windows is set to restart automatically after a crash. That is why many people never see an error message. Fix number 1 turns this off so you can finally read it.
If your PC freezes instead of restarting, that is a different problem, and our guide on why your computer keeps freezing can help.
What Kind of Restart Problem Are You Having?
Take one minute to notice exactly how your restart happens. The answer to why does my computer keep restarting depends a lot on this, so this small step saves hours of guessing.
Your Computer Shows a Blue Screen Then Restarts
A blue screen means Windows itself crashed. It shows a short message and a stop code, which is a name like MEMORY_MANAGEMENT. Some newer versions of Windows 11 show a black screen for the same kind of crash. This type of restart usually points to a driver, RAM, or storage problem. Write down the stop code if you can.
Your Screen Goes Black and the PC Restarts Instantly
If the screen goes dark with no warning at all, suspect power or heat. The system may be shutting itself down to protect the parts, or the power supply may not be giving steady power. Windows does not get a chance to show any message.
Your Computer Restarts Only While Gaming
Games push the graphics card, processor, and power supply harder than anything else you do. Restarts during play usually mean heat, an old graphics driver, or a power supply that cannot keep up.
Your Computer Restarts After a Windows Update
If the restarts began right after an update, the update itself or a driver it installed is your first suspect. The timing is a strong clue, so start there.
Your Computer Keeps Restarting Before Windows Loads
If your PC reboots before you even reach the login screen, the problem sits closer to startup. Think of the storage drive, RAM, damaged startup files, or a loose connection inside a desktop.
Your Computer Is Stuck in a Restart Loop
A restart loop means the PC starts, fails, and starts again without stopping. You will likely need the Windows recovery tools, which are covered in fix number 11.
How to Find Out What Caused the Restart
Before you try random fixes, look for clues. Windows keeps records that can help answer why does my computer keep restarting, and reading them takes only a few minutes.
Check the Blue Screen Stop Code
If you see a blue or black crash screen, take a photo of it with your phone. Look for the stop code, which is written in capital letters with underscores. Then search that exact code online.
Here are a few common ones and what they often mean:
- MEMORY_MANAGEMENT often points to a RAM problem
- CRITICAL_PROCESS_DIED often points to damaged system files or a bad driver
- DRIVER_IRQL_NOT_LESS_OR_EQUAL often points to a faulty driver
These are hints, not final answers. Still, they help you decide which fix to try first.
Look for Kernel-Power Event 41 in Event Viewer
If your PC restarts too fast to read anything, Event Viewer can still tell you what happened.
- Click Start, type Event Viewer, and open it
- Go to Windows Logs and click System
- On the right side, click Filter Current Log
- Type 41 in the Event ID box and click OK
Event 41 from Kernel-Power means the computer restarted without shutting down cleanly. Look at the time it happened and think about what you were doing. Also check for a BugCheck event with ID 1001, which is recorded after a crash and often includes the stop code. If you see Event 41 with no crash record next to it, power or heat problems become more likely.
How to Stop a Computer From Restarting
Work through these fixes in order. The easiest and safest steps come first, and you can stop as soon as the restarts end.
1. Turn Off Automatic Restart Temporarily
This does not fix the problem, but it lets you see the error instead of a sudden reboot.
- Press Windows + R, type sysdm.cpl, and press Enter
- Open the Advanced tab
- Click Settings under Startup and Recovery
- Uncheck Automatically restart and click OK
The next time Windows crashes, it will stay on the error screen so you can read the stop code.
2. Check Windows Update
Go to Settings > Windows Update and install anything that is waiting. A newer update often fixes the bug that caused the problem. Restart when asked and let it finish without turning the PC off. If the restarts began after an update, look at Update History to see which one arrived just before.
3. Update or Roll Back Problem Drivers
Open Device Manager and look for any device with a yellow warning sign. For graphics, download the newest driver straight from NVIDIA, AMD, or Intel.
If the restarts began after a driver update, go back to the old one. Right-click the device, choose Properties, open the Driver tab, and click Roll Back Driver.
4. Check CPU and GPU Temperatures
Install a free temperature monitor and watch the numbers while you use the PC. If temperatures climb very high right before a restart, heat is the problem. Check the maker’s website for the safe limit of your processor and graphics card.
Clean dust from the vents and fans, and keep laptops on a hard, flat surface so air can move freely.
5. Test Your RAM
Faulty memory is a classic reason for random crashes.
- Search for Windows Memory Diagnostic in the Start menu
- Choose Restart now and check for problems
- Wait for the test to finish and Windows to start again
If errors show up, a RAM stick may be failing. On a desktop, you can also switch the PC off, unplug it, and press each stick firmly back into its slot.
6. Check Your Power Supply
On a desktop, make sure every power cable is pushed in tight, then try a different wall outlet or a surge protector. If restarts happen mostly during heavy tasks like gaming, the power supply may be too weak or worn out.
On a laptop, check the charger and cable for damage. A bad charger or a worn battery can also cause sudden shutdowns.
7. Check Your Storage Drive
A failing drive can crash Windows without warning.
- Open Command Prompt as administrator
- Type chkdsk C: /f and press Enter
- Type Y if asked to schedule the scan, then restart
Also, make sure your drive has some free space. A nearly full drive can cause strange behavior.
8. Repair Corrupted Windows System Files
Damaged system files can trigger crashes that seem to come from nowhere. Open Command Prompt as administrator and run these two commands, one after the other:
- DISM /Online /Cleanup-Image /RestoreHealth
- sfc /scannow
Let each one finish completely before you start the next. This can take a while.
9. Test Windows in Safe Mode
Safe Mode loads Windows with only the basics. Go to Settings > System > Recovery, click Restart now next to Advanced startup, then choose Troubleshoot, Advanced options, Startup Settings, and Restart. Press 4 to enter Safe Mode.
If the restarts stop in Safe Mode, a driver or program is the likely cause. If they continue, hardware becomes more likely.
10. Check Recent Software, Hardware, and Malware
Think back to what changed before the restarts began. Uninstall any new program and unplug new devices like USB drives, docks, and printers. Then see if the problem goes away.
Also run a full scan with Windows Security. Open it, go to Virus & threat protection, and choose Scan options, then Full scan. Some malware causes restarts, and a full scan checks far more than a quick one.
11. Use Windows Recovery Options
If your PC will not stay on long enough to fix anything, use the recovery tools. After a couple of failed starts, Windows usually opens the recovery screen on its own. From there, try these in order:
- Startup Repair to fix problems that block a normal start
- Uninstall Updates if the trouble began after an update
- System Restore to go back to a date when things worked
- Reset this PC only as a last step
Back up your files first if you can, because a reset can remove data.
Why Does My Computer Keep Restarting While Gaming?

Gaming is the hardest test your PC ever gets. The graphics card and processor run hot, and the power supply has to deliver steady power the whole time. When one of these fails, the PC restarts mid-game.
Try these checks:
- Watch your GPU and CPU temperatures during play
- Update the graphics driver from NVIDIA, AMD, or Intel
- Close background programs before you start a game
- Make sure the power supply is strong enough for your graphics card
- Clean the dust from the fans and vents
If the restarts only happen in games and never during normal use, heat and power are the top suspects.
Why Does My Computer Keep Restarting After a Windows 11 Update?
Sometimes an update brings a driver that does not work well with your hardware. Other times, an update is only half finished and keeps trying to complete itself.
Here is a simple plan:
- Let the update finish and restart normally once
- Open Settings > Windows Update > Update history
- Choose Uninstall updates and remove the latest one
- Check your PC maker’s website for a newer driver
- Pause updates for a short time while you wait for a fix
If Windows will not start at all, use Uninstall Updates or System Restore from the recovery screen. Do not keep force-shutting the PC during an update, since that can damage system files.
When Is a Random Restart a Hardware Problem?
A random restart does not always mean your computer is dying. But some signs point toward hardware:
- The restarts continue even in Safe Mode
- The PC restarts with no blue screen and no warning
- The memory test or disk check reports errors
- Temperatures stay high even after cleaning
- The restarts become more frequent over time
If several of these match, more software fixes will likely not help. The likely suspects are the power supply, RAM, storage drive, or motherboard.
How to Prevent Random Restarts in the Future
A few simple habits lower the chance of restarts coming back:
- Clean dust from vents and fans every few months
- Use a surge protector to shield your PC from power spikes
- Keep Windows and drivers updated, and get drivers from the official maker
- Set active hours in Windows Update so it does not restart while you work
- Leave free space on your drive so Windows can run smoothly
- Shut down properly instead of holding the power button
- Back up your files to an external drive or cloud storage
These take little time, and they protect your work if something does go wrong.
When Should You Get Professional Computer Repair?
If you have tried the fixes above and the restarts continue, it is time to get help. A technician can test the power supply, motherboard, and other parts that are hard to check at home. Back up your files first, and ask for a written quote before you agree to any repair. If you want to know what to expect, our computer repair cost guide breaks down typical prices.
Frequently Asked Questions:
1. Is it safe to keep using a computer that restarts randomly?
It is not a good idea to keep using it as usual, because random restarts can make you lose unsaved work. Save your files often and back them up, then fix the cause soon.
2. Will resetting Windows stop my computer from restarting?
It can, if the cause is a software problem like bad drivers or damaged system files. It will not help if the problem is hardware, such as heat, RAM, or the power supply.
3. Can Windows restart my computer on its own to install updates?
Yes, Windows can restart your computer on its own to finish installing updates. You can set active hours in Windows Update so it does not restart while you are working.
4. How long does it take to fix a computer that keeps restarting?
Simple fixes like updating drivers or turning off automatic restart can take less than an hour. Hardware repairs can take a few days, especially if a new part must be ordered.
5. How can I save my files if my computer keeps restarting?
Try starting in Safe Mode and copy your files to an external drive or cloud storage. If Windows will not start, a technician can take out the drive and copy your files to another computer.
Conclusion
If you have been asking why does my computer keep restarting, the cause is usually easy to find once you spot the pattern. Start with updates, drivers, and heat, then test your RAM and power supply. Back up your files as you go. If the restarts continue after these fixes, a professional check is the safest next step.
Written By: Sahil Ansari.
