# How to hide the Dock on a Mac

Canonical page: https://leversmac.com/hide-dock-mac

> Hide the Dock on a Mac with Option-Command-D or in Desktop &#38; Dock settings, make it show up faster with Terminal, and get it back.

[Atta 🐬](https://x.com/attacomsian)

Maker of Levers

Updated November 17, 2026

Quick answer

Press **Option-Command-D** to hide the Dock, and press it again to bring it back. The same setting is in System Settings › Desktop & Dock: turn on **Automatically hide and show the Dock**. While the Dock is hidden, move the pointer to the edge of the screen where it sits and it slides out.

[Levers](#levers) hides and shows the Dock with one click from the menu bar.

## How to hide the Dock on a Mac

1. Choose Apple menu › System Settings, then click **Desktop & Dock** in the sidebar.

2. In the Dock section, turn on **Automatically hide and show the Dock**.

3. Move the pointer away from the Dock. It slides off the screen.

4. To use it, move the pointer to the edge of the screen where the Dock is: the bottom, or the left or right if you [moved it](https://leversmac.com/move-dock-mac).

**Option-Command-D** turns the same setting on and off from any app, without opening System Settings.

The Dock keeps a strip of the screen for itself. Hidden, it gives that room to your windows and is still there when the pointer reaches the edge. macOS has three ways to hide it, all changing the same setting, and Terminal can change how long it waits before it shows. The table sets them side by side.

## Ways to hide the Dock

| Way                                     | One step   | Stays hidden after a restart | Changes how fast it shows |
| --------------------------------------- | ---------- | ---------------------------- | ------------------------- |
| Option-Command-D                        | Yes        | Yes                          | No                        |
| System Settings › Desktop & Dock        | No         | Yes                          | No                        |
| Control-click the Dock’s separator line | Two clicks | Yes                          | No                        |
| Terminal                                | No         | Yes                          | Yes                       |
| Levers                                  | Yes        | Yes                          | No                        |

Yes Partly No

## How to hide the Dock from the Dock itself

Control-click the separator line in the Dock, the thin line between your apps and the folders and Trash, and choose **Turn Hiding On**. The same menu has **Turn Hiding Off**, **Turn Magnification On**, **Position on Screen** and **Dock Settings…**.

## How to make the hidden Dock appear faster

A hidden Dock waits a moment before it slides out, so it doesn’t pop up every time the pointer passes the edge. Two settings that System Settings doesn’t show change this. In Terminal, the first command below sets the wait to nothing, the second makes the slide itself take 0.3 seconds, and the third restarts the Dock so it reads them:

```
defaults write com.apple.dock autohide-delay -float 0
defaults write com.apple.dock autohide-time-modifier -float 0.3
killall Dock
```

Both numbers are seconds. A small wait, such as 0.1, still stops the Dock showing when you only meant to reach the bottom of a window.

## How to put the Dock’s timing back

These commands remove both settings and restart the Dock, so it waits and slides the way it did before:

```
defaults delete com.apple.dock autohide-delay
defaults delete com.apple.dock autohide-time-modifier
killall Dock
```

## How to get the Dock back on a Mac

If the Dock went missing, hiding is most likely on, often from pressing Option-Command-D by accident. Press **Option-Command-D** again, or turn off **Automatically hide and show the Dock** in System Settings › Desktop & Dock.

If it’s not at the bottom, look at the left and right edges: it may have been moved there. An app in full screen hides the Dock too; move the pointer to the edge and it shows. With more than one display, the Dock can be on the other screen; [moving the Dock](https://leversmac.com/move-dock-mac) explains which display it uses.

## Or hide the Dock with one click in Levers

We make Levers.

Levers sits in your menu bar. Its Hide Dock switch turns Automatically hide and show the Dock on, the same setting Option-Command-D changes, and turns it off with the next click. The first time, macOS asks you to let Levers control System Events, which Levers uses to change the setting.

- The Dock hidden or shown from the menu bar, with no shortcut to remember
- Hidden by itself when you share or record your screen, and back when you stop
- Next to Dock Position, Dock Magnification and the other \[switches]\(/features/switches)

Good to know

- It doesn’t change how fast the hidden Dock appears. That’s the Terminal commands above.
- Needs macOS 15 Sequoia or later.
- One payment, no subscription, with a 14-day refund.

[See all switches](https://leversmac.com/features/switches)

## Questions people ask

### How do I hide the Dock on a Mac?

Press Option-Command-D. Or open System Settings › Desktop & Dock and turn on Automatically hide and show the Dock. Move the pointer to the edge of the screen where the Dock sits to show it.

### What is the shortcut to hide the Dock on a Mac?

Option-Command-D. It shows or hides the Dock from any app, and pressing it again turns hiding off.

### How do I make the hidden Dock show up faster?

In Terminal, run defaults write com.apple.dock autohide-delay -float 0, then killall Dock. The Dock then shows as soon as the pointer reaches the edge. To undo it, run defaults delete com.apple.dock autohide-delay, then killall Dock.

### Why did my Dock disappear?

Most often hiding was turned on, for example by pressing Option-Command-D. Press it again, or turn off Automatically hide and show the Dock in System Settings › Desktop & Dock. Also check the left and right edges, and any other display.

### Is there an app that hides the Dock with one click?

Yes. Levers hides and shows the Dock with one click from the menu bar, and can hide it by itself while you share or record your screen. It costs from $6.99, paid once.

## More guides

- [Move the Dock](https://leversmac.com/move-dock-mac)
- [Turn off hot corners](https://leversmac.com/turn-off-hot-corners-mac)
- [Stage Manager](https://leversmac.com/stage-manager-mac)
- [Show seconds in the clock](https://leversmac.com/show-seconds-clock-mac)
- [24-hour clock](https://leversmac.com/24-hour-clock-mac)
- [All guides](https://leversmac.com/guides)
