Stop Mac Dock Moving Between Displays (Fix)
In this article
To stop your Mac Dock from jumping to another display, you need to adjust the Dock's screen assignment in System Settings. The key is to set the Dock to appear only on the display you designate as your main screen, or to disable the “Displays have separate Spaces” option if you want the Dock to stay put. Here’s the exact fix.
What You'll Need
- A Mac running macOS Ventura or later (for System Settings) or macOS Monterey or earlier (for System Preferences).
- Access to System Settings/Preferences (no admin password required for this change).
- Your external display connected and powered on.
Step-by-Step
- Open System Settings (or System Preferences).
- On macOS Ventura and later: Click the Apple menu and choose System Settings.
- On macOS Monterey and earlier: Click the Apple menu and choose System Preferences.
- Go to the Displays settings.
- In System Settings: Click Displays in the sidebar.
- In System Preferences: Click Displays.
Note: Menu names may differ slightly depending on your macOS version and region.
- Check if “Displays have separate Spaces” is enabled.
- Scroll down in the Displays settings and look for the Displays have separate Spaces checkbox (under the “Spaces” section).
- If it is checked, the Dock can appear on any display where you move your cursor. Uncheck it to keep the Dock on only the main display.
- If it is unchecked, the Dock will always appear on the display you set as “Main.”
- Set your desired main display.
- In the same Displays settings, you’ll see a representation of your displays. Click the “Main” dropdown (or the menu next to the display you want as your primary) and select the display you want the Dock to stay on.
- If you don’t see a “Main” dropdown, look for a “Arrangement” tab (in older macOS) and drag the white menu bar onto the display you want as your main.
- Test the Dock.
- Move your cursor to the other display and see if the Dock appears. If it still moves, proceed to the next step.
- If the Dock still moves, disable per-display Spaces entirely.
- Go to System Settings > Desktop & Dock (or System Preferences > Mission Control on older macOS).
- Find the “Displays have separate Spaces” checkbox and uncheck it.
- This forces all displays to share the same Spaces, which keeps the Dock on the main display only.
- Restart the Dock (if needed).
- If the Dock still misbehaves, open Terminal and type
killall Dockthen press Return. The Dock will restart and should obey the new settings.
- If the Dock still misbehaves, open Terminal and type
Common Mistakes
- Not unchecking “Displays have separate Spaces” – This is the main culprit. If it’s checked, the Dock can move to whichever display you’re actively using.
- Setting the wrong display as “Main” – If you have the “Main” dropdown set to a display you don’t want the Dock on, the Dock will appear there.
- Changing settings on the wrong display’s menu – In the Displays settings, each display has its own settings. Make sure you’re looking at the settings for the display you want to be the main one.
- Forgetting to restart the Dock after changes – Sometimes the Dock doesn’t update immediately. A quick
killall Dockin Terminal forces it to refresh.
Tips
- Use the menu bar as a visual cue – The display with the menu bar (the white bar at the top) is your main display. If you want the Dock to stay on a specific screen, make sure that screen has the menu bar.
- Remember: The Dock only appears on the main display when “Displays have separate Spaces” is off. If you want the Dock on a secondary display, you’ll need to set that display as “Main” (and keep separate Spaces off).
- If you want the Dock to appear on every display, leave “Displays have separate Spaces” enabled. That’s the only way to have a Dock on each screen.
Troubleshooting
If the Dock still moves after following the steps:
- Check your macOS version. The exact wording of settings may differ. If you’re on macOS Monterey or earlier, the option is in System Preferences > Mission Control (not Displays).
- Restart your Mac. A full restart often resets display-related glitches.
- Reset the Dock’s preferences. In Terminal, run
defaults delete com.apple.dockthenkillall Dock. This resets all Dock settings to default, which may fix the issue. - Check for display arrangement issues. Go to System Settings > Displays and click Arrange (or the Arrangement tab). Make sure your displays are arranged logically and that the white menu bar is on the display you want as main.
- If you’re using a third-party app like Magnet or Rectangle, they may interfere with Spaces. Try quitting them temporarily to see if the Dock behaves.
- If nothing works, reset the NVRAM (on Intel Macs). Shut down, then turn on and immediately hold Option+Command+P+R for about 20 seconds. On Apple Silicon Macs, this is not possible; instead, restart normally.
Frequently Asked Questions
Why does my Dock keep moving to the other display?
This happens because “Displays have separate Spaces” is enabled, which makes each display behave like its own virtual desktop. The Dock follows your active display. Disable that option to keep the Dock on one screen.
Can I have the Dock on both displays at the same time?
No, macOS does not allow the Dock to appear on multiple displays simultaneously. You can only have it on one display at a time. If you want it on a secondary display, set that display as “Main.”
Will disabling “Displays have separate Spaces” affect my full-screen apps?
Yes, it changes how full-screen apps behave. With separate Spaces off, full-screen apps will span all displays instead of staying on one. If you rely heavily on full-screen apps on separate displays, you may want to keep the setting on and instead just set your main display correctly.
Does this work on macOS Sonoma?
Yes, the steps are the same for macOS Sonoma and later. The settings are in System Settings > Displays and System Settings > Desktop & Dock.
What if I don’t see the “Displays have separate Spaces” option?
This option is only available when you have more than one display connected. If you don’t see it, make sure your external display is properly connected and detected.
Can I set the Dock to appear on a specific display without changing the main display?
No, the Dock is always tied to the main display. If you want the Dock on a specific screen, that screen must be set as “Main.”