What is XprotectService on Mac, and why is it using so much CPU?

By Anil Gautam · Updated

XprotectService is apple's built-in malware scanner.

Malware protection · Leave it
XprotectService at a glance
Shown in Activity Monitor asXprotectService, xprotectd, XProtectPluginService
Made byApple, part of macOS
WhySlow's verdictLeave it

See what’s slowing your Mac right now: download WhySlow free. One-click fixes cost $10, once or yearly.

WhySlow process list on a real Mac with a plain-English verdict for every process
Real screenshot: WhySlow lists every process with a verdict. Search for XprotectService to see it explained on your Mac.

Why is XprotectService using so much CPU?

Busy while scanning new downloads, or after its malware definitions update.

What XprotectService does

Apple's built-in malware scanner, XProtect, checks new downloads and, in recent versions of macOS, scans for known malware in the background. Apple updates its malware definitions silently, and a scan often follows an update. That scan is protecting your Mac, so let it finish.

Should you quit XprotectService?

No. XprotectService is part of macOS. Quitting it can break things, and macOS starts it again anyway. When it is busy, it usually calms down once its work is done.

Is XprotectService a virus?

The name XprotectService alone can't prove a process is genuine, and this page isn't a security scan. Check where it runs from: genuine macOS processes run from system folders such as /System/Library and /usr/libexec. In Activity Monitor, double-click XprotectService and choose Open Files and Ports to see its location. If it appeared right after you installed something unexpected, don't grant it more permissions, and ask the software vendor or Apple Support.

How to check XprotectService on your Mac

Open Activity Monitor (Applications › Utilities), choose the CPU tab and type XprotectService in the search field. The % CPU column shows how busy it is: 100% means one full processor core. Watch it for a minute while you repeat the task that felt slow.

What to do if XprotectService stays busy

How WhySlow helps with XprotectService

See what's slowing your Mac right now

Free to explain. One-click fixes cost $10, once or yearly.

Download free

Sources

The process description comes from WhySlow’s app catalog. Diagnosis depends on your workload and the version of macOS or the app you use. For an unfamiliar process, start with Apple’s guide to inspecting processes and reading CPU activity.

Need a broader starting point? Follow the slow Mac checklist or learn about memory pressure.

Related processes