What is opendirectoryd on Mac, and why is it using so much CPU?

By Anil Gautam · Updated

opendirectoryd is a macOS system process that looks up user accounts, groups and passwords.

User accounts directory · Leave it
opendirectoryd at a glance
Shown in Activity Monitor asopendirectoryd
Made byApple, part of macOS
WhySlow's verdictLeave it

See what’s slowing your Mac right now: download WhySlow free. One-click fixes cost $10, once or yearly.

WhySlow process list on a real Mac with a plain-English verdict for every process
Real screenshot: WhySlow lists every process with a verdict. Search for opendirectoryd to see it explained on your Mac.

Why is opendirectoryd using so much CPU?

Busy at login, or on Macs joined to a company directory.

What opendirectoryd does

opendirectoryd answers questions such as 'which user is this?' and 'which groups is this account in?'. On a Mac joined to a company directory it also talks to the directory server, which adds work when the network or server is slow. If it stays busy on a managed Mac, ask your IT team.

Should you quit opendirectoryd?

No. opendirectoryd is part of macOS. Quitting it can break things, and macOS starts it again anyway. When it is busy, it usually calms down once its work is done.

Is opendirectoryd a virus?

The name opendirectoryd alone can't prove a process is genuine, and this page isn't a security scan. Check where it runs from: genuine macOS processes run from system folders such as /System/Library and /usr/libexec. In Activity Monitor, double-click opendirectoryd and choose Open Files and Ports to see its location. If it appeared right after you installed something unexpected, don't grant it more permissions, and ask the software vendor or Apple Support.

How to check opendirectoryd on your Mac

Open Activity Monitor (Applications › Utilities), choose the CPU tab and type opendirectoryd in the search field. The % CPU column shows how busy it is: 100% means one full processor core. Watch it for a minute while you repeat the task that felt slow.

What to do if opendirectoryd stays busy

How WhySlow helps with opendirectoryd

See what's slowing your Mac right now

Free to explain. One-click fixes cost $10, once or yearly.

Download free

Sources

The process description comes from WhySlow’s app catalog. Diagnosis depends on your workload and the version of macOS or the app you use. For an unfamiliar process, start with Apple’s guide to inspecting processes and reading CPU activity.

Need a broader starting point? Follow the slow Mac checklist or learn about memory pressure.

Related processes