macOS process library · Security and privacy
What is XProtect on Mac?
XProtect is the malware scanner built into every Mac. It checks apps against signatures of known malware when they first open, when they change, and when Apple updates its signatures, and its remediation tools scan for and remove known infections in the background.
- Part of
- macOS’s built-in malware protection, alongside Gatekeeper and notarization.
- Safe?
- Yes. It is Apple’s own security software, stored in a protected part of the system.
- Can I quit it?
- No. It runs when macOS needs it and starts again on its own. It also protects your Mac, so there’s nothing to gain.
The short answer
XProtect is supposed to be running, and short bursts of CPU are normal. It does its heaviest work right after Apple ships new signatures and while it runs a background scan. Let it finish. It’s one of the few processes on your Mac whose whole job is keeping you safe.
Normal use
What XProtect usually looks like.
Most of the time you won’t see XProtect at all. It wakes up when you open a new app, when an app changes, and on a schedule to look for known malware, then goes quiet again.
Apple updates XProtect’s signatures separately from macOS, so they can arrive between regular updates. You can see the installed version by running xprotect version in Terminal.
Why XProtect uses so much CPU or memory
- A new signature update
When Apple ships new signatures, XProtect may recheck apps and files it has already seen. This is temporary.
- A background remediation scan
XProtect’s remediator tools scan for specific malware families on a schedule, usually when your Mac isn’t busy. A large disk with many apps takes longer.
- Opening lots of new apps or executables
Installing developer tools, unpacking archives full of programs, or running a freshly downloaded app makes XProtect check each new executable the first time it runs.
- Actual malware
If XProtect finds something, it blocks or removes it and macOS shows an alert. Repeated alerts about the same app mean you should delete that app.
How to calm XProtect down
Start at the top. Each step is more disruptive than the one before.
- Let it finish
Scans after an update or a big install finish on their own. Keep your Mac awake for a while.
- Keep automatic security updates on
In System Settings → General → Software Update, click the info button next to Automatic Updates and make sure Install Security Responses and system files is on, so XProtect stays current without you thinking about it.
- Check its version
Run
xprotect versionin Terminal to confirm signatures are installed and recent. - Remove anything it flags
If macOS says an app will damage your computer, move it to the Trash and empty it. Don’t override the warning.
- Restart if it’s stuck
If XProtect uses CPU for hours without stopping, restart your Mac. It picks up where it should afterward.
Seeing it in Spare
Find what it’s reacting to.
XProtect works hardest right after something new lands on your Mac: an installer, a batch of downloaded tools, or a project full of fresh executables. Spare shows your apps, development projects, and AI agents side by side, so you can see what was installing or building when XProtect got busy.
Spare lists XProtect as part of macOS and never offers to stop it.
Common questions
About XProtect
Is XProtect antivirus?
Yes. It’s Apple’s signature-based malware detection, built into macOS and updated by Apple. It works alongside Gatekeeper, which checks that apps are signed, and notarization, which checks apps before they’re distributed.
Can I turn off XProtect?
Not in a supported way. It’s protected by System Integrity Protection, and turning that off to remove it would make your Mac less safe. Its CPU use is brief.
Do I need third-party antivirus if I have XProtect?
For most people, XProtect, Gatekeeper, and keeping macOS up to date cover the common threats. Workplaces sometimes require their own security software, which runs alongside it.
What happened to MRT, the Malware Removal Tool?
Apple folded MRT’s job into XProtect’s remediation tools, which now scan for and remove known malware in the background.
Related processes
Sources: Apple Platform Security: Protecting against malware in macOS. Reviewed October 13, 2026.
Get Spare
Free to use. Yours to explore.
Download Spare for Apple silicon, or explore the MIT-licensed source on GitHub. Free to use, with no subscription or account.
macOS 14+ · Apple silicon · Signed and notarized