Skip to contentBlack FridayTaskglass is $9 instead of $14Get the deal →

What is UserEventAgent on Mac?

By Junaid, maker of Taskglass · Last reviewed

Summarize this page with

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

  1. 1Check whether a dock, hub or loose cable keeps connecting and disconnecting
  2. 2Turn Wi-Fi off and on, or rejoin a network that keeps dropping
  3. 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

Part of the Taskglass Process Library · More macOS system processes

See this process live in Taskglass.

Taskglass shows what UserEventAgent is doing on your Mac right now, groups it under the app that started it, and checks its code signature for you. It explains 224 processes this way.

See how Taskglass works →How it compares with Activity Monitor →