All articles

How to hide the Dock on Mac (and actually stop needing it)

The Dock is the last thing on a Mac desktop that still assumes you have a mouse in your hand. If you want to hide the Dock on Mac, the toggle takes two seconds — but auto-hide is not the same as hidden, and most people turn it on, get ambushed by the Dock sliding up mid-drag, and turn it straight back off. Here's the toggle, the setting that fixes the ambush, and the honest part nobody writes: hiding the Dock only sticks if something else does the two jobs it was doing.

How to hide the Dock on Mac

Two ways, same setting:

  • System Settings → Desktop & Dock, scroll to the Dock section, turn on Automatically hide and show the Dock.
  • Or press ⌘⌥D anywhere. It toggles that exact checkbox, so the two stay in sync.

The Dock slides off screen and your windows get the space back. That's the real win, and it's bigger than it sounds: at the bottom of a 16:10 display, the Dock eats the scarcest pixels you own. Vertical space is what a document, a terminal, or a diff needs. Horizontal space you usually have spare.

Full-screen apps already hide the Dock, which is why people who live in full screen never think about this. If you work in tiled or free-floating windows instead — see how to tile windows on macOS — auto-hide is how you get the same pixels without the mode switch.

Auto-hide isn't hidden — and that's the real complaint

With auto-hide on, the Dock is still armed. Move the pointer to the bottom edge and it comes back. That is fine when you meant it, and maddening when you didn't:

  • Dragging a window down to resize it.
  • Clicking a button or scrollbar near the bottom of a window.
  • Reaching for a bottom hot corner (they share the same edge — see the hot corners guide).

macOS gives you no control over the trigger zone. What it does give you, undocumented, is control over how long you have to sit there before the Dock takes the hint.

Give the Dock a delay so it stops ambushing you

Open Terminal and run:

defaults write com.apple.dock autohide-delay -float 2; killall Dock

That means: only show the Dock if the pointer rests at the edge for two full seconds. Brushing past it does nothing. Deliberately parking there still works. The default is a fifth of a second, which is why an accidental trigger is so easy.

What you wantCommand
Dock only on a deliberate hoverdefaults write com.apple.dock autohide-delay -float 2
Dock the instant you hit the edgedefaults write com.apple.dock autohide-delay -float 0
No slide animationdefaults write com.apple.dock autohide-time-modifier -float 0
Back to Apple's defaultsdefaults delete com.apple.dock autohide-delay; defaults delete com.apple.dock autohide-time-modifier

Every one of these needs killall Dock afterwards to take effect. That restarts the Dock process and keeps all your settings — it does not reset your icons.

If two seconds isn't enough, raise it. People who never click the Dock set something absurd like 1000 and reach it by keyboard instead: ⌃F3 (or fn-⌃-F3 if your F-keys are media keys) moves focus to the Dock, then arrow keys and Return. Apple documents that one, it works whether the Dock is hidden or not, and it pairs with Full Keyboard Access.

Or move it instead of hiding it

System Settings → Desktop & Dock → Position on screen → Left or Right moves the Dock to a vertical edge. On any widescreen Mac that trade is usually good: you give up horizontal pixels you have and win back the vertical ones you don't. Combined with auto-hide, the accidental triggers mostly stop too — you spend far less cursor time at the side edges than at the bottom.

Don't try to kill the Dock process

There's advice floating around about unloading the Dock's launch agent to get rid of it permanently. Don't. The Dock process doesn't just draw the Dock — it also draws Mission Control, the ⌘Tab switcher, and the Apps view. (That's exactly why killall Dock is the standard fix when Cmd-Tab stops working.) Unloading it has a documented history of side effects, up to and including a grey desktop with no wallpaper, and it buys you nothing that a long autohide-delay doesn't.

Hiding the Dock only sticks if you replace what it did

This is where most "hide your Dock" advice stops, and it's why the toggle usually gets switched back within a week. The Dock does two jobs, and if you hide it without covering both, you just made your Mac harder to use.

Job one: launching. Covered easily. ⌘Space opens Spotlight; type three letters and press Return. If you miss the icon grid specifically, there's more in Launchpad alternatives for macOS Tahoe.

Job two: switching. This is the one that bites. People click Dock icons to get back to a window — the second Chrome window, the Slack thread, the terminal behind everything. ⌘Tab doesn't do that: it switches apps, so it lands you on Chrome and leaves you to find the right window yourself. ⌘` cycles the front app's windows, but only in your current Space and with no preview of what you're cycling toward.

Let's Switch closes that gap. Hold ⌥Tab and you get a live preview of every open window, most recently used first, across every app and monitor — release on the one you want. ⌥` does the same for a single app's windows. Both are free, permanently, and it lives in the menu bar with no Dock icon of its own, which is the point. One honest limit: it works within your current Space rather than reaching across Spaces. (Pro, $9.99 once, adds an ⌥Space search palette that fuzzy-finds any open window and launches apps too — up to 20 devices per key, no account, no telemetry.)

Once switching by window is a reflex, the Dock stops being a navigation tool and becomes a strip of icons you occasionally glance at. That's the point at which hiding it actually holds. Pair it with a keyboard tiler like Let's Tile for placement and you have the full loop — described in more detail in the mouseless Mac.

Frequently asked questions

What's the keyboard shortcut to hide the Dock on Mac? ⌘⌥D. It toggles "Automatically hide and show the Dock" in System Settings → Desktop & Dock, so the checkbox and the shortcut always agree.

Can I hide the Dock completely so it never appears? Not with a supported setting. Auto-hide always keeps the edge trigger armed. The practical equivalent is a very long autohide-delay, which makes the trigger effectively unreachable by accident while leaving the Dock available on demand and by keyboard.

Does killall Dock erase my Dock icons? No. It restarts the process; icons, size, position and preferences all survive. The command that does wipe it is defaults delete com.apple.dock, which you almost certainly don't want.

My Dock hides itself on macOS Tahoe even though auto-hide is off. That's a reported bug rather than a setting, often after waking from sleep or the screen saver. Toggling "Automatically hide and show the Dock" on and then off again, or running killall Dock, puts it back.

Should I hide the Dock on a MacBook? It's the machine where it pays off most — vertical pixels are scarcest on a 13 or 14-inch screen. There's more on that in MacBook window management on a small screen.