When working on a 13-inch MacBook or managing dense spreadsheets, coding editors, and creative applications, screen real estate is at a premium. The permanent presence of the macOS Dock along the bottom or side of your display consumes valuable vertical or horizontal pixels that could otherwise display content.
Enabling the auto-hide feature allows the Dock to smoothly disappear when not in use and instantly reappear whenever your mouse cursor touches the screen edge.
Method 1: Using the Instant Keyboard Shortcut
The fastest way to toggle the Dock visibility without opening system menus is via the built-in macOS shortcut:
- Press Option + Cmd + D on your Mac keyboard.
- The Dock will immediately slide off-screen.
- Move your cursor to the edge of the display where the Dock is positioned to reveal it momentarily.
- Pressing Option + Cmd + D again locks the Dock permanently back in place.
Method 2: Enabling Auto-Hide in System Settings
To configure auto-hide permanently through macOS preferences:
- Click the Apple menu () in the top-left corner of your screen.
- Select System Settings (or System Preferences on earlier macOS versions).
- In the left sidebar, click on Desktop & Dock.
- In the main settings pane, toggle on the option labelled Automatically hide and show the Dock.
Method 3: Quick Context Menu Toggle from the Dock Itself
You can also toggle auto-hide directly from the Dock divider bar:
- Locate the subtle vertical divider line on the Dock (separating your regular app icons from your recent apps and Trash).
- Right-click (or hold Control and click) directly on this divider line.
- Click Turn Hiding On from the popup menu.
Hiding the Dock ensures your windows can expand to the full height of your screen, creating a clean, immersive, and distraction-free desktop environment.