Blog · Guide

Plug in your MacBook without rearranging docks

RogsApps · · 5 min read

How do you keep your dock layout when you plug your MacBook into monitors and unplug it again? At your desk you want docks on the big screens; on the go, a dock that fits the small screen. This guide shows how to set up both layouts once and let Dock Ultimate switch between them when you plug in or unplug.

What macOS takes care of

Whether the macOS Dock is available on all displays or only on the main display is set in System Settings > Desktop & Dock with the option “Displays have separate Spaces”. Which display is the main one is set in Displays settings with “Use as”; there you also arrange the displays. These two options in Displays settings appear once an external display is connected. macOS has no setting for different dock layouts per display setup.

Sources: Apple Support: Change Desktop & Dock settings ↗ and Apple Support: Displays settings ↗, checked 15 November 2026.

What a preset saves

A preset in Dock Ultimate saves your docks, their lists and the settings of the Docks page (including the defaults for all docks), Behavior and Windows. There are three slots you can name, for example “Desk”, “On the go” and “Presentation”. The macOS Dock, the keyboard shortcuts, the menu-bar icon and the access for assistants are not part of a preset. Loading a preset therefore changes only the saved dock and window options.

Step by step: set up two layouts

Step 1: Turn on automatic loading

Open the Presets page in the settings and, under Load automatically, turn on “Load a preset automatically when the displays change”. About two seconds after a display connects or disconnects, Dock Ultimate then loads the preset that belongs to the displays connected now.

The setting “Load a preset automatically when the displays change” under Load automatically.
Real capture from Dock Ultimate: switch it on once, and the matching preset loads when you plug in or unplug a display.

Step 2: The layout for your desk

Connect your MacBook to the displays the layout is meant for, and set up your docks for them: on the Docks page, expand “Arrangement of displays and docks”, and a click on a free edge adds a dock there. The guide How to set up a dock on every monitor on a Mac › walks you through it.

Step 3: Save it in a slot

On the Presets page, click “Save Arrangement…”, choose a slot and click Save. Type a name, such as “Desk”, in the slot’s row. You can also save from the menu bar icon: under Presets, each slot has “Save as “…””. Because automatic loading is on, the new preset belongs right away to exactly the displays connected now; the Presets page lists them under “Loads with:”. A preset you saved earlier is assigned to the connected displays further down the page with “Use with These Displays”. A preset can belong to up to eight display setups; mirrored displays do not count separately.

Step 4: The layout for the road

Disconnect the displays and set up the docks for the MacBook alone, for example a slim dock on the left edge that leaves the full height to your windows. Save this layout in a second slot. It then belongs to the MacBook without external displays, and the next time you plug in or unplug, Dock Ultimate switches between the two layouts.

MacBook screen with a slim dock on the left edge and a large Photo Studio window beside it.
Real capture from Dock Ultimate: on the laptop, a slim dock at the left edge leaves the full height to your window.

Safety net: ask first and take it back

If you want to be asked before every automatic load, turn on “Always ask before loading”. A question appears first, and nothing changes until you answer: Load Preset applies the layout, Keep Current Docks leaves everything as it is. A layout that is not saved in any preset yet is only replaced after you confirm, even without this switch.

If the wrong layout loaded, take back the last load: in the menu bar icon under Presets, choose Undo Preset Load. This restores the dock and window options that applied before the last load. Then check the assignments on the Presets page.

What happens to the docks of a disconnected display

Even without presets, docks are not lost when you unplug a display. The docks of a disconnected display remain selectable in the overview and come back once the display is connected again.

Load presets by hand

Not every change depends on displays. In the menu bar icon, under Presets, you load any saved preset with “Load “…””, even without an assignment, for example for a presentation on the same monitor. A preset that is not assigned to any displays only loads when you load it yourself.

More on this topic

This article was written with AI assistance. The steps have been checked against the help and the features of Dock Ultimate.