Your screen suddenly turns blue, a sad face appears, and Windows says “Your PC ran into a problem and needs to restart.” That is the Blue Screen of Death, or BSOD. It looks scary, but it is Windows protecting itself: something went badly wrong, so it stopped everything before your files could be damaged.

The good news: almost every blue screen of death can be fixed for free, without reinstalling Windows. In this guide you will learn how to read the stop code, find out exactly what crashed, and fix it step by step on Windows 11 and Windows 10. It also covers the new black screen of death that Windows 11 now shows, which most guides still don’t mention.

A quick note before we start. When I sat down to write this guide, I opened Reliability Monitor on my own PC, fully expecting a list of blue screens. There wasn’t one. Every red X said the same thing: “Windows was not properly shut down.” In my city the electricity goes off without warning, and Windows logs every power cut as a critical event. So the first lesson is simple: check what really happened before you assume the worst. I then went through the key fixes on a separate Windows 11 test machine, and that’s where the screenshots in this guide come from.

Quick fix: the short version

If you just want the steps, here they are in order. Each one is explained in detail below.

  1. Write down the stop code shown on the screen (for example, CRITICAL_PROCESS_DIED).
  2. Restart and unplug everything except the keyboard and mouse.
  3. Undo your last change: a new app, driver, Windows update or hardware part.
  4. Update Windows and your drivers, or roll back a driver that just updated.
  5. Repair Windows files with DISM and sfc /scannow.
  6. Test your RAM, disk and temperatures to rule out a hardware fault.
  7. Use System Restore or “Fix problems using Windows Update” if nothing else works.

What is the Blue Screen of Death?

The Blue Screen of Death is a stop error (Microsoft also calls it a bug check). It appears when Windows hits a problem it cannot safely recover from, usually in a driver, a core Windows file or a piece of hardware. To avoid corrupting your data, Windows stops instantly, saves a small crash report, and restarts.

One blue screen after months of normal use is usually nothing to worry about. But if your PC or laptop keeps blue screening, there is a real cause that needs fixing, and the stop code is your first clue.

The most common causes

Wait, my screen is black, not blue?

You are not imagining it. In 2025, Microsoft replaced the famous blue screen in Windows 11 version 24H2 and later with a simpler black screen. It says “Your device ran into a problem and needs to restart” and shows the stop code, often with the name of the driver or file that crashed. The sad face and QR code are gone.

It is the same error with a new look, so every fix in this guide works for both. People still call it a BSOD. On Windows 10 and older Windows 11 versions, you will still see the classic blue screen.

The old Windows blue screen of death next to the new black unexpected restart screen

Windows 11 also added Quick Machine Recovery. If your PC keeps crashing and can’t start, Windows can boot into recovery, connect to the internet and download a fix from Microsoft automatically. It is on by default in Windows 11 Home. You can check it in Settings > System > Recovery > Quick machine recovery.

First, find your stop code (even if the screen vanished)

The stop code is the line in capital letters, like MEMORY_MANAGEMENT or 0x0000001A. It tells you which area failed, so you can skip guesswork. If the screen disappeared before you could read it, there are three easy ways to find it.

Option A: Stop Windows restarting automatically

This keeps the error on screen next time, so you can take a photo with your phone.

  1. Press Windows + R, type sysdm.cpl and press Enter.
  2. Open the Advanced tab. Under Startup and Recovery, click Settings.
  3. Untick Automatically restart.
  4. Under “Write debugging information”, choose Small memory dump (256 KB), then click OK.
Windows Startup and Recovery settings with Automatically restart unticked

Option B: Check Reliability Monitor (easiest)

  1. Click Start, type reliability and open View reliability history.
  2. Look for a red X on the day of the crash and click it.
  3. Double-click the “Windows stopped working” or “Shut down unexpectedly” entry. The BugCheck code (BCCode) is your stop code in short form, for example 1a means 0x0000001A.

Tip: if the entry only says “Windows was not properly shut down” with no BugCheck code, it was not a blue screen. The PC lost power or was switched off, for example during a power cut. In the screenshot below, every red X is a power cut, not a crash.

