How to Fix Mac Lock Screen Stuck on Spinning Gear Login Loop

Inputting your user account password on the macOS login window only to watch the progress wheel spin endlessly before snapping back to the password entry field is known as a lock screen login loop. This deadlock occurs when third-party launch daemons crash, login keychain access locks up, or plists within the /Library/LaunchAgents tree contain syntax errors.

Boot into Safe Mode to Bypass Corrupted Login Items

Starting macOS in Safe Mode prevents non-essential startup extensions and third-party login items from loading:

  1. Apple Silicon (M1/M2/M3/M4): Shut down the Mac. Press and hold the power button until “Loading startup options” appears. Select your drive, hold the Shift key, and click Continue in Safe Mode.
  2. Intel Macs: Turn on the Mac and immediately hold the Shift key until the login window displays with “Safe Boot” in the top-right corner.
  3. Log in to your account. Safe Mode automatically clears font caches and kernel extension buffers.

Remove Problematic LaunchAgents and LaunchDaemons

Faulty software background services frequently block user desktop session initialization:

  1. In Safe Mode, open Finder, press Cmd + Shift + G, and enter ~/Library/LaunchAgents.
  2. Move suspicious third-party .plist files to a temporary desktop folder.
  3. Repeat for /Library/LaunchAgents and /Library/LaunchDaemons.
  4. Reboot normally to test if login succeeds instantaneously.

Reset User Account Permissions via Terminal

If user directory ownership was damaged, boot into macOS Recovery (Command + R or hold power button), open Terminal, and execute repairHomePermissions to restore directory security flags.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.