PC keeps shutting down while gaming

Shutdowns that appear only in demanding games usually mean the system hits a power or thermal limit under GPU/CPU load. Separate heat from PSU headroom before chasing FPS tips.

Do not skip Capture one failure in Event Viewer, note GPU/CPU temps in-game, then branch. Instant off with cool temps leans PSU; hot GPU/CPU leans overheating.

Step 1 — Reproduce with a controlled load

  1. Confirm browsing, office apps, and video playback stay stable for at least 10–15 minutes.
  2. Note settings that change load: resolution, ray tracing, DLSS/FSR, frame-rate caps, and whether a second monitor is active.
  3. Reproduce once with a short GPU/CPU stress tool or one demanding in-game scene you can repeat.
  4. After the blackout, boot Windows and open Event Viewer for Kernel-Power Event ID 41. Note BugcheckCode if any.
Fails only above a graphics preset
Lower one setting at a time. If lower presets stay stable, treat as heat or power under peak GPU draw.
Fails even at low presets
Still branch on temps vs hard power-off — but also reseat GPU power cables before replacing parts.
Idle desktop stable versus gaming scene with power and thermometer icons
Game-only failures point to load limits.

Step 2 — Branch: temperature vs power

Hot GPU/CPU
Improve cooling — overheating. Lower graphics presets temporarily to confirm.
Temps fine, hard off
Power delivery — PSU and not overheating.

Step 3 — GPU power connectors and driver

Do not download “driver packs” or third-party one-click fixers. Prefer the GPU vendor’s installer and your board maker’s chipset package.

Step 4 — Next pages

Symptom map

FAQ

Why does my PC keep turning off while playing games?

Games raise GPU and CPU power draw. That exposes weak cooling, marginal PSUs, or loose GPU power cables that idle use never stresses.

Why does my PC keep crashing while gaming?

Crashes to desktop or BSOD differ from a hard power-off. For hard offs, use Event Viewer plus temp/PSU branches; for Stop codes, keep the bugcheck code.

How to tell if PSU is fried?

Load-only shutdowns with normal temperatures and recovery after a known-good PSU swap — details on the PSU page.

Should I undervolt or limit FPS to stop shutdowns?

Lowering peak power can confirm a heat or supply limit, but it is a test — not a substitute for fixing cooling or a weak PSU. Cap FPS or use a power limit briefly to see if the hard-off stops, then finish the heat and PSU branches.

Do I need a new graphics card?

Not as the first step. Reseat power cables, restore stock clocks, update/roll back the vendor driver, and prove cooling or PSU first. Replace the GPU only after a known-good power path still fails under the same load.

Official and primary sources

  1. Microsoft Learn — Event ID 41
  2. Microsoft Support — Update drivers through Device Manager