A blue screen with a sad face, a stop code and a message that the PC ran into a problem is one of the most recognised sights in computing. Many blue screens come from software: a bad driver, a faulty update or a clash between programs. But a share of them come from hardware, and those return again and again whatever you do in software. This guide explains how to read the stop code, how to tell a software blue screen from a hardware one, what the common hardware culprits are, such as memory, storage, overheating and power, and how to test each one in a sensible order before you spend money.
Reading the blue screen
The screen shows a stop code, such as a memory management error, a page fault in a non-paged area, a critical process died or an inaccessible boot device. Each hints at the area of trouble. Memory-related codes suggest RAM or a driver writing to the wrong place. Storage-related codes suggest a failing drive, a loose cable or a corrupted file system. Codes that mention a driver by file name point to that driver. Photograph the screen or write down the code, and note what you were doing, because the same code can have different causes. Windows also saves a dump file that a technician can read for more detail. See laptop black screen fix for faults where nothing shows at all.

Hardware causes and clues
| Cause | Clue | Test |
|---|---|---|
| Faulty RAM | Memory-related codes, random crashes | Run a memory test, try one stick at a time |
| Failing drive | Boot device or disk error codes, slowness | Check drive health, back up |
| Overheating | Crashes under load, loud fan | Check temperatures, clean the fan |
| Weak charger or battery | Crashes on battery or when plugged in | Test with another charger or without battery |
| Loose RAM or drive | Started after a move or a repair | Re-seat the parts |
| Failing board or graphics chip | Crashes in graphics tasks, artefacts | Technician diagnosis |
| Failing CMOS battery | Time resets, boot settings lost | Replace the coin cell |
A blue screen that returns after a clean install is not a software problem any more.
Step by step: test in a sensible order
- Back up your files.
If the drive is the cause, you may not get another chance. - Note the code and recent changes.
Think of new drivers, updates, hardware or physical shocks. - Update or roll back the driver named.
If the screen names a driver, deal with that first. - Run the built-in memory test.
Run it for a full pass. Any error means faulty RAM or a bad slot. - Check the drive.
Look at its health status and run a surface check after backing up. See laptop HDD clicking: signs of a failing drive. - Check temperatures.
Clean the fan if the laptop runs hot. See how to clean the laptop fan and thermal paste. - Test power.
Try another charger, and test without the battery if the model allows it. - Re-seat parts.
Remove and refit the RAM and the drive. Clean the contacts gently. - Test with a clean system.
If crashes continue, the fault is hardware.
RAM: the common suspect
Memory faults often cause random crashes with different stop codes. Laptops with two memory sticks let you test one at a time. If the laptop is stable with one stick and crashes with the other, the second is at fault. If it crashes with either in one slot but not the other, the slot may be faulty. Soldered memory cannot be swapped, and a fault there is a board repair. Fitting incompatible RAM, or mixing speeds, can also cause crashes. See how to upgrade laptop RAM and laptop RAM speed explained.
Switch off and unplug before you touch the RAM or drive. Disconnect the battery if you can reach it, and discharge static first.
Heat, power and the board
A dusty fan and old thermal paste let the processor and graphics chip overheat, and a protective shutdown or a crash follows under load. A bad charger or a failing battery can cause a crash when power dips. A failing board, a cracked solder joint or a damaged graphics chip may crash only in games or video work. If the tests above find nothing, a technician with a diagnostic tool can check the board. See laptop overheating fix and causes, laptop battery not charging while plugged in and laptop motherboard repair vs replace.
When a reinstall makes sense
If the crashes began after a software change and a clean install fixes them, the cause was software. If they continue on a clean install with only the maker's drivers, you can be confident the cause is hardware, and the test results should show which part. A clean install is a useful dividing line because it removes most software variables. Remember to back up first and to use the maker's drivers for your exact model.
Common mistakes
- Reinstalling repeatedly without testing the RAM and drive.
- Ignoring the stop code.
- Using a cheap charger.
- Mixing incompatible RAM.
- Running disk repairs on a failing drive without a backup.
For repair shops
Take a photo of the stop code at the counter and ask what changed. Run memory and drive tests before you quote. Keep a known good RAM stick and a known good drive for swap tests. Record each test in the job sheet. See how to test phone parts before installing. For background, see the Wikipedia page on blue screen of death.
Reading the dump file and event logs
When Windows crashes, it saves a small dump file and logs an entry in the event viewer. A technician can open the dump with a free tool to see which driver or module was running when the crash happened. The same driver appearing in many crashes points to that driver or to the hardware it controls. A different cause each time suggests memory or power trouble. You can also search the stop code with the date and time, and compare it with entries in the event viewer to see what happened just before.
When a graphics fault is the cause
Crashes that only happen in games, video editing or when an external screen is connected often point to the graphics driver or the graphics chip. Update the driver from the maker's site and check that the laptop is not overheating under load. Artefacts on the screen, such as stripes or odd colours before a crash, suggest a failing graphics chip or a loose connection. Graphics faults on the board are a harder repair, and for some laptops the cost is high compared with the age of the machine. Compare the quote with the price of a similar laptop before you decide. See laptop screen flickering fix for display faults that look similar.
Frequently asked questions
What causes a blue screen?
Drivers and updates are common, but RAM, storage, heat and power faults also cause it.
How do I know if it is hardware?
If it continues after a clean install with the maker's drivers, it is likely hardware.
Can bad RAM cause a blue screen?
Yes. Run a memory test and try one stick at a time.
Can overheating cause it?
Yes. A hot laptop can crash under load. Clean the fan and check temperatures.
Should I back up first?
Always. A failing drive may not survive more testing.
Is the stop code useful?
Yes. It points to the area of the fault, so write it down.
