How to make a Mac remember window positions

Updated · by , maker of Ribbon

Two settings decide whether your windows come back. Close windows when quitting an application (System Settings → Desktop & Dock) decides what happens when you quit an app: turn it off and apps reopen their windows where you left them. When you restart, keep Reopen windows when logging back in ticked. Positions are up to each app, though, and macOS has no way to save a whole layout.

After quitting an app

System Settings → Desktop & Dock → Close windows when quitting an application.

You can also decide per quit. Open the app's menu (the one with the app's name) and hold ⌥: with the setting on, Quit becomes Quit and Keep Windows; with it off, it becomes Quit and Close All Windows. ⌘⌥Q does the same from the keyboard.

After restarting or logging out

When you choose Restart, Shut Down or Log Out, the dialog has a checkbox: Reopen windows when logging back in. Leave it ticked and the apps that were open come back with their windows.

For apps you want open every time, whether or not they were open before, add them in System Settings → General → Login Items.

Why positions still get lost

Saving a whole layout

macOS can't save "editor on the left, browser on the right, terminal at the bottom" and put it back on demand. Your options:

How Ribbon handles it

Ribbon doesn't place windows by pixel position. Every window is a column on a horizontal strip, so the layout is just an order and a set of widths. Ribbon's session restore brings back the column order, widths and stacks after a restart, and it can launch at login, so your strip is waiting when the apps reopen. Each display and each desktop keeps its own strip.

You can try the strip in the live demo; Ribbon is $9.99 once for macOS 13 or later on Apple silicon.

FAQ

How do I get my Mac to reopen windows after a restart?

Leave "Reopen windows when logging back in" ticked in the restart dialog, and turn off "Close windows when quitting an application" in System Settings → Desktop & Dock.

Why does my Mac not remember window positions?

Each app saves its own positions, and some don't. Positions also change when a display is disconnected or the arrangement changes.

Can I save a window layout on a Mac?

Not with built-in tools. Window layout apps can save and restore positions, and a window manager like Ribbon rebuilds its strip of columns after a restart.

Keep reading