Hide Dock No Delay

The idea of auto-hiding the dock has always seemed appealing, because it gives back the real estate normally lost by an always-present dock. The downside to auto-hide, however, is the slight delay that occurs whenever the dock shows and hides. For me, the delay totally kills the idea of using auto-hide. But what if you could remove the delay?

In this tutorial, I will show you how to have the best of both worlds: a dock that is hidden, yet at the same time immediately accessible due to the omission of the annoying delay.

How to auto-hide the dock and remove its delay on Mac

Step 1: Open Terminal

Step 2: Copy and paste the following command into a Terminal window:

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

To remove all of these changes, and bring back your dock, simply paste the following command into a Terminal window:

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

If you prefer to have your dock hidden, there is no better way to go about it in my opinion. What do you think? Would you consider nixing the delay that comes along with an auto hiding dock? Share your thoughts down below in the comment section.

  • BoardDWorld

    Brilliant, never thought about modifying the script to make it function how I want it. Thanks

  • Kudos

    OMG! This is MAGNIFICENT!!

  • Irritated

    Does anyone have this problem? Sometimes my MBP 2014 gives me static shocks when i rest my palm/forearm around the trackpad area. Really irritating. I think it happens more often when I’m charging my MBP but sometimes even when not.

    • Agru

      Definitely not a good thing, bring it to an Apple store

    • Romi

      It happened to a friend of mine. I bet you don’t use the grounded power cord 😉 ?

      • Irritated

        I use the plug that goes straight into the brick?

    • Electron

      It’s because the laptop is made out of aluminium, the charge spreads around the surface of the laptop

  • Dev

    I don’t hide my dock but I always use everything in fullscreen mode so it gets hidden automatically unless i’m on the desktop so this is great

  • Flybynight

    Wow. Now I will use auto-hide. I didn’t want to before because of the lag. Awesome!

  • I don’t like the delay neither, however, I prefer a slide in animation, but a lot snappier (faster),

    to do that, just set the “autohide-time-modifier” to around 0.2 or just paste the following code into terminal

    defaults write com.apple.dock autohide -bool true && defaults write com.apple.dock autohide-delay -float 0 && defaults write com.apple.dock autohide-time-modifier -float 0.2 && killall Dock

    • Jay

      you gotta say how to remove it too, no? please and thanks

      • Agru

        The script used to remove the changes stays the one written by Jeff

      • you can remove the changes the same way it is described in the article:

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

      • MonkeyFingers

        No. He has

    • nopeudon

      Thank you so much! I was just about to ask if there was a way reduce the delay but not remove it totally. After some experimenting I find that a delay of 0.4 is perfect for me.

    • jaysoncopes

      I found it much more reliable to make a slide animation when setting it to 0.5. It’s still notably faster, but the slide animation still appears properly.

    • Mike

      .3 worked for me!

  • philip Mills

    what the hell have you done! you just mended my macbook pro retina
    now it shuts down with no freezing ha thanks so much.

  • Tex

    how do you make Safari go fullscreen with EVERYTHING hidden like in Chrome?

    • Agru

      Green button?

      • Tex

        No…. because then you still have the address bar/toolbar at the top in Chrome it hides everything. so all you have is the webpage taking up the entire screen

      • Agru

        Oh right.. You should be able to hide it with a double tap/ right click but it comes back everytime

      • Ixis

        You can’t do that in Safari

  • Agru

    Is there a way to auto hide the dock but make it always visible when you’re on the desktop, without active windows?

    • Couldn’t you focus on it (i.e. click it) when the desktop is shown?

  • GuyWithTheThings

    Is there a way to do this for the Launchpad animation when clicking on the Launchpad app icon?

  • GuyWithTheThings


  • Niclas

    I’d like it to be in mini size, and when you’re close to it expand to normal size.
    This way you get an idea of where to steer your cursor and get the easy to click size, while not loosing much window area.

  • Chris Tangler

    if you have hyperdock installed go to the advanced tab in the hyperdock preference pane and check the “speed up dock’s autohide” box and it works great

  • Luis L.

    you could use Onyx to do the same without Terminal
    parameters -> dock

  • David Kravets

    Dude, this rocks man

  • maaya1989

    Can someone please update this article for El Captain?I loved it on Yosemite but on El C it caused some weird animation problems…Is it just me?

  • Maximillion82

    Finally auto-hide is useful. More screen real estate and no need to wait. Not sure why Apple didn’t just do that to beginning with. Animations are pretty but only the first time, then they usually become a pain.

    Else if someone likes animations and slow tardiness, change the 0 to a higher number for example 10. Would be a funny prank 😛

  • Tomaz

    Is there a way to do this same thing for the menu bar??

  • LGM

    Can we do the same for the menubar?

  • Jeet Parte

    0.6 slide animation for me. If I wanted it any faster, I’d rather open apps with Alfred / Spotlight.