keepcalculator

06 Numbers and Powers

How to Auto Hide & Show Dock on Mac

Card No. 06·66678 · Updated · Standard formula, shown below

This guide shows you how to make the Dock on your Mac automatically hide and reappear, giving you more screen space while keeping the Dock accessible whenever you need it. You’ll learn the built-in method, a keyboard shortcut for quick toggling, and how to adjust the show/hide delay. No extra software is required.

What You’ll Need

  • A Mac running macOS (any recent version, including Sonoma, Ventura, Monterey, or Big Sur).
  • Access to System Settings (macOS Ventura and later) or System Preferences (macOS Monterey and earlier).

Step-by-Step

  1. Open System Settings or System Preferences. Click the Apple menu () in the top-left corner of your screen, then select System Settings (on macOS Ventura or later) or System Preferences (on older versions).
  2. Navigate to Desktop & Dock. In System Settings, click Desktop & Dock in the sidebar. In System Preferences, click Dock & Menu Bar.
  3. Enable auto-hide. Look for the toggle labeled Automatically hide and show the Dock. Click the toggle so it turns blue (on) – the Dock will immediately slide off the screen.
  4. Test it. Move your mouse cursor to the very bottom edge of the screen (where the Dock was). The Dock should slide back up. Move the cursor away from the edge, and the Dock will hide again.
  5. Adjust the show/hide speed (optional). If you want the Dock to appear faster or slower, you can change the delay. Open Terminal (in Applications/Utilities) and type one of these commands, then press Return:
    • Faster: defaults write com.apple.dock autohide-delay -float 0.2; killall Dock
    • Slower: defaults write com.apple.dock autohide-delay -float 1.0; killall Dock
    • Default (0.5 sec): defaults delete com.apple.dock autohide-delay; killall Dock

    The Dock will restart, and the new delay will be active.

  6. Use the keyboard shortcut (optional). Press Option + Command + D to toggle auto-hide on or off quickly, without opening System Settings.

Common Mistakes

  • Clicking the toggle but not seeing a change: The Dock hides only when the cursor is not near the edge. If your mouse is at the bottom of the screen, the Dock will stay visible. Move the cursor to the middle of the screen to see it hide.
  • Using the wrong System Settings section: In macOS Ventura and later, the setting is under Desktop & Dock, not under Dock alone. In older versions, it’s under Dock & Menu Bar.
  • Typing the Terminal command incorrectly: The command must be exactly as shown, including spaces and the semicolon. A typo will cause an error. If you see an error, copy the command again and try.
  • Forgetting to restart the Dock after changing the delay: The killall Dock part of the command is essential – without it, the change won’t take effect until you log out and back in.

Tips

  • Use the keyboard shortcut for quick toggling: Option + Command + D is the fastest way to turn auto-hide on or off. It’s especially handy when you’re in a full-screen app and want the Dock to appear temporarily.
  • Adjust the Dock size for better visibility: When auto-hide is on, the Dock appears over your content. If it looks too big or too small, go to System Settings > Desktop & Dock and drag the Size slider. A smaller Dock takes up less space when it appears.
  • Use the hidden Dock with full-screen apps: In full-screen mode, the Dock is hidden by default. To reveal it, move the cursor to the bottom edge. This works even when auto-hide is off.
  • Set a custom delay for fine control: The Terminal command lets you set any delay value (e.g., 0.1 for almost instant). Experiment to find what feels best for you.

Troubleshooting

  • The Dock doesn’t hide at all: First, check that the toggle is on. If it is, try turning it off and on again. If that fails, restart your Mac or log out and back in. In rare cases, a stuck preference file can cause this – reset the Dock by entering defaults delete com.apple.dock; killall Dock in Terminal (this resets all Dock settings to default, so you’ll need to re-customize).
  • The Dock hides but doesn’t reappear: Move your cursor to the very bottom edge of the screen and hold it there for a second. If it still doesn’t appear, check if you have a second display – the Dock may be on the other screen. Go to System Settings > Displays and check the arrangement.
  • The Terminal command didn’t work: Make sure you typed the command exactly, including the semicolon and the word killall. If you get a “command not found” error, you may have a space before the command – remove it. Also ensure you’re in the default shell (usually zsh).
  • The Dock is too slow to appear after changing the delay: If you set a very high delay (e.g., 2.0), the Dock will feel unresponsive. Reset to the default with defaults delete com.apple.dock autohide-delay; killall Dock.

Frequently Asked Questions

Does auto-hide work in full-screen apps?

Yes, but in full-screen mode the Dock is hidden by default. Move the cursor to the bottom edge to reveal it. Auto-hide doesn’t change this behavior.

Can I make the Dock appear faster without Terminal?

No, the delay is only adjustable via Terminal commands. The built-in settings only offer the on/off toggle.

Will auto-hide affect my ability to drag files to the Dock?

No, you can still drag files to the Dock. When you drag a file to the bottom edge, the Dock will appear, and you can drop the file onto an app icon.

How do I turn auto-hide off?

Go to System Settings > Desktop & Dock and toggle off Automatically hide and show the Dock, or press Option + Command + D.

Does the keyboard shortcut work on all Mac keyboards?

Yes, Option + Command + D works on all Mac keyboards, including those with a dedicated Dock key (which does the same thing).

Will auto-hide slow down my Mac?

No, it’s a built-in feature that uses negligible resources. The only effect is visual – the Dock slides off and on screen.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →