It's based on Microsoft's own support documentation, read on 26 November 2026.
Many PC players run games in borderless windowed mode because it makes switching to other apps quicker. Windows 11 has a graphics setting, Optimizations for windowed games, that's designed to make older games behave better in that mode.
What Optimizations for windowed games does
Microsoft says Optimizations for windowed games improves gaming performance for DirectX 10 and DirectX 11 games running in windowed and borderless windowed modes. It moves compatible games from the older blt-model presentation to the newer flip-model presentation.
According to Microsoft, that does two things:
Microsoft's page only describes DirectX 10 and DirectX 11 games, so don't expect it to change games that use other graphics APIs. If you're not sure which display mode to use in the first place, see our fullscreen vs borderless windowed guide.
How to turn it on for all games
Select the Start button, then choose Settings.
Select System, then Display.
Select Graphics.
Under Default settings, turn on the switch next to Optimizations for windowed games.
Restart your game.
Microsoft notes that if you turn on Auto HDR, Optimizations for windowed games is turned on automatically. It also says that if you want to turn off Optimizations for windowed games, you'll need to turn off Auto HDR first. Our Auto HDR vs RTX HDR guide explains the HDR side.
How to turn it off for one game
If a particular game misbehaves with the setting on, you can turn it off for that game only:
Select Start, then Settings.
Go to System > Display > Graphics.
Under Custom options for apps, select the game and choose Options.
Turn off the Optimizations for windowed games switch. You can also tick Don't use Auto HDR here if you want Auto HDR off for that game.
Select Save, then restart the game.
The same Options panel is where you choose which graphics processor a game uses on PCs with more than one GPU, with choices of Let Windows decide, Power saving and High performance. Our guide on how to choose the GPU per app in Windows 11 covers that in more detail.
Getting the most from it
Because Microsoft says the setting enables variable refresh rate in compatible windowed games, it pairs well with a VRR monitor. See how to turn on variable refresh rate in Windows 11 to make sure that's switched on too. For more ways to cut input lag on NVIDIA and AMD cards, see our guide on how to cap FPS on NVIDIA and AMD.
Our verdict
If you play DirectX 10 or DirectX 11 games in windowed or borderless windowed mode, turn on Optimizations for windowed games in Settings > System > Display > Graphics, because Microsoft says it reduces frame latency and unlocks Auto HDR and variable refresh rate in those games. If one game has problems, switch it off for just that game under Custom options for apps rather than turning it off everywhere.