Thrum

What is amfid, and why is it using CPU on my Mac?

Last reviewed: 19 November 2026. Path, account, launchd job and man page checked on macOS 26.3.1.

amfid is the mobile file integrity daemon: it checks the integrity of programs that run on the Mac, which means verifying their code signatures. It uses CPU when many programs start, especially newly built or newly installed ones. It is a core part of macOS security and must keep running.

amfid at a glance

amfid
Made byApple (part of macOS, Apple Mobile File Integrity)
TypeSystem daemon
Location/usr/libexec/amfid
Runs asroot
Started bylaunchd job com.apple.MobileFileIntegrity
Can you quit it?No. Programs cannot be verified while it is gone, and launchd restarts it.

What is amfid?

The man page describes amfid as "a daemon that checks the integrity of files running on the system." The launchd job is named com.apple.MobileFileIntegrity, which is why the daemon is often called AMFI. On a Mac, the integrity of a program is recorded in its code signature, a cryptographic seal that shows whether the code has been changed since it was signed, so amfid's work centres on programs as they start.

It runs as root from the com.apple.MobileFileIntegrity launchd job, which also schedules two small metrics tasks. Unlike syspolicyd, which decides Gatekeeper policy for downloaded apps, amfid is involved in validating code as it runs.

Is amfid safe?

Yes. amfid is part of macOS in /usr/libexec on the read-only system volume. It is not something to remove or disable; doing so would stop the Mac from enforcing code signing.

Why does amfid use so much CPU?

How much CPU is normal for amfid?

0% CPU nearly all the time, with brief spikes when programs start. It uses a few megabytes of memory.

How do you stop amfid from using so much CPU?

  1. Find what is launching programs. In Activity Monitor, choose View > All Processes, Hierarchically to see which parent keeps starting new processes. A script or tool that spawns many short-lived commands is the usual cause of steady amfid activity.
  2. Pause build or test loops. If you are a developer, check whether amfid calms down when your build, file watcher or test runner is stopped.
  3. Check a program's signature. Run codesign -dv /path/to/program in Terminal to see how a program is signed. Unsigned or damaged code can fail validation repeatedly.
  4. Restart after a system update. If amfid stays busy after a macOS update with nothing else happening, a restart starts it fresh.

When should you worry about amfid?

If apps suddenly refuse to open with messages about damage or invalid signatures, the problem is the app's signature, not amfid. Reinstall the app from its developer.

Sustained amfid CPU with no new programs starting is unusual and worth tracking down with the process hierarchy view.

How do you check amfid in Activity Monitor and Terminal?

Open Activity Monitor (Applications > Utilities), choose View > All Processes, and type amfid in the search field. The CPU tab shows its % CPU. Double-click the row for its parent process, memory details and open files.

In Terminal, the first command lists every amfid process with its PID, user, CPU and memory (RSS is resident memory in kilobytes).

ps -axo pid,user,%cpu,%mem,rss,command | grep -F 'amfid' | grep -v grep

How can Thrum help with amfid?

Thrum keeps a live CPU graph in the menu bar. One click shows the eight processes using the most CPU, so you can see when amfid is among them and how much it takes. An optional alert tells you when a process stays above a CPU level you choose (50 to 200% of one core) for 1 to 10 minutes. macOS does not let apps quit processes owned by root or other users, so Thrum shows them for information and leaves stopping them to the steps above.

Thrum is $4.99 once with a 14-day free trial and no account. It requires macOS 26 Tahoe on Apple silicon or Intel.

Questions about amfid

What does AMFI stand for?

It is short for the name of amfid's launchd job, com.apple.MobileFileIntegrity: mobile file integrity. The man page calls amfid the mobile file integrity daemon.

Is amfid the same as Gatekeeper?

No. Gatekeeper's checks on downloaded apps are carried out by syspolicyd. amfid is involved in validating code signatures when programs run.

Sources