Does macOS remember window locations per monitor?
Not reliably, and there is no setting for it like Windows 11 has.
Guide
Short answer: macOS has no built-in setting for it. Save your desk as a SnapState workspace and set it to restore when that monitor connects, and your windows go back to the right screen and Space on their own.
With the setting on, Windows remembers which monitor each window was on and moves it back when you reconnect that monitor.
When a display disconnects, macOS moves its windows to a remaining screen. When it reconnects, macOS sometimes moves them back and often does not, especially after sleep, a dock reconnect or a restart. There is no option in System Settings to change this.
In System Settings, Desktop and Dock, turn off "Automatically rearrange Spaces based on most recent use" and keep "Displays have separate Spaces" on. Assign apps to a desktop by right clicking their Dock icon, Options, This Desktop. These keep Spaces steady but do not move windows back to a reconnected monitor.
1. Arrange your windows across your monitors and Spaces. 2. Save them as a SnapState workspace, for example Desk. 3. In the workspace, turn on restore when a monitor connects, or when the matching display layout appears. Next time you plug in, SnapState puts every window back on its monitor and Space, including full screen apps and browser tabs. Save a second workspace for the laptop alone if you like.
Resettle learns a layout per desk automatically; Stay and Display Maid restore saved positions. See SnapState vs Resettle and Stay alternative.
SnapState restores the layout you saved rather than learning as you go, and same-model monitors can occasionally swap. It needs macOS 15.7 or later.
Not reliably, and there is no setting for it like Windows 11 has.
A restore app. SnapState restores a saved layout automatically when a monitor connects or a matching display layout appears.
Yes. SnapState waits for the displays to settle, then restores.