The short answer
WindowServer on a Mac is the macOS process that draws every window, the menu bar and the Dock onto your displays. High CPU means something on screen keeps changing, or you have more, larger or scaled displays. Never force quit it: that logs you out and closes every app. Close windows, quit apps that animate and use default resolutions.
On this page
What WindowServer does
Each app draws its own windows and hands them to WindowServer, which combines them with the menu bar, the Dock, shadows, transparency and animations into the picture each display shows. Every display, every window and every frame goes through it.
So its CPU, GPU and memory use follow what's on screen. A few percent CPU while you work is normal, and its memory grows with the number and size of your displays.
WindowServer in Activity Monitor
Open Activity Monitor (in Applications → Utilities) and type “WindowServer” in the search field. There's one WindowServer row, with _windowserver in the User column: macOS runs it as its own system user, not as you. It appears in the CPU tab with its % CPU, and in the Memory tab with its memory. Choose Window → GPU History to see how hard the graphics processor is working while it draws.
ps -axo user,pid,comm | grep WindowServer_windowserver 431 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServerSeeing it there is normal: every Mac runs WindowServer all the time.
Is it safe to quit WindowServer?
No, never. Force quitting WindowServer logs you out immediately and closes every app without asking to save, and you're back at the login window. There's never a reason to quit it to fix high CPU.
Why WindowServer uses high CPU
- More and larger displays. Each external display is another full picture to draw, and high-resolution displays mean more pixels in every frame.
- Scaled resolutions. With a scaled setting that fits more on screen, macOS draws at a higher resolution and scales it down. Apple notes that using a scaled resolution may affect performance.
- Transparency and motion. Translucent menus, sidebars and the Dock, and animations, all add drawing work.
- Lots of windows. Every open window has to be kept ready to draw, including ones behind others or on another desktop.
- An app that redraws constantly. A web page with video or animation, a game, a moving wallpaper or a busy dashboard makes WindowServer redraw every frame. This is the most common cause of a sudden spike. In Chrome, the Chrome Helper guide shows how to find the tab.
High WindowServer use is usually a symptom: another app is asking it to draw a lot. If the Mac is also hot, kernel_task may climb too, as macOS slows busy apps to cool the chip.
WindowServer using a lot of memory
WindowServer's memory follows what it has to keep ready to draw: every open window, on every desktop, for every display. More windows, more desktops and more pixels all add to it. Several hundred megabytes is ordinary, and it's higher with large or multiple displays.
top -l 1 -o mem -n 60 -stats pid,command,mem | grep WindowServerOn the 14-inch MacBook Pro (M1 Pro, 16 GB) this guide was written on, with only the built-in display, that printed 609 MB on macOS 27.0. In Activity Monitor, the same figure is in the Memory tab: type “WindowServer” in the search field.
The number alone doesn't tell you whether there's a problem. Look at the memory pressure graph at the bottom of the Memory tab. If it's green, WindowServer's memory isn't slowing your Mac down, whatever the figure says. If it's yellow or red, see what memory pressure means, and what application memory is for the other figures in that tab, then work through these:
- Close windows you aren't using, including minimised ones and windows on other desktops. Browser windows count one by one.
- Remove desktops you don't need in Mission Control.
- Disconnect a display you aren't using, and use each display's default resolution.
- If the figure keeps climbing over several days with the same windows and displays, log out and back in. WindowServer starts fresh at login, so its memory goes back to where it began. Save your work first, because logging out closes your apps.
- Install the latest macOS update. Fixes for system processes arrive that way.
How to find the cause
In Activity Monitor, sort the CPU tab by % CPU and look for the app that is busy alongside WindowServer; that's usually the one redrawing. Window → GPU History shows how hard the GPU is working.
top -l 2 -o cpu -n 10 -stats pid,command,cpu | tail -11system_profiler SPDisplaysDataTypeA quick test: quit or hide the app you suspect and watch WindowServer's % CPU in Activity Monitor. If it drops, you've found the cause.
What helps
- Close windows and browser tabs you don't need, especially ones playing video or animating.
- Quit apps that animate constantly while you're not looking at them.
- Use each display's default resolution. In System Settings → Displays, the default is the one macOS picks as best for that display; scaled options that fit more on screen take more work.
- Turn on Reduce transparency in System Settings → Accessibility → Display. It replaces the transparent effect on some backgrounds with a solid one.
- Disconnect an external display you aren't using, and check whether WindowServer drops.
The faster way: “What is this?” in iKnowMyMac
iKnowMyMac explains this inside the app. Every process row has a “What is this?” action that says what the process is, whether it's safe to quit, why it's busy right now and the one fix. For WindowServer, it says how many displays it's drawing right now.