What is taskgated on Mac?
By Junaid, maker of Taskglass · Last reviewed
Decides whether one program may inspect or control another, such as a debugger attaching to an app.
taskgated implements the policy for a sensitive system service that lets one process access another's internals, which debuggers and some developer tools need. The kernel asks taskgated to approve or deny such requests. It's normally idle.
- Category
- Security
- Made by
- Apple
- Safe to quit:
- With care
Shown in Activity Monitor as taskgated, taskgated-helper
Why is taskgated using so much CPU or memory?
- Debuggers or developer tools attaching to processes
- Security or monitoring software inspecting processes
What to do
- 1Stop debugging sessions you don't need
- 2Restart your Mac
Safe to quit? With care.
macOS relaunches it when needed.
Typical CPU and memory use
Measured on an Apple M4 Mac running macOS 27.0.1 on November 17, 2026, during normal use:
taskgated: 1 MB of memory, 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.
taskgated
- Location
- /usr/libexec/taskgated
- Signed by
- Apple (part of macOS)
- Started by
- launchd job
com.apple.taskgated(system daemon, started on demand)
Check the signature in Terminal:
codesign -dv --verbose=2 "/usr/libexec/taskgated"
The genuine file prints these lines:
Identifier=com.apple.taskgated Authority=macOS Software Signing TeamIdentifier=not set
taskgated-helper
- Location
- /usr/libexec/taskgated-helper
- Signed by
- Apple (part of macOS)
- Started by
- launchd job
com.apple.taskgated-helper(system daemon, started on demand)
Check the signature in Terminal:
codesign -dv --verbose=2 "/usr/libexec/taskgated-helper"
The genuine file prints these lines:
Identifier=com.apple.taskgated-helper 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 taskgated
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 taskgated
Quit it in Activity Monitor, or run sudo killall taskgated in Terminal. Launchd starts it again the next time an app or macOS asks for it: it is the launchd job com.apple.taskgated (a system daemon), defined in /System/Library/LaunchDaemons/com.apple.taskgated.plist.
Related processes
- amfidChecks code signatures to make sure programs haven't been tampered with before they run.
- XcodeApple's app for building Mac, iPhone and iPad apps.
- tccdEnforces privacy permissions: camera, microphone, screen recording, files, contacts and more.
- trustdChecks that security certificates are valid, for websites, apps and secure connections.
- XProtect (XprotectService)macOS's built-in anti-malware: scans apps for known malware and removes infections.
- biometrickitdSupports Touch ID fingerprint operations.
Part of the Taskglass Process Library · More Security processes