Fix com.apple.launchd.peruser Crash Loop on macOS
Resolve persistent com.apple.launchd.peruser crash loop errors in macOS. This guide covers symptoms, root causes, and step-by-step fixes including safe mode, plist cleanup, and user launchd reset.
Symptoms
Users experiencing the com.apple.launchd.peruser crash loop may notice the following:
- Repeated system notifications about launchd crashing
- Console logs filled with
com.apple.launchd.perusererror entries - Mac becomes sluggish or unresponsive
- Applications fail to launch or crash unexpectedly
- System may require forced restarts
Root Causes
The com.apple.launchd.peruser process is responsible for managing user-level daemons and agents. A crash loop occurs when:
- Corrupted or misconfigured plist files in
~/Library/LaunchAgents/ - Third-party software installs faulty launch agents
- Permissions issues on user library folders
- macOS update conflicts with existing user agents
- Malware or adware injecting malicious plists
Step-by-Step Fix
Step 1: Boot into Safe Mode
- Restart your Mac and hold the Shift key immediately after the chime.
- Release when the login window appears (you'll see 'Safe Boot' in red).
- Log in and observe if the crash stops. If yes, the issue is likely a third-party launch agent.
Step 2: Identify Problematic Plists
- Open Terminal from Applications > Utilities.
- Run:
ls ~/Library/LaunchAgents/ - Look for unfamiliar or recently added .plist files (e.g.,
com.unknown.app.plist). - Check modification dates:
ls -lt ~/Library/LaunchAgents/
Step 3: Remove or Disable Suspicious Plists
- Move suspicious plists to a backup folder:
mkdir ~/Desktop/plist_backup && mv ~/Library/LaunchAgents/com.suspect.plist ~/Desktop/plist_backup/ - Unload the agent if currently running:
launchctl unload ~/Library/LaunchAgents/com.suspect.plist - Restart normally and check if the crash loop is resolved.
Step 4: Reset User Launchd
- In Terminal, run:
sudo launchctl reboot userspace - This resets all user launchd processes without a full reboot.
- Alternatively, restart the Mac completely.
Step 5: Repair Permissions (macOS Mojave and earlier)
- Boot into Recovery Mode (restart and hold Command+R).
- Open Disk Utility, select your startup disk, and run First Aid.
- For macOS Catalina and later, use:
in Terminal after booting normally.diskutil resetUserPermissions / `id -u`
Alternative Fixes
- Create a new user account: If the crash is user-specific, create a new admin account and migrate data.
- Reinstall macOS: As a last resort, reinstall macOS from Recovery Mode without erasing data.
- Use EtreCheck: Run EtreCheck to identify problematic launch agents automatically.
Prevention
- Regularly review
~/Library/LaunchAgents/for unknown plists. - Install software only from trusted sources (App Store or verified developers).
- Keep macOS updated to avoid compatibility issues.
- Use ad-blockers and antivirus to prevent malware that may inject launch agents.
- Periodically run
launchctl listto monitor user agents.
Additional Notes
If the crash loop persists after removing all suspicious plists, consider resetting NVRAM (Intel Macs) or checking for hardware issues. For Apple Silicon Macs, resetting SMC is not applicable; instead, ensure all third-party kernel extensions are updated. Always back up your data before making system changes.
Was this solution helpful?