How to Fix a Computer That Keeps Restarting in a Loop
Published 2026-10-15 · Marion Remote Fix
Your computer starts up, gets partway through loading, and then restarts automatically — over and over. It might show the Windows logo briefly, flash a blue screen for a split second, or get to the login screen and restart before you can do anything. A restart loop is one of the most frustrating computer problems because you cannot get into Windows to diagnose or fix the issue. The good news is that most restart loops are caused by a software problem (a bad driver, a failed update, or corrupted system files) and can be fixed without replacing hardware.
Get into Windows Recovery Environment
Since you cannot get to the desktop, you need to access the Windows Recovery Environment (WinRE) to troubleshoot:
- Automatic entry: If Windows fails to boot three times in a row, it automatically enters WinRE. Let the computer restart through its loop three times without interrupting it. On the third failure, Windows should show a blue screen that says Preparing Automatic Repair or Recovery, then show an Advanced Options menu
- Force entry: If the automatic entry does not work, turn on the computer. As soon as you see the manufacturer logo or the Windows spinning dots, press and hold the power button for 10 seconds to force a shutdown. Repeat this three times. On the fourth power-on, Windows should enter WinRE
- From installation media: If neither method works, create a Windows installation USB on another computer (download the Media Creation Tool from the Microsoft website, run it, and follow the prompts to create a bootable USB). Boot from the USB (you may need to change boot order in BIOS — press F12, F2, or Delete during startup to access boot menu). On the Windows Setup screen, click Repair Your Computer instead of Install Now
Undo the last Windows update
A failed or incompatible Windows update is the single most common cause of restart loops. From WinRE:
- Select Troubleshoot, then Advanced Options, then Uninstall Updates
- Choose Uninstall Latest Quality Update first (these are the monthly cumulative updates). Windows will remove it and restart. If the computer boots normally, the update was the problem. Windows will attempt to install it again later — if it causes the same issue, you may need to temporarily pause updates and wait for Microsoft to release a fixed version
- If removing the quality update does not help and the loop continues, repeat the process and choose Uninstall Latest Feature Update (these are the major twice-yearly updates like 23H2 to 24H2). Feature updates make bigger changes and are more likely to cause compatibility issues
Boot into Safe Mode
Safe Mode loads Windows with only essential drivers and services. If the computer boots in Safe Mode, the problem is a non-essential driver, service, or startup program:
- From WinRE: Troubleshoot, Advanced Options, Startup Settings, Restart. After restart, press 4 (or F4) for Safe Mode, or 5 (or F5) for Safe Mode with Networking
- Once in Safe Mode, you can:
- Uninstall recent programs: If you installed new software before the loop started, uninstall it through Settings, Apps
- Rollback a driver: Open Device Manager, find the recently updated device (graphics card is the most common culprit), right-click, Properties, Driver tab, Roll Back Driver
- Disable startup programs: Open Task Manager, Startup tab, and disable recently added programs
- Run system file repair: Open Command Prompt as administrator and run
sfc /scannowfollowed byDISM /Online /Cleanup-Image /RestoreHealth
- After making changes in Safe Mode, restart normally. If the computer boots without looping, the fix worked
Use System Restore
System Restore reverts Windows to an earlier state, undoing driver installations, software changes, and updates that may have caused the loop:
- From WinRE: Troubleshoot, Advanced Options, System Restore. Select a restore point from before the restart loop started. Click Next and then Finish
- System Restore does not delete your personal files (documents, photos, etc.) but it does remove programs installed and drivers updated after the restore point date
- If no restore points are available, System Restore may have been disabled or the drive may have been too full to create restore points. Move to the next fix
Repair the boot configuration
A corrupted boot configuration causes the computer to fail during the boot process and restart. From WinRE:
- Troubleshoot, Advanced Options, Command Prompt. Run these commands in order:
bootrec /fixmbr— writes a new Master Boot Recordbootrec /fixboot— writes a new boot sector. If this returns Access is denied, runbootsect /nt60 sysfirst, then retrybootrec /rebuildbcd— scans for Windows installations and rebuilds the boot configuration data. When prompted to add an installation to the boot list, type Y and press Enter- Close Command Prompt and restart. If the boot configuration was corrupted, these commands repair it
Check for disk errors
- From WinRE Command Prompt, run
chkdsk C: /r. This scans the system drive for file system errors and bad sectors and attempts to repair them. It can take 30 minutes to several hours depending on drive size and health - If chkdsk finds and fixes errors, restart and see if the loop is resolved. If chkdsk reports bad sectors that it cannot repair, the drive may be failing and needs replacement
Disable automatic restart on failure
If the computer flashes a blue screen too quickly to read the error code, disable automatic restart so the error stays on screen:
- From WinRE: Troubleshoot, Advanced Options, Startup Settings, Restart. Press 9 (or F9) for Disable Automatic Restart After Failure
- Now when the blue screen appears, it will stay on screen instead of restarting. Read the stop code at the bottom of the screen (for example, CRITICAL_PROCESS_DIED, INACCESSIBLE_BOOT_DEVICE, DRIVER_IRQL_NOT_LESS_OR_EQUAL). Search for this specific error code to find targeted solutions
- Common stop codes in restart loops:
- INACCESSIBLE_BOOT_DEVICE: Windows cannot read the boot drive. Can be caused by a storage driver issue, a drive failure, or a BIOS setting change (AHCI vs RAID mode). Check BIOS SATA mode settings
- CRITICAL_PROCESS_DIED: A required Windows process crashed. Usually fixable with SFC and DISM repair from WinRE Command Prompt
- DRIVER_IRQL_NOT_LESS_OR_EQUAL: A driver is accessing memory incorrectly. The blue screen may name the driver file (something.sys). Look up that driver file to identify which device or program it belongs to, then uninstall or update it from Safe Mode
Hardware causes of restart loops
If all software fixes fail, a hardware problem may be causing the loop:
- Overheating: If the CPU overheats during boot (due to a failed fan, dried thermal paste, or blocked vents), the computer shuts down to protect itself. Listen for the CPU fan — if it is not spinning or makes grinding noises, the fan has failed. Check that all vents are clear of dust
- Failing RAM: Bad memory causes random crashes and restart loops. From WinRE: Command Prompt, run
mdschedto schedule a Windows Memory Diagnostic. It runs on the next restart and reports any errors. If errors are found, one or more RAM sticks need replacement - Failing storage drive: A drive with bad sectors in critical boot areas causes loops. If chkdsk found uncorrectable bad sectors, the drive is failing. Data should be backed up as soon as possible (boot from a Linux live USB to access the drive and copy files) and the drive replaced
- Power supply issues (desktops): An underpowered or failing power supply can cause the computer to restart under load during boot when multiple components draw power simultaneously. If the computer restarts during the Windows loading animation (when CPU and GPU usage ramps up), a power supply issue is worth investigating
Last resort: Reset Windows
- From WinRE: Troubleshoot, Reset This PC. Choose Keep My Files (this reinstalls Windows while preserving your documents, photos, and personal files but removes all installed programs) or Remove Everything (clean slate — back up data first)
- This is a last resort because you will need to reinstall all programs. But it resolves software restart loops that no other fix can, because it replaces all Windows system files, drivers, and configurations with a fresh copy
Need help breaking the loop?
If you cannot access WinRE, if the blue screen error does not point to a clear cause, or if the restart loop started after a hardware change or physical incident (drop, spill, power surge), Marion Remote Fix can guide you through recovery steps or, if the computer can boot to Safe Mode with Networking, connect remotely to diagnose and repair the issue directly.