macOS menu-bar app

Keep the Dock on the screen you're using

On a multi-monitor Mac the Dock never follows you. DockPilot moves it to the display your cursor is on — or pins it to the monitor you choose.

macOS 14+ · Apple Silicon · No permissions · MIT licensed
Cursor on left screen
Core features

Two modes, one switch

Automatic when you want it, pinned when you don't — all from the menu bar.

🧭

Follow the cursor

Wherever your cursor settles, the Dock follows. An adjustable delay (0.2–1.2s) avoids accidental switches when you just pass through.

📌

Pin to a display

Lock the Dock to the monitor you pick. It's remembered by a stable display ID, so it stays put across sleep and reconnects.

🔓

No system permissions

No Accessibility permission required. Cursor tracking polls a public API, and screen switching uses the public display-configuration API.

▫️

Lives in the menu bar

A background app with no Dock icon. The menu shows the current mode at a glance — switch anytime, launch at login.

How it works

How it actually works

macOS has no public API to move only the Dock. The Dock and the menu bar both belong to the main display, so DockPilot brings the Dock over by making the target screen the main display — the menu bar moves along with it. That's the accepted trade-off for reliable behavior.
STEP 01

Detect the cursor's screen

Polls the cursor position to tell which display you're working on.

→
STEP 02

Set it as main

Makes the target screen the main display via CoreGraphics — no special permission.

→
STEP 03

The Dock follows

The Dock and menu bar appear on the screen you're using.

DockPilot

Hand your Dock to DockPilot

Free, open-source, no ads. Download the DMG and drag it into Applications, or build from source.

macOS 14 (Sonoma)+ · Apple Silicon · Un-notarized — right-click → Open on first launch
git clone … && make dmg
FAQ

FAQ

How do I keep the macOS Dock on the screen I'm using?

Install DockPilot and choose "Follow the cursor" so the Dock moves to whichever display your cursor is on, or "Pin to a display" to lock it to one monitor. No system permissions are required.

Why does my Mac Dock jump to the wrong monitor?

macOS ties the Dock and menu bar to the "main display," so whenever your active screen isn't the main one, the Dock shows up on the wrong monitor. DockPilot fixes this by switching which display is main to match the screen you're using.

Is DockPilot free and open source?

Yes. DockPilot is fully open source under the MIT license and completely free — no ads, no in-app purchases. Download the DMG or build it from source.

Does moving the Dock also move the menu bar?

Yes. macOS has no public API to move only the Dock; the Dock and the menu bar both belong to the main display, so they move together. It's an honest trade-off DockPilot accepts in exchange for reliable behavior.