How to Restart the Dock on Mac (Fix a Frozen Dock)
The Dock is just a program — it's literally a process named Dock — and like any program it occasionally wedges: icons stop responding, auto-hide gets stuck half-open, a badge won't clear, magnification stutters. The fix is the same as for any hung program: restart it. That takes one command, about one second, and loses nothing. Here's the command, the no-Terminal alternative, and what actually restarts along with it.
The one-liner
Open Terminal — it's in Applications → Utilities, or type “Terminal” into Spotlight (Cmd+Space) — and run:
# quit the Dock process; macOS relaunches it instantly
killall Dock
The Dock blinks out and slides back in a second or two later. That's the whole operation. macOS supervises the Dock process, so you never need to start it yourself — killing it is restarting it. Note the capital D: process names are case-sensitive, and killall dock will just report “No matching processes.”
Is it safe? Completely.
Nothing is lost: your Dock layout, settings, and hidden tweaks all live in a preferences file the restart doesn't touch. Open apps aren't affected, and windows stay where they were. Two side effects worth knowing, both harmless:
- Minimized windows pop back open. The Dock holds minimized windows, so restarting it un-minimizes them — they return to the screen, not to oblivion.
- Desktop and Spaces flicker briefly, because the same process manages more than the Dock strip (more below).
What a Dock restart actually fixes
Reach for it when you see:
- Icons that don't respond to clicks, or a Dock that won't appear when auto-hide should reveal it;
- Stuck badges, ghost icons for apps that already quit, or bounce animations that never end;
- Mission Control or App Exposé refusing to open, or Spaces refusing to switch;
- A tweak you just applied with
defaults writenot taking effect — the Dock only reads its preferences at launch, sokillall Dockis the standard “apply” step after any Dock default.
What restarts along with it
The Dock process runs more of your desktop than its name suggests. Restarting it also restarts Mission Control, App Exposé, Launchpad, Stage Manager, and the management of Spaces and desktop icons' window layer. That's why killall Dock is the cure for a surprising range of “my desktop is acting strange” symptoms, not just Dock-strip glitches — and why the screen flickers for a moment when you run it.
No Terminal? Use Activity Monitor
- Open Activity Monitor from Applications → Utilities.
- Type Dock into the search field and select the Dock process.
- Click the X (stop) button in the toolbar and choose Quit. If it's truly hung, Force Quit.
macOS relaunches it automatically, exactly as with the Terminal route.
If restarting doesn't stick
A Dock that re-freezes within minutes has a deeper problem — most often a corrupt preferences file or a misbehaving third-party add-on. The next escalation is resetting the Dock's preferences entirely, which wipes customizations but replaces the possibly-damaged file.
Make it a two-keystroke reflex
If you tweak Dock settings often — every defaults write needs this restart — save yourself the typing with a shell alias. Add one line to your shell profile:
# add to ~/.zshrc, then open a new Terminal window
alias fixdock='killall Dock'
From then on, typing fixdock in any Terminal window bounces the Dock. Remove the line from ~/.zshrc whenever you want the alias gone. Its siblings are worth knowing for the same reason: killall Finder restarts Finder (for Finder-side defaults tweaks) and killall SystemUIServer restarts parts of the menu bar — the same safe quit-and-relaunch pattern applies to each.
While you're fixing things: Mainspring turns 90+ hidden macOS settings — Dock included — into labelled, reversible toggles, applying the killall step for you automatically.
Try Mainspring free →Signed & notarized by Apple · 1-day free trial · $29 once
The nuclear option
If restarts don't hold, reset the Dock's preferences to factory state — how to reset the Mac Dock to its default settings covers the command and the backup step to do first.