Skip to content
TroubleGrid

Game Crashes When You Alt-Tab on Windows 11

Last verified October 2026Tested against Windows 11 (24H2, 25H2 and 26H2), Windows 10, Re-verified 26 October 2026Well documented

Switching away from a game can force Windows to reset or hand over the graphics device, and a game that does not rebuild its resources afterwards crashes. Switch the game to borderless windowed first, since that avoids the display handover entirely. Then check the executable's Compatibility tab — if someone ticked "Disable fullscreen optimizations" as a performance tip, that put the game back into true exclusive fullscreen and is likely the reason this started.

The instinct is to blame the game, and sometimes that is fair. But the underlying event is documented and specific: Direct3D can report that the graphics device was removed or reset, at which point the application has to reinitialise the device and recreate every resource it was holding. Games that handle this correctly survive. Games that do not, crash. Your job is not to fix their code — it is to stop putting the graphics device in a position where it has to be handed over at all.

Symptoms

  • The game crashes to desktop, freezes, or shows a black screen the moment you alt-tab
  • Coming back from the switch leaves the game running but not drawing
  • It happens reliably in fullscreen and never in windowed mode
  • It is worse on a laptop than on a desktop
  • It started after you changed a compatibility or graphics setting rather than after a game update

Why this happens

The game is in true exclusive fullscreen

In exclusive fullscreen the game owns the display output, so switching away forces a handover. Older engines are especially fragile here — Microsoft's own documentation notes that in DirectX 9 a full-screen application that loses focus has its device become lost outright, after which drawing silently fails.

Switch the game to borderless windowed

Fullscreen Optimizations has been switched off

Windows normally intercepts an exclusive-fullscreen request and quietly runs the game borderless instead, which is exactly why alt-tab is fast and overlays work. Turning that off — widely recommended as a performance tweak — restores real exclusive fullscreen and with it the handover that crashes the game.

Check whether Fullscreen Optimizations was disabled

The laptop is switching between its two graphics adapters

Microsoft lists a system changing from a power-saving adapter to a performance adapter as a cause of a device removed condition. On a hybrid laptop, alt-tabbing can trigger exactly that switch, and the game has to rebuild everything or die.

Pin the game to one graphics adapter

The game moved to a monitor on a different graphics device

Microsoft calls this out directly: an app moving to a monitor attached to a different graphics device is a reason a window resize returns a device removed error. Multi-monitor setups that mix outputs from an integrated and a discrete GPU hit this.

Pin the game to one graphics adapter

The driver itself is hanging

A device hang means the driver stopped responding to the commands it was given. If the crash comes with a display driver recovery message, this is a driver-level failure rather than a display-mode one.

Update or cleanly reinstall the graphics driver

Fixes

Switch the game to borderless windowed

about 3 min

Removes the cause rather than working around it. A borderless window never takes exclusive control, so alt-tab involves no handover to survive. Microsoft notes the compositor still gives a borderless fullscreen game control of the display and nearly all GPU power, so the cost is small.

Applies to: Windows 10, Windows 11

  1. Open the game's display or video settings.
  2. Change Display Mode from Fullscreen or Exclusive Fullscreen to Borderless or Windowed Fullscreen.
  3. Apply, then alt-tab deliberately a few times to test.
  4. If the game offers only Fullscreen and Windowed, pick Windowed and size it to the screen.

Confirmed by the vendor.

Source: Microsoft

Check whether Fullscreen Optimizations was disabled

about 5 min

Worth checking before anything else if the crashes began after following a performance guide. This setting is frequently recommended as a tweak, and switching it off is precisely what returns the game to the exclusive fullscreen that causes the problem.

Applies to: Windows 10, Windows 11

  1. Find the game's executable — in Steam, right-click the game and use Manage → Browse local files.
  2. Right-click the .exe and choose Properties.
  3. Open the Compatibility tab.
  4. If Disable fullscreen optimizations is ticked, untick it and click Apply.
  5. Launch the game and test alt-tab again.
  6. Be aware this cuts both ways: Microsoft acknowledges the feature has caused frame pacing and stuttering complaints, particularly with variable refresh rate and screen recording. If turning it back on brings back a stutter you disabled it to fix, use borderless windowed instead and leave this unticked.

Confirmed by the vendor.

Source: Microsoft

Pin the game to one graphics adapter

about 10 min

The fix for laptops and mixed multi-monitor setups. Stopping Windows from moving the game between adapters removes a documented cause of device removal.

Applies to: Windows 11, Windows 10

  1. Open Settings → System → Display → Graphics.
  2. Find the game in the list, or use Browse to add its executable.
  3. Choose Options and set it to High performance so it always uses the discrete GPU.
  4. On a multi-monitor setup, check which outputs come from which adapter and keep the game on a display driven by the GPU you just pinned it to.
  5. Restart the game and test.

Confirmed by the vendor.

Source: Microsoft

Close overlays and capture tools while testing

about 10 min

Overlays draw into the same swap chain the game is rebuilding after a device change. Ruling them out costs one test run and tells you whether the game or something layered on it is failing.

Applies to: Windows 10, Windows 11

  1. Close Discord, the NVIDIA App overlay, OBS, and any hardware monitor overlay.
  2. Launch the game and alt-tab several times.
  3. If it survives, re-enable them one at a time to find which one is involved.

