Skip to content

Why you cannot quit some processes on a Mac, and what to do instead

System processes run as root or their own users, and macOS restarts most of them anyway. Which ones you can quit, which you should not, and how to tell them apart.

4 min read

Why can't I quit it?

Who owns it decides. Your apps run as you, and you can quit them. System services run as root or as their own user accounts, and quitting them needs administrator rights. Many are also restarted by launchd the moment they stop.

Process on our MacRuns asWhat happens if stopped
Google Chrome, editors, your appsyouQuits
WindowServer_windowserverLogs you out
coreaudiod_coreaudiodRestarts at once; sound blips
mds_stores_mds_storesRestarts
opendirectoryd, backupd, syspolicydrootRestarts; what depended on it fails meanwhile
kernel_taskthe kernelCannot be stopped
ps -axo user,pid,comm | grep -i windowserver
sudo kill PID

What should I do instead?

  • Your own app stuck: Force Quit from the Apple menu, or kill its process ID.
  • A system service misbehaving: restart the service by name where that is safe, such as killall coreaudiod for sound, or log out and in.
  • Something always returning: find what starts it; a LaunchAgent in ~/Library/LaunchAgents is the usual answer for third party tools.

See it live

Free Mac's System tab offers Quit only where macOS allows it, and marks everything holding your login session as protected. See also how many processes run on a Mac and uninstalling Watchman for a LaunchAgent example.

Related: launchd high CPU and Which app is using the internet on my Mac.

Common questions

Why can't I quit a process on my Mac?

It is owned by root or a system user, or launchd restarts it. Only your own apps quit normally.

How do I kill a process in Mac Terminal?

kill followed by its process ID, or sudo kill for a system process. ps -ax lists IDs.

Is it safe to force quit system processes?

Usually not. Restart the service by name where that is safe, or log out and back in.

Read next