How to speed up the Dock on Mac and remove the delay when hiding it

Remove the Dock appearance delay in macOS and customize its animation time with a simple Terminal command.


To avoid damaging my monitor, I thought the best thing to do would be to hide the Mac Dock.

If you want to know why the monitor can be damaged by using the Dock, I talk about it in this article:

Keeping the Dock always visible on Mac may be damaging your monitor

Making the Dock hide automatically is quite simple: right-click on the background of the Dock itself and enable the “Turn Hiding On” option.

Easy, right? Well, use it for a while and you’ll see…

It’s slow, slow, but slow. When you need to move quickly through the system, you’re going to notice it, because by default there is a delay when it appears, and additionally, the animation it makes to appear makes it even slower.

You can’t adjust this from the system settings, so here is how to do it:

Open Terminal (You can find it in /Applications/Utilities/Terminal).

Copy and paste the command into Terminal and press Enter to apply it.

Try changing the value of “-float 0.0”, you can use whole numbers or decimals.

The first Float sets the time it takes for the Dock to appear when you bring the mouse close to it.

The second Float sets the duration of the animation when it appears.

Zsh
defaults write com.apple.dock autohide -bool true && defaults write com.apple.dock autohide-delay -float 0.0 && defaults write com.apple.dock autohide-time-modifier -float 0.5 && killall Dock
Zsh

If you want to set it back to the way it was, use this command.

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

If you’re hesitant between doing it manually or using an app, here is the answer:

Mac Dock: Terminal or app to improve hiding?