macOS (Sierra, Yosemite, El Capitan, or earlier) have included a Dock bar which commonly shows up at the bottom of your MacBook’s screen. The Dock is among those essential features of macOS, including entire running applications as well as providing a quick launch bar to open applications.

With the System Preferences menu, you can easily change the settings on a MacBook to auto hide and show the Dock bar. Once you turned on this setting, the dock bar will only show up whenever you move the mouse over the bottom of your MacBook’s screen. Or, you can also use the keyboard shortcut to hide or show it quickly on macOS Sierra, Yosemite or El Capitan.

Read also: How To Show Hidden Files on Mac

Using the System Preferences

Step 1: Click on the Apple icon and select the “System Preferences” option.

Step 2: Click on the “Dock” icon from System Preferences window.

auto hide and show dock

Step 3: Then, you can see the option “Automatically hide and show the Dock.”. Check the box for hiding and showing the dock.

Using a Keyboard Shortcuts

To auto hide and show the Dock bar, you can use the Command + Option + D button on your keyboard. It will hide or show the Dock on Macbook Pro, Macbook Air immediately.

auto hide and show dock 3

Using the keyboard shortcut is easily and efficiently to switch the dock hides and shows.

Set the time wanted to show the Dock

To establish the amount of the needed time to show the Dock (for this example, for 4 seconds), just open the Terminal and enter the following command into a Terminal window:

defaults write autohide-delay -float 4 && killall Dock

auto hide and show dock 2

This will make the Dock keep hidden until you move the mouse at the Dock’s screen edge for a full 4 seconds. You can modify a number of seconds that you want.

dock delay

Tricks: You use the following command to show the dock immediately without any the delay:

defaults write autohide-delay -float 0 && killall Dock

To bring the default setting back, just enter this command below:

defaults delete autohide-delay && killall Dock

About the author


Solomen is founder of OHT( and at his happiest when he's working with technology and able to help others. In his free time, he often listens to Baroque music and goes swimming. Feel free to contact me on social media!