How to Reset the Mac Dock to Its Default Settings
Sometimes the Dock needs a factory reset: it's cluttered beyond salvage, a half-remembered Terminal tweak is making it behave strangely, or its preferences file has simply gone bad. One command erases every Dock customization — icons, size, position, spacers, hidden settings — and gives you the same Dock a brand-new Mac ships with. Here's how to do it cleanly on Ventura, Sonoma, and Sequoia, including the backup step that makes it reversible.
First: make it reversible
The reset itself has no undo, but you can create one. Export the Dock's entire preference domain to a file first:
# save the current Dock configuration to a file
defaults export com.apple.dock ~/Desktop/dock-backup.plist
That single file captures everything — layout, size, position, and any hidden tweaks. If the reset turns out to fix nothing, or you miss your old arrangement, restore it exactly:
# put everything back the way it was
defaults import com.apple.dock ~/Desktop/dock-backup.plist
killall Dock
The reset
# wipe all Dock preferences and restart it
defaults delete com.apple.dock
killall Dock
The Dock disappears for a second and comes back as Apple configured it: the default set of Apple apps (Finder, Safari, Mail, Messages, Maps, Photos, and friends), medium icons, bottom of the screen, Downloads stack on the right, genie minimize effect. Your account's Dock only — other users on the Mac keep theirs.
What you lose in the wipe
Be clear about the blast radius before you run it:
- Your app lineup — every app you added is removed from the Dock (the apps themselves are untouched, still in Applications).
- Folders and stacks you dragged to the right side, and any spacer tiles.
- Size, position, magnification, auto-hide settings.
- Every hidden tweak in the Dock domain: pinning,
showhidden, scroll-to-open, single-app mode, the immutable locks, custom animation speeds — all reset to defaults at once. That breadth is exactly why the reset is such an effective fix for “my Dock is acting weird and I don't remember what I changed.”
When a reset is the right tool
- Mystery behavior: the Dock ignores its settings, draws oddly, or does something a forgotten
defaults writefrom an old blog post told it to do. Deleting the domain clears every suspect simultaneously. - Corrupt preferences: if the Dock crashes on launch or repeatedly forgets its layout, a damaged plist is the usual cause — and this deletes it.
- Handing a Mac over: resetting the Dock (with a fresh user account) is part of giving someone a clean start.
If the problem is just a frozen or glitchy Dock right now, don't reach for the reset — a plain killall Dock restarts the process without touching any settings, and fixes most one-off glitches.
Surgical alternative: reset one setting, not all
If you know which tweak is bothering you, you don't need the full wipe — every Dock setting can be deleted individually, reverting just that key to its default:
# examples: undo specific tweaks one at a time
defaults delete com.apple.dock autohide-delay
defaults delete com.apple.dock showhidden
defaults delete com.apple.dock pinning
killall Dock
To see everything currently customized in the domain, run defaults read com.apple.dock and skim the output for keys you recognize from old experiments. The full reset is for when that list is long, mysterious, or the file itself is damaged.
Rebuild smarter
After a reset, rebuild deliberately: drag in only the apps you launch daily, put the rest behind Spotlight, and re-apply the two or three hidden tweaks you actually missed. A Dock rebuilt from zero is usually half the size of the one you wiped — and that's the point.
After a reset, Mainspring is the fast way back: 90+ hidden macOS settings — including the Dock tweaks worth keeping — as labelled toggles, each reversible in one click.
Try Mainspring free →Signed & notarized by Apple · 1-day free trial · $29 once
Reset didn't fix it?
If the Dock still misbehaves with factory settings, the problem lives outside its preferences. Work through what to do when the Dock stops responding next.