Processes

WindowServer is using high CPU. Everything on screen passes through it

Short answerWindowServer is a real part of macOS, not malware: it is the process that draws — composites — every window, menu, and animation onto your screen. It cannot be busy on its own behalf; its load is the sum of what your displays and apps ask it to redraw. Short bursts when you move windows, use Mission Control, or watch video are that work. Load that lasts separates by what feeds it: an external display at a demanding resolution, an app redrawing constantly (animation, video, a busy status item), or effects stacking up. Test in that order by subtraction, not by killing it: WindowServer cannot be quit, and force-quitting it logs you out and takes every open app with it.

Activity Monitor puts WindowServer at or near the top of the CPU column — the share of the processor each program is using — on a Mac you are barely touching. A process you never launched, drawing things you are not looking at, feels like a leak. It is an echo: something upstream is asking for pixels.

That upstream is enumerable: how many pixels your displays demand, and which apps keep changing them. This page subtracts those feeds one at a time, because WindowServer's own innocence or guilt cannot be read from its percentage alone.

Do it by hand below, or let Noah rank what is running and read this Mac's logs first (more at the end).

What WindowServer does

A process is a program running in the background. WindowServer is macOS's compositing process: every app hands it their windows' contents, and it assembles the final picture for each display, sixty or more times a second. Menus, shadows, transparency, and animations are all its arithmetic.

It lives in macOS's own system folder, starts before you sign in, and serves every graphical app at once. That breadth is why its percentage is a meter of your whole screen's activity rather than a suspect in itself.

First, measure it at rest and at work

One percentage tells nothing about a compositor, whose honest load swings with your mouse. Total processor time across two readings — one after ordinary use, one after the Mac sits untouched — separates demand you are making from demand something else makes without you.

zsh — Terminal
% ps -axo pid,pcpu,time,etime,comm | grep -E 'PID|WindowServer$'

Run in Terminal. TIME is processor time used so far; ELAPSED is how long it has run. A TIME that barely grows while the Mac sits untouched is a compositor at rest, whatever the percentage said mid-gesture.

Subtract the displays

Load is worst with external displays attached — multiple monitors, a high-resolution or scaled display, a TV — and falls when they are unplugged.

Every pixel on every display is WindowServer's arithmetic, and a scaled resolution makes it compute more pixels than the panel shows. Displays are the largest innocent load it carries, and the only feed you can remove with a cable.

Fixdisconnect external displays for the test and measure WindowServer across the same work on the built-in display alone. A fall there convicts pixel count, not a fault: reconnect displays one at a time, and on the demanding one prefer its Default resolution in System Settings → Displays over a scaled one. The trade is sharpness for load, made knowingly.

NoahNoah can read the displays macOS currently detects and their resolutions, which states the pixel load WindowServer is carrying. It cannot tell which display's content changes fastest, so the unplug test stays yours.

One app keeps the screen busy

Load persists on the built-in display alone, and falls when one particular app quits — video, a call, a screen share, an animated wallpaper or status display.

An app that changes its windows constantly — playing video, sharing a screen, animating an interface — hands WindowServer new arithmetic every frame. The compositor's percentage is then that app's demand, reported under WindowServer's name, which is why quitting apps singly is a measurement and not a ritual.

Fixquit screen-busy apps one at a time — calls and screen shares first, then video, then anything animated that lives in your menu bar — watching WindowServer for a few minutes after each. The app whose quitting drops it is the demand. Update it from its maker, reduce its animation or quality settings, or keep it closed when the Mac feels slow; the choice is now priced.

NoahNoah can rank the programs using the most processor and read recent logs, which can show whether WindowServer's climbs stand beside one app's activity. It cannot attribute redraws to an app directly, so the quit-one-at-a-time test stays the measurement.

What to avoid

  • Force-quitting WindowServer. It cannot be quit like an app: terminating it ends your graphical session and logs you out, closing every app's windows with it. There is no version of this fault that step repairs.
  • Killing it in Activity Monitor to free CPU. Its percentage is demand made by displays and apps. Subtract those feeds; the meter follows them, not the other way round.
  • Disabling animations system-wide as a first step. Reduce transparency is a legitimate later test in Accessibility → Display. First subtract displays and quit busy apps, so you learn which feed cost what.
  • Judging one reading while dragging windows. Compositing spikes are gestures made visible. Compare total processor time at rest, where the honest baseline lives.
Try Noah free

A screen that costs less.

Just tell Noah what's wrong:

WindowServer keeps using CPU on my Mac.
Find what feeds itFirst conversation freeNew customers: 7-day free trialOnly with your OK

Already have Noah? Open it on this problem →

Frequently asked questions

What is WindowServer on a Mac, and why is it using CPU?

WindowServer composites every window onto your displays. Its load is what your displays and apps ask it to redraw: bursts under use are normal. Lasting load separates by subtraction — disconnect external displays, then quit screen-busy apps one at a time and watch it fall.

Can I quit WindowServer to free up CPU?

No. WindowServer holds your graphical session; ending it logs you out and closes every app's windows. Reduce its demand instead: fewer scaled pixels under Displays settings, and the busy app your quit tests name.

Why does WindowServer spike when I move windows?

Because moving windows is compositing work done live, many times a second. Judge it by total processor time while the Mac sits untouched, not by the percentage during a gesture.

Does Reduce transparency help WindowServer?

It can, as a later test: System Settings > Accessibility > Display > Reduce transparency removes one class of its arithmetic. First subtract displays and busy apps so you know which feed you are actually relieving.

Commands in this guide are standard, read-only macOS diagnostics unless noted; anything that changes your system is called out. When in doubt, back up first with Time Machine.