How to log in automatically to a Mac user account
When automatic login is turned on for a macOS user account, the Mac automatically logs in to that account during startup.
Choose the account that will log in automatically
Follow the appropriate steps, depending on the version of macOS you're using. Whether or not an account automatically logs in, you might still need to log in after manually logging out, switching back from another user account, or locking your screen.
macOS Ventura 13 or later
Choose Apple menu > System Settings.
Click Users & Groups in the sidebar.
Choose an account from the “Automatically log in as” menu. Is it dimmed?
Enter the account password.
Earlier versions of macOS
Choose Apple menu > System Preferences, then click Users & Groups.
Click the
, then enter your account password.Click Login Options in the lower-left corner.
Choose an account from the “Automatic login” menu. Is it dimmed?
Enter the account password.
If the setting is dimmed or unavailable
If the automatic login setting is dimmed or doesn't show the account name, then manual login is required. For example, manual login is required in these circumstances:
FileVault is turned on.
Your Mac is supervised by your organization, using a profile that prohibits automatic login.
The account is set up to use an Apple Account password to log in. In that case, you might also see the message “A user with an encrypted home folder can't log in automatically.” Learn how to change the login password.
Log in after sleep or screen saver begins
You might still need to enter your password when your Mac wakes from sleep or stops using the screen saver. You can change this behavior by choosing Apple menu > System Settings (or System Preferences), then using the “Require password” screen saver setting in Lock Screen settings (macOS Ventura 13 or later) or Security & Privacy preferences (earlier macOS versions).