Reliability Monitor in Windows showing critical events and the stability history

Option C: Read the crash file to see which driver crashed

Every BSOD saves a small file in C:\Windows\Minidump. Free tools read it for you and name the driver behind the crash:

If the culprit is a file like nvlddmkm.sys (NVIDIA), atikmdag.sys (AMD), rt640x64.sys (Realtek network) or storport.sys (storage), you know exactly which driver to update or roll back.

Common stop codes and what they mean

Find your code in this table to see the usual cause and the best first fix.

Stop codeHex codeUsual cause and first fix
CRITICAL_PROCESS_DIED0x000000EFA core Windows process stopped. Run DISM and SFC (Fix 5), then check your disk.
IRQL_NOT_LESS_OR_EQUAL0x0000000AA driver accessed memory it shouldn’t. Update or roll back recent drivers, then test RAM.
DRIVER_IRQL_NOT_LESS_OR_EQUAL0x000000D1Usually a network, Wi-Fi or USB driver. The crash file names it. Update or roll it back.
PAGE_FAULT_IN_NONPAGED_AREA0x00000050Faulty RAM, a bad driver or antivirus. Test memory (Fix 7) and remove third-party antivirus.
SYSTEM_SERVICE_EXCEPTION0x0000003BOften graphics drivers or security software. Update the GPU driver and run SFC.
KMODE_EXCEPTION_NOT_HANDLED0x0000001EA driver error. Check the crash file for the driver name and update it.
SYSTEM_THREAD_EXCEPTION_NOT_HANDLED0x0000007EAn outdated or incompatible driver, often graphics. Boot into Safe Mode and update or roll it back.
MEMORY_MANAGEMENT0x0000001AUsually RAM. Run a memory test, reseat the sticks and turn off XMP or EXPO.
VIDEO_TDR_FAILURE0x00000116The graphics driver stopped responding. Clean-install the GPU driver and check temperatures.
DPC_WATCHDOG_VIOLATION0x00000133A storage or other driver hung for too long. See our full DPC_WATCHDOG_VIOLATION fix.
WHEA_UNCORRECTABLE_ERROR0x00000124A hardware error: overheating, an unstable overclock, a weak power supply or the CPU. Remove overclocks first.
UNEXPECTED_STORE_EXCEPTION0x00000154Often a failing SSD or hard drive. Check disk health (Fix 6) and back up your files.
INACCESSIBLE_BOOT_DEVICE0x0000007BWindows can’t reach the boot drive, often after an update or a BIOS change. Use Startup Repair (see below).
NTFS_FILE_SYSTEM0x00000024A problem with the drive’s file system. Run chkdsk and check drive health.
BAD_POOL_HEADER0x00000019Memory corruption by a driver or antivirus. Update drivers and test RAM.

How to fix the Blue Screen of Death: 12 proven fixes

Start with Fix 1 and work down. The early fixes take minutes and solve most cases. If Windows keeps crashing before you can do anything, jump to “What if Windows won’t start?” below, then come back here in Safe Mode.

Fix 1: Restart and unplug everything extra

Shut down, then unplug everything except the keyboard and mouse: USB drives, printers, docks, webcams, game controllers and external drives. Start the PC again. A faulty USB device or its driver is a surprisingly common cause. If the crashes stop, plug devices back in one at a time until you find the culprit.

Fix 2: Undo the last change you made

Think about what changed just before the blue screens started. Undoing it is often the fastest fix.

Fix 3: Update Windows and your drivers

Microsoft and hardware makers regularly release fixes for known crash bugs.

  1. Go to Settings > Windows Update and click Check for updates. Install everything.
  2. Open Advanced options > Optional updates and install any driver updates listed there.
  3. Update your graphics driver from NVIDIA, AMD or Intel’s website. If you have NVIDIA, our guide on fixing NVIDIA driver crashes shows how to do a clean install.
  4. On laptops and branded PCs, get chipset, storage and Wi-Fi drivers from the maker’s site (Dell, HP, Lenovo and so on). These are often newer than the ones Windows installs.

Fix 4: Roll back a driver that just updated

Sometimes the new driver is the problem. If the crashes started after a driver update, go back to the old one.

  1. Right-click Start and open Device Manager.
  2. Find the device (for example, under Display adapters or Network adapters), right-click it and choose Properties.
  3. Open the Driver tab and click Roll Back Driver. If the button is greyed out, there is no older version saved. Choose Uninstall device instead, restart, and let Windows install a fresh copy.
Device Manager driver tab with the Roll Back Driver button

Fix 5: Repair Windows system files with DISM and SFC

Corrupted system files cause stop codes like CRITICAL_PROCESS_DIED. Windows has two built-in repair tools.

  1. Right-click Start and choose Terminal (Admin) or Command Prompt (Admin).
  2. Type DISM /Online /Cleanup-Image /RestoreHealth and press Enter. It can take 10 to 20 minutes, and may sit at 20% for a while. That is normal.
  3. When it finishes, type sfc /scannow and press Enter.
  4. Restart your PC. If SFC says it found and fixed files, run it once more to be sure.
Windows Terminal running the DISM RestoreHealth command to repair Windows files

Fix 6: Check your drive and free space

A failing SSD or hard drive causes UNEXPECTED_STORE_EXCEPTION and NTFS_FILE_SYSTEM errors. A nearly full drive can also cause crashes.

Fix 7: Test your RAM

Faulty memory is behind many MEMORY_MANAGEMENT, PAGE_FAULT and random crashes, especially if the stop code changes every time.

  1. Press Windows + R, type mdsched.exe and press Enter.
  2. Click Restart now and check for problems. The test runs before Windows starts and takes about 15 to 30 minutes.
  3. After Windows starts, the result appears as a notification. If you miss it, open Event Viewer and look for MemoryDiagnostics-Results under Windows Logs > System.
Windows Memory Diagnostic tool offering to restart and check for problems

For a deeper test, use the free MemTest86 from a USB stick and let it run at least 4 passes. If errors appear, test one RAM stick at a time to find the bad one. Turning off XMP or EXPO in the BIOS (the RAM overclock setting) can also stop crashes on PCs that are unstable at full RAM speed.

Fix 8: Check temperatures and power

Overheating and weak power cause WHEA_UNCORRECTABLE_ERROR and crashes during games or heavy work.

Fix 9: Remove third-party antivirus and try a clean boot

Security software and system tools work deep inside Windows and are a classic BSOD trigger. Uninstall any third-party antivirus (Windows Security takes over automatically). Then do a clean boot to see whether another program is the cause:

  1. Press Windows + R, type msconfig and press Enter.
  2. On the Services tab, tick Hide all Microsoft services, then click Disable all.
  3. Open Task Manager, go to Startup apps and disable everything. Restart.
  4. If the crashes stop, turn things back on a few at a time until you find the problem program.

Fix 10: Scan for malware

Malware rarely causes blue screens, but some rootkits do. Run a full scan and a Microsoft Defender Offline scan. Our step-by-step guide on how to remove a virus from your computer walks you through it with free tools.

Fix 11: Update your BIOS

BIOS updates often fix crashes and stability problems, especially on new PCs and after a Windows feature update. Download the update only from your laptop or motherboard maker’s support page, using your exact model. Keep laptops plugged in, and never turn off the PC during a BIOS update.

Fix 12: System Restore, repair or reset Windows

If nothing above worked, go back to a time before the problem started, or repair Windows itself:

Windows 11 Recovery settings with Reinstall now, Reset PC, Quick machine recovery and Point-in-time restore

On the newest Windows 11 versions, this page also shows Point-in-time restore, which can roll your whole PC back to an earlier state, and the Quick machine recovery settings.

What if Windows won’t start? (BSOD loop)

If your PC crashes on every startup, use the Windows Recovery Environment:

  1. Turn the PC on. When the Windows logo appears, hold the power button until it switches off. Do this three times.
  2. On the fourth start, Windows opens Automatic Repair. Click Advanced options.
  3. Go to Troubleshoot > Advanced options. You can now choose Startup Repair (called Quick machine recovery on the newest Windows 11 versions), Uninstall Updates, or System Restore.
  4. To reach Safe Mode, choose Startup Settings > Restart, then press 4 (Safe Mode) or 5 (Safe Mode with Networking).
