App launcher · macOS process
xpcproxy on Mac: what it is, why there are so many, and what to do
xpcproxy is the tiny program macOS uses to start other programs. When an app needs a helper (a Safari tab, a Spotlight importer, a sharing extension), launchd runs xpcproxy, xpcproxy sets up the environment, and then hands itself over to the real helper. Each one lives for a fraction of a second, so seeing a few appear and vanish in Activity Monitor is normal. Each uses almost no CPU and a few megabytes at most. The only thing worth noticing is a constant stream of them for minutes: that means a helper is crashing and being relaunched, and the fix is the app that owns it, not xpcproxy.
- What it is
- The launcher for XPC services and launchd jobs, at /usr/libexec/xpcproxy. It starts a helper and becomes it.
- Normal
- Several short-lived entries a minute, each under 1 percent CPU and a few megabytes, gone before you can click.
- Not normal
- A new xpcproxy every second for minutes, usually with one app's helper crashing in the background.
- Safe to quit?
- Pointless. It is already gone by the time you click it. Quit the app whose helper keeps restarting instead.
- The one safe fix
- Find the helper that keeps relaunching in Activity Monitor, quit or update its parent app, and the stream stops.
On this page9 sections
What xpcproxy does
Apple's own manual page describes xpcproxy as an "exec trampoline" that "configures the execution environment for XPC services". That sounds obscure, so here is the plain version.
Modern Mac apps are split into pieces. Safari runs every tab in a separate WebContent process. Spotlight uses a separate importer for every file type. Share sheets, Quick Look previews, Photos editing extensions, Mail plug-ins: all of these run as small helper programs called XPC services. When an app needs one, it asks launchd, the process that manages every other process on your Mac.
launchd does not start the helper directly. It starts xpcproxy, which sets up the sandbox, the environment variables, the resource limits and the security context the helper should have, and then replaces itself with the helper. The process ID stays the same; only the name changes. That is what "trampoline" means: you bounce through xpcproxy and land in the real program.
So every xpcproxy you see is a helper in the half-second between being asked for and being ready. It lives at /usr/libexec/xpcproxy, runs as whichever user requested the helper, and has been part of macOS since launchd learned to manage XPC services in OS X 10.7.
What normal looks like
Because each xpcproxy becomes something else almost instantly, the useful measure is how many you see over time, not how big any one of them is:
Each individual xpcproxy uses next to nothing. If you ever catch one with a high CPU figure, you are almost certainly looking at the helper it just became, caught while Activity Monitor still showed the old name. Refresh the view and the real name appears.
Why xpcproxy is using CPU right now
It usually is not. What people notice is either a lot of them or one that seems to stick around. The explanations, in order of likelihood:
- Something is launching helpers. You opened a browser with many tabs, Spotlight is indexing after an update (see mds_stores and mdworker), Photos is analysing a library, or an app with lots of extensions just started. Every helper is one xpcproxy. This is the normal case.
- A helper is crashing in a loop. If an XPC service crashes, launchd relaunches it, through xpcproxy, again and again. The symptom is a new xpcproxy every second or two and, in Console, a stream of crash reports for the same helper. The cause is the app that owns the helper: an outdated extension, a broken plug-in, a corrupt preference file.
- A third-party launch agent that keeps restarting. Background items from installed software (updaters, sync clients, licence checkers) are launched the same way. One that fails on start will loop. The background items guide covers how to find and disable those.
- Activity Monitor caught it mid-bounce. One xpcproxy showing real CPU is the helper under its old name. It is not xpcproxy doing the work.
In the Apple Community thread quoted below, the person asking had simply noticed the name and wanted to know what it was. There was no problem to fix, which is the most common outcome.
Is it safe to quit xpcproxy?
There is nothing to quit. By the time you have selected an xpcproxy in Activity Monitor and reached for the stop button, it has already turned into the helper it was launching. If you manage to end it, you have ended that helper, and launchd will start another one if the app still wants it. Nothing is damaged, but nothing is fixed either.
It is also not malware. The genuine xpcproxy lives only at /usr/libexec/xpcproxy, and the same binary is used for every helper on the system. Some security blogs list it as a threat because the name looks unfamiliar; it is as built-in as Finder. The thing to look at is not xpcproxy but what it keeps becoming.
What to do, in order
- Check whether anything is actually wrong
A few xpcproxy entries coming and going is the system working. If your Mac is not slow, hot or loud, close Activity Monitor and carry on. Most people who search for this name have no problem to solve.
- Watch what each one becomes
In Activity Monitor, choose View, All Processes, Hierarchically. An xpcproxy that lingers will show up under its parent, and a second later the name changes to the real helper. That name tells you which app is responsible.
- Look for a repeating crash
Open Console (in Applications, Utilities), click Crash Reports in the sidebar, and sort by date. The same helper crashing every few seconds is your loop. The app named in the report is the one to deal with.
- Quit or update the parent app
Quit the app that owns the crashing helper and watch the stream of xpcproxy entries stop. Then update the app, or its extension or plug-in, before launching it again. Outdated browser extensions and Finder sync extensions are frequent culprits.
- Disable a looping background item
If the parent is not an app you can quit, check System Settings, General, Login Items & Extensions. Turn off the item from the software named in the crash report, then reinstall or update that software.
- Restart
A restart clears any helper stuck in a bad state and gives launchd a clean start. If the loop returns after a restart with the same app, that app needs an update or a reinstall; the loop is its bug, not macOS's.
When to worry
The only xpcproxy pattern worth acting on is the one that does not stop. Here is how it looks next to a normal day:
- 09:00Log in. A burst of xpcproxy entries as login items and menu bar apps start. Normal.
- 09:05Quiet. One or two a minute. This is the resting state.
- 11:00Safari opened with 30 tabs. A dozen appear and vanish within seconds. Normal.
- 14:00A new one every second, nothing open. Console shows a sync extension crashing repeatedly. This is the loop.
- 14:10Quit the sync app: stream stops at once. Update the app, relaunch, quiet again.
Three signs that put it in the worry column: the stream continues with every app closed, the Mac feels sluggish or warm while idle, and Console shows the same crash report over and over. One of those alone is curiosity; all three together is a looping helper that will keep going until its parent is quit or fixed. If none of them apply, xpcproxy is doing exactly what it should.
Look up another process
xpcproxy is usually a sign of something else launching. If the helper it turns into has an unfamiliar name, look it up here.
Names that often follow an xpcproxy: com.apple.WebKit.WebContent for browser tabs, mdworker for Spotlight, and nehelper when a VPN or filter starts.
What people hit, in their words
“Can someone tell me what xpcproxy is?”
“I'm glad you aren't experiencing an issue with the xpcproxy component on your Mac.”
Questions people ask
What is xpcproxy on Mac?
xpcproxy is the small built-in program launchd uses to start XPC services and other helper processes. It sets up the sandbox and environment for the helper, then replaces itself with it. Every browser tab, Spotlight importer, share extension and Quick Look preview passes through one for a fraction of a second. It lives at /usr/libexec/xpcproxy and is part of every macOS version.
What is an XPC service on Mac?
An XPC service is a small helper program that an app runs in its own process, so a crash or a security problem in the helper cannot take down or compromise the main app. Safari tabs, Mail's message loading, Photos editing extensions and system share sheets are all XPC services. They are launched on demand by launchd, via xpcproxy, and exit when no longer needed.
Why do I see so many xpcproxy processes?
Because macOS launches a lot of helpers, and each one is briefly named xpcproxy before it becomes the real program. Opening a browser with many tabs, Spotlight reindexing or a big app starting can produce dozens in a minute. That is normal. A steady new one every second with nothing open means a helper is crashing and relaunching; the app that owns it is the thing to fix.
Is xpcproxy malware?
No. It is a core part of macOS, installed with the system and used for every XPC service on the Mac. The genuine binary is only ever at /usr/libexec/xpcproxy. Some security sites list the name because it looks unfamiliar, but the process in Activity Monitor is the same one every Mac has. Nothing needs to be removed or scanned.
Can I stop xpcproxy from running?
Not without breaking the Mac, and there is no reason to. It only runs for a moment each time a helper starts, and it uses almost no resources. If you are seeing a constant stream of them, the fix is to find the helper that keeps crashing (Console, Crash Reports) and quit, update or remove the app that owns it. The stream stops as soon as the parent does.
Sources and further reading
- xpcproxy(8) manual page Apple's one-line description: the exec trampoline for XPC services
- What is xpcproxy, Apple Community the thread the quotes come from
- Creating XPC services, Apple Developer Documentation how apps split work into helper processes
- View crash reports in Console on Mac, Apple Support where to find a helper that is crashing in a loop