Change Dock Animation Speed on Mac OS X
In this article
To change the Dock animation speed on Mac OS X, you use the defaults write command in Terminal to adjust the autohide-time-modifier and animation-effect settings. This tweak controls how fast the Dock appears, disappears, and animates when you hover over icons.
Why Change the Dock Animation Speed?
The Dock is one of the most visually active parts of macOS. Every time you hover over an icon, it magnifies; every time you hide or show the Dock, it slides in or out. For some users, these animations feel sluggish or distracting, especially on older Macs or when using the Dock with "Automatically hide and show the Dock" enabled. Speeding up (or slowing down) the animation can make the interface feel snappier or more relaxed, depending on your preference.
This customization is done through the defaults system, which stores user preferences for many macOS apps and system components. The Dock reads its settings from a property list file, and you can modify it with Terminal commands. No third-party software is required.
How the Dock Animation Works
macOS uses a set of internal settings to control Dock behavior. Two key settings affect animation speed:
autohide-time-modifier– Controls the duration (in seconds) of the show/hide animation when the Dock is set to auto-hide. The default is0.5(half a second). Lower values make it faster, higher values slower.animation-effect– Determines the style of the show/hide animation:genie(default),scale, orfade. The genie effect is the classic "suck" animation; scale and fade are quicker-looking.
Additionally, the magnification effect (when you hover over icons) has its own animation timing, but it is not directly adjustable via a simple defaults key. The autohide-time-modifier also affects the speed of the magnification animation in some macOS versions, though this is not officially documented.
Step-by-Step: Change the Animation Speed
Here is how to adjust the settings on macOS (any version from OS X 10.10 Yosemite through the latest macOS Sonoma):
- Open Terminal (found in /Applications/Utilities/).
- To make the Dock appear and hide faster, type:
defaults write com.apple.dock autohide-time-modifier -float 0.2
and press Enter. - To change the animation effect to a quicker style, type:
defaults write com.apple.dock animation-effect -string "scale"
and press Enter. - Restart the Dock by typing:
killall Dock
and press Enter. The Dock will restart instantly.
You can use any value between 0.0 and 1.0 for autohide-time-modifier. A value of 0.0 makes the animation instantaneous (though it may look glitchy), while 1.0 is very slow. The default is 0.5.
How to Choose the Right Speed
Choosing a speed is largely a matter of personal preference, but here are some guidelines:
- 0.1 – 0.2: Very fast, almost instant. Good for power users who want minimal distraction.
- 0.3 – 0.4: Fast but still smooth. A good balance.
- 0.5: The default. Most users find it acceptable.
- 0.6 – 1.0: Slow and pronounced. Some users prefer this for a more dramatic effect.
If you also want to change the animation effect, note that scale and fade tend to look faster than genie because they don't involve the "suck" motion. Try them all to see which feels best.
Common Problems and How to Fix Them
If you change the settings and something goes wrong, here are common issues and solutions:
- The Dock doesn't respond after
killall Dock: This is rare, but if it happens, wait a few seconds. If it doesn't restart, runkillall Dockagain or log out and back in. - The animation is too fast and looks broken: Set the value back to
0.5withdefaults write com.apple.dock autohide-time-modifier -float 0.5and restart the Dock. - Changes don't stick after reboot: The
defaultscommand writes to your user preferences, which should persist. If they don't, make sure you're not using a guest account or a managed Mac (e.g., work computer) that resets preferences. - You want to revert all changes: Use
defaults delete com.apple.dock autohide-time-modifieranddefaults delete com.apple.dock animation-effect, then restart the Dock.
Alternatives to Terminal Commands
If you're not comfortable with Terminal, there are a few alternatives:
- System Settings (or System Preferences): You can enable "Automatically hide and show the Dock" and choose the magnification size, but you cannot adjust the animation speed or effect from the GUI.
- Third-party apps: Apps like TinkerTool or OnyX offer a graphical interface for many hidden defaults, including Dock animation settings. These are free and widely used, but you should download them from reputable sources.
Safety and Precautions
Changing the Dock animation speed is safe and reversible. The defaults command only modifies your user preferences, not system files. However, be aware of the following:
- Do not set
autohide-time-modifierto a negative value; it will cause unexpected behavior. - If you use a managed Mac (e.g., from an employer), these settings may be overridden by configuration profiles.
- Always use
killall Dockafter changes; otherwise, the new settings won't take effect until you log out or restart.
Frequently Asked Questions
Does changing the animation speed affect performance?
Yes, slightly. Faster animations mean the Dock spends less time rendering, which can feel more responsive, especially on older Macs. However, the difference is usually negligible in terms of CPU usage.
Can I set a different speed for the magnification effect?
There is no official setting for magnification animation speed. Some users have found that autohide-time-modifier also affects magnification, but this is not consistent across macOS versions. The only way to change magnification speed is to use a third-party tool.
Will these settings reset after a macOS update?
Generally, no. macOS updates usually preserve user defaults. However, major version upgrades (e.g., from Catalina to Big Sur) have occasionally reset some hidden preferences. You can reapply the commands after an upgrade.
Is this safe on Apple Silicon (M1/M2) Macs?
Yes, the defaults system works the same on Intel and Apple Silicon Macs. No issues have been reported.
What if I want the Dock to be even faster than 0.1?
You can try 0.05, but the animation may become too fast to see smoothly. Values below 0.1 often cause the Dock to appear or disappear without any visible animation, which some users find jarring.