🛒 Best Price Today on Amazon
Prime members get fast, free shipping on everything above, plus member-only deals. New members get a 30-day free trial — cancel anytime.
As an Amazon Associate we earn from qualifying purchases.
A restart in the middle of a match is one of the most frustrating faults a gaming PC can develop, because it leaves almost nothing behind. The screen goes black, the machine runs through POST, and you are back at the login screen with the game closed and no error message to read. That is the fault this guide is about: the machine rebooting itself mid-game.
It is not a shutdown, which powers the machine off and leaves it off, and a local guide already covers that fault. It is not a blue screen that stays on screen, and it is not a freeze, where the picture locks and the machine needs a hard reset. A restart sits between those faults, and the fix ladder below is built around reading the log first, so you stop guessing and start with the component that actually failed.
Quick Answer
Open Event Viewer, go to Windows Logs, then System, and look for Event ID 41 from the Kernel-Power source just after the restart. That entry means the machine rebooted without a clean shutdown, so the cause is a power loss or a hard reset. Read the entries immediately before it: WHEA-Logger events 18 or 19 point at a hardware error, and a BugCheck entry means a blue screen was hidden by the auto-restart setting. If the log is empty before the restart, test the power supply first with the GPU power limit capped at 85, then check RAM and XMP, then thermals.
How to Choose
Read the Failure Before You Change Anything
Every restart leaves a signature in the log, and that signature decides which component to chase. A WHEA-Logger 18 or 19 entry points at the CPU or the memory, a BugCheck entry points at a driver or a kernel fault, and a bare Event ID 41 with nothing before it points at power delivery. Changing drivers, reseating memory, or buying a new power supply before reading the log is guesswork, and guesswork is how a simple driver fault turns into a weekend of unnecessary hardware swaps. Spend five minutes in Event Viewer first. Filter the System log by Event ID 41, note the exact time of the restart, then read the entries from the minute before it.
Which Log Entry Matters Most
Not every entry in the System log is a clue, and most of them are routine noise. The three that matter are Event ID 41 from Kernel-Power, WHEA-Logger 18 and 19, and BugCheck. Event 41 only confirms that the machine rebooted without a clean shutdown; it never names the cause on its own. WHEA-Logger 18 is a corrected hardware error the system survived, while WHEA-Logger 19 is an uncorrected error that can force a restart. BugCheck records a blue screen, including the stop code, and it only appears when auto-restart is off or when the blue screen managed to write before the reboot. Read them in time order and treat the last entry before the restart as the cause.
PSU, RAM, or Thermals: Tell Them Apart
These three causes produce restarts that look identical on the surface, but they behave differently. A power supply fault shows up when the GPU draws a sharp spike, usually at the moment a scene loads or ray tracing starts, and it leaves no entry before Event 41. A memory fault shows up after enabling XMP or after adding a second kit, and it often brings WHEA errors with it. A thermal fault builds slowly: the machine runs fine for ten or twenty minutes, then restarts once temperatures climb past the limit. Instant restarts at load point at power; restarts after a memory change point at RAM; restarts after a warm-up period point at heat.
When It Is a Driver, Not Hardware
Drivers cause restarts too, and the log gives them away. A BugCheck entry naming a driver file, or a restart that started the day after a GPU driver update, is a driver fault until proven otherwise. The same applies to a restart that happens in one game and never in another, or a restart that follows a BIOS update. Hardware faults do not care which game you launched, and they do not start the day after an update. If the log names a driver, or the timing lines up with a software change, fix the software before touching the hardware. A clean driver install with DDU takes twenty minutes and costs nothing.
The Fix Ladder
- Read the event log first, before changing anything. Open Event Viewer, go to Windows Logs, then System, and filter by Event ID 41. That entry, from the Kernel-Power source, reads “the system rebooted without cleanly shutting down” and confirms the machine lost power or hard-reset with no clean shutdown. Now read what came just before it. WHEA-Logger 18 or 19 means a hardware error was recorded; a BugCheck entry means a blue screen occurred. If nothing appears before Event 41, the machine died too fast to log anything, which itself points at power delivery.
- Turn off auto-restart so the next crash shows its real error. Open System Properties, go to Advanced, then Startup and Recovery, and uncheck “Automatically restart”. The next crash will then show the blue-screen code instead of a silent reboot. Write the stop code down, along with any driver file named on the screen, and look it up after the machine is back. A hidden blue screen is the most common reason a restart looks like a power fault when it is actually a driver fault.
- Test the power supply with the 85 power cap. Graphics cards draw sharp power spikes for milliseconds when a scene loads, and those spikes can trip a power supply that is fine at steady load. In MSI Afterburner, set the GPU power limit to 85 and play the same game that restarted. If the restarts stop, the power supply lacks transient headroom. Wattage printed on the box is not the whole story: transient peaks can exceed the rated draw by roughly double for milliseconds, which is why a supply that looks big enough on paper still trips.
- Check thermals, and read the split correctly. Watch CPU and GPU temperatures with an overlay such as HWiNFO while you play. A CPU sustained above roughly 95 C or a GPU above roughly 90 C needs attention: clean dust from the fans and filters, check the fan curve, and improve case airflow. Note the diagnostic split, though. A CPU thermal trip usually powers the machine off completely, while a restart points more at the power supply or the memory. Heat that causes a restart is real, but it is less common than the power and memory causes.
- Test the memory, and drop XMP if it was just enabled. Run Windows Memory Diagnostic by typing mdsched.exe into the Run dialog, or use MemTest86 from a USB drive for a deeper test. If XMP, DOCP, or EXPO was just enabled, turn it off and test again at the default JEDEC speed. Memory training failure restarts the machine, and it often starts the day a profile was enabled. Use the second and fourth memory slots, and do not mix kits from different sets, because mixed kits are a classic cause of exactly this fault.
- Revert overclocks and undervolts to stock. Undo any CPU or GPU overclock and any Curve Optimizer offset, then test again. An unstable undervolt crashes under load, not at idle, which is why a machine can pass desktop use for hours and restart five minutes into a game. If the restarts stop at stock settings, the overclock was the cause, and any new tuning needs to be done in smaller steps with a proper stability test after each change.
- Clean-install the GPU driver and update the firmware. Uninstall the graphics driver with DDU in Safe Mode, then install the latest stable driver from the maker. Update the motherboard BIOS as well, since BIOS updates fix memory-training and power-management bugs that cause restarts, and install the chipset drivers from the board maker’s site. Do one change at a time and test between changes, so you know which one fixed it.
- Check the power delivery chain. Plug the PC directly into a wall outlet, not a cheap power strip or a UPS with a dead battery. Open the case and check that the power cables are fully seated, both the 8-pin CPU power cable and the graphics card power cables. A half-seated cable can pass idle loads and fail under gaming load. Try a different wall outlet as well, and if the restarts continue after every step above, test with a known-good power supply before buying a replacement.
Which One Fits Your Situation
It Restarts the Moment a Game Loads
A restart within seconds of a game loading, especially at a menu-to-gameplay transition, is almost always a power spike or a driver fault. Run the 85 power cap test from step 3 first — it takes two minutes and settles the question. If the cap fixes it, the power supply is the suspect. If it does not, turn off auto-restart and read the blue-screen code: a driver that fails at load will name itself once it can show the screen.
It Restarts After Twenty Minutes of Play
A restart that needs a warm-up period points at heat or at a memory fault that only appears once the machine is fully loaded. Watch the temperature overlay during that window and note whether the restart lines up with a temperature peak. If temperatures look normal, run the memory diagnostic next, because a failing memory module often needs sustained load before it produces an error. Do not buy a bigger cooler before the overlay proves heat is the cause.
It Started Right After You Changed Something
Restarts that begin the day after a change are the easiest to fix, because the change is the prime suspect. If you enabled XMP, turn it off. If you updated the GPU driver, roll back one version. If you added a second memory kit, remove it. If you changed the BIOS, load the optimized defaults. Test after each revert, and only move on when the restarts continue. The last thing you changed is guilty until the test clears it.
It Happens in One Game Only
A restart confined to a single game is almost never a hardware fault, because hardware does not know which game you launched. Verify the game files through the launcher and check that game’s forums for a known crash tied to a recent patch. If other games run for hours without a restart, the fault lives in that game’s build or its interaction with your driver, and a clean driver install is the right next step.
Common Mistakes
- Replacing the power supply before reading Event Viewer, when the log already names a driver or a memory error.
- Leaving auto-restart on, so every blue screen hides itself and every restart looks like a power fault.
- Enabling XMP on a mixed memory kit and blaming the graphics card when the machine restarts.
- Judging the power supply by its printed wattage alone, while ignoring transient spikes that can exceed the rated draw for milliseconds.
- Chasing temperatures with a bigger cooler when the restart happens instantly at load, which is a power signature, not a heat signature.
Frequently Asked Questions
Why does my PC restart only while gaming and never on the desktop?
Gaming loads the graphics card and CPU at the same time, which is when power spikes, memory errors, and heat all appear. Desktop use draws far less power and never stresses the memory the same way, so a fault that needs full load stays hidden until you launch a game. The Event Viewer log will show whether the cause is power, memory, or a driver.
What does Event ID 41 actually mean?
Event ID 41 from the Kernel-Power source means the system rebooted without cleanly shutting down. It confirms that the machine lost power or hard-reset, but it never names the cause on its own. The entries immediately before it are the real evidence: WHEA-Logger 18 or 19 points at hardware, and a BugCheck entry points at a blue screen.
Should I turn off auto-restart permanently?
No, only while you are diagnosing the fault. Auto-restart hides the blue-screen code, which is why it should be off during troubleshooting. Once you have found and fixed the cause, turn it back on, because a machine that sits on a blue screen instead of rebooting is no help to anyone who is not at the keyboard.
Can a dying power supply restart a PC without any warning?
Yes, and that is exactly what the 85 power cap test is for. A failing or under-specced supply can run the desktop fine and trip the moment the graphics card spikes. If capping the power limit stops the restarts, the supply lacks transient headroom, and a replacement with more headroom is the fix, not a bigger cooler or a new driver.