If your computer keeps crashing, the cause is almost always one of a handful of hardware or software failures: overheating, a failing power supply, faulty RAM, a corrupted driver, or a malware infection. This guide walks through the most common crash triggers in order of likelihood, gives you concrete steps to diagnose each one, and explains what to do when the blue screen (or sudden restart) keeps coming back.
Why Do Computers Crash?
A crash is simply the operating system or hardware hitting a condition it cannot recover from. On Windows, that usually produces a Blue Screen of Death (BSOD) with a stop code like MEMORY_MANAGEMENT or VIDEO_TDR_FAILURE. On macOS, you might see a kernel panic or a forced restart. The underlying causes fall into two broad buckets:
- Hardware failures – bad RAM, a dying hard drive or SSD, an overheating CPU or GPU, or a failing power supply.
- Software faults – corrupt or outdated drivers, buggy Windows or macOS updates, malware, or a badly written application that conflicts with the system.
Knowing which bucket you’re in saves hours of frustration. A crash that happens under heavy load (gaming, video editing) often points to heat or power; a crash that happens randomly at idle might be RAM or a background driver issue.
Overheating: The Most Common Hardware Culprit
Modern CPUs and GPUs generate a lot of heat, and when they exceed their thermal limit (typically around 90–100°C for CPUs, 85–95°C for GPUs), the system shuts down or restarts to prevent permanent damage. This is the single most common cause of repeated crashes in desktops and laptops.
How to check: Download a free temperature monitor (like HWiNFO or Core Temp) and run it while you stress the system. If the CPU hits 95°C+ under load, you have a cooling problem.
What to do:
- Clean dust from fans and heatsinks with compressed air.
- Ensure all case fans are spinning and properly connected.
- Check that the CPU cooler is firmly seated – a loose mount causes rapid overheating.
- For laptops, use a hard surface or cooling pad; blocked vents are a prime cause.
- If the thermal paste is old (3+ years), consider reapplying it.
Faulty RAM: The Random Crash Generator
Random crashes that happen at different times, with different programs, often point to bad RAM. A single corrupted memory cell can cause an application to write to the wrong place, leading to a crash or a BSOD. RAM problems are notoriously intermittent – they might happen once a day or once a week.
How to test: Windows has a built-in tool – type “Windows Memory Diagnostic” in the Start menu, choose “Restart now and check for problems.” The test takes 20–30 minutes and will report errors if found. For a more thorough test, use MemTest86 (free, runs from a USB stick).
What to do if RAM is faulty:
- Reseat the RAM sticks – remove and reinsert them firmly.
- Try running with one stick at a time to isolate the bad module.
- If you have multiple sticks, swap their slots – a faulty slot on the motherboard is also possible.
- If errors persist, replace the defective RAM stick.
Failing Power Supply (PSU) – The Hidden Killer
A power supply that can’t deliver stable voltage will cause random shutdowns, restarts, or freezes – especially under load when the system draws more power. This is often overlooked because the PSU is out of sight, and its failure can mimic other issues.
Signs: Crashes happen only when gaming or rendering (high power draw), or you hear clicking noises from the PSU. The system might also fail to boot on the first try.
What to do: There’s no easy software test for a PSU. If you suspect it, swap in a known-good PSU (or test with a PSU tester). If you’re not comfortable doing that, take the machine to a repair shop. A failing PSU can damage other components, so don’t ignore it.
Driver and Software Conflicts
Outdated or corrupt drivers – especially graphics drivers – are a leading cause of crashes in Windows. A driver acts as a translator between the OS and hardware; when it fails, the system can’t communicate with the device and crashes.
Common crash codes: VIDEO_TDR_FAILURE (graphics driver timeout), DRIVER_IRQL_NOT_LESS_OR_EQUAL (bad driver), SYSTEM_THREAD_EXCEPTION_NOT_HANDLED (driver or system file issue).
What to do:
- Boot into Safe Mode (Shift + Restart from the login screen, then Troubleshoot > Advanced Options > Startup Settings).
- Open Device Manager (right-click Start) and look for devices with a yellow exclamation mark.
- Right-click the device and select “Update driver” – or better, go to the manufacturer’s website and download the latest driver for your exact model.
- For graphics, use Display Driver Uninstaller (DDU) in Safe Mode to completely remove old drivers, then install fresh ones.
- If the crash started after a Windows update, try uninstalling that update (Settings > Update & Security > Windows Update > Update history).
Malware and Resource Hogs
Malware can cause crashes by consuming all available RAM, corrupting system files, or installing rootkits that conflict with the OS. Even benign bloatware can push a system over the edge if it’s using 100% of CPU or disk.
How to check: Open Task Manager (Ctrl+Shift+Esc) and look at the Performance tab. If CPU, memory, or disk is consistently at 100% with no obvious program running, that’s a red flag.
What to do:
- Run a full antivirus scan with Windows Defender or a reputable third-party tool.
- Use Malwarebytes as a second opinion – it catches things Defender might miss.
- Boot into Safe Mode with Networking and run the scan there if the system crashes in normal mode.
- Uninstall any recently installed programs that you don’t recognize.
Hard Drive or SSD Failure
A failing storage drive can cause crashes, freezes, and file corruption. The OS constantly reads and writes to the drive; when it encounters bad sectors or a failing controller, it can hang or blue-screen.
Signs: Slow boot times, files that won’t open, strange clicking or grinding noises (HDD), or “Disk Boot Failure” messages.
How to check: Use CrystalDiskInfo (free) to check the drive’s SMART status. If it shows “Caution” or “Bad,” back up your data immediately and replace the drive. For SSDs, check the manufacturer’s utility for remaining lifespan.
Frequently Asked Questions
Why does my computer crash only when I play games?
Gaming stresses the GPU and CPU more than anything else. The most likely causes are overheating (GPU hitting 90°C+) or an insufficient power supply. Check temperatures with MSI Afterburner or HWiNFO while gaming, and ensure your PSU has enough wattage for your graphics card.
How do I find out what caused the crash?
On Windows, open Event Viewer (type “event viewer” in Start), go to Windows Logs > System, and look for red error events around the time of the crash. The source will often say “Kernel-Power” (sudden shutdown) or “BugCheck” (BSOD). For BSOD, use BlueScreenView to read the minidump file and see which driver caused it.
Can a virus cause my computer to crash?
Yes. Malware can consume resources, modify system files, or install drivers that conflict with the OS. If you suspect malware, boot into Safe Mode and run a full scan. If the crashes stop in Safe Mode, that’s a strong sign a third-party program or driver is at fault.
Should I update my BIOS to fix crashes?
Sometimes. BIOS updates can fix stability issues, especially for newer CPUs or RAM. But they carry a small risk of bricking the motherboard if done incorrectly. Only update if you have a specific issue that the update addresses, and follow the manufacturer’s instructions exactly.
Why does my computer crash when it goes to sleep?
This is often a driver issue – the graphics driver or chipset driver fails to wake the system properly. Update your chipset and graphics drivers, and check the power plan settings (Control Panel > Power Options > Change plan settings > Change advanced power settings). If the problem persists, disable hybrid sleep.
How much does it cost to fix a crashing computer?
It depends on the cause. Cleaning dust and reseating components is free. A new RAM stick costs $30–$60, a new PSU $50–$150, a new hard drive $40–$100, and a professional diagnostic might charge $50–$100. If the motherboard or CPU is dead, replacement parts can cost hundreds.
When to Seek Professional Help
If you’ve tried the steps above and the crashes continue, it might be time to take the machine to a reputable repair shop. Persistent crashes that survive driver updates, RAM tests, and clean boots could indicate a failing motherboard, a degraded CPU, or a subtle power delivery issue. A professional with diagnostic tools can isolate the problem faster than trial-and-error at home, and they can also check for things like capacitor bulging on the motherboard, which is invisible to software.
Remember to back up your important files regularly – ideally to an external drive or cloud service. A crash is often the first sign of a hardware failure that could take your data with it.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Check Your Linux Kernel for Spectre
- iPhone Safe Mode: How to Enable or Disable It
- Fix Slow Internet Lag on Samsung Galaxy Note
- iOS 18 Safari Not Working? Fixes That Help
- How to Get iOS 17 on iPhone X (Safe Methods)
- Fix Gmail IMAP Error in Outlook: Step-by-Step