How To Fix Blue Screen Of Death Errors On Windows 11 (2026)
Your Windows 11 PC shows a blue screen with a stop code, then restarts or gets stuck in a restart loop.
Microsoft says a single unexpected restart usually needs no action, and it is a repeating stop code that calls for troubleshooting.
Start with the simple checks and move toward recovery options only if the crashes continue.
Quick answer: what to try first
| Situation | Try this |
|---|---|
| Crashes began after adding hardware | Shut down and remove the new hardware |
| Windows will not start normally | Start in Safe Mode, then continue the steps |
| A device shows an exclamation point | Update, disable or uninstall it in Device Manager |
| The drive is almost full | Free up space so 10% to 15% stays free |
| Crashes continue | Install updates, then use a restore option |
Do you need to act at all?
If the PC restarts on its own and then runs normally, Microsoft says no action is usually needed.
Troubleshoot only when the same stop code keeps coming back.
Write down the stop code shown on the blue screen, because it helps you search for the cause.
Step 1: remove new hardware
If the errors began after you added hardware, shut the PC down, remove that hardware and restart.
Then see whether the stop code returns without it.
Step 2: start in Safe Mode if Windows will not load
Safe Mode starts Windows with a minimal set of files and drivers so you can isolate the cause.
- Open the Windows Recovery Environment.
- Select Troubleshoot > Advanced options > Startup Settings.
- Select Restart.
- On the Startup Settings screen, press 4 or F4 for Safe Mode.
If the device is encrypted, you need your BitLocker recovery key for these steps.
If the problem does not happen in Safe Mode, Microsoft says default settings and basic drivers are unlikely to be the cause.
Startup Settings options that help with crashes
| Key | Option | Purpose |
|---|---|---|
| F2 | Enable boot logging | Writes ntbtlog.txt listing the drivers loaded at startup |
| F3 | Enable low-resolution video | Uses the current video driver at low resolution to fix display settings |
| F4 | Enable Safe Mode | Minimal files and drivers |
| F5 | Safe Mode with Networking | Safe Mode plus internet and network access |
| F6 | Safe Mode with Command Prompt | Opens a command prompt instead of the normal desktop |
| F9 | Disable automatic restart on system failure | Stops the crash-restart loop so you can read the error |
Press Enter on that screen to start Windows normally.
If Windows keeps booting into Safe Mode
A normal restart usually exits Safe Mode.
- Press the Windows key + R, type msconfig and select OK.
- Open the Boot tab.
- Clear the Safe boot checkbox.
How to reach the recovery environment
Windows opens the recovery environment by itself if it fails to start correctly several times.
| Method | Steps |
|---|---|
| From Settings | Go to System > Recovery and select Restart now next to Advanced startup |
| Shift and Restart | Hold Shift, select Power, then select Restart |
| Forced repair | When the logo appears, hold the power button until the PC shuts off, repeat twice, and on the third start choose Advanced options on the Automatic Repair screen |
| Recovery media | Boot from a recovery drive or Windows installation media, then select Repair my PC |
Other tools inside the recovery environment
Besides Startup Settings, the recovery environment offers several repair tools.
| Tool | What it does |
|---|---|
| Startup Repair | Automatically diagnoses and fixes common startup problems |
| Uninstall Updates | Removes recently installed Windows updates |
| Command Prompt | Opens a command line for advanced troubleshooting |
| UEFI Firmware Settings | Restarts into firmware settings, where you can change boot order and Secure Boot |
| System Image Recovery | Restores the PC from a system image backup |
Try Startup Repair and Uninstall Updates before the options that reinstall Windows.
Step 3: check Device Manager for faulty drivers
- Right-click Start and select Device Manager.
- Look for any device marked with an exclamation point.
- Right-click it and choose Update driver.
- If that does not help, disable or uninstall the device.
If a driver update caused the trouble, our guide to a stuck or failing Windows 11 update covers the update side.
Step 4: keep enough free disk space
Microsoft recommends keeping roughly 10% to 15% of the drive free.
Windows and some apps need that room for swap files and other functions.
Our guide to freeing up disk space on Windows 11 shows how.
Step 5: install the latest updates
Go to Start > Settings > Windows Update and select Check for updates.
Install what is offered and restart, because Microsoft lists updates as a standard step.
Quick machine recovery
On Windows 11 version 24H2 or later, Quick machine recovery can detect repeated boot failures and look for a fix through Windows Update.
It does not reset the PC or affect your files, apps or settings.
Microsoft says it is on by default in Windows 11 Home, while an IT administrator may need to enable it on Pro and Enterprise.
Step 6: use a recovery option
If nothing else works, Microsoft says to restore Windows from a restore point or another recovery option, starting with the least disruptive.
| Option | What it does | Your files |
|---|---|---|
| Point-in-time restore (24H2 or later) | Rolls the whole PC back to a recent automatic restore point | Restored to the earlier state |
| Uninstall updates | Removes a recent update that may be the cause | Not affected |
| System Restore | Rolls back system files and settings | Personal files kept |
| Reset this PC | Reinstalls Windows | You choose to keep or remove them |
| Cloud rebuild | Reinstalls a fresh copy from Windows Update | Files, apps and settings removed |
Microsoft says point-in-time restore keeps its restore points for up to 3 days, so use System Restore if you need to go back further.
Resetting or reinstalling typically takes 30 minutes to 2 hours, while lighter options such as uninstalling an update take less time.
Back up your files first, and have your BitLocker recovery key ready if the drive is encrypted.
Rule out malware
Microsoft suggests a virus scan if the problems continue.
- Go to Settings > Privacy & security > Windows Security.
- Run a scan from there.
If the problem still continues, Microsoft says to reinstall Windows from installation media with the clean installation option, which removes personal files and apps from the selected drive.
If the screen is blank with no stop code
Microsoft treats a black or blank screen without a stop code as a separate problem.
If an external display is the issue, see how to fix a second monitor not detected on Windows 11.
Sources
These steps follow Microsoft’s Troubleshooting Windows unexpected restarts and stop code errors, Windows startup settings, Windows recovery environment and Recovery options in Windows pages.