Hide the Dock on a Mac
Hide the Dock on a Mac with one keystroke or one setting, and bring it back when it will not stay hidden. Plus the display rule that moves it.
By Chethan Kumar S N · Updated
The Dock is the most expensive strip of screen on a Mac, and it is the one nobody thinks of as a setting. It sits at the bottom edge by default, every window sizes itself around it, and it holds a fixed slice of the display whether or not you are reaching for it.
Hiding it is one keystroke. The interesting part is what hiding it actually changes, and the four different reasons a Dock can look like it has vanished, because two of those reasons are not really faults at all.
The keystroke that does it
Option-Command-D. Apple’s keyboard shortcut list gives it a single line, show or hide the Dock, and that is the whole trick. It is a toggle, so the same two keys bring it back, and it works whether the Dock is on screen or parked off the edge.
There is a second shortcut for the same job, and almost nobody uses it: Fn-A. Apple lists it alongside the first one. If you are on a keyboard where Option-Command-D has been claimed by another app, Fn-A is the one that still gets through.
Neither shortcut needs the Dock to be visible or focused, which is why this is the fastest way to reclaim a strip of screen for a minute and then hand it back.
While you are in that part of Apple’s list, two more Dock shortcuts are worth stealing:
- Fn-Control-F3 moves keyboard focus to the Dock. From there the Left and Right arrow keys walk from icon to icon and Return opens the item, so you can reach the Dock without a pointer at all. Apple’s shorter form of the same shortcut is Control-F3.
- Control-Shift, held down while you are using the Dock, switches Dock magnification on and off for as long as you hold it.
The setting behind the keystroke
To make hiding permanent rather than a toggle, the row you want is in System Settings, under Desktop & Dock, in the Dock section, and it is called Automatically hide and show the Dock.
Apple’s own description is one sentence: hide the Dock when you are not using it, and to show the hidden Dock, move the pointer to the edge of the screen where the Dock is located. That second half is worth reading twice, because it is also the answer to half the “my Dock is gone” posts on the internet. A hidden Dock is not an absent Dock. It is off the edge, waiting for the pointer.
One more thing about that row: it has no separate shortcut of its own, so people often turn it on and then wonder why Option-Command-D stops revealing the Dock. It has not stopped. The shortcut follows the setting. With the row on, the keystroke hides a Dock that is visible and shows a Dock that is hidden, which is exactly what the button does.
Every row in the Dock section
If you are going to change one of these, it helps to know the whole list. Apple’s settings page for this pane documents ten rows under Dock, and the ones that decide how the Dock behaves are all here:
| Row | What Apple says it does |
|---|---|
| Size | Drag the slider to change the Dock size |
| Magnification | Magnify icons when you move the pointer over them |
| Dock position on screen | Locate the Dock along the left, bottom or right edge of the screen |
| Minimised windows animation | Choose the visual effect used when you minimise a window |
| Window title bar double-click action | Fill, Zoom, Minimise or No Action |
| Minimise windows into application icon | Minimise an app window to the app icon in the Dock |
| Automatically hide and show the Dock | Hide the Dock when you are not using it |
| Animate opening applications | Make icons bounce when you open apps |
| Show indicators for open applications | Show a small dot below an app’s icon when the app is open |
| Show suggested and recent apps in Dock | Show suggested and recently opened apps toward one end of the Dock |
Ten rows, and not one of them is about how long the Dock waits before it slides out. That matters later on this page.
What hiding the Dock actually buys you
Here is the part that turns this from a preference into a window management decision. Apple’s description of the Fill command, the one behind Fn-Control-F and the green button’s menu, reads like this: Fill expands a window to fill the space between the menu bar and the Dock.
That is the arithmetic of your screen in one sentence. A filled window does not get the bottom of the display, because the Dock owns it. Hide the Dock and the same window grows into that space. Nothing else changes, no app is relaunched, and the strip stops being reserved.
The same sentence has a second half that people miss, and it is the more useful half: if the Dock is along the side of the screen, the window fills the space below the menu bar and to the side of the Dock. So the Dock’s position decides which edge of your window is short. That is also why a minimise animation flies sideways on some Macs and downwards on others, since the animation goes to wherever the Dock actually is.
Move it to the side instead
Dock position on screen is the row that moves the Dock to the left or right edge. Apple’s wording is simply that it locates the Dock along the left, bottom or right edge of the screen.
On a widescreen or ultrawide display this is usually the better trade than hiding, because screens are wide and shallow. A Dock on the left edge costs you horizontal room you have plenty of, and it leaves the full height of the display for windows. Combine it with Automatically hide and show the Dock and the Dock costs nothing at all until you need it.
Two things follow the Dock when you move it, which is why this feels like more of a change than it is. The minimise animation goes to the new edge, and the green-area description above changes with it. Neither is a fault.
Make it smaller, and reach it faster
Size is a slider, and Apple’s shortcut for it saves a trip into settings: move the pointer over the separator line in the Dock until a double arrow appears, then drag the pointer up or down. The sidebar of icons shrinks and grows as you drag. Control-clicking that same separator opens a shortcut menu with the rest of the Dock actions, including where the Dock sits on screen.
Magnification is the other half of the same idea. Turn it on and icons get bigger as the pointer crosses them, so a smaller resting Dock stays usable, because you only pay for size at the moment you are aiming. The icon you are hunting for grows; the twenty you are not grow nothing.
Apple’s credit for this pairing is that magnification is one of the very few Dock settings with a temporary override on the keyboard: hold Control-Shift while you use the Dock and magnification switches for as long as you hold the keys, without editing the setting.
If you are making the Dock smaller purely to get screen back, measure before you decide. Apple’s own figure for a filled window already tells you the Dock’s cost, and on a laptop the height is the scarce edge. Shrinking the Dock is a dial. Hiding it, or moving it to the side, is a decision.
When the Dock is not there at all
Work down this list. The first three cover almost everything.
Automatically hide and show the Dock is on. This is the common one, and the fix is not a fix: move the pointer to the edge the Dock lives on and it comes out. If that is annoying, press Option-Command-D while your pointer is anywhere else, and the Dock stays out until you hide it again.
The Dock has been moved to another edge. Dock position on screen may now say left or right, in which case the bottom edge of your screen is genuinely empty and the Dock is down one of the sides instead.
You are looking at the wrong display. This is the one that costs people the most time. In Desktop & Dock settings, in the Mission Control section rather than the Dock section, there is a row called Displays have separate Spaces. Apple’s description ends with the sentence that explains the missing Dock: when this option is turned on, the Dock is available on all displays; when it is turned off, the Dock appears only on the main display. On a two-screen Mac with that row off, no amount of moving the pointer will produce a Dock on the second screen, because the second screen is not supposed to have one.
An app is in full screen. In full screen Apple’s instruction is to show or hide the Dock by moving the pointer to or away from the Dock’s location. The Dock steps aside by design there, and no setting in Desktop & Dock pins it open in full screen. More on that below.
The Dock is fine but its icons are not. That is a different problem, and it has its own answers.
Why icons come and go on their own
If your Dock seems to keep changing shape, there is a setting doing it, and Apple publishes the number. The Dock can show up to three recently used apps that are not already in it. Those are real Dock entries, they sit toward one end, and they come and go as you use different apps.
The row that controls them is Show suggested and recent apps in Dock, and Apple’s wording for it is that it shows suggested and recently opened apps toward one end of the Dock if they are not already in it. Turn it off and the Dock holds only what you put there. The icons you added stay exactly where they are, because the recent ones were never part of your set.
The dots are a separate row. Show indicators for open applications is the one that puts a small dot below an app’s icon while that app is running, and if you have ever wondered why a closed-looking app is still in your Dock, the dot is the answer. The list itself is unchanged, because closing a window does not quit an app.
If you dragged something out of it
Removing a Dock icon feels permanent and is not, which is what Apple says in its own words: drag the item out of the Dock until Remove is shown, and only the alias is removed while the actual item remains on your Mac.
Getting an app’s icon back is the part worth memorising, because there is no “add to Dock” command to look for. Apple’s instruction is to open the app to make its icon appear again in the Dock, then Control-click that icon and choose Options, then Keep in Dock. Without that second step the icon will disappear again the next time the app quits.
Files and folders go to a different half of the Dock. Apps are added to the left of, or above, the line that separates the recently used apps. Files and folders go to the right of, or below, the other line. Drag a folder there and the Dock offers to show it as a stack, which is the same feature as the desktop and Downloads folder behaviour.
There is one Dock icon that means something worse than a removal. If an app’s icon is in the Dock and the app itself has been deleted from your Mac, the icon stays behind and is covered by a question mark. Apple’s fix is the same drag as any other removal: drag the icon out of the Dock until Remove is shown. The app is already gone, so nothing else in the Dock is affected.
In full screen, and next to a hidden Dock
Full screen is the one place the Dock’s behaviour is not governed by the hiding row you turned on. Apple’s instructions for full screen say to show or hide the Dock by moving the pointer to or away from the Dock’s location, and that happens whether or not Automatically hide and show the Dock is set. The Dock goes, and the pointer brings it back to the edge you left it on.
The menu bar does the same thing up top, and it has a hiding setting of its own rather than sharing this one. It lives in System Settings under Menu Bar, it works on a pop-up menu with four options instead of a checkbox, and it is covered in hiding the menu bar on a Mac.
The related distinction is worth keeping straight, because it decides whether the Dock is a problem for you at all. Fill gives a window the space between the menu bar and the Dock and leaves both on screen. Full screen hides both and moves the app into a space of its own. The differences between the two, including what happens when you press the green button without hovering over it first, are in how to make a window full screen on a Mac.
And if you do hide the Dock, know what it costs before you forget where a window went. Minimising still works the same way with the Dock out of sight. The window goes to the Dock’s location, and now seeing which window you minimised means a pointer trip to the edge. Apple gives you one row for that too: Minimise windows into application icon sends a window to its app’s icon in the Dock, and with the option off, the window is minimised to an area in the Dock instead. The two destinations behave differently in a hidden Dock, which is covered in how to minimise a window on a Mac.
The one thing you cannot set
The pause before a hidden Dock slides out is not adjustable from System Settings. The Dock section has ten rows and a speed or delay setting is not among them, so if the wait feels long, it is not because a slider moved.
You can read the state of the whole thing without changing anything. On this Mac, defaults read com.apple.dock returns autohide = 0, orientation = bottom and tilesize = 31, which is a Dock that is out, along the bottom edge, at the size the slider happens to be sitting at. There is no delay key in the file to read, because the default behaviour is not stored as a preference.
People who want an instant Dock change it outside System Settings, with defaults write com.apple.dock autohide-delay -float 0 followed by killall Dock to make the Dock read the file again. It works, and it is worth being clear about what it is: a preference key Apple does not create or document, sitting outside every setting on this page. defaults delete com.apple.dock autohide-delay and a second killall Dock put the pause back.
Hiding it is the cheap half
The Dock is one fixed strip, and hiding it hands that strip back to whatever is in front of you. It does not decide what happens to the space. Your windows still open at whatever size and wherever the app felt like, and the next window still lands on top of the last one.
Ribbon takes the arrangement itself off your hands. Every window gets a full-height column on one strip that runs past the edges of the screen, a three-finger swipe or Control-Option with the arrow keys moves along it, and opening a window adds a column instead of shrinking the others. Hiding the Dock is how you stop losing the bottom of the screen. Ribbon is how you stop losing the rest of it.
Ribbon is $15, once, for up to 3 Macs, with a full refund within 10 days, and it runs on macOS 14 Sonoma and later on Apple silicon and Intel Macs.
Questions
How do I hide the Dock on my Mac?
Press Option-Command-D. Apple's keyboard shortcut list gives it one line: Option-Command-D shows or hides the Dock. It is a toggle, so the same keys bring it back. If you would rather use a setting, open System Settings, click Desktop & Dock, scroll to the Dock section and turn on Automatically hide and show the Dock. The row and the keystroke are the same switch, so turning the setting on makes the shortcut start hiding instead of showing.
Why has my Dock disappeared?
Four things cover nearly every report. Automatically hide and show the Dock is on, so the Dock is parked off the edge of the screen until your pointer goes there. The Dock has been moved to a different edge by the Dock position on screen row. You are on a second display and Displays have separate Spaces is turned off, which is when Apple says the Dock appears only on the main display. Or you are using an app in full screen, where the Dock steps aside on its own until the pointer reaches its location. Option-Command-D fixes the first, and the other three are settings rather than faults.
How do I get the Dock back on my Mac?
Press Option-Command-D, or move the pointer to the edge of the screen where the Dock lives and it slides back out. If the Dock is there but some icons are missing, they were removed rather than broken. Open the app again and its icon returns to the Dock, then Control-click that icon and choose Options, Keep in Dock to make it stay. An icon with a question mark on it means the app itself was deleted from the Mac, and dragging that icon out of the Dock until Remove is shown clears it.
Why do icons keep appearing and disappearing in my Dock?
Because the Dock reserves room for apps you have used recently. Apple's own description is that the Dock can show up to three recently used apps that are not already in it, which is why a Dock can look like it gained an icon you never put there. The row that controls it is Show suggested and recent apps in Dock, in Desktop & Dock settings, and turning it off leaves only the icons you added yourself. The dots under the icons are a separate row again, Show indicators for open applications.
How do I make the Dock smaller or move it to the side?
Both are rows in Desktop & Dock settings. Dock position on screen puts the Dock along the left, bottom or right edge, and the Size slider changes how much of the screen it takes. There is a faster way to do the size: move the pointer over the separator line in the Dock until a double arrow appears, then drag the pointer up or down. That tip is Apple's, and Control-clicking the same separator opens a shortcut menu with the other Dock actions in it.
Ready? Buy Ribbon for $15, or read all the guides.