On a small screen the Dock takes a strip you could use for windows. Hiding it gives that space back, and the Dock slides in when you point at the edge of the screen.
The quick way
Press ⌥⌘D. The Dock hides. Press it again to bring it back for good.
In System Settings
- Open System Settings and choose Desktop & Dock.
- Turn on Automatically hide and show the Dock.
While you’re there, you can make the Dock smaller with Size, or move it to the left or right edge, where it takes less of a wide screen.
Make it appear without the wait
A hidden Dock waits about half a second before it slides in. Remove the delay with this command in Terminal:
defaults write com.apple.dock autohide-delay -float 0; killall Dock
The slide itself can be faster too. Smaller numbers are faster; 0 turns the animation off:
defaults write com.apple.dock autohide-time-modifier -float 0.2; killall Dock
Hide it for good
With auto-hide on, a very long delay keeps the Dock from appearing at all. You can still open apps with Spotlight or ⌘Tab.
defaults write com.apple.dock autohide-delay -float 1000; killall Dock
Undo everything
defaults delete com.apple.dock autohide-delay; defaults delete com.apple.dock autohide-time-modifier; killall Dock
Then press ⌥⌘D again, or turn the setting off in System Settings, to keep the Dock on screen.
A Dock you don’t need to hide
People often hide the Dock because it’s busy: a long row of icons, most of them not needed right now. Nubo replaces it with a calmer one. Apps are grouped into desks, so the Dock shows a few tiles instead of twenty icons, and every app has a key, so you reach for the Dock less.
Nubo’s Dock can hide too, with its own delay, and it can sit on any edge, including the top. When you quit Nubo, the macOS Dock comes back with the settings it had.
Questions
Why does my Dock keep appearing when I move the mouse down?
That is auto-hide working: the Dock slides in when the pointer reaches its edge. Raise the delay with the autohide-delay command above, or move the Dock to a side edge you rarely touch.
Are these Terminal commands safe?
Yes. They only change Dock preferences in your user account, and the undo command restores the defaults.