WindowServer using a lot of CPU
WindowServer draws everything on screen. Why it gets busy, with displays, windows and effects, and what calms it down.
The short answer
WindowServer is the part of macOS that draws everything on screen: every window, the menu bar, the Dock and the pointer. It gets busy with many windows, several or high-resolution displays, and constant animation. Do not quit it: that logs you out.
Why it gets busy
Apps do not draw straight to the screen. They hand their windows to WindowServer, which puts them together, many times a second, for every display. Its CPU goes up with:
- Displays: each extra display, high refresh rates, and especially scaled resolutions (“More Space” in Displays settings), which make it draw a bigger picture and shrink it.
- Windows that change all the time: video, games, animated web pages, and apps that redraw constantly.
- Many open windows, across several desktops.
- Effects: transparency, and screen recording or screen sharing.
A few percent while you work and 20–40% while video plays or windows move are normal.
What helps
- Close windows you do not need, and pause video you are not watching.
- In System Settings → Accessibility → Display, turn on Reduce transparency, and Reduce motion if animations do not matter to you.
- In System Settings → Displays, try the “Default” resolution instead of a scaled one, especially on a large external display.
- Quit screen recording or sharing apps that keep running in the background.
- Find the app behind it: while WindowServer is high, look for the app that is busy at the same time, often a browser or an app with animation.
MyMacFriend's Rewind shows WindowServer next to the apps that were busy at the same moment, which makes the app behind it easier to spot.
Can I quit WindowServer?
No. Force quitting it ends your login session at once: every app closes, and unsaved work is lost. macOS then shows the login window again.