Pin Dock to Screen

Stop your Mac Dock from switching screens.

On a multi-monitor Mac, the Dock follows your cursor from display to display. Pin Dock to Screen ends that: choose the screen the Dock belongs on and it stays there — without turning on separate Spaces and without logging out.

How do you stop the Mac Dock from switching screens?

macOS has no built-in setting that keeps the Dock on one display. The only native option is turning on “Displays have separate Spaces” in System Settings → Desktop & Dock → Mission Control, which gives each display its own Dock but also splits your Spaces across screens and requires a logout. DockLockr is a macOS menu-bar app that does it directly: its Pin Dock to Screen option holds the Dock on a display you choose, while separate Spaces stays off and your Spaces keep spanning both screens. DockLockr costs $9.99 one-time, runs on macOS 15 or later on Apple Silicon, and has a 3-day free trial.

Price
$9.99 one-time (no subscription)
Free trial
3 days, no card required
Requires
macOS 15 or later, Apple Silicon
Licence covers
Up to 3 devices
Distribution
Signed, notarised .dmg (not Mac App Store)

Why the Dock keeps switching displays

The behavior traces back to one setting: System Settings → Desktop & Dock → Mission Control → “Displays have separate Spaces”.

When it's off— the default on most Macs — every display shares one set of Spaces, and with them, a single Dock. Because there's only one Dock to go around, macOS decides which screen should have it, using your cursor position and whichever display holds the frontmost window. The intent is that the Dock follows you. In practice the trigger is sensitive enough that moving the pointer toward another screen drags the Dock along with it, often mid-task.

There's no “keep the Dock here” checkbox anywhere in System Settings. That's the gap this feature fills.

The native fix, and what it costs you

Turning on“Displays have separate Spaces” does stop the jumping, because each display gets its own Dock. Nothing needs to move anymore. But it's a heavier change than it looks:

  • Your Spaces split apart. Each display gets its own independent set. If you're used to one Space spanning both screens, that muscle memory stops working.
  • Full-screen apps behave differently. Sending an app full-screen claims only its own display rather than participating in a shared Space.
  • You have to log out. macOS won't apply the change until you do.

That's a real trade: restructure how you use every screen, in order to stop one bar of icons from moving.

What Pin Dock to Screen does instead

DockLockr takes the narrow path. You pick the display the Dock should live on, and it stays pinned there — while “Displays have separate Spaces” remains off and your Spaces keep spanning screens exactly as they do today. No logout, no window-management overhaul.

The pin holds across Spaces and Stage Manager states, and it survives sleep and wake. If you disconnect the pinned display, macOS moves the Dock to a screen that still exists; reconnect it and DockLockr brings the Dock home.

Turning it on

  1. Click the DockLockr lock icon in your menu bar.
  2. Choose Pin Dock to Screen and select the display you want.
  3. That's it. Move your cursor between screens — the Dock stays where you put it.

Toggle it back off whenever you like, and the Dock returns to standard macOS behavior immediately. Quitting DockLockr does the same, so you're never left in a state you can't undo.

Want the longer explanation of Apple's Spaces model and how it ended up this way? We wrote it up in why the macOS Dock keeps jumping between displays.

Questions about Pin Dock to Screen

The other two locks

Each lock is an independent toggle. Use one, use all three.