Guide
How do you save a window layout on a Mac? It depends on when you want it back.
Quick answer
macOS has no built-in way to save a window layout and call it back later. After a restart it reopens the windows you had open, as long as Reopen windows when logging back in stays selected. To put windows back when you plug in or unplug a display, use an app that saves a layout per display setup, like Stay. For a layout per project, use named layouts: MacLayout or Rectangle Pro.
I make Scenes, a Mac app that brings back a whole desk for each kind of work. It comes up once, near the end, and it doesn't snap windows.
Three different things people mean
"Save my window layout" sounds like one wish. It's really three, and each wants a different tool.
- After a restart, you want back what you had. macOS does this itself, and most people need no app for it.
- After unplugging a display, or plugging it back in, you want your windows where they were for that screen, without doing anything. That needs an app that saves a layout for each display setup and watches for changes.
- Per project, you want to pick a layout on purpose: the writing desk, the coding desk. That needs an app with named layouts and a shortcut.
After a restart: what macOS does by itself
The restart dialog has a checkbox that decides whether your windows come back.
- Choose Apple menu > Restart. Shut Down and Log Out show the same checkbox.
- Leave Reopen windows when logging back in selected. Deselect it if you'd rather start clean.
- Confirm. When you log back in, the windows that were open come back.
Apps do the same on their own. By default, an app that had windows open when you quit it shows them again the next time you open it (Apple). The switch that stops this is Close windows when quitting an application, in System Settings > Desktop & Dock > Windows. Leave it off.
Two things skip it. Holding Shift while you open an app skips its windows that one time. And if the Mac is forced to restart, or you hold Option to skip the dialog, it uses whatever you chose for that checkbox last time (Apple).
You may know all this as Resume. Apple's current pages don't use that name; they talk about reopening windows. Either way it brings back the last state you left, not a layout you saved.
If you want certain apps open after every restart, not only the ones you left open, add them as Login Items: System Settings > General > Login Items & Extensions, then the Add button. Documents, folders and server connections can go there too.
Rebuild a layout quickly with tiling
Since macOS Sequoia 15, the Mac can tile windows itself. It doesn't save anything, but it makes a layout fast to put back by hand. fn is the Fn or Globe key.
- fn⌃← or fn⌃→ moves the front window to the left or right half.
- fn⌃⇧← puts the front window on the left half and the next one on the right.
- fn⌃⌥⇧← puts the front window on the left half and the next two in the right-hand quarters.
- fn⌃F fills the screen with the front window, and fn⌃R returns it to its size before.
With a mouse or trackpad, hold the pointer over a window's green button: Move & Resize lays out that window, and Fill & Arrange lays out several. Hold Option for more layouts. You still press the keys again each time, window by window.
After unplugging a display
Apple doesn't say what happens to open windows when you disconnect a display. I read its pages on connecting a display, Displays settings, mirroring, spaces and Mission Control, and none of them covers it.
The nearest built-in is giving an app a home display. With a second display connected, Control-click the app's icon in the Dock, choose Options, then Desktop on Display and its number under Assign To. That decides which display's desktop the app opens on, not where its windows sit.
For the windows themselves, what most people want is for it to happen without them: plug the laptop in at the desk and the desk layout comes back. These apps can do that:
- Stay puts windows back automatically when displays change. Its saved windows are tied to an exact display setup, and it can't move windows between Spaces.
- Rectangle Pro can apply a layout when a display connects or disconnects, or when the Mac wakes from sleep.
- Moom can trigger a saved layout when you switch to a given number of displays.
- MacLayout can restore a layout when the displays change.
- Display Maid saves positions per display setup or as a named profile and can restore them automatically. Its last update was 15 October 2023, and it only acts on the Space you're on.
Per project: a layout you call up on purpose
Here you choose when the layout changes, so you want names and a shortcut.
- MacLayout saves named layouts and restores one by click, hotkey, or when an app launches. It notes which Space each window was on, but says macOS gives it no way to move windows between Spaces.
- Rectangle Pro saves layouts across several apps, brings one back by shortcut, and can launch or hide apps as it does.
- Moom saves layouts and can launch the apps in them. Its help says it can't save a layout across Spaces, so you save one per Space.
- SpaceJump is mainly for naming desktops, and since version 3.0 it also saves window layouts per desktop.
Rectangle and Magnet are a different kind of app: they snap windows rather than save them. Rectangle's own comparison lists saving whole workspaces as a Rectangle Pro feature, not one in free Rectangle. Magnet's site and App Store page describe snapping and custom commands and don't mention saving layouts.
The apps side by side
| App | Job it fits | Price | macOS | Last update |
|---|---|---|---|---|
| Moom | Per project and display changes: saved layouts, can trigger on a number of displays and launch apps; one layout per Space | $15, one licence for all your Macs; free trial | 10.13 High Sierra or later | 4.6, 19 August 2026 |
| Stay | Display changes: puts windows back for each display setup, automatically | Free on the Mac App Store; its site states no price | 14.6 or later for 1.5.1 | 1.5.1, 31 August 2025 |
| Display Maid | Display changes or named profiles; current Space only; doesn't open apps | $5.99 on the Mac App Store; demo on its site | 10.13 or later | 3.3.10, 15 October 2023 |
| MacLayout | Per project: named layouts by click or hotkey, also on display change or app launch | $19.99 once, a year of updates; 14-day trial with up to 3 layouts | 13 Ventura or later | 1.3.13, 1 November 2026 |
| Rectangle Pro | Per project and display changes: multi-app layouts, can launch or hide apps | $9.99 once, 3 devices (US price); 10 days free | 13.5 on its home page, 14.0 in its update feed | 3.98, 4 November 2026 |
| SpaceJump | Names desktops; saves window layouts per desktop | $14.99 once, 3 Macs; 14-day trial | 13 Ventura or later | 3.0.2, 2 November 2026 |
| Rectangle | Snapping only: halves, thirds and corners; can't save layouts | Free, open source | 14 or later (older versions for older macOS) | 2.0.4, 20 October 2026 |
| Magnet | Snapping only: halves, thirds and quarters; saving not mentioned | $4.99 on the Mac App Store | 13 Ventura or later | 3.0.7, 12 April 2025 |
If you only care about restarts, I'd skip all of these and use the checkbox. If your windows end up in the wrong place every time you plug the laptop into a display, Stay or Rectangle Pro. If you switch between projects all day, MacLayout or Rectangle Pro.
Getting tabs back after a restart
Apple's restart and quit pages talk about windows, not tabs. A browser window is a window, so the same two settings are the first thing to check: Reopen windows when logging back in, and Close windows when quitting an application. And don't hold Shift as you open the browser, or its windows stay closed that time.
For a set of tabs you keep per project, Safari has Tab Groups. Each Safari profile keeps its own, and a Focus filter can show only certain Tab Groups while, say, a Work Focus is on (Apple). I only read Apple's pages for this, not each browser's own settings, so that's as far as I'll go.
Or save the whole desk, not just the windows
This is the part about my app. Scenes is for the per-project case. It gives a name to each kind of work and remembers its apps, where every window sits, its browser tabs, open documents, Finder folders and wallpaper. Hold ⌃, tap tab and let go, and the whole Mac switches. Apps that aren't running get reopened. Window positions are remembered per display setup, so a laptop-only layout never overwrites your desk layout, and a Scene can start by itself when a particular display connects. Move a window while you work and the Scene keeps that change.
What it doesn't do: snap or tile windows the way Rectangle and Magnet do, or move windows between Spaces. It works on the desktop you're on. Tabs come back in Safari, Chrome, Arc, Dia, Brave, Edge, Vivaldi and Chromium; Firefox-based browsers only get their windows placed. It needs Accessibility to move windows and no Screen Recording permission, runs on macOS 15 Sequoia or later, and is a one-time purchase. See how Scenes works.
Questions people ask
Does a Mac remember window positions after a restart?
It reopens the windows that were open, as long as Reopen windows when logging back in was selected in the restart dialog. Apple calls this reopening windows. There's no built-in way to save a layout and pick it again later.
Is there a Resume setting on the Mac?
Not under that name. Apple's current pages don't use the word Resume. The settings are the Reopen windows when logging back in checkbox in the restart dialog, and Close windows when quitting an application in Desktop & Dock settings.
What happens to my windows when I unplug a monitor?
Apple doesn't say. Its display pages don't describe where open windows go. Stay and Display Maid save window positions per display setup, and Rectangle Pro and MacLayout can apply a saved layout when the displays change.
Can the free Rectangle save window layouts?
No. Rectangle's own comparison lists saving whole workspaces as a Rectangle Pro feature. Rectangle Pro is $9.99 once and can bring a layout back by shortcut or when a display connects.
How I checked
I read Apple's Mac User Guide pages on restarting, quitting apps, Desktop & Dock settings, Login Items, window tiling, spaces, Focus and external displays (the current edition, for macOS 27 Golden Gate; for tiling I also read the Sequoia 15 edition), two Apple support articles, and each app's own website, App Store page or update feed, all on 5 November 2026. Prices are what each maker lists that day. I didn't install the apps. If something here is wrong or out of date, email support@scenesmac.com and I'll fix it.
- Shut down or restart your Mac, Apple, read 5 November 2026
- Quit apps and Desktop & Dock settings, Apple, read 5 November 2026
- Apple support article 102318, published 8 December 2025, read 5 November 2026
- Open items automatically when you log in, Apple, read 5 November 2026
- Tile app windows, window tiling shortcuts and the Sequoia 15 edition, Apple, read 5 November 2026
- Work in multiple spaces and Mission Control, Apple, read 5 November 2026
- Connect an external display, Displays settings and extend or mirror, Apple, read 5 November 2026
- Set up a Focus and Safari profiles, Apple, read 5 November 2026
- Stay and its Mac App Store page, read 5 November 2026
- Display Maid and its Mac App Store page, read 5 November 2026
- MacLayout and its update feed, read 5 November 2026
- Rectangle Pro, Rectangle's comparison and Rectangle on GitHub, read 5 November 2026
- Magnet and its Mac App Store page, read 5 November 2026
- SpaceJump and its update feed, read 5 November 2026
- Moom and its help and release notes, Many Tricks, read 5 November 2026