Skip to content

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.

Guide · Updated 13 October 2026

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.