The Mac Mail message Unable to verify account name or password means the service isn't accepting your details or sign-in method. Check the email password first, then use the provider's account option when adding it to Mail.
A password that works on the provider's website can still fail in Mail when an app password or a fresh sign-in is required. A new account setup also needs the correct server details, which are separate from your Mac's login password.
In this guide
1. Check which password Mail needs
Use the password for the email address being added, not the password that unlocks your MacBook. These can be different even when the Mac login uses the same email address as its account name.
If you changed the email password on another device, your Mac may still have the old one saved. Enter the current password once. Trying the old password again won't reconnect the account.

Apple's Mail password checks explain that the provider can reject a password because it changed, needs a security reset, or belongs to a suspended account. A rejected sign-in doesn't automatically mean Mail has damaged your messages.
Open your provider's known webmail address in Safari and sign in. Type the password rather than relying on an already signed-in tab. An inbox that opens automatically hasn't checked the password you entered in Mail.
If that sign-in fails too, use the provider's password-recovery page or ask your workplace email administrator to check the account. Fix the provider sign-in before changing Mail's server settings.
If webmail accepts it, continue with the Mac's saved sign-in. Signing in on the website confirms you can access the account. Mail may still need a different way to verify that the account belongs to you.
2. Refresh the password in Internet Accounts
For macOS 13 Ventura or later, open Apple menu > System Settings > Internet Accounts and select the affected account. On Monterey 12 and older, open System Preferences > Internet Accounts instead.
If a password field appears, replace its contents with the current email password. Follow any sign-in prompt. Some providers use a sign-in window instead of an editable password field, so a missing field isn't an error.
Return to Mail and check for new messages. Write a brief message to a separate inbox you can open, then reply from there. If messages arrive but won't send, check the outgoing server next rather than changing the whole account.
If the warning returns immediately, don't change your Mac login password. That doesn't update the password on the mail server. Continue with the provider and account-type checks instead.
3. Choose the provider's sign-in route
For a new setup, open Mail > Add Account. In macOS 27, enter the email address or select choose from a list to pick its provider. Earlier versions show the provider choices directly.
Choose the service that runs your email account, such as Google, Yahoo, iCloud, or Microsoft Exchange, when it applies. Complete its sign-in window and allow the requested Mail access.
Choose Other Mail Account for manual server setup. A company address doesn't always reveal its host. Ask the administrator whether it uses Exchange, Google Workspace, or a separate IMAP service before choosing the account type.
Your provider can change how apps must sign in even when your password stays the same. That's why an old setup can suddenly stop working even though the same password still opens webmail.
With two-step verification on, some providers need a separate password for Mail, called an app-specific password. Create it using the provider's account-security steps. Don't turn off two-step verification to make an old setup work.
For Yahoo's separate connection-service error, the Yahoo offline account procedure covers that particular case. It shouldn't be applied to every account that shows a verification warning.
4. Check both servers for a manually added account
In recent macOS versions, open Mail > Settings > Accounts, select the account, and choose Server Settings. Older Mail versions call the Settings menu Preferences. The fields available depend on the account type.

Compare the incoming User Name, Password, and Host Name with the provider's instructions. A user name may be the full email address or another assigned login. Use the provider's required format rather than shortening it yourself.
Check the outgoing SMTP server too. SMTP is the service that sends messages, while the incoming server receives them. Updating one side won't repair a different password or host name saved on the other side.
Leave Automatically manage connection settings enabled unless the provider requires manual settings. In that case, copy the exact port, encryption, and authentication choices from its current setup instructions.
Don't enable insecure authentication just to get past the warning. Ask the provider for a supported secure setup if its published details no longer work. Save the corrected settings, then repeat the send-and-reply check.
5. Save local messages before replacing the account
If the sign-in and server details are correct but the account still won't verify, remove the account, then set it up with its proper provider option. Setting it up again can replace an old sign-in method your provider no longer accepts.
Before removing anything, check that important messages are available in webmail or saved separately. Removing the account clears its mail from this Mac. Copy locally stored messages into a mailbox under On My Mac before proceeding.
In Mail, open Settings > Accounts, select the account, and use the remove control. When a prompt sends you into Internet Accounts, check which other services share the account before removing it there. Then return to Mail > Add Account.
Let the account download its mail before deciding that folders are missing. The missing-mail checks after re-adding an account help distinguish a setup problem from messages that haven't appeared yet.
I'd leave a working webmail session available while doing this. It gives you access to messages and verification codes while the Mac account is being repaired.
If Mail still can't verify the account, tell your provider the error, macOS version, account type, and whether webmail works. Ask it to check app access and both server settings. For iCloud Mail, use Apple Support's Mail assistance.
The Short Version
Check the email password, refresh Internet Accounts, and use the correct provider sign-in. Manual accounts need both server settings checked. Protect local messages before removing and re-adding an account that still won't verify.
Checked November 29, 2026.







