Skip to content
Black FridayBlack Friday: both apps $5.99, ends 1 Dec

Guide

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

WindowServer is the process in Activity Monitor that puts every window, menu and animation on your screens. When it's busy, it's doing what your apps and your display setup ask of it. Here's how to find out which.

By · Updated · 9 min read

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.

WindowServer's user, process ID and path
ps -axo user,pid,comm | grep WindowServer
Output on the Mac this guide was written on (the process ID differs on every Mac)
_windowserver      431 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer

Seeing 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.

WindowServer's memory right now
top -l 1 -o mem -n 60 -stats pid,command,mem | grep WindowServer

On 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:

  1. Close windows you aren't using, including minimised ones and windows on other desktops. Browser windows count one by one.
  2. Remove desktops you don't need in Mission Control.
  3. Disconnect a display you aren't using, and use each display's default resolution.
  4. 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.
  5. 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.

The busiest processes, in Terminal
top -l 2 -o cpu -n 10 -stats pid,command,cpu | tail -11
Your displays and their resolutions
system_profiler SPDisplaysDataType

A 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

  1. Close windows and browser tabs you don't need, especially ones playing video or animating.
  2. Quit apps that animate constantly while you're not looking at them.
  3. 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.
  4. Turn on Reduce transparency in System Settings → Accessibility → Display. It replaces the transparent effect on some backgrounds with a solid one.
  5. 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.

FAQ

Questions

Something else? support@iknowmymac.com

What is WindowServer on Mac?

WindowServer is the macOS process that draws every window, the menu bar and the Dock onto your displays. Each app hands it its windows, and it combines them into the picture each screen shows. Every Mac runs it all the time.

What is WindowServer in Activity Monitor?

It's the row named WindowServer, with _windowserver in the User column. Its % CPU and memory follow what's on screen: more displays, more windows and apps that redraw constantly all add to them.

Why is WindowServer using high CPU on my Mac?

Usually an app is redrawing constantly, such as a video, an animated web page or a game, or you're driving extra, large or scaled displays. Sort the CPU tab by % CPU, find the app busy alongside WindowServer, and quit or hide it to check.

How much memory should WindowServer use?

There's no fixed number. It depends on how many windows and desktops are open and on the size and number of your displays. Several hundred megabytes is ordinary. Judge it by the memory pressure graph: green means it isn't a problem.

Why is WindowServer using CPU when I'm not doing anything?

Something on screen is still changing: a video, an animated web page, a moving wallpaper, or an app that redraws all the time. Hide or quit apps one at a time and watch WindowServer's % CPU to find it.

Is WindowServer a virus?

No. It's part of macOS and runs from /System/Library/PrivateFrameworks/SkyLight.framework. Every Mac runs it all the time.

Can I restart WindowServer without restarting my Mac?

Logging out and back in restarts it. Don't force quit it in Activity Monitor: that logs you out immediately and closes every app without saving.

Know why your Mac is slow.

macOS 15 Sequoia or later · Apple silicon. A 55.3 MB native app, notarized by Apple. No account, no analytics, no telemetry.

One-time purchase · every feature · 5-day refund