MainspringGuides › killall commands
macOS Guide

killall on Mac: Restart Finder, Dock, and More

Updated July 2026 · 3 min read

killall quits every process with a given name. That sounds destructive, but for macOS system components it's the opposite: Finder, the Dock, and the menu bar respawn automatically within a second or two, picking up any settings changes as they do. It's the reason almost every hidden-settings tweak ends with a killall line instead of "now reboot your Mac."

Why killall is safe for system processes

System components like Finder and the Dock are managed by launchd, macOS's process supervisor. When one quits — for any reason — launchd relaunches it immediately. So killall Dock doesn't leave you Dock-less; it gives you a fresh Dock that has re-read its preferences. Your windows, apps, and files are untouched. The only thing you lose is transient state, like which Dock stack was open.

Regular apps are different: killall Safari just quits Safari without asking about unsaved state, and nothing relaunches it. Use killall on apps only when they're unresponsive — and prefer Force Quit (⌘⌥Esc) first, since it's harder to typo.

The killall commands worth knowing

# the classic pair after a settings tweak
killall Finder
killall Dock

There's no undo command for a restart — the process comes back on its own. If you restarted something to apply a tweak you now regret, undo the tweak itself (usually with defaults delete) and run the same killall again.

Gotchas: case, "No matching processes", and the one to avoid

Three things trip people up:

Restarts handled for you

Every Mainspring toggle applies its change and restarts the right process automatically — Finder, Dock, or menu bar — so you never have to remember which killall goes with which tweak. 90+ hidden settings, all labelled, all reversible.

Try Mainspring free →

Signed & notarized by Apple · 1-day free trial · $29 once

Where killall fits in your tweak workflow

Most of the time you'll run killall right after a defaults write command, since preferences are only read at launch. If you're new to that side of things, start with our guide to changing hidden settings with defaults write — every example there comes with its matching killall and its undo.