What is launchd, and why is it using CPU?
- It’s the parent of everything. Apple’s manual page says
launchdmanages processes for the system and for each user, and that the kernel runs it as the first process at boot to bring up the rest. - High CPU is not normal. launchd mostly waits. When it is busy, it is usually starting the same job over and over because that job keeps quitting.
- You cannot quit it, and should not try. The fix is to find the misbehaving background item, often third-party, and update or remove it.
Check your own Mac. SiftMac’s free scan lists what’s using space and says, for each item, whether it comes back on its own.
Download the free scanMac · macOS 13+ · nothing leaves your Mac
1. What launchd is
Open Activity Monitor, choose View › All Processes and sort by PID: launchd is number 1, owned by root. The program is /sbin/launchd. Its manual page describes it as the system-wide and per-user daemon and agent manager, and states that you cannot invoke it directly. The tool for talking to it is launchctl.
Apple’s terms, from the same page: a daemon is a system-wide service with one instance for all clients, and an agent is a service that runs for one user. Each is described by a property list file, and the folder decides which it is:
| Folder | Holds |
|---|---|
/System/Library/LaunchDaemons, /System/Library/LaunchAgents | Apple’s own jobs. Part of macOS. |
/Library/LaunchDaemons, /Library/LaunchAgents | Jobs installed for all users, usually by third-party software. |
~/Library/LaunchAgents | Agents for your account only. |
Apple’s guide for developers explains the design. The preferred method is on-demand launching: launchd holds a service’s port open and starts the program only when a request arrives. A job can instead set KeepAlive, which tells launchd it should always try to keep that job running. launchd also manages the XPC helper services bundled inside apps.
2. Why it’s busy
Starting a process is cheap, and launchd does it thousands of times a day without registering in Activity Monitor. It only becomes visible when it has to do so continuously. Apple’s developer guide describes the pattern from the other side: a daemon that exits too soon after launch may be treated by launchd as crashed. Combine that with KeepAlive, and a job that fails at startup gets launched again and again.
So a busy launchd is nearly always a symptom of one of these:
- A background item whose program was deleted or broken by an update, while its property list stayed behind.
- A helper from an app you removed by dragging it to the Trash, still listed in
/Library/LaunchDaemonsor~/Library/LaunchAgents. - A job that crashes on start because of a damaged settings file.
- Something asking launchd for a service many times a second, which is a bug in that software.
Briefly high CPU right after login or startup is different. That is launchd doing its normal job of bringing up a few hundred services at once.
3. What to do about it
- Restart the Mac and give it a few minutes after login. If launchd settles, you are done.
- List jobs that failed. The command below prints your agents that are not running and last ended with an error. The manual page for
launchctlsays the second column is the last exit status, and that a negative number is the signal that stopped the job. - Look at what you installed. List the three third-party folders with the second command. Names usually reveal the app, such as
com.vendor.updater.plist. - Turn the suspect off the supported way. Open System Settings › General › Login Items & Extensions and switch off that app’s background activity, or use the app’s own uninstaller. Then restart and compare.
- Update or reinstall the app if you still need it. A current version normally repairs its own helper.
- Update macOS if the failing job is Apple’s (its label starts with
com.apple.). You cannot edit those, and you should not try.
launchctl list | awk 'NR==1 || ($1=="-" && $2!="0")'
ls /Library/LaunchDaemons /Library/LaunchAgents ~/Library/LaunchAgents
A status other than 0 is not proof of a fault by itself. Many healthy Apple jobs show one because the system stopped them when they were idle. You are looking for a third-party label that matches the time the trouble started, or one whose program no longer exists.
To leave an app’s leftover launch files behind for good, remove the app properly; our guide to deleting apps completely shows where those files live. Never delete anything from the two folders under /System.
4. Is launchd safe, or is it malware?
launchd is the core of macOS and cannot itself be the thing to remove. kill and Activity Monitor will not stop process 1, and macOS could not run without it. Its identity is simple to confirm, because there is exactly one and it has a fixed place:
ps -p 1 -o pid,user,comm
codesign -dvv /sbin/launchd
Expect 1 root /sbin/launchd, then Identifier=com.apple.xpc.launchd and an Authority chain ending in Apple Root CA. A second process calling itself launchd, with a different PID and a path outside /sbin, is an impostor.
The real security question is what launchd has been told to run. Malware and adware that want to survive a restart commonly do it with a launch agent or daemon, since that is the standard mechanism for any background software. That makes the three third-party folders above worth reading now and then. A file you can’t tie to an app you installed is the thing to investigate, and our malware check guide covers how.
Questions
Can I kill launchd on a Mac?
No. It is process 1, started by the kernel, and everything else depends on it. If it is busy, find the job it keeps restarting.
Why is launchd using high CPU after an update?
Apple doesn’t document a specific cause. A likely thing to check is a third-party background item that no longer starts cleanly on the new system, so launchd keeps relaunching it. Update that app or turn its background activity off.
What is the difference between a launch daemon and a launch agent?
Apple’s definition: a daemon is a system-wide service with one instance for all clients, and an agent runs on a per-user basis. Work that involves the user’s session belongs in agents.
How do I see what launchd is running?
launchctl list shows the jobs in your user session with PID, last exit status and label. launchctl print system gives a fuller picture of the system domain.
Is launchd the same as Launchpad?
No. Launchpad is the app grid you open from the Dock. launchd is the background manager that starts services.
How SiftMac handles it. SiftMac doesn’t manage processes, CPU or launch jobs. Its app uninstaller finds an app’s leftover folders when you remove that app; the rest of the app scans the disk and shows what is taking space.
Download SiftMac · scanning is free, and so is up to 20 GB of cleaning for 7 days · See how it works