Mac Tips
How to Reset Mac Dock to Default: A Simple Terminal Guide
One Terminal command restores the factory Dock and clears most Dock glitches. Here is exactly what it wipes, including your hot corners, and how to reset just one part instead.

Key takeaways
- The command that resets the Mac Dock is: defaults delete com.apple.dock; killall Dock. The Dock disappears for a second and comes back with factory settings.
- That command also wipes your hot corners and several Mission Control preferences, because those settings share the com.apple.dock preferences domain.
- Back up first with: defaults export com.apple.dock ~/Desktop/dock-backup.plist. Restoring it is defaults import against the same file, followed by killall Dock.
- You can reset one part instead of everything. Deleting only persistent-apps clears pinned applications, and deleting only persistent-others clears folder stacks.
- A reset does not uninstall anything. Your applications and files are untouched; only the Dock layout and its settings change.
One command resets the Mac Dock: defaults delete com.apple.dock; killall Dock. The Dock disappears for about a second, then returns with its factory layout, size and position. Before you run it, there is one thing worth knowing: that command wipes your hot corners too.
What does resetting the Dock actually do?
macOS stores your Dock configuration in a preferences domain called com.apple.dock. Deleting that domain removes every customisation you have made: pinned apps, folder stacks, icon size, magnification, screen position, auto-hide, the reveal delay, and the animation timing. macOS then generates a fresh set of defaults the next time the Dock starts.
What it does not do is remove anything from your Mac. Applications stay installed, files stay where they are, and the only thing you lose is the arrangement. That is why a reset is a reasonable first move when the Dock is behaving strangely rather than merely being untidy.
What else lives in com.apple.dock?
More than the Dock, which is the part most guides leave out. The same domain also holds:
- Hot corners. Every screen corner action you have configured goes back to none.
- Mission Control preferences, including whether spaces rearrange themselves by recent use and whether windows group by application.
- Your current Spaces arrangement, so desktops you had set up are rebuilt.
None of these are difficult to set up again, but it is annoying to discover afterwards. If hot corners are load bearing for you, write them down before you run the command.
How do you see what is set before you wipe it?
defaults read com.apple.dock prints the whole domain into Terminal. It is long and mostly machine readable, but it is the fastest way to check one value before changing it. Naming a single key is more useful: defaults read com.apple.dock autohide-delay returns just that setting, and reports that the key does not exist if you never set it, which is a quick way to confirm whether a previous Terminal fix is still in place.
Back up your Dock first
The defaults tool can export a domain to a file and import it back, which makes the reset genuinely undoable:
defaults export com.apple.dock ~/Desktop/dock-backup.plist
That writes your current Dock configuration, hot corners included, to your Desktop. To roll back:
defaults import com.apple.dock ~/Desktop/dock-backup.plist; killall Dock
Thirty seconds of work that turns a one-way change into a two-way one. Do it.
The command that resets the Dock
- Open Terminal. Press Command and Space, type Terminal, and press Return.
- Type or paste this exactly:
defaults delete com.apple.dock; killall Dock - Press Return.
What to expect. The Dock vanishes and the screen may flicker briefly as the process quits. Within a second or two the Dock reappears at the bottom of the screen, at default size, holding Apple's default set of apps for your macOS version. Any app that is currently running also shows an icon, as usual.
The two halves do different jobs. defaults delete com.apple.dock removes the stored preferences. killall Dock quits the running Dock so it restarts and reads the now-empty settings. Without the second half, the Dock keeps drawing from what it already has in memory and nothing appears to change. That pattern is true of every Dock setting: the change is written immediately, but it does not take effect until the Dock restarts.
If Terminal replies that the domain was not found, the preferences were already cleared. That is not an error and the reset still works.
How do you reset only part of the Dock?
A full wipe is often more than the situation calls for. These are narrower and each one needs the same killall Dock to take effect:
- Clear pinned apps only:
defaults delete com.apple.dock persistent-apps; killall Dock - Clear folder stacks only:
defaults delete com.apple.dock persistent-others; killall Dock - Undo a reveal delay:
defaults delete com.apple.dock autohide-delay; killall Dock - Undo a changed animation speed:
defaults delete com.apple.dock autohide-time-modifier; killall Dock - Reset icon size:
defaults delete com.apple.dock tilesize; killall Dock
These leave your hot corners and everything else alone, which is usually what you actually wanted. The full list of what each key does is in our guide to completely removing the macOS Dock, which uses the same settings in the opposite direction.
What a reset will not fix
Worth knowing before you spend an afternoon on it:
- Finder problems. A misbehaving sidebar or Finder window is a separate process.
killall Finderis the equivalent there. - Third-party window managers. If another app is positioning or hiding your Dock, resetting Apple's preferences will not stop it.
- A managed Mac. A configuration profile can push a Dock layout that reapplies at login, overwriting your reset. Check System Settings, then General, then Device Management.
- Your habits. A clean Dock fills up again. That is not a bug, it is what happens to every Dock.
Rebuilding the Dock afterwards
Once the Dock is back to defaults, resist filling it immediately. Add apps for a week only as you actually reach for them, and you will end up with a much shorter Dock than the one you started with.
Two jobs to do straight away, though. Remove the default apps you know you will never open, using the methods in removing apps from the Dock. And put back any folder stacks you were relying on, since the reset cleared those too: getting the Downloads folder back on the Dock covers the drag and the stack options.
If the Dock is still broken after a reset
Work through these in order:
- Log out and back in. Some Dock state is only rebuilt at login.
- Restart the Mac. Boring, and it clears a surprising number of window server oddities.
- Test a new user account. Create one in System Settings under Users and Groups and log in. If the Dock is fine there, the fault is in your account, not in macOS.
- Check for a configuration profile under Device Management, which would explain settings that keep coming back.
If you get this far and the Dock is still misbehaving, our support page is a better use of your time than another Terminal command.
A quieter alternative to rebuilding it again
A reset gives you a clean Dock, not a Dock that stays clean. If you find yourself resetting it every few months, the useful question is whether you need it to be your launcher at all.
The setup worth trying: hide the Dock so it stops taking a strip of screen, and open apps from the menu bar instead. Hiding the Mac Dock covers the first half. For the second, ShortcutDock puts your apps in a grid behind a menu bar icon or a global hotkey, with Groups for sets of apps you open together. It runs on macOS 13 Ventura or later, uses under 20MB of RAM, works entirely offline, and starts free with eight app shortcuts, five favourites and one group. Pro lifts those caps for a one-time payment rather than a subscription, and you can download the free version to see whether the workflow suits you first.
Frequently asked questions
Will resetting the Dock delete my apps or files?
No. The command only removes the Dock preferences file. Every application stays installed in your Applications folder and no documents are touched. What you lose is the arrangement, not the contents.
Terminal said domain com.apple.dock not found. Did the reset fail?
No, that message means the preferences had already been cleared, so there was nothing left to delete. Running killall Dock afterwards still rebuilds the Dock. You can safely ignore it.
Does resetting the Dock get back the apps my Mac shipped with?
It restores the default Dock for the version of macOS you are currently running, not the one your Mac shipped with years ago. If you have upgraded macOS since buying the machine, the default set will differ from what you remember.
What is the difference between killall Dock and a full reset?
killall Dock restarts the Dock process while keeping every setting, which fixes freezes and rendering glitches. A full reset deletes the settings themselves. Always try killall Dock first, because it costs you nothing.
My Dock keeps breaking again after a reset. What now?
Log out and back in, then restart the Mac. If the problem returns, create a second user account and check whether the Dock behaves there: if it does, the fault is in your user account rather than macOS. Also look for a configuration profile under Device Management, which can enforce a Dock layout on managed Macs.
Related guides
How to Remove Apps from Dock (Mac): A Quick Declutter GuideDrag an icon off the Dock, or use Options and Remove from Dock. The app stays installed. Plus what to do when icons keep coming back and what cannot be removed at all. How to Get the Downloads Folder Back on the Mac DockDragged the Downloads folder off your Dock by accident? Drag it back from your Home folder to the right of the Dock divider, then set how the stack sorts and opens. How to Hide Mac Dock (And Fix Hiding Problems)Press Option, Command and D to hide the Dock instantly. Then tune the reveal delay and animation in Terminal, and work through the reasons a Dock refuses to disappear.



