Thrum

What is SecurityAgent, and why does it keep asking for my password?

Last reviewed: 19 November 2026. Path, accounts, launchd jobs and man page checked on macOS 26.3.1.

SecurityAgent is the part of macOS Authorization Services that shows the system password dialog, the one that says an app wants to make changes and asks for an administrator name and password. It runs when an app or a System Settings pane needs extra rights, and it quits when you answer. Repeated prompts come from the app that keeps asking, not from SecurityAgent.

SecurityAgent at a glance

SecurityAgent
Made byApple (part of macOS, Security framework)
TypePer-user agent (with a login window copy)
Location/System/Library/Frameworks/Security.framework/Versions/A/MachServices/SecurityAgent.bundle/Contents/MacOS/SecurityAgent
Runs asyour user
Started bylaunchd job com.apple.security.agent
Can you quit it?Yes, but that cancels the password prompt it is showing, and the app that asked gets a refusal.

What is SecurityAgent?

Its man page says SecurityAgent is part of Authorization Services and is responsible for displaying Authorization Services prompts, processing user input and performing user-mode tasks. Authorization Services is the macOS system that decides whether a request for elevated rights, such as installing a helper, changing a locked setting or unlocking a keychain item, should be allowed.

Two launchd jobs start it: com.apple.security.agent in your session, and com.apple.security.agent.login, which runs as the _securityagent system account for prompts at the login window. Neither runs until a prompt is needed.

Is SecurityAgent safe?

Yes. SecurityAgent is inside Security.framework on the read-only system volume and signed by Apple. A real system prompt names the app that asked. Be wary of a password window that appears inside a web page or an app window rather than as a separate system dialog; that is not SecurityAgent.

Why does SecurityAgent use so much CPU?

How much CPU is normal for SecurityAgent?

SecurityAgent runs only while a dialog is on screen and uses near 0% CPU while it waits for you. It quits shortly after.

It is normal to see it several times during software installs.

How do you stop repeated SecurityAgent password prompts?

  1. Read which app is asking. The dialog names the app or the setting that wants to make changes. That is the program to deal with.
  2. Update or reinstall that app. A failing helper install is often fixed in a newer version. Reinstalling lets the app install its helper cleanly.
  3. Allow keychain access permanently. When the prompt is about a keychain item and you trust the app, click Always Allow so it is not asked again.
  4. Remove background items you do not want. Open System Settings > General > Login Items & Extensions and turn off background items of apps that keep asking at login.

When should you worry about SecurityAgent?

Worry about a prompt that does not name an app you recognize, or that appears right after opening an unknown download. Click Cancel and remove the download.

SecurityAgent itself using CPU while no dialog is shown is not expected; a restart clears it.

How do you check SecurityAgent in Activity Monitor and Terminal?

Open Activity Monitor (Applications > Utilities), and type SecurityAgent in the search field. The CPU tab shows its % CPU. Double-click the row for its parent process, memory details and open files.

In Terminal, the first command lists every SecurityAgent process with its PID, user, CPU and memory (RSS is resident memory in kilobytes).

ps -axo pid,user,%cpu,%mem,rss,command | grep -F 'SecurityAgent' | grep -v grep

How can Thrum help with SecurityAgent?

Thrum keeps a live CPU graph in the menu bar. One click shows the eight processes using the most CPU, so you can see when SecurityAgent is among them and how much it takes. An optional alert tells you when a process stays above a CPU level you choose (50 to 200% of one core) for 1 to 10 minutes. Click SecurityAgent in the list for its PID, threads and memory, and Quit or Force Quit it after a confirmation.

Thrum is $4.99 once with a 14-day free trial and no account. It requires macOS 26 Tahoe on Apple silicon or Intel.

Questions about SecurityAgent

Is the SecurityAgent password dialog safe to type into?

A system dialog from SecurityAgent is the normal way macOS asks for an administrator password. Type into it only when you know which app asked and why.

Why does SecurityAgent ask for my keychain password?

An app wants to read an item in your keychain. Your login password usually unlocks the login keychain.

Sources