XProtectService on Mac: Apple's built-in malware scan, why it runs, and when it stops
XProtectService is part of XProtect, the malware protection built into macOS. It checks apps for known malware when they open, and since macOS 12.3 a companion called XProtect Remediator runs a background scan roughly once a day and after security updates. A scan usually takes a few minutes at high CPU and then stops; users with large disks report 10 to 15 minutes. It is not something to quit and it relaunches if you try. If it runs for hours every day, low disk space or a huge number of apps is usually behind it, and updating macOS brings the newest, faster scanner.
- What it is
- Apple's built-in antivirus. XProtect checks apps before they run; XProtect Remediator scans in the background and removes what it finds.
- Normal
- A burst of 50 to 100 percent CPU for a few minutes once a day or after an update, then nothing.
- Not normal
- Full CPU for hours every day, or scans that restart constantly.
- Safe to quit?
- No. It is a root security service that relaunches, and quitting cancels a protection you want.
- The one safe fix
- Let the scan finish, keep macOS updated, and keep 10 to 20 GB free so scans run quickly.
What XProtectService does
Apple has shipped malware protection inside macOS for years, and it comes in two layers. Eclectic Light, which has followed every version, describes the first: XProtect is an on-demand feature in Gatekeeper that checks apps and executable code for malware just before they are run. That is the check that happens when you open a downloaded app, and it uses a list of signatures Apple updates silently in the background.
The second layer arrived with macOS 12.3 in 2022. XProtect Remediator is a set of scanning modules that periodically run in the background to check for the presence of known malware, and remove it if found. These scans are scheduled by macOS, run roughly once a day when the Mac is on power and idle, and fire again after a security update. XProtectService is the process you see in Activity Monitor while either layer is working, alongside module names such as XProtectRemediatorMRTv3 on some versions.
Neither layer needs anything from you. There is no app to open, no settings pane, and no notification when a scan completes. Apple's security guide calls the whole system XProtect and describes it as the built-in antivirus technology for signature-based detection and removal.
What normal looks like
Because scans are scheduled and bounded, the healthy pattern is a short daily burst:
The daily scan is what people notice. One Apple Community poster described an iMac that became very slow every day when the scan started and felt it was starting up secretly. The timing is real; the secrecy is just Apple's choice not to show a progress bar. A regular in the same thread said, about killing the process, that they would not, and would look elsewhere.
Why XProtectService is using CPU right now
- The daily scan is running. It is scheduled for when the Mac is on power and idle, which often means first thing in the morning or just after you sit down. A few minutes and it is gone.
- A security update just installed. Apple pushes XProtect signature updates in the background and a scan follows. After a full macOS update, expect a longer one.
- You opened an app from the internet. The on-demand check reads the app before it launches. Big apps take longer.
- The disk is nearly full or slow. Scans read a lot of files. On a drive with little free space, or an old spinning external drive that is attached, reads are slow and the scan drags on.
- You have an enormous number of apps or developer tools. Every executable is a candidate. Package manager directories with thousands of binaries can stretch a scan considerably.
- Older macOS. The Remediator has been rewritten several times since 2022 and newer versions are faster and better scheduled. A Mac stuck on an early Monterey build runs the oldest, slowest version.
Is it safe to quit XProtectService?
No, for two reasons. First, it is a root system service; Activity Monitor asks for your password, and then macOS relaunches it and the scan starts again. One poster described exactly this: force quitting it, only to see it pop up again. Second, and more important, this is a protection you want. It is the only thing on a stock Mac that will remove known malware without you doing anything.
The scan is also short. A few minutes of fan noise once a day is the entire cost. If it is genuinely disrupting work, closing the lid pauses it, and it resumes when the Mac is next idle on power.
The checker above gives the same verdict for every Apple security daemon: leave it, it settles.
What to do, in order
- Give it 15 minutes
Note the time. If XProtectService is gone from Activity Monitor within 15 minutes, this was the normal daily scan and there is nothing to fix.
- Update macOS
Open System Settings, General, Software Update, and install what is offered. Newer versions carry a faster scanner with better scheduling. Also make sure Install Security Responses and system files is on under Automatic Updates, so signature updates arrive quietly.
- Free up disk space
Keep at least 10 to 20 GB free. Scans on a nearly full drive crawl. The free up space guide walks through the safe ways.
- Unplug slow external drives during the scan
If an old USB drive is attached, eject it and see whether the scan finishes quickly. If it does, leave the drive disconnected when you do not need it.
- Let it run on power overnight
Scans prefer an idle, plugged-in Mac. If yours is always on battery or always busy, the scan keeps getting deferred and then runs at a bad moment. One night on power with the lid open lets it complete at a convenient time.
- Restart
If a scan seems stuck for hours, a restart clears it and the next scheduled scan starts fresh. Do not try to remove or disable XProtect components; they live on the sealed system volume for a reason.
- Check Eclectic Light's free tools if you are curious
The Eclectic Light utilities SilentKnight and XProCheck show which XProtect version you have and when the last scan ran. They are read-only and useful for confirming that scans are completing. This is optional, not a fix.
When to worry
A running XProtect scan is good news. The scenarios that deserve attention are different:
- Scans every day for hours, on a current macOS, with plenty of free space. Unusual. Check whether a huge external volume or a developer tools folder is being scanned, and consider whether the drive itself is failing.
- XProtect never runs at all. If SilentKnight or XProCheck shows the last scan was weeks ago, automatic security updates may be off. Turn them back on in Software Update settings.
- Something claims to be XProtect but is not. The real process runs from the system volume. A lookalike in your home folder or Applications is worth removing.
Do not install a third-party cleaner to deal with any of this. XProtect is the scanner. The guides on Mac cleaner apps and whether CleanMyMac is worth it explain what those apps actually do.
- OvernightApple pushes a new XProtect signature update silently. Nothing visible.
- 08:40Mac on power, idle. XProtect Remediator begins its scan. XProtectService appears at high CPU, fan spins up.
- 08:52Scan finishes. Process disappears. Anything known and malicious has been removed without a dialog.
- Next daySame again, usually at a similar idle moment. A security update brings an extra scan.
If the daily burst is the thing bothering you, the useful question is whether it is getting longer. Safe to Quit records each process over days so you can see whether XProtectService ran for three minutes or thirty, and whether that is changing.
What people hit, in their words
“Every day, it automatically starts and scans my computer, causing my iMac to become extremely slow.”
“For me, it's around 10 to 15 minutes.”
“I just force quit it from the activity monitor but it pops up again after I open it again after shutting it down”
A short explainer on what XProtect is and how to see your version
What Is XProtect on Mac? How It Works + Check Your Version Now by Hello Mac. Independent channel. Covers the two layers and how to confirm XProtect is up to date.
Questions people ask
What is XProtectService on Mac?
XProtectService is the process behind XProtect, Apple's malware protection built into macOS. XProtect checks apps for known malware when they open, and XProtect Remediator, added in macOS 12.3, scans in the background about once a day and removes what it finds. The process appears in Activity Monitor during those scans and is usually absent the rest of the time. It is a core part of macOS security, not a third-party add-on.
Why is XProtect using high CPU?
Because a scan is running. The daily background scan reads a large number of files and uses 50 to 100 percent CPU for a few minutes; users with big disks report 10 to 15 minutes. It also runs after security updates and when you first open a downloaded app. A scan that lasts hours every day points at low free space, a slow external drive, or an old macOS version with a slower scanner.
Can I stop XProtect on Mac?
Not from System Settings, and not usefully from Activity Monitor: force quitting needs your password, the service relaunches, and the scan restarts. XProtect is the protection that removes known malware without you doing anything, so stopping it is the wrong goal. If a scan is disruptive right now, close the lid; it resumes when the Mac is next idle on power.
How long does XProtect take to scan?
Usually a few minutes. Apple Community reports range from two or three minutes on a recent MacBook to 10 to 15 minutes on an iMac with a large disk. The scan runs when the Mac is on power and idle, roughly once a day, and again after a security update. If it takes much longer than that every day, free up disk space and update macOS, which brings a faster scanner.
Is XProtect enough, or do I need antivirus on my Mac?
For most people XProtect plus Gatekeeper and notarization is enough. XProtect blocks and removes known malware, Gatekeeper checks that apps come from identified developers, and both update silently. The real risks are things no scanner stops, such as entering a password on a fake site or approving a dodgy installer. A third-party cleaner or antivirus adds its own background processes and rarely adds protection.
How do I check my XProtect version?
Open System Information from the Apple menu, choose About This Mac, then System Report, and look under Software, Installations for XProtect entries with dates. Easier: the free Eclectic Light tools SilentKnight and XProCheck show the current XProtect and Remediator versions and when the last scan ran. Keep Install Security Responses and system files turned on in Software Update so new signatures arrive automatically.
Sources and further reading
- What are those XProtects? Eclectic Light, Feb 2023. The two layers explained; source of the definitions quoted above.
- How XProtect is updated Eclectic Light, Aug 2026. Signature delivery on current macOS.
- Protecting against malware in macOS Apple Platform Security Guide. Apple's own description of XProtect and the Remediator.
- XProtect Remediator scanning daily and slowing iMac Apple Community, Feb 2024. Source of two quotes above.
- XProtect service high CPU Apple Community, Sep 2020. The force-quit-and-it-returns report.