Why your Mac windows jump around after unplugging a monitor
Unplug an external display and every window crowds onto the laptop. Plug it back in and they stay there. Why it happens and how to get your layout back fast.
You unplug from your desk, work on the laptop, plug back in, and every window is still squeezed onto the small screen. You drag them back one by one. Every day.
Why it happens
When a display goes away, macOS moves its windows onto a display that still exists. When the display comes back, macOS does not know which windows you would like returned, so it leaves them.
What helps, built in
- Use full screen apps for the things that live on the monitor; they tend to return to it.
- Assign apps to a Space on a specific display: right click the app in the Dock, Options, Assign To.
- Sleep the Mac before unplugging instead of unplugging while awake. Results vary by macOS version.
Layouts that come back
ClutterFreeMac remembers each display's strip by the display itself, not by its position. When the monitor reconnects, its windows go back into their places on its strip. In between, nothing is left hanging off an edge you cannot see.
For one off rearranging, ⌃ ⌥ N sends a window to the next display.
Questions
Can a Mac remember window positions for an external monitor?
Only partly, and not reliably. A window manager that remembers layouts per display does it for you.
Read next
- Guide
How to move a window to another monitor on a Mac
Dragging across screens works but is clumsy. The Window menu option, the keyboard way, and how to send a window to the next display with one shortcut.
Read › - Guide
Clamshell mode: using a MacBook closed with one monitor
What a MacBook needs to run with the lid closed on an external display, why windows jump when you close or open it, and how to keep your layout in place.
Read › - Guide
Getting the most from an ultrawide monitor on a Mac
An ultrawide is too wide for one window and awkward to split in halves. How to arrange windows on a Mac with an ultrawide, from built in tiling to a strip.
Read ›