Knowledge for the World

How to instantly show and hide the dock in MacOS and OS X

  • by Zach (134)
  • 1 minute

This guide shows you how to modify the dock such that it will hide or show the instant you roll over it, rather than the annoying default delay.

1

If you haven't already, enable autohide. Navigate to System Preferences > Dock and select the Automatically hide and show the Dock option.

2

Navigate to Applications > Utilities > Terminal.

3

Paste the following command and press enter:

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

Note: In MacOS Mojave, you might need to use this command instead:

defaults write com.apple.Dock autohide-delay -float 0.0001; killall Dock
4

Paste the following command and press enter:

defaults delete com.apple.Dock autohide-delay; killall Dock