Skip to content
Hardware

PC shuts down or restarts while gaming: power supply, temperature or Windows

PC switches off suddenly or restarts when you launch a game? The type of shutdown and the Kernel-Power 41 event tell you whether it's the power supply, temperature or a Windows error. How to check and fix it.

5 minHow we make our guides

Quick answer

If it switches off suddenly (like pulling the plug) when loading a game, it's almost always the power supply: use two separate PCIe cables for the graphics card and plug the PC straight into the wall. If it restarts by itself, turn off Windows automatic restart to see the blue screen behind it. If it happens after a while of gaming, check temperatures.

Illustration of the problem: PC restarts by itself
GlitchFix illustration: what this problem usually looks like.

Does it shut down, restart or freeze?

First, watch closely how it cuts out. Each behaviour points to a different part:

What it doesWhat it usually isGo to
Switches off suddenly when opening or loading a game, and you must press the button to turn it onPower supply protection (can't handle the graphics card's spikes)"The power supply"
Switches off after a while of gaming, with fans at full speedTemperature"Temperatures"
Restarts by itself and boots againA blue screen you don't see, RAM or an overclock"If it restarts: see the error"
The picture freezes and you must restart by handGraphics driver, the graphics card or RAMGuide to games crashing or freezing

The Windows log tells you what it was

Windows records every shutdown. This tells you whether it was a power cut or a system error:

  1. Type Event Viewer in the Start menu and open it.
  2. Go to Windows Logs → System and click Filter Current Log. In "Event IDs" type 41.
  3. Open the Kernel-Power 41 event matching the time of the shutdown and look at the Details tab.
  • BugcheckCode = 0: power was cut suddenly. It's the PSU, temperature, a cable or the power strip.
  • BugcheckCode not 0: there was a blue screen. That number is the error code; look it up in our blue screen guides.

The power supply

Modern graphics cards have very short power spikes, lasting milliseconds, that can exceed their normal draw. A PSU with barely enough watts or poor quality detects the spike and cuts power to protect itself. That's why the PC switches off right as the game loads, not before.

750 W PC power supply with its power label and cables
The label on the side of the PSU shows its total wattage. That number must leave room for the graphics card's spikes.
  1. Graphics card cables: if your card has two 8-pin connectors, use two separate cables from the PSU, not a single cable with two connectors hanging off it (called "pigtail" or daisy-chain). One cable can fall short during spikes.
  2. Straight to the wall: remove cheap power strips and extension leads while testing.
  3. Do you have enough power? Add up the graphics card and processor draw (from the maker's website) plus about 100 W for the rest, then add 30% headroom. If your PSU doesn't reach that, there's your problem.
  4. Free test: in MSI Afterburner or your graphics software, lower the "Power Limit" to 70–80%. If it stops shutting down, the PSU is falling short.
Comparison: a single PSU cable with two connectors to the graphics card marked as wrong, and two separate cables marked as correct
Left: one cable with two connectors for the graphics card. Right: two separate cables, which is the right way with powerful cards.

Generic PSUs that came "free" with the case, without 80 Plus certification, are the most common cause of this problem. If you replace it, choose a well-known brand with full protections.

Temperatures

If it doesn't shut down when loading but after a while, look at heat. When the processor or graphics card reaches its limit, the PC turns off to avoid damage:

  1. Install HWiNFO (free) and open it in "Sensors" mode.
  2. Play for 10 minutes with it open, then check the Maximum column.
  3. As a guide: over 95 °C on the processor or over 90 °C on the graphics card (over 105 °C on the "Hot Spot") is too much.
  4. If you're over: clean the dust from fans and filters, check all fans spin and that the CPU cooler is firmly attached. If the PC is several years old, the thermal paste may have dried out.

If it restarts: see the error

Windows is set to restart automatically after a blue screen, so you may never see it. Turn that off so you can read the code:

  1. Type View advanced system settings in the Start menu.
  2. Under "Startup and Recovery", click Settings.
  3. Untick Automatically restart and click OK.

Next time, the PC will stay on the blue screen with the error code. Also, if you enabled an XMP/EXPO profile or an overclock, turn it off in the BIOS to rule it out.

Frequently asked questions

Could it be the power strip or the socket?

Yes. Cheap or overloaded power strips and sockets with poor contact cause cut-outs. Try the PC plugged straight into the wall.

Can a bad PSU damage other parts?

A poor-quality PSU that fails can damage other components. If you suspect it, replace it with a well-known brand with 80 Plus certification.

Why does it only happen with some games?

Because demanding games push the graphics card harder and cause higher power spikes. A light game may never reach the PSU's limit.

If you're not sure how to read the Kernel-Power 41 event or your temperatures, send us a screenshot via the contact page.

Still not fixed?

Email us at glitchfixesp@gmail.com with your device model, the exact error message and what you have already tried from this guide. We reply personally (in English or Spanish) and, if the issue keeps coming up, we add the new fix to the guide.

Send us your error

Related guides

See all PC & Windows guides