Reset the macOS Dock to Default Settings
Delete the whole com.apple.dock preferences domain and restart the Dock to undo all tweaks at once.
01Command
$ defaults delete com.apple.dock && killall Dock02What it does
Every Dock customization — pinned apps, magnification, hot corners, autohide tweaks, widgets — lives in the com.apple.dock preferences domain. `defaults delete com.apple.dock` with no key name erases the entire domain, and killing the Dock makes launchd relaunch it with fresh default preferences. This is much faster than hunting down each defaults write you ever ran. A side effect you must plan for: your pinned apps and Dock layout are also reset.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- macOS defaults - read, write and delete macOS user defaultsEvidence: Documents `defaults delete domain` — 'Removes all defaults for the given domain' — and shows killing processes (e.g. `killall Dock`) to make preference changes take effect.
- defaults(1) man pageEvidence: Man page for defaults: `delete` removes 'the specified defaults' or, with only a domain given, the whole domain's preferences, and warns that the domain is completely reset.
Last verified: 2026-09-19 · Category: System & Settings
06Related solutions
Point macOS screen captures at any folder you choose instead of the desktop.
Make Finder display .pdf, .docx, .png and every other extension at all times.
Permanently display the full folder path at the bottom of every Finder window.