Apple - How can I make auto-hide/show for the dock faster?

To make the Dock instantly leap back into view when it’s needed, rather than slide, open a Terminal window and type the following:

defaults write com.apple.dock autohide-time-modifier -int 0;killall Dock

I find this useful, but if you’d like the animation for the dock to reappear to last for a split-second, try the following:

defaults write com.apple.dock autohide-time-modifier -float 0.15;killall Dock

To explain, changing "0.15" with any number can let you tailor things as it represents the time in seconds taken for the dock to reappear fully.


To revert back to the default sliding effect, open a Terminal window and type the following:

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

You can manually set the time it takes for the dock to appear.

Unlike the autohide-time-modifier tip posted by Marius Butuc, this command does not remove the animation of the Dock when it appears.

First, activate auto-hide in System Preferences → Dock → Autohide or type ++D Then open the Terminal and type:

defaults write com.apple.dock autohide-delay -float 0; killall Dock
  • 0 is the time it takes for the Dock to appear in seconds. You can choose floats and integers e.g. 2, 0.5,...
  • killall Dock causes the Dock to restart.

Restore the default behavior using...

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

Note that com.apple.dock is case sensitive.

According to MacOSHints this trick was found by reverse engineering from the developer Christian Baumgart of Hyperdock.

This command only works in OS X 10.7 or newer.


The modifications in both @gentmatt's and @Marius Butuc's answers are important. I did some testing and in my opinion the delay (before the slide animation starts) should be zero while the animation duration should be 0.4s (to feel natural but fast). You can easily apply these settings by hiding your Dock ( > Dock > Turn Hiding On or ⌥⌘D) and entering these commands in Terminal:

defaults write com.apple.dock autohide-delay -int 0
defaults write com.apple.dock autohide-time-modifier -float 0.4
killall Dock

You can change the values for 0 and 0.4 to see if a different setting works better for you. Don't forget to change int to float if you want to use a float instead of 0.

If you don't like it, you can undo the changes using these commands:

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