What is trustd, and why is it using so much CPU?
- It checks certificates. Its man page says
trustdprovides services for evaluating trust in certificates for all processes on the system. Websites, mail servers, software updates and signed apps all rely on its answer. - When it’s normal: small bursts whenever apps open secure connections or you launch software. Several copies under different user names are expected.
- When to act: if it stays high, an app is opening connections non-stop, or something on the network is getting in the way of its checks. Find the app, test another network, then restart. Don’t block 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 trustd is
The binary is /usr/libexec/trustd, and its man page describes it as both a daemon and a LaunchAgent. That matches its two launchd jobs: com.apple.trustd in /System/Library/LaunchDaemons runs a system copy under a dedicated account named _trustd, and com.apple.trustd.agent in /System/Library/LaunchAgents runs a copy with the --agent argument for each user session. System service accounts get their own agents too, which is why Activity Monitor can show four or five lines called trustd. A small trustdFileHelper runs beside them as root.
A certificate is how a server or a developer proves who they are. Evaluating trust means following the chain from that certificate back to a root the Mac already knows. Apple’s list of root certificates explains where those come from: root stores are preinstalled with macOS, and they establish the validation chain for other certificates signed by the included roots, for example when you connect to a web server.
trustd also plays a part when you open apps. Apple says Gatekeeper performs online checks for known malware and for whether a developer’s signing certificate has been revoked. In Howard Oakley’s log trace on macOS Ventura at The Eclectic Light Company, the network request for that certificate check was made by trustd on behalf of syspolicyd, and results were cached locally so the check isn’t repeated online each time.
2. Why it’s busy
One evaluation is cheap. trustd climbs the list when it is asked for a great many in a short time, or when one can’t finish:
- A process making connections in bulk. A browser restoring dozens of tabs, a mail app checking many accounts, a sync client, a package manager or a script that opens a new secure connection for every request.
- Launching lots of software at once, at login or after an update, when signatures are being checked.
- A network that interferes. A VPN, content filter or corporate proxy that inspects encrypted traffic changes the certificates trustd sees. Apple warns that its services fail any connection that uses HTTPS interception.
- Checks that hang. Oakley notes that an offline Mac is handled gracefully, but a server that answers and then never completes can leave things waiting, sometimes with an app bouncing in the Dock.
The first two are ordinary and brief. The second two tend to show up on one network and not another, which is a useful clue.
3. What to do about it
- See which trustd it is. In Activity Monitor choose View › All Processes and look at the User column. A busy copy under your name points at one of your apps; the
_trustdcopy points at system-wide activity. - Find the app making the connections. Sort the CPU tab by % CPU, then look at the Network tab for a process sending and receiving constantly. Quit it and watch trustd.
- Change one network thing at a time. Turn a VPN or filter off for a minute, or join a different network such as a phone hotspot. If trustd calms down, the network setup is the cause; on a managed network, tell the administrator.
- Restart the Mac. That gives every copy a clean start and clears requests that were stuck.
- Update macOS. The root store ships with the system, so an out-of-date Mac has out-of-date roots.
To list every copy with its owner and current load:
ps -axo user,pid,%cpu,comm | grep '/usr/libexec/trustd' | grep -v grep
4. Should you quit or disable it?
The copy that belongs to your user can be quit in Activity Monitor; launchd starts another as soon as an app needs a certificate checked, which is almost at once. Connections in progress may hiccup. The system copies need an administrator password and return just the same, so leave those be.
Do not block trustd in a firewall tool to quieten it. Its online lookups are how the Mac learns that a certificate has been revoked. Apple states that these security checks have never included your Apple Account or the identity of your device, and that it doesn’t log IP addresses tied to Developer ID certificate checks.
There is no setting that turns it off, and none should be looked for. Without trust evaluation, a Mac can’t tell a real bank site, update server or developer from a fake one.
Questions
Why are there multiple trustd processes on my Mac?
One system daemon runs as _trustd, and an agent runs for each user session, including some system service accounts. Four or five copies is normal.
Is trustd a virus?
No. It is Apple’s certificate trust daemon at /usr/libexec/trustd. It is one of the parts of macOS that helps catch untrustworthy software.
Does trustd send data to Apple?
It can make online certificate checks. Apple says these checks have never included the user’s Apple Account or device identity, and that IP addresses tied to Developer ID certificate checks aren’t logged.
Why does trustd use a lot of network or CPU with a VPN on?
A VPN or filter that inspects encrypted traffic changes the certificates being evaluated and can make checks fail or repeat. Turn it off briefly to test.
How SiftMac handles it. SiftMac has no part in certificate checks and doesn’t manage processes. It 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