macOS has no built-in “quit everything” button. When you want a clean slate — before a presentation, after a heavy work session, or when your Mac starts feeling sluggish — you have four real options. Three are built in and free, one is one click and also free. All four are below, with the trade-off each one makes.
Why there is no built-in “quit all”
This is not an oversight. On macOS an application keeps running when you close its last window — that is why the menu bar still shows the app’s name. Quitting is a separate, deliberate act, and Apple has consistently treated “close every app at once” as something that should take intent rather than one stray keystroke.
The practical consequence is the thing most people are actually confused about: Cmd-W and Cmd-Q are not the same. Cmd-W closes a window. Cmd-Q quits the application. Close every window in Safari and Safari is still running, still in the Dock, still holding memory. If you have been closing windows and wondering why your Mac still feels loaded, that is why. Everything below quits applications rather than closing windows.
Method 1: The Cmd-Tab + Cmd-Q loop (built in)
The fastest built-in method uses the app switcher. Hold Cmd and press Tab to open the switcher, keep holding Cmd, move to an app with Tab, and press Q to quit the selected app without leaving the switcher. Repeat until only Finder remains.
- Hold
Cmd, pressTabto bring up the app switcher. - Still holding
Cmd, pressTabuntil the app you want to quit is highlighted. - Press
Q. The app quits and the switcher stays open. - Repeat for every app. With practice this takes 2–3 seconds per app.
Two things worth knowing. Hold Cmd and press Shift-Tab to move backwards if you overshoot. And Finder cannot be quit this way at all — it has no Quit item, by design, because it owns the desktop.
Apps with unsaved changes pop a save dialog and interrupt the loop — you deal with each one before you can continue. Ten open apps is typically 30–60 seconds of tabbing and clicking, more if two of them argue.
Method 2: Force Quit window (Cmd-Option-Esc)
Press Cmd-Option-Esc to open Force Quit Applications. Select everything — click the first item, then Shift-click the last — and press Force Quit.
It is fast, and it is the wrong tool for a routine tidy-up. Force Quit does not ask applications to shut down, it terminates them. Nothing saves, nothing flushes its state, and the next time you open those apps you get “the application quit unexpectedly” dialogs and restore-session prompts. Keep this one for an app that has genuinely hung — a single frozen app, not ten healthy ones.
Method 3: AppleScript (free, scriptable)
Open Script Editor, paste, and run:
tell application "System Events" to set apps to name of every process whose visible is true and name is not "Finder"repeat with a in apps try tell application a to quit end tryend repeat
Save it as an application (File → Export → File Format: Application) and you have a double-clickable quit-all for the Dock. If you prefer a one-liner, the same thing runs from Terminal:
osascript -e 'tell application "System Events" to quit (every process whose visible is true and name is not "Finder")'
The catches are real. macOS asks for Automation permission the first time the script targets each app, so the first run is a sequence of prompts. Any app showing a save dialog blocks the script silently — it waits, and you are back to clicking. visible is true misses apps running with no window open, which is often exactly the set eating your memory. And you maintain it yourself when macOS changes behaviour between versions.
Method 4: One click from the menu bar
Captain Kill Switch sits in the menu bar and does the whole sweep in one click: every app gets a clean quit request — the same signal Cmd-Q sends, so well-behaved apps exit properly and you get no crash-recovery prompts later — and anything still running about two seconds later is closed firmly, so one stubborn save dialog cannot stall the whole sweep. That force floor is the difference between this and the AppleScript.
Finder, the Dock and every system process are excluded by an allowlist. It closes applications, never your session, so it cannot log you out. Finder is a special case: quitting it is pointless, because macOS relaunches it and puts every window back — so the sweep asks Finder to close its windows instead, leaving the app itself running and the desktop intact. That is the one place it needs Automation permission, asked once on your first sweep and only for Finder, versus a prompt per app for the script in Method 3. Decline it and everything else still closes; you just keep your Finder windows.
Developer ID signed and notarised by Apple, so it opens with a normal double-click. Free.
There is also a cks command-line version with a --dry-run flag that prints exactly what a sweep would close, without closing anything. Worth running once before you trust it with a full desktop.
The honest trade-off: one click means no save dialogs — unsaved work closes with everything else. Save first, then sweep. If you want per-app save prompts, use Method 1; if you want a clean desktop in two seconds, this is the button. Any tool promising both instant and save-everything is lying about one of the two.
What not to do
killallin Terminal. It matches process names, not applications, and your user account owns far more than your apps. It is easy to take out something the session depends on and end up back at a login screen.- Activity Monitor as a routine. Its Force Quit button has the same problem as Method 2 — no clean shutdown, crash prompts on relaunch.
- “Memory cleaner” utilities. macOS manages memory well, free RAM is wasted RAM, and high memory pressure is not automatically a problem. The real lever is having fewer applications open, which is what this page is about.
Troubleshooting
An app will not quit. It is usually showing a modal dialog behind another window — Cmd-Tab to it and look. If it is genuinely hung, Force Quit that one app.
Finder keeps reappearing. Expected. Finder relaunches automatically because it draws the desktop; it is not a failed quit.
Apps reopen after a restart.That is the “Reopen windows when logging back in” checkbox in the restart dialog, not something that survived the sweep.
Which method should you use?
- Quitting 2–3 apps occasionally: Cmd-Tab + Cmd-Q. No install, keeps save dialogs.
- One frozen application: Force Quit (Cmd-Option-Esc) — that one only.
- Comfortable with scripts, want it free and DIY: AppleScript, accepting that a save dialog stops it.
- Doing this daily — before meetings, streams, or focus blocks: the one-click button. It turns a minute of tabbing into a reflex.