Windows Recovery Environment advanced options with Quick machine recovery, Uninstall Updates and System Restore

In Safe Mode, Windows loads only basic drivers, so it usually stops crashing. From there you can do Fixes 2 to 5. If Quick Machine Recovery is turned on, Windows 11 may also find and install a fix from Microsoft by itself during this loop.

Blue screen in specific situations

Blue screen while gaming

This usually points to the graphics driver, overheating, the power supply or an unstable overclock. Clean-install your GPU driver, watch temperatures, and remove overclocks. A VIDEO_TDR_FAILURE stop code is almost always the graphics driver.

Blue screen after a Windows update

Uninstall the latest update (Fix 2), then pause updates for a week in Settings > Windows Update. Microsoft usually releases a fix quickly. Also update your graphics and chipset drivers, because old drivers often clash with new updates.

Blue screen when the PC is idle or waking from sleep

This often comes from storage or power-saving drivers. Update your chipset and SSD drivers. The DPC_WATCHDOG_VIOLATION stop code is common here, and our guide covers the power setting that fixes it.

My laptop keeps blue screening (Dell, HP, Lenovo)

Use the maker’s free built-in diagnostics. They test memory, drive, battery and fans before Windows even loads:

Then update the BIOS and drivers from the maker’s support page using your laptop’s service tag or serial number.

Is it a real BSOD or a fake one?

A real blue screen never shows a phone number and never asks you to call Microsoft. If you see a blue screen inside your web browser with a support number, an alarm sound or a warning that your PC is “locked”, it is a scam page. Close the browser with Task Manager and don’t call the number. Our guide on fake Windows Defender pop-ups explains how to get rid of them.

How to prevent blue screens in the future

Frequently asked questions

Can a blue screen of death damage my computer?

No. The BSOD itself does not damage hardware. It is Windows shutting down to protect your data. But repeated crashes are a warning sign. If the cause is a failing drive or overheating, that problem can get worse, so it is worth fixing quickly.

Will I lose my files after a blue screen?

Usually not. Files that were open and unsaved at the moment of the crash may be lost, but your saved files stay safe. If your drive is failing, back up your important files as soon as possible.

Is a blue screen caused by a virus?

Rarely. Most blue screens are caused by drivers, updates or hardware. Some malware can cause crashes, so a scan is still a good idea, but don’t assume a virus first.

Why does my laptop keep blue screening?

Repeated crashes on a laptop usually come from an outdated or faulty driver, overheating, a failing SSD or bad RAM. Check the stop code, update drivers from the laptop maker’s site, and run the built-in hardware diagnostics.

How do I find out what caused my blue screen?

Check Reliability Monitor for the BugCheck code, or open the crash file in C:\Windows\Minidump with a free tool like WhoCrashed or BlueScreenView. They show the stop code and the driver that caused the crash.

Why is my screen of death black instead of blue?

Windows 11 version 24H2 and later replaced the blue screen with a black “Your device ran into a problem” screen. It is the same type of error, and the same fixes apply.

Can I fix a BSOD without reinstalling Windows?

Yes. Most blue screens are fixed by updating or rolling back drivers, undoing a recent change, or repairing system files with DISM and SFC. “Fix problems using Windows Update” can even reinstall Windows while keeping your files and apps.

Final thoughts

A blue screen of death feels like a disaster, but it is really a message. Read the stop code, find the driver or part behind it, and work through the fixes in order. Most people are done by Fix 5. If your stop code is DPC_WATCHDOG_VIOLATION or your crashes come from an NVIDIA driver, our dedicated guides go even deeper. And if a crash leaves your laptop completely dead, with no lights and no fan, follow our guide on what to do when a laptop won’t turn on.

Still stuck? Leave your stop code and what you were doing when it crashed in the comments, and we’ll help you track it down.