What is XProtect (XprotectService) on Mac?
By Junaid, maker of Taskglass · Last reviewed
macOS's built-in anti-malware: scans apps for known malware and removes infections.
XProtect is the antivirus technology built into macOS. It checks apps for known malware when they're first opened or changed, and its companion XProtect Remediator scans in the background periodically and removes known threats. Apple updates its malware definitions automatically. Seeing these processes is a good sign: it means your Mac's built-in protection is working.
- Category
- Security
- Made by
- Apple
- Safe to quit:
- With care
Shown in Activity Monitor as XprotectService, xprotectd, XProtectBridgeService, XProtect
Why is XProtect (XprotectService) using so much CPU or memory?
- Opening newly downloaded or updated apps, which get scanned
- A periodic background malware scan
- Just after XProtect's definitions were updated
- Large apps or archives with many files to check
What to do
- 1Let the scan finish; it usually takes seconds to a few minutes
- 2Keep 'Install Security Responses and system files' on in System Settings > General > Software Update > Automatic Updates
- 3Restart your Mac if it stays busy for a long time
- 4Don't try to disable it; it protects you from malware
Safe to quit? With care.
macOS relaunches these when needed; quitting just interrupts a scan.
Typical CPU and memory use
Measured on an Apple M4 Mac running macOS 27.0.1 on November 17, 2026, during normal use:
xprotectd: 2 MB of memory, running as root (the system)
Resident memory from ps at one moment. It changes with what you're doing.
Is it genuine? How to check
Malware sometimes borrows the name of a real process. The real one runs from a fixed place and carries its maker's code signature, so check both.
XprotectService
- Location
- /System/Library/PrivateFrameworks/XprotectFramework.framework/Versions/A/XPCServices/XprotectService.xpc/Contents/MacOS/XprotectService
- Part of
- XprotectFramework (a macOS framework)
- Signed by
- Apple (part of macOS)
Check the signature in Terminal:
codesign -dv --verbose=2 "/System/Library/PrivateFrameworks/XprotectFramework.framework/Versions/A/XPCServices/XprotectService.xpc/Contents/MacOS/XprotectService"
The genuine file prints these lines:
Identifier=com.apple.XprotectFramework.AnalysisService Authority=macOS Software Signing TeamIdentifier=not set
xprotectd
- Location
- /usr/libexec/xprotectd
- Signed by
- Apple (part of macOS)
- Started by
- launchd job
com.apple.security.xprotectd(system daemon, kept running)
Check the signature in Terminal:
codesign -dv --verbose=2 "/usr/libexec/xprotectd"
The genuine file prints these lines:
Identifier=com.apple.xprotectd Authority=macOS Software Signing TeamIdentifier=not set
XProtectBridgeService
- Location
- /System/Library/PrivateFrameworks/XprotectFramework.framework/Versions/A/XPCServices/XProtectBridgeService.xpc/Contents/MacOS/XProtectBridgeService
- Part of
- XprotectFramework (a macOS framework)
- Signed by
- Apple (part of macOS)
Check the signature in Terminal:
codesign -dv --verbose=2 "/System/Library/PrivateFrameworks/XprotectFramework.framework/Versions/A/XPCServices/XProtectBridgeService.xpc/Contents/MacOS/XProtectBridgeService"
The genuine file prints these lines:
Identifier=com.apple.XProtectBridgeService Authority=macOS Software Signing TeamIdentifier=not set
XProtect
- Location
- /Library/Apple/System/Library/CoreServices/XProtect.app/Contents/MacOS/XProtect
- Signed by
- Apple
Check the signature in Terminal:
codesign -dv --verbose=2 "/Library/Apple/System/Library/CoreServices/XProtect.app/Contents/MacOS/XProtect"
The genuine file prints these lines:
Identifier=com.apple.XProtectFramework.XProtect Authority=Software Signing TeamIdentifier=not set
To see where the running copy lives, run this in Terminal and compare the path:
ps -axo pid,user,comm | grep -F XprotectService
In Activity Monitor: select the process, click the Info button (ⓘ), then Open Files and Ports. The first line is the program's path.
Paths and signatures checked on macOS 27.0.1 (26A434), Apple M4, November 17, 2026. Other macOS versions can differ.
Related processes
- syspolicydGatekeeper's engine: checks new apps and software before macOS lets them run.
- endpointsecuritydRuns and supervises security tools (antivirus, monitoring) that use Apple's Endpoint Security system.
- softwareupdatedChecks for, downloads and prepares macOS updates.
- amfidChecks code signatures to make sure programs haven't been tampered with before they run.
- biometrickitdSupports Touch ID fingerprint operations.
- coreauthdHandles Touch ID and password prompts when apps ask you to confirm it's you.
Part of the Taskglass Process Library · More Security processes