Thrum

What is ctkd on my Mac, and why is it running?

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

ctkd is the CryptoTokenKit daemon: it loads smart card token drivers, keeps sessions with smart cards and similar security tokens, and connects them to the rest of macOS. It runs on every Mac but only does real work when a token is in use. It is part of macOS and safe.

ctkd at a glance

ctkd
Made byApple (part of macOS, CryptoTokenKit)
TypeSystem daemon and per-user agent
Location/System/Library/Frameworks/CryptoTokenKit.framework/ctkd
Runs as_ctkd (a system account), plus a copy for each logged-in user
Started bylaunchd job com.apple.ctkd
Can you quit it?Not usefully. launchd restarts it when a token or smart card needs it.

What is ctkd?

The man page says ctkd "ensures loading of SmartCard token driver, maintains SmartCard token sessions, provides SmartCard integration into the system." CryptoTokenKit is the framework apps use to "access security tokens and the cryptographic assets they store"; Apple's documentation says tokens can be built into the system, located on attached hardware like a smart card, or reached over a network, and that token drivers are app extensions.

There are two jobs named com.apple.ctkd: a daemon running as the system account _ctkd and an agent that runs in each user session. On a Mac without smart cards or other tokens it stays mostly idle.

Is ctkd safe?

Yes. ctkd lives inside the CryptoTokenKit framework on the read-only system volume. Two or more copies is normal.

Why does ctkd use so much CPU and memory?

How much CPU is normal for ctkd?

Near 0% CPU on a Mac without smart cards. Short bursts when a card or token is inserted, used or removed are normal.

How do you stop ctkd from using so much CPU?

  1. List connected tokens. Run security list-smartcards in Terminal to see which smart cards macOS currently recognises.
  2. Remove and reinsert the card. If ctkd stays busy after a card problem, removing and reinserting the card makes it start a fresh session.
  3. Update or remove third-party token drivers. Smart card drivers from card or reader vendors run as extensions. Update them, or remove ones you no longer need, if ctkd stays busy.

When should you worry about ctkd?

Sustained high CPU from ctkd with no card or token in use is unusual; a faulty reader or an old driver is the likeliest cause.

If you use a smart card for work, ask your administrator before disabling smart card features, because login may depend on them.

How do you check ctkd in Activity Monitor and Terminal?

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

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

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

How can Thrum help with ctkd?

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 ctkd 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. macOS does not let apps quit processes owned by root or other users, so Thrum shows them for information and leaves stopping them to the steps above.

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 ctkd

I do not use smart cards. Why is ctkd running?

It is part of macOS and starts so that tokens work whenever one is attached. Without tokens it stays mostly idle.

Can I turn off a smart card token?

The security smartcards command can enable, disable or list disabled smartcard tokens, according to the security(1) man page. On a work Mac, ask IT before disabling one.

Sources