Update or cleanly reinstall the graphics driver

Check before applyingabout 25 min

The right step when the crash is accompanied by a display driver recovery message, which points at a driver hang rather than a display mode change.

Applies to: Windows 10, Windows 11

Before you do this

A clean driver installation resets display settings, colour profiles, and every per-game graphics profile. Note anything you have customised before you start, and expect the screen to flicker or go black during the install.

First:

  • Know your exact GPU model so you install the correct driver
  1. Note whether Windows shows a display driver stopped responding notification when it crashes.
  2. Download the current driver for your exact GPU from the manufacturer.
  3. Install it with the clean installation option.
  4. Restart, reapply any per-game 3D settings the install reset, and test again.

Confirmed by the vendor.

Source: Microsoft

Known issues

  • Re-verified 26 October 2026 with no change to the fixes. Microsoft's Fullscreen Optimizations post is still the December 2019 original and still documents that alt-tab and overlays cause problems under true exclusive fullscreen, and the Direct3D device-removed documentation still lists driver upgrades, adapter switching and a GPU reset as the events that invalidate a game's resources.

    Affects Windows 11, Windows 10 · Status: unknown

  • A Steam client fix that looks relevant is not. The Steam Client Update of 21 October 2026 lists 'Fixed Vulkan games hanging after alt-tab' - but that entry sits under the changelog's Linux heading, not General or Windows, so it addresses Steam Deck and desktop Linux only. Several write-ups repeated it without the heading. If you are on Windows, updating the Steam client will not fix this symptom.

    Affects Steam client 21 October 2026, Linux and Steam Deck only · Status: fixed

  • Neither cited Microsoft page documents a crash as the expected outcome. Both describe a device handover that a correctly written game recovers from by rebuilding its resources, which is why the fixes here are about avoiding the handover rather than repairing Windows. A game that crashes every time on alt-tab is a game-side bug, and the borderless-windowed route is a way around it rather than a cure.

    Affects Windows 11, Windows 10 · Status: open

If none of this worked

If the game crashes on its own without you switching away, alt-tab is not the trigger and this is an ordinary stability problem — start with the game's own logs and community. If every game crashes and the desktop misbehaves too, suspect the GPU, its power delivery, or thermals rather than display modes. And if alt-tab merely takes a long time instead of crashing, nothing is broken: that delay is the display mode change, and borderless windowed removes it.

Common questions

Is disabling Fullscreen Optimizations bad advice?
Not universally, but it is handed out far too freely. It exists to give you fast alt-tab and working overlays, and switching it off restores the exclusive fullscreen behaviour that makes alt-tab crashes possible. Microsoft does acknowledge real complaints about frame pacing and recording, so it is a genuine trade — just not a free performance win.
Why do old games crash on alt-tab more than new ones?
Because older DirectX versions behaved differently. In DirectX 9 a fullscreen app that lost focus had its device become lost, and drawing afterwards silently failed. Direct3D 11 removed most of that fragility, so a game built on the older path is inherently more exposed.
Why is this worse on a laptop?
Hybrid laptops have two graphics adapters, and Microsoft lists the switch from a power-saving adapter to a performance one as a cause of the device being removed. Pinning the game to one adapter takes that variable off the table.

Did this fix work?

If a step is wrong, outdated, or did not help, telling us is the fastest way to get it corrected. Reports are reviewed before new articles.

Report a problem with this page

Related problems

Sources

  • Microsoft · Documentation · checked Oct 26, 2026

    • Re-read 26 October 2026, unchanged in substance: lists the circumstances in which graphics adapter availability changes, including the graphics driver being upgraded, the system switching from a power-saving to a performance graphics adapter, and the graphics device stopping responding and being reset
    • States that DXGI then returns an error code indicating the Direct3D device must be reinitialized and device resources recreated, and that an app receiving DXGI_ERROR_DEVICE_REMOVED must release and rebuild every device-dependent resource
    • Notes that in Direct3D 9 a full-screen application losing focus made the device 'lost' and attempts to draw silently failed, and that DXGI_ERROR_DEVICE_REMOVED occurring occasionally is normal and the game should recreate its resources
  • Microsoft · Documentation · checked Oct 26, 2026

    • Re-read 26 October 2026, still the 17 December 2019 original and unchanged in substance: describes Fullscreen Optimizations as running full-screen-exclusive games in an optimized borderless windowed format, 'essentially FSE with the flexibility to go back to DWM composition in a simple manner'
    • States that under true Fullscreen Exclusive the game takes complete control of the display and that overlays and alt-tab can cause problems, and lists faster alt-tab, multi-monitor support and overlay support as benefits of FSO over FSE
    • Gives the per-game steps to disable it: right-click the .exe, open Properties, go to the Compatibility tab, select 'Disable Fullscreen Optimizations' and click Apply, recommending it only for performance regressions or input lag
  • Valve · Release notes · checked Oct 26, 2026

    • Read in a browser 26 October 2026: the changelog's Linux section contains the entry 'Fixed Vulkan games hanging after alt-tab', so the fix is scoped to Linux and Steam Deck rather than Windows
    • The General section lists only a Steam Service Error dialog fix, a British Columbia date display fix and updated certificate revocation lists; the Remote Play section lists an NVENC H.264 memory leak fix and the MacOS section a browser-window crash fix