Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Speed Up Dock Auto Hide Show on Mac

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If you've enabled the Dock's auto-hide feature on your Mac but find the animation too slow or laggy, this guide will show you how to make it appear and disappear almost instantly. You'll adjust hidden system settings using Terminal commands, which is a safe and reversible process. No additional software is needed.

What You'll Need

  • A Mac running macOS (any recent version, including Sonoma or Ventura)
  • Access to the Terminal app (found in /Applications/Utilities/)
  • Basic comfort with copying and pasting commands

Step-by-Step

  1. Open Terminal. Go to Finder > Applications > Utilities and double-click Terminal. You can also use Spotlight (Cmd+Space) and type "Terminal" to launch it.
  2. Reduce the Dock hide/show delay. By default, macOS waits about 0.5 seconds before showing the Dock when you move your cursor to the edge. To remove this delay, type or paste the following command and press Enter:
    defaults write com.apple.dock autohide-delay -float 0
    This sets the delay to zero seconds.
  3. Speed up the animation duration. The Dock's slide-in animation normally takes about 0.5 seconds. To make it snappier, type or paste this command and press Enter:
    defaults write com.apple.dock autohide-time-modifier -float 0.2
    You can use any value between 0 and 1. A value of 0.2 gives a quick, responsive animation; 0 makes it instant (though it may feel abrupt).
  4. Restart the Dock. For the changes to take effect, you need to restart the Dock. Type or paste this command and press Enter:
    killall Dock
    The Dock will disappear and reappear instantly. Your windows will not close, but any open Dock-related preferences will reset.
  5. Test the new behavior. Move your cursor to the edge of the screen where the Dock is hidden. It should now appear almost immediately and with a much faster animation.
  6. Optional: Adjust the show delay only. If you prefer to keep the animation speed but just remove the initial delay, you can set the time-modifier back to its default of 0.5:
    defaults write com.apple.dock autohide-time-modifier -float 0.5
    Then restart the Dock again with killall Dock.

Common Mistakes

  • Not restarting the Dock. The changes will not take effect until you run killall Dock. If you skip this, you'll think the commands didn't work.
  • Using a negative value for the delay. The autohide-delay should be 0 or a positive number. Negative values can cause the Dock to appear even when your cursor isn't near the edge.
  • Setting the time-modifier too low. A value of 0 makes the Dock appear and disappear instantly, which can feel jarring and might make it hard to click on icons. A value between 0.15 and 0.3 is usually a good balance.
  • Forgetting to enable Auto-Hide. These commands only affect the auto-hide behavior. If you haven't turned on Auto-Hide in System Settings > Desktop & Dock, the Dock will always be visible and the commands won't change anything.

Tips

  • Experiment with values. The optimal speed is personal. Try 0.1, 0.2, or 0.3 for the time-modifier and see what feels best. You can always change it again.
  • Use a single command to set both. You can combine the two write commands with && to execute them in one line:
    defaults write com.apple.dock autohide-delay -float 0 && defaults write com.apple.dock autohide-time-modifier -float 0.2 && killall Dock
    This saves time if you need to reapply the settings.
  • Keep a backup of your current settings. Before changing anything, you can check your current values with:
    defaults read com.apple.dock autohide-delay and defaults read com.apple.dock autohide-time-modifier. Write them down if you think you might want to revert.
  • Use a faster animation only for showing, not hiding? Unfortunately, macOS uses the same modifier for both show and hide animations. You cannot set different speeds for each.

Troubleshooting

The Dock didn't change after running the commands. Make sure you ran killall Dock after the write commands. If you did, try logging out and back in (Apple menu > Log Out) to force a full refresh of the Dock preferences.

The Dock is now too fast or too slow. Revert to the default values by running:
defaults delete com.apple.dock autohide-delay and defaults delete com.apple.dock autohide-time-modifier
Then restart the Dock with killall Dock. This will restore the original behavior.

The Dock doesn't hide at all anymore. This can happen if you accidentally disabled Auto-Hide. Go to System Settings > Desktop & Dock and make sure the "Automatically hide and show the Dock" toggle is turned on.

Terminal says "command not found". Double-check that you typed defaults correctly (not default). Also ensure you're not in a different shell environment that might not have defaults in its path—this is rare, but if it happens, use the full path /usr/bin/defaults.

The changes revert after a reboot. This is unusual, but if it happens, it might be because a third-party utility is resetting your Dock preferences. Check if you have any Dock customization apps installed and disable them temporarily to test.

Frequently Asked Questions

Is this safe? Will it break my Mac? Yes, it's safe. These commands simply modify a preference file that macOS reads. You can always revert by deleting the keys as shown in Troubleshooting.

Do I need to disable SIP (System Integrity Protection)? No. These are standard user-level preferences, not system files. SIP is not involved.

Will this work on macOS Sonoma or Ventura? Yes, the commands work on all recent macOS versions, including Sonoma, Ventura, Monterey, and earlier.

Can I set the animation to be slower than default? Yes, you can set a value greater than 0.5, like 1.0, to make it slower. But that's rarely useful.

What if I want the Dock to show instantly but hide slowly? macOS doesn't allow separate speeds for show and hide. The time-modifier applies to both.

Does this affect the magnification effect? No, the magnification effect (when you hover over icons) is controlled separately and is not changed by these commands.