Two or three monitors, a dozen windows, one key press to put every window back where it belongs.
A multi-monitor desk is great until the layout falls apart. A monitor sleeps, you undock for a meeting, an app relaunches in the wrong place, and suddenly windows are scattered or stacked on one screen. Rebuilding a two or three monitor layout by hand takes a few minutes each time, and macOS has no built-in command to save a layout and put it back.
Short version: save your multi-monitor arrangement as a SnapState workspace, then press Control-Command-1 (or 2 to 6 for other workspaces) to put every window back on the right monitor. The menu bar and automatic triggers work too.
Why multi-monitor layouts fall apart
When a display disconnects, sleeps deeply, or drops its signal, macOS generally moves its windows onto a display that is still available. When the display returns, macOS re-detects it but does not reliably send each window back to its earlier display and position. With more monitors there are more chances for this to happen: after sleep and wake, after switching a monitor input, or after unplugging a monitor.
Free and manual workarounds
- Drag windows back by hand. Free, and fine for a small number of windows.
- Keep the display arrangement consistent.In System Settings > Displays, check that the arrangement matches your desk and that the main display is the one you expect, so macOS treats the monitors the same way each time.
- If you use Spaces.The Displays have separate Spaces option in System Settings > Desktop & Dock, and assigning apps to a desktop from the Dock icon Options menu, can keep some apps on the right display.
- Try Stay. Stay by Cordless Dog is free since version 1.5.1. It stores window positions for each display combination, restores them automatically as displays connect and disconnect, and its documentation mentions hot keys. If Stay covers your needs, it is a good free choice. See SnapState vs Stay.
One shortcut with SnapState, step by step
- Arrange windows across all your monitors. Put every window on the monitor and in the position you want, for example code on the center display, docs on the left, and chat on the laptop screen.
- Save the layout as a named workspace. Capture it from the SnapState menu bar app with a name such as Three monitor coding. SnapState records window positions and sizes, the apps to relaunch, the display layout, and active browser tab URLs.
- Save other layouts you use. Repeat for other setups, such as a writing layout or a calls layout. Up to six workspaces can each have one of the Control-Command-1 to 6 shortcuts, so six layouts are one key press away.
- Press the shortcut to put every window back. Whenever windows drift or get shuffled, press the workspace shortcut, for example Control-Command-1. SnapState relaunches missing apps and moves each window back to its saved monitor, position, and size.
- Use the menu bar or automatic triggers too. You can also pick a workspace from the menu bar, or arm it to restore when a monitor connects or disconnects, when a matching display layout appears, or on wake from sleep.
SnapState is a native macOS menu bar app. Unlike per-display position memory, each workspace is a named snapshot you choose to recall, so the same three monitors can have a coding layout on Control-Command-1 and a meetings layout on Control-Command-2. Restoring relaunches missing apps and reopens the active tab URL of each window in Safari, Chrome, Edge, Brave, Arc, and Chromium once Automation permission is granted. For more on building good workspaces, see how to save a window layout on Mac.
Example: a three monitor desk
| Shortcut | Workspace | What it restores |
|---|
| Control-Command-1 | Coding | Editor on the center monitor, terminal and docs on the left, chat on the laptop screen |
|---|
| Control-Command-2 | Writing | Document centered, research browser windows on the side monitors |
|---|
| Control-Command-3 | Calls | Video call on one monitor, notes and calendar on another |
|---|
| Menu bar | Any workspace | Pick any saved workspace, including ones without a shortcut |
|---|
Practical details
SnapState costs $9.99 as a one-time purchase, with a lifetime license for up to three Macs and a 14-day refund. Version 2.5.2 requires macOS 15.7 or later on Apple Silicon and Intel Macs and ships as a signed, notarized DMG rather than through the Mac App Store. It needs Accessibility permission to move windows, and workspace data stays local on your Mac as JSON in ~/Library/Application Support/SnapState/.
Honest limitations
SnapState saves and restores only the visible windows on the current desktop, so it does not save or restore macOS Spaces. Firefox is not supported, and only the active tab URL per supported browser window is restored, not full tab sets. Global shortcuts cover up to six workspaces; others are restored from the menu bar. It is not a tiling or snapping window manager, and it requires macOS 15.7 or later.
Common questions
Is there one shortcut to put every window back on the right monitor on Mac?
macOS does not include a built-in shortcut that restores a saved multi-monitor window layout. SnapState adds global Control-Command-1 to 6 shortcuts, one per saved workspace, that move every saved window back to its monitor, position, and size.
How many layouts can I restore with keyboard shortcuts?
Up to six workspaces can have a global shortcut, Control-Command-1 through Control-Command-6. Any workspace can also be restored from the SnapState menu bar menu.
What happens if one of my monitors is not connected when I press the shortcut?
SnapState remaps saved window frames onto the displays you have now when the display setup differs, so windows stay on screen. When the full setup is back, press the shortcut again or arm the matching display layout trigger to restore the complete layout.
Is there a free way to restore a multi-monitor window layout?
You can drag windows back by hand, and keep the display arrangement consistent in System Settings > Displays. Stay by Cordless Dog is free since version 1.5.1 and restores window positions per display setup automatically, and it also documents hot keys. If it covers your needs, it is a good free choice.
What does SnapState not restore?
It restores only the visible windows on the current desktop, so it does not save or restore macOS Spaces. Firefox is not supported, only the active tab URL per supported browser window is restored rather than full tab sets, it is not a tiling window manager, and it requires macOS 15.7 or later.