Security is very important, but sometimes, speed is essential. If you live and work in an environment that respects your privacy, your Mac can automatically log in without a password. Here's how.
WarningIf you follow this procedure and your Mac is lost or stolen, anyone with access to it will be able to access your data without any hindrance. It may be a risk that is worth taking, but only you can make that decision. If you use this technique, we recommend that you activate it when you are at home or in another secure place and deactivate it when you are not.
Assuming you want to continue, let's start. We did this on macOS 10.14 Mojave.
How to enable automatic login on your Mac
To get started, lock the Apple logo at the top of the screen and click on "System Preferences."
Then click on "Users and Groups".
Click the lock icon and enter the password for your account. This must be an account with administrator privileges to operate.
Once authentication is successful, click on "Login Options" and then on the "Auto Login" drop-down menu. Select the name of the user you want your Mac to connect to automatically. Again, you will need to enter a user password, this time for the account you have selected to log in.
Note: if your user account is greyed out, you probably have FileVault encryption enabled or this user account uses an iCloud password to log in. You must disable FileVault encryption (System Preferences> Security & Privacy> FileVault> Lock icon> Disable FileVault) and use a local password (System Preferences> Users & Groups> [Account Name] > Change password) before you can enable automatic login.
Once this process is complete, the next time you restart your Mac, it will automatically connect to the pre-selected account.