Mac window positions lost after a restart or login

26 November 2026 · Martín Acuña Lledó · Applies to macOS 13 Ventura through macOS 27

You restart for an update, log back in, and your apps reopen. But the browser that lived on the left monitor is on the laptop, everything is stacked on one screen, or the monitors themselves are in the wrong order. A Hacker News user summed it up in 2020: every single login involved rearranging their windows. This page explains what macOS restores after a restart and what it does not, why several monitors make it worse, the fixes without an app, and what my app does at login.

What macOS restores

Two settings decide whether your windows come back at all:

What neither setting promises is the monitor each window goes back to. The windows reopen on the displays that exist while you log in, and that is where multiple monitors go wrong.

Why monitors make it worse

Fixes without an app

What those fixes do not cover

How Many Displays handles it

Many Displays keeps the last good layout on disk, one per combination of displays. When it starts at login, with "Open at Login" turned on in its menu, it waits until the displays have been stable for a few seconds. Window IDs change after a restart, so it matches each saved window to the reopened one of the same app by its title, or when the app has a single window, and moves those back to their display, position and size.

Where it does not help:

The free trial lasts 14 days, with no account and no card.

Download the free trial How it works

Questions

Why do my windows open on the wrong monitor after a restart?

macOS can reopen your apps' windows after a restart, but each window is placed on the displays that exist while you log in. If a monitor wakes late, or two identical monitors come up in a different order, windows land on whatever screen is there first. A Hacker News user put it as macOS moving them all to whatever display woke up first.

What does Reopen windows when logging back in do?

It is the checkbox in the Restart and Shut Down dialogs. Apple's guide says to deselect it if you don't want open app windows to reopen when your Mac restarts. Leaving it selected brings the apps and their windows back.

Can I make apps always open on a specific monitor?

Yes, per app. Control-click its Dock icon, choose Options, and under Assign To pick Desktop on Display with the monitor's number. Apple's guide says the app then opens in the current space on that display.

Does Many Displays restore windows after a restart?

Yes, if it is set to open at login. Window IDs change after a restart, so it matches saved windows to the reopened ones by title, or when an app has a single window, and then moves those back. Windows it cannot match, and apps that do not reopen, are left as they are.