Cue
Guides Try free

Your Mac forgets where the windows were when you plug in a monitor

Updated October 2026

You take your MacBook somewhere else, come back, plug into the monitor or the dock, and every window stays on the laptop screen or lands on the wrong display. Dragging them back by hand every day is the usual fix.

Why it happens

macOS keeps a window on a display only while that display is connected. When you unplug, it moves everything to the built-in screen, and when you plug back in it does not remember which window was where. After a restart, or with two monitors of the same model, macOS can also change which display it treats as first, and windows end up on the wrong one.

What you can try in macOS

This keeps the setup steady, but macOS still won't restore the size and position of each window.

How Cue fixes it

Cue for Mac

One keystroke. Every window in place, across all your displays.

Every feature for 7 days, then $8 once. macOS 14 or later, Apple Silicon and Intel.

Questions

Does it work with a dock or a USB-C hub?

Yes. Monitors behind a dock or a hub are ordinary displays to macOS, and Cue recognises them the same way.

What happens when I'm away from the monitor?

Scenes for displays that are not connected wait in their own section. They apply partly right away and in full once the displays are back.

More guides

Windows move to the wrong monitor after your Mac sleepsWhy macOS moves windows when a monitor sleeps, and how to get them back automatically. How to save and restore your window layout on a MacSave where every window sits on every screen and bring the whole desk back with one key.