What is previewsd, and why is it using CPU?
Last reviewed: 19 November 2026. Path, launchd job and man page checked on macOS 26.3.1.
previewsd is the daemon for Xcode Previews, the canvas in Xcode that shows a live preview of the view you are editing. It installs and runs the preview builds of your code, so it is busy every time a preview updates. It is idle when Xcode's canvas is closed.
previewsd at a glance
| previewsd | |
|---|---|
| Made by | Apple (part of macOS, Xcode Previews) |
| Type | Per-user agent |
| Location | /System/Library/PrivateFrameworks/PreviewsOSSupport.framework/Support/previewsd |
| Runs as | your user |
| Started by | launchd job com.apple.previewsd |
| Can you quit it? | Yes. Xcode's previews stop updating until it is started again. |
What is previewsd?
The previewsd(8) man page says it is the daemon for Xcode Previews, with no configuration options, not to be run manually. It is part of macOS, in the PreviewsOSSupport private framework, even though only Xcode uses it.
It runs as your user through the launchd agent com.apple.previewsd, only in a graphical login session. Its job lists services for installing and running previews, a crash listener, process-exit tracking and shell and agent pipes, with separate Mac variants of several. On the Mac checked here it had never run since login.
Is previewsd safe?
Yes. previewsd is part of macOS and signed by Apple.
Why does previewsd use so much CPU and memory?
- Previews updating as you type. Each edit that changes the previewed view leads to a new preview build being installed and run.
- Several previews at once. Files with many previews, or previews for several devices, mean more preview processes and more memory.
- Preview crashes. A view that crashes in the preview is restarted when you try again, and its crash listener records each one.
How much CPU is normal for previewsd?
Typical: not running unless Xcode's canvas is open. While you edit with previews visible, regular bursts of CPU are expected.
Use that continues after you quit Xcode is not normal.
How do you reduce the CPU used by Xcode Previews?
- Close the canvas. In Xcode, choose Editor > Canvas to hide the canvas when you do not need previews.
- Keep previews small. Preview the view you are working on rather than whole screens, and limit the number of previews in a file.
- Quit Xcode when done. previewsd and its preview processes have nothing to do once Xcode is closed.
When should you worry about previewsd?
previewsd is not a concern. Look closer only if it stays busy after Xcode is closed; quitting it then is harmless.
A copy outside the PreviewsOSSupport framework would not be Apple's.
How do you check previewsd in Activity Monitor and Terminal?
Open Activity Monitor (Applications > Utilities), and type previewsd 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 previewsd process with its PID, user, CPU and memory (RSS is resident memory in kilobytes).
ps -axo pid,user,%cpu,%mem,rss,command | grep -F 'previewsd' | grep -v grep
How can Thrum help with previewsd?
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 previewsd 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 previewsd 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 previewsd
Why is an Xcode daemon part of macOS?
The man page describes previewsd as the daemon for Xcode Previews, and it ships in a macOS framework. It only does work when Xcode uses it.
Does previewsd run if I do not have Xcode?
Its launchd job starts it on demand. Without Xcode nothing asks for it.
Sources
- previewsd(8) man page: run man previewsd in Terminal