What is WindowServer on Mac? Why it uses so much CPU, and how to fix it

Updated · 2 min read · by

Quick answer

WindowServer is the part of macOS that draws everything you see on screen. It gets busy with many displays, lots of windows or constant animations. Short spikes are normal. If it stays high, something is keeping it busy, and the steps below find and fix it.

What is WindowServer?

WindowServer puts every window, menu, animation and cursor on your screen. Apps describe what they want to show, and WindowServer combines it all into the final picture for each display, many times per second.

Because it works for every app, its CPU usage is really the sum of how much the screen is changing. A still desktop costs almost nothing. Several displays, high refresh rates, video, and windows that redraw constantly can keep it busy.

Why is WindowServer using so much CPU?

How to fix high WindowServer CPU usage

  1. Confirm it in Activity Monitor. Press ⌘ Space, type Activity Monitor, open the CPU tab and sort by % CPU. Watch WindowServer for a minute: short spikes are normal, only steady high usage needs fixing.
  2. Close windows you don't need, including ones on other desktops in Mission Control.
  3. Find the app that's redrawing. Quit apps one at a time and watch WindowServer in Activity Monitor; when it falls, you've found it.
  4. Turn on Reduce transparency in System Settings › Accessibility › Display. Reduce motion can help too.
  5. Try the default resolution for external displays in System Settings › Displays, instead of a scaled one.
  6. Restart if it stays high after closing everything. That resets the window server cleanly.

More help: How to check CPU usage on a Mac

Questions people ask

What is WindowServer on a Mac?

WindowServer is the part of macOS that draws everything you see on screen. It gets busy with many displays, lots of windows or constant animations.

Can I quit WindowServer?

Don't force quit it: WindowServer is your login session's display, so quitting it logs you out immediately and closes all your apps without saving. Close windows or restart instead.

Is WindowServer a virus?

Yes. WindowServer is a core part of macOS. High CPU from it means the screen is doing a lot of work, not that something is wrong with it.

Do external monitors make WindowServer use more CPU?

Yes. Every extra pixel and every extra refresh has to be drawn, so more and larger displays (especially at scaled resolutions or high refresh rates) increase WindowServer's work.