Starcraft 2 Windowed Mode: How to Set It Up
In this article
- Why Play Starcraft 2 in Windowed Mode?
- How to Enable Windowed Mode In-Game
- Windowed vs. Windowed Fullscreen: What's the Difference?
- How to Force Windowed Mode via the Variables File
- Common Problems and Fixes
- Is Windowed Mode Safe for Competitive Play?
- Alternatives to Windowed Mode
- Frequently Asked Questions
Starcraft 2 windowed mode lets you run the game in a resizable window instead of fullscreen, which is useful for multitasking, streaming, or avoiding alt-tab crashes. You can enable it in the game's video settings or by editing a configuration file, and the process takes less than a minute.
Why Play Starcraft 2 in Windowed Mode?
Most players use windowed mode for practical reasons beyond just personal preference. The most common reasons include:
- Faster alt-tabbing: Switching to a browser, Discord, or a second monitor is instant and doesn't trigger the black-screen delay that fullscreen often causes.
- Streaming and recording: Capture software like OBS can grab the window more reliably without borderless fullscreen quirks.
- Running multiple clients: If you play on more than one account or want to watch a replay while chatting, a window is essential.
- Lower GPU load: A smaller window can reduce rendering resolution, which helps on weaker laptops or integrated graphics.
How to Enable Windowed Mode In-Game
The simplest method is through the game's own settings menu. Here are the exact steps for the current version of Starcraft 2 (as of 2024):
- Launch Starcraft 2 and log in.
- Click the Options menu (the gear icon) from the main screen.
- Select the Video tab.
- Find the Display Mode dropdown. It usually offers Fullscreen, Windowed, and Windowed Fullscreen.
- Choose Windowed.
- Click Apply – the game will immediately switch to a windowed view.
Once windowed, you can drag the edges of the window to resize it. The game will remember your chosen size and position the next time you launch it.
Windowed vs. Windowed Fullscreen: What's the Difference?
Many players confuse these two options, and they behave quite differently:
- Windowed: The game runs in a resizable window with a title bar. It does not cover the entire screen unless you manually stretch it. You can see your desktop and other windows around it. Alt-tabbing is nearly instant.
- Windowed Fullscreen (also called Borderless): The game fills the entire screen but has no visible borders or title bar. It behaves like fullscreen for visuals but uses the Windows desktop compositor, so alt-tabbing is faster than true fullscreen. However, it can introduce slight input lag on some systems and uses more GPU memory than a small window.
If your goal is just to avoid alt-tab crashes, Windowed Fullscreen is often the better choice because it keeps the game looking like fullscreen while making switching smoother. If you want to see other apps side-by-side, use Windowed.
How to Force Windowed Mode via the Variables File
If the in-game option is greyed out or you want to set a specific resolution before launching, you can edit the configuration file. This is also the fix for players whose settings keep resetting.
- Close Starcraft 2 completely.
- Press Windows + R, type
%Documents%and press Enter. - Navigate to
StarCraft II→Variables.txt. - Open the file with Notepad. Look for the line
displaymode=– if it doesn't exist, add it at the end. - Set it to
displaymode=0for windowed,displaymode=1for windowed fullscreen, ordisplaymode=2for fullscreen. - You can also set
displaywidth=anddisplayheight=to your desired window size (e.g.,displaywidth=1280anddisplayheight=720). - Save the file and launch the game.
Note: The game may overwrite this file if you change settings in-game. If you need a persistent setup, make the file read-only after editing (right-click → Properties → check Read-only).
Common Problems and Fixes
Players often run into a few issues when using windowed mode. Here are the most frequent ones and how to solve them:
- Window is too small or too large: Drag the edges to resize, or edit the
displaywidthanddisplayheightvalues in Variables.txt. The game does not have a built-in slider for window size. - Mouse cursor feels laggy or misaligned: This usually happens when the window resolution doesn't match your desktop scaling settings. Right-click your desktop → Display settings → ensure scaling is at 100% for the monitor you're using, or set the game window to a resolution that matches your native resolution divided by 2 (e.g., 1920x1080 → 960x540).
- Game crashes when switching to windowed: Update your graphics drivers. If that doesn't help, try Windowed Fullscreen instead, which uses a different rendering path.
- Windowed mode causes lower FPS: This is counterintuitive but happens because windowed mode disables certain fullscreen optimizations. If you notice a performance drop, try Windowed Fullscreen, which often performs better than true windowed mode.
Is Windowed Mode Safe for Competitive Play?
Yes, windowed mode is completely safe and does not trigger any anti-cheat flags. Blizzard allows it in all game modes, including ranked ladder. Many professional players use windowed fullscreen for streaming. The only competitive downside is that a smaller window can make it harder to see small units, and some players report a slight increase in input latency compared to true fullscreen, but this is generally negligible for casual play.
Alternatives to Windowed Mode
If windowed mode doesn't solve your specific problem, consider these alternatives:
- Borderless Gaming software: Third-party tools can force any game into borderless windowed mode, even if the game doesn't support it natively. However, these tools are not officially supported and may cause issues with anti-cheat, so use at your own risk.
- Multiple monitors with fullscreen: If you have two screens, you can run the game in fullscreen on one monitor and still alt-tab quickly if you disable fullscreen optimizations in the game's executable properties (right-click StarCraft II.exe → Properties → Compatibility → check "Disable fullscreen optimizations").
- Windowed Fullscreen: As mentioned, this is the best middle ground for most players who want fast alt-tabbing without a visible window border.
Frequently Asked Questions
How do I make Starcraft 2 windowed mode stick?
If the game resets to fullscreen every time you launch, edit Variables.txt as described above and set it to read-only. Also, make sure you're not using a third-party launcher that overrides settings.
Can I play Starcraft 2 in windowed mode on a Mac?
Yes, the same menu options exist in the Mac version. The Variables.txt file is located in ~/Documents/StarCraft II/. The process is identical.
Does windowed mode affect my ladder rank?
No. The game does not restrict matchmaking based on display mode. You can play ranked matches in any window mode.
Why is my windowed mode blurry?
This happens when the window size doesn't match your monitor's native aspect ratio. For example, if you set a 16:9 window on a 16:10 monitor, it will stretch. Use a resolution that matches your monitor's aspect ratio, or enable "Maintain aspect ratio" in your GPU control panel.
Can I use windowed mode with a custom resolution lower than my desktop?
Yes, you can set any width and height in Variables.txt as long as it's within your GPU's supported range. The game will render at that resolution inside the window.