PC Keeps Crashing and Restarting? Fix It Step by Step
In this article
A PC that keeps crashing and restarting is usually overheating, losing power, or hitting a driver or memory fault. The fastest way to narrow it down is to check the Windows Event Viewer for the stop code or critical error logged at the moment of the crash, then work through the physical causes (dust, loose cables, failing power supply) before touching software. Most sudden restarts with no blue screen at all point to power or heat; restarts that show a blue screen with a stop code point to drivers, RAM, or storage.
What You'll Need
- The PC itself, plus a can of compressed air or a soft brush for dust
- A Phillips screwdriver if you need to reseat RAM or check internal cables
- A spare SATA or power cable if you can swap one (optional)
- A USB drive with at least 8 GB free if you may need to run memory or drive diagnostics
- Patience: change one thing at a time so you know what fixed it
Step-by-Step
- Note exactly when it restarts. Does it happen at idle, under load (games, video export, heavy browsing), or right after wake from sleep? Write it down. A crash under load points to heat or power; a crash at idle points to a driver, RAM, or a failing component.
- Open Event Viewer and find the critical event. Press Windows key + X and choose Event Viewer (labels can differ slightly by Windows version and region). Expand Windows Logs > System. Look for red Critical entries with Event ID 41 (Kernel-Power) at the time of the crash. Event ID 41 means Windows did not shut down cleanly, which is the signature of a sudden power loss or hard reset, not a software crash.
- Check for a blue screen stop code. If you saw a blue screen, note the stop code (for example MEMORY_MANAGEMENT or IRQL_NOT_LESS_OR_EQUAL). If the screen flashes too fast, open Settings > System > About > Advanced system settings > Startup and Recovery, and untick Automatically restart so the blue screen stays on screen long enough to read. Write the code down.
- Clean the dust out. Power off, unplug, and open the case. Blow dust out of the CPU heatsink, GPU fans, and power supply intake. Hold fans still with a finger while you blow so they do not spin up. Dust-clogged heatsinks are one of the most common causes of sudden restarts under load.
- Reseat the RAM and check the power cables. With the PC unplugged, press the RAM sticks firmly back into their slots until the clips click. Push the 24-pin motherboard cable and the 4- or 8-pin CPU power cable fully home. A loose CPU power connector causes exactly this kind of random restart.
- Test the RAM. Windows has a built-in tool: press Windows key, type Windows Memory Diagnostic, and run it. It restarts the PC and scans memory. If it reports errors, test one stick at a time in each slot to find the bad one. Faulty RAM is a very common cause of restarts with stop codes.
- Check the drive health. Open Command Prompt as administrator and run
chkdsk C: /f(it will schedule a scan at the next restart). Also check the drive manufacturer's own diagnostic tool if you have a mechanical drive, since a failing drive can cause sudden freezes and restarts. - Update the graphics driver cleanly. Download the latest driver from the GPU maker's official site (NVIDIA, AMD, or Intel). During installation, choose the clean install option if offered. Do not use third-party driver updaters.
- Roll back or update Windows. Open Settings > Windows Update > Update history. If the crashes started right after an update, use Uninstall updates on the most recent one. Otherwise install all pending updates, including optional driver updates.
- Disable fast startup. Open Control Panel > Power Options > Choose what the power buttons do > Change settings that are currently unavailable, and untick Turn on fast startup. This fixes some restart loops after shutdown.
- Test the power supply. If the PC restarts under heavy load and you have a spare PSU, swap it in. A failing power supply is the classic cause of restarts with no blue screen and no Event Viewer error beyond Kernel-Power 41. If you are not comfortable opening the case, take it to a repair shop for a PSU test.
- Check temperatures. Install the motherboard or CPU maker's official monitoring utility and watch CPU and GPU temperatures under load. If the CPU climbs past roughly 90–95°C before a restart, the cooler is failing or the thermal paste needs replacing.
Common Mistakes
- Changing five things at once, then not knowing which one fixed it. Change one variable per test.
- Ignoring Event Viewer. The stop code and event ID tell you where to look; guessing wastes hours.
- Blaming Windows first. Sudden restarts with no blue screen are usually hardware (power, heat, RAM), not the OS.
- Using registry cleaners or driver updater tools. They rarely help and can make things worse.
- Forgetting to unplug the PC before opening the case. Always unplug and press the power button once to drain residual power.
Tips
- Keep a written log: date, time, what you were doing, any stop code. Patterns emerge fast.
- If the restart happens only in one game, test that game with lower settings and check its own crash logs before blaming the PC.
- Run the PC with the side panel off for a short test only, to see whether airflow improves stability; do not leave it open long-term.
- After any hardware change, run a stress test for 20–30 minutes to confirm stability before trusting it.
Troubleshooting
If Event Viewer shows nothing at all before the restart, the PC is losing power instantly, which points to the PSU, the wall outlet, or a loose cable. Try a different outlet and a different power cable first. If the PC will not stay on long enough to open Event Viewer, boot into Safe Mode (hold Shift while clicking Restart, then choose Safe Mode) and check whether the crashes stop; if they do, a driver or startup app is the cause. If Windows Memory Diagnostic passes but crashes continue, test with one RAM stick at a time. If you have replaced the PSU and cleaned the cooler and it still restarts, the motherboard or CPU may be failing and a repair shop is the next step.
Frequently Asked Questions
Why does my PC restart with no blue screen?
That pattern usually means an instant power loss: a failing power supply, a loose CPU power cable, or overheating. Check Event ID 41 in Event Viewer to confirm it was an unclean shutdown.
Can bad RAM cause random restarts?
Yes. Faulty RAM often produces blue screens with memory-related stop codes, but it can also cause sudden restarts. Run Windows Memory Diagnostic and test sticks one at a time.
Is it safe to keep using a PC that restarts itself?
Not ideal. Repeated sudden power loss can corrupt files and, if the cause is heat, shorten component life. Fix it before doing important work on the machine.
How do I read the stop code if the blue screen disappears too fast?
Turn off Automatically restart in Startup and Recovery settings, then reproduce the crash. The blue screen will stay on screen with the code.
Does dust really cause restarts?
Yes. A clogged heatsink lets the CPU overheat, and the PC shuts down to protect itself. Cleaning it out is free and fixes a surprising number of cases.
When should I take it to a repair shop?
If you have cleaned it, reseated RAM and cables, tested memory and the drive, and updated drivers, and it still restarts, a shop can test the PSU and motherboard with proper equipment.