What is UserEventAgent on Mac?
By Junaid, maker of Taskglass · Last reviewed
Reacts to system events like network changes and device connections using Apple's plug-ins.
UserEventAgent loads Apple's system plug-ins that respond to high-level events launchd can't watch directly, such as network changes, devices being connected, or power events, and triggers the right services in response. There's one copy for the system and one per user. It runs constantly and should stay light.
- Category
- macOS system
- Made by
- Apple
- Safe to quit:
- With care
Shown in Activity Monitor as UserEventAgent
Why is UserEventAgent using so much CPU or memory?
- Frequent network or Wi-Fi changes
- A dock, hub or Bluetooth device repeatedly connecting and disconnecting
- A plug-in reacting to an event over and over
What to do
- 1Check whether a dock, hub or loose cable keeps connecting and disconnecting
- 2Turn Wi-Fi off and on, or rejoin a network that keeps dropping
- 3Restart your Mac
Safe to quit? With care.
macOS relaunches it; some automatic reactions to events may be missed for a moment.
Typical CPU and memory use
Rough ranges on Apple Silicon Macs. Yours will vary.
- CPU
- Near 0%
- Memory
- 10–60 MB
Measured on an Apple M4 Mac running macOS 27.0.1 on November 17, 2026, during normal use:
UserEventAgent: 5 MB of memory (largest of 2 copies), 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.
UserEventAgent
- Location
- /usr/libexec/UserEventAgent
- Signed by
- Apple (part of macOS)
- Started by
- launchd job
com.apple.UserEventAgent-LoginWindow(user agent, kept running)
Check the signature in Terminal:
codesign -dv --verbose=2 "/usr/libexec/UserEventAgent"
The genuine file prints these lines:
Identifier=com.apple.UserEventAgent Authority=macOS 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 UserEventAgent
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.
How to restart UserEventAgent
Quit it in Activity Monitor, or run killall UserEventAgent in Terminal. Launchd starts it again within seconds: it is the launchd job com.apple.UserEventAgent-LoginWindow (an agent in your user session), defined in /System/Library/LaunchAgents/com.apple.UserEventAgent-LoginWindow.plist.
Related processes
- launchdThe first process macOS starts. It launches and supervises nearly every other background process.
- configdKeeps track of network and system configuration and tells apps when it changes.
- usernotedDelivers notifications from apps and the system so they can appear on screen.
- VDCAssistantLets apps capture video from the FaceTime camera or USB webcams.
- Virtualization.framework VMA virtual machine run by Apple's Virtualization framework for apps like Docker, UTM or OrbStack.
- VTDecoderXPCServiceDecodes (and encodes) video for apps using Apple's VideoToolbox, often with hardware help.
Part of the Taskglass Process Library · More macOS system processes