Remove the Auto-Hiding Dock Delay in Mac OS X

Mar 27, 2012 - 38 Comments

Hidden Dock in Mac OS X displays faster

If you use a hidden Dock in Mac OS X, you can speed up the time it takes to show the Dock with a defaults write command. This command removes the delay from when a cursor is hovered near the Dock location and to when it’s displayed, it doesn’t change the animation speed of the dock sliding in and out itself.

Remove the Delay for Auto-Hide & Auto-Show of Dock

Launch the Terminal and enter the following defaults write command:

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

The tail end of the command includes killall which will cause the Dock to relaunch in order for changes to take effect. After it has been refreshed, hover over the area of the screen where the Dock is hidden and you’ll notice it shows up immediately, without the fraction of a second delay.

This tip also impacts how to show the Dock in a full screen app, preventing the need for a double-swipe down when in full screen mode, and instead displaying the Dock instantly with a hover in the region.

Return to Default Dock Hide/Show Delay

To return to the default setting and autohide delay, go back to the Terminal and enter the following command:

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

The Dock will again relaunch and settings will return to their default state.

This is a handy tip from MacWorld, thanks for sending it in Eric

Enjoy this tip? Subscribe to the OSXDaily newsletter to get more of our great Apple tips, tricks, and important news delivered to your inbox! Enter your email address below:

Related articles:

Posted by: Paul Horowitz in Mac OS X, Tips & Tricks

38 Comments

» Comments RSS Feed

  1. Marcos says:

    I don’t know why someone can hide an application that is so beautiful and symbolic ( of Mac ) as the Dock…

    • Bob says:

      Because sometimes it’s in the way…

    • Gavin says:

      It saves quite a bit of screen real estate by hiding the Dock, that matters a lot on lower resolution displays.

    • Maxwell says:

      I don’t know why someone would have the dock visible. I often wonder if people get Macs to look at app icons or do actually do stuff. You don’t need to see the icon of every application on your Mac at all times.. is it like a reassurance thing, so that you know the apps are still there? or are they badges of cool?

      Try going dockless, it’s great.
      If you want to open an app, use spotlight or better: Alfred. Use your words.
      If you want to switch to an app then command + tab will always be faster. You can use it to quit or hide apps too.

  2. firstclassy says:

    Can we change the sliding Dock animation speed instead? I think that would be more useful than removing the millisecond delay. Any idea how to accomplish this?

    • Levi says:

      Yes you can speed up the Dock animation with this:

      No animation:

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

      Ultra fast animation:

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

      Restore default animation speed:

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

  3. simone says:

    thanks a lot! that’s what i was looking for.

  4. Roman S. says:

    Something offtopic: What’s the App next to the Terminal?

    • Paul says:

      Great question. That is Activity Monitor, you can set it to display a variety of system activity in it’s Dock icon. If we haven’t covered it before I’ll write a post on it, it’s very useful.

      • Matt says:

        Definitely do! . . .also I remember a while back you did some commands for changing the window sizes in mission control. I can’t find the article, however.

    • finferflu says:

      Safari :P

  5. Teak says:

    I am a Mac developer, who made an app that does the same thing as these commends. Now that I know these commands exist, I will be updating my app to use them. This is for anybody who doesn’t like using defaults commands. Here is a link to my app:

    http://www.teaksoftware.com/app/slidemode/

  6. cassiofm says:

    Ah, that’s such a great tip, i love it!!!!

  7. Tom says:

    Hey, I like that mod. The Hidden Dock is a wonderful feature, especially on a laptop when doing desktop publishing. The trick of speeding up it appearing is GREAT. I can imagine that over time it will be a good time saver.

    BTW, I have my Dock on the left side of the screen, giving me even more desktop space.

    Thanks for the tip…

    Tom

  8. Tim says:

    Thanks a bunch I’ve been searching for this solution for a long time.

    When “unhiding” from an auto-hide, the animation is too slow for me. Is there a way to speed it up or even eliminate it?

  9. Maha says:

    Actually, I can enable/disable by clicking on the apple logo on the upper left corner then “Dock” then “Turn Hiding On/Off”

  10. [...] for work, so with its darkest UI color, dock auto-hiding (don’t forget to eliminate that annoying pop-up delay) and Nocturne (a utility that darkens your menubar and even dims / hides it if your mouse [...]

  11. rone says:

    is there any way to stop this command from also changing how to reveal the dock in full screen apps?

  12. Jenny says:

    Well this is just awesome, thanks of much for posting it! I’ve spend the last 2 minutes hiding and unhiding the dock with my mouse making ‘whooshing’ sounds.

    …ok 5 minutes.

  13. Lri says:

    If you just want to disable the additional delay for showing the Dock in full screen, you can use defaults write com.apple.dock autohide-fullscreen-delayed -bool false.

  14. [...] when going to the bottom of the screen to reveal it. It may not be too noticeable at first, but removing the Dock delay makes that delay obvious, resulting in your Mac actually feeling faster. defaults write [...]

  15. Chase says:

    Revert command line doesn’t work for me.

    :-/

  16. Jack says:

    Hi Levi. Thanks. The dock is now much faster and better.

  17. Pippit says:

    I used this with “-float 1″ to increase my dock delay, rather than shorten it! I don’t like it popping up randomly when I’m trying to click things near the bottom of the display in other apps I’m using, so used to not make it auto hide, and lived without the bottom part of screen real-estate. Now I need to really purposefully make it pop up (when I’m not otherwise using Expose/launchpad or all the other ways I access things…). Hurrah!

  18. [...] to Roman for the tip idea stLight.options({ publisher:'fe5e0a84-1fac-40de-8014-9f89fc1cbe6a' [...]

  19. Eduardo says:

    This no longer seems to work on Mavericks, can someone please post an update/fix for it?

    It used to work great on Lion and Mountain Lion.

    • Paul says:

      It does work for Mavericks but you must use a lowercase ‘d’ for the defaults command: com.apple.dock

      • Brad says:

        Thank you!

      • matt says:

        i’m not sure how you got this working, but i can’t get it working in mavericks even with a lowercase d. the damn dock still keeps jumping back out at me in full-screen apps and it’s making me seriously contemplate going back to mountain lion…

        can you help me figure this out?

      • Matt says:

        This mostly works for me, but it seems to have revealed a bug. I wonder if anyone else running Mavericks with multiple monitors can verify it. I have a program that I use maximized which has many controls across the bottom of its window. Accessing them, I frequently cause the dock to appear and it pops up in front of the controls I’m trying to use.

        I ran this command to increase the delay to 1 second:
        defaults write com.apple.dock autohide-delay -float 1 && killall Dock

        After running that command and moving the mouse to the bottom of the screen, the dock immediately appears. If I move the mouse away and back to the bottom of the screen, the dock waits 1 second like I asked it to and then appears. If I move the mouse to another monitor, the Dock will appear instantly when I go to the bottom of that monitor. If I move to a new monitor (A), show the dock, move to another monitor (B) and back to A without showing the dock on B, and show the dock again on A, it correctly waits for the delay period before appearing.

  20. mike says:

    Hi, would it be possible to change the delay time for dock autohide? I would like the dock to wait 2-3 seconds before it hides.
    Thanks a lot.

  21. Bojan says:

    Thanks, trick with lowercase ‘d’ worked for me on Mavericks

Leave a Reply

 

Shop for Apple & Mac Deals on Amazon.com

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates