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

By Anil Gautam · Updated

loginwindow is a macOS system process that manages your login session, the lock screen and logging out.

Login and session manager · Leave it
loginwindow at a glance
Shown in Activity Monitor asloginwindow
Made byApple, part of macOS
WhySlow's verdictLeave it

See what’s slowing your Mac right now: download WhySlow free. One-click fixes cost $10, once or yearly.

WhySlow process list on a real Mac with a plain-English verdict for every process
Real screenshot: WhySlow lists every process with a verdict. Search for loginwindow to see it explained on your Mac.

Why is loginwindow using so much CPU?

Brief activity at login or when locking. Sustained use usually points to a stuck login item.

What loginwindow does

loginwindow draws the login screen, starts your session and launches login items. It also handles logging out, restarting and shutting down, and it asks apps to close when you choose Force Quit or log out. If it stays busy after login, check your login items for one that is stuck.

Should you quit loginwindow?

No. loginwindow is part of macOS. Quitting it can break things, and macOS starts it again anyway. When it is busy, it usually calms down once its work is done.

Is loginwindow a virus?

The name loginwindow alone can't prove a process is genuine, and this page isn't a security scan. Check where it runs from: genuine macOS processes run from system folders such as /System/Library and /usr/libexec. In Activity Monitor, double-click loginwindow and choose Open Files and Ports to see its location. If it appeared right after you installed something unexpected, don't grant it more permissions, and ask the software vendor or Apple Support.

How to check loginwindow on your Mac

Open Activity Monitor (Applications › Utilities), choose the CPU tab and type loginwindow in the search field. The % CPU column shows how busy it is: 100% means one full processor core. Watch it for a minute while you repeat the task that felt slow.

What to do if loginwindow stays busy

How WhySlow helps with loginwindow

See what's slowing your Mac right now

Free to explain. One-click fixes cost $10, once or yearly.

Download free

Sources

The process description comes from WhySlow’s app catalog. Diagnosis depends on your workload and the version of macOS or the app you use. For an unfamiliar process, start with Apple’s guide to inspecting processes and reading CPU activity.

Need a broader starting point? Follow the slow Mac checklist or learn about memory pressure.

Related processes