index

Auto-hide Dock

Hide the Dock to give your apps more room. Move the pointer to its configured screen edge to reveal it.

defaults write com.apple.dock autohide -bool true && killall Dock
Scope: current user
Compatibility and recovery
OS requirements
Apple documents the UI control for macOS Tahoe 26. The defaults command has no verified OS version in this project.
Tested on
Not tested by this project on a recorded OS version.
Prerequisites
Record the current automatic-hiding setting. The command uses Terminal as the signed-in user and requests no administrator elevation.
Effect
The UI hides the Dock until the pointer reaches its edge. The command writes the current user preference and terminates Dock; its restart and application timing are unverified.
Undo or removal
In System Settings > Desktop & Dock, restore the value you recorded for Automatically hide and show the Dock.

Documentation reviewed 2026-10-03. Source 1

Report outdated instructions · Opens a draft on GitHub for you to review and submit.

Use System Settings > Desktop & Dock > Automatically hide and show the Dock. Move the pointer to the edge where your Dock is positioned to check the result. Restore the same switch to undo the change.

Apple documents this UI control. It does not document the autohide preference command shown above. That command is untested here and terminates Dock. Use the UI path when you need a documented, reversible change.