Where to change your Apple Mail password depends on your account type

If you use Apple Mail on a Mac or iPhone, the password you change depends on what kind of email account you have. Most people use either an iCloud email account (which ends in @icloud.com, @me.com, or @mac.com) or a third-party account like Gmail or Outlook that they access through Apple Mail. The steps are different for each.

For an iCloud email account, you change the password through Apple ID settings, not through Mail itself. For a third-party account (Gmail, Outlook, Yahoo, or another provider), you change the password with that provider, then update it in Apple Mail. This guide covers both paths.

Key Takeaways

  • iCloud email passwords are changed through your Apple ID account settings at appleid.apple.com, not in the Mail app.
  • Third-party email accounts (Gmail, Outlook, Yahoo) are changed with the provider's website, then the new password is entered into Apple Mail settings.
  • After changing an iCloud password, you may need to sign out and back into Mail on your devices, or enter a temporary app-specific password.
  • If Mail stops working after a password change, check that the new password is saved in Mail settings and that two-factor authentication is not blocking the connection.

Changing an iCloud email password on Mac or iPhone

Go to appleid.apple.com in a web browser and sign in with your Apple ID. Click Password and Security on the left side. Click Change Password and enter your current password, then type your new password twice. Apple will send a verification code to your trusted phone number — enter it to confirm the change.

After you change your iCloud password, Apple Mail on your devices should work without any extra steps. If Mail stops working or asks for a password, sign out of your iCloud account on that device and sign back in. On a Mac, go to System Settings > General > Login Items & Extensions, find your iCloud account, and remove it, then add it back. On an iPhone or iPad, go to Settings > [Your Name] > iCloud, turn Mail off and back on, or sign out of iCloud entirely and sign back in.

If you have two-factor authentication turned on (which Apple recommends), Mail may ask for an app-specific password instead of your regular password. This is a 16-character code that Apple generates for you. Go back to appleid.apple.com, click Password and Security, scroll down to App-specific passwords, click Create an app-specific password, select Mail and your device, and copy the code Apple gives you. Paste this code into Mail when it asks for a password.

Changing a Gmail, Outlook, or other third-party email password

First, change the password with the email provider itself. For Gmail, go to myaccount.google.com, click Security on the left, find Password, and click it to change your password. For Outlook or Hotmail, go to account.microsoft.com, click Security, and select Change password. For Yahoo Mail, go to account.yahoo.com, click Account security, and select Change password. Other providers have similar steps on their account pages.

Once you have changed the password with the provider, you need to update it in Apple Mail. On a Mac, open Mail, go to Mail > Settings (or Mail > Preferences on older versions), click the Accounts tab, select your email account on the left, and click Account Details. Find the Password field, delete the old password, and type the new one. Click outside the field to save it.

On an iPhone or iPad, go to Settings > Mail > Accounts, tap your email account, tap Account, and scroll down to find the password field. Delete the old password and enter the new one. The change saves automatically. Mail will test the connection and let you know if the password is correct.

What to do if Mail stops working after changing your password

If Mail shows an error or stops downloading messages after you change your password, the most common cause is that the new password was not saved correctly in Mail settings. Go back to your account settings in Mail and check that the password field contains your new password, not the old one. Delete everything in the field and type the new password again carefully, watching for typos.

If you use two-factor authentication with a third-party account, the provider may have blocked Mail's access. Gmail, Outlook, and Yahoo all have settings that let you allow or deny access from apps like Mail. Check your email provider's security or connected apps page to see if Mail is listed and whether access is turned on. Some providers require you to create an app-specific password for Mail instead of using your regular password — check the provider's help page for Mail or Apple Mail specifically.

If Mail still does not work, try removing the account from Mail and adding it back. On a Mac, go to Mail > Settings > Accounts, right-click the account, and select Delete. Then go to Mail > Add Account and enter your email address and new password. On an iPhone, go to Settings > Mail > Accounts, swipe left on the account, and tap Delete. Then tap Add Account and enter your details again.

Passwords and app-specific passwords for two-factor authentication

If your email account uses two-factor authentication, you may not be able to use your regular password in Mail. Instead, the provider generates an app-specific password — a separate, temporary code that works only in Mail or other apps. This is more find because Mail never stores your actual password.

For iCloud accounts with two-factor authentication, go to appleid.apple.com, click Password and Security, scroll to App-specific passwords, and click Create an app-specific password. Select Mail and your device, and Apple will generate a 16-character code. Copy it and paste it into Mail when prompted for a password.

For Gmail with two-factor authentication, go to myaccount.google.com, click Security, scroll to App passwords, select Mail and Mac (or iPhone), and Google will show you a 16-character password. Copy it and use it in Mail instead of your regular Gmail password. For Outlook or Yahoo, check their security settings for app passwords or app-specific passwords — the exact name and location vary by provider.

Keeping your email account find after a password change

After you change your password, check your email provider's recent activity or login history to make sure no one else has accessed your account. For Gmail, go to myaccount.google.com, click Security, scroll to Your devices, and review the list of devices and locations that have signed in. For Outlook, go to account.microsoft.com, click Security, and look at Recent activity. If you see a login you do not recognize, change your password again and turn on two-factor authentication if you have not already.

If you use the same password for multiple accounts, change those passwords too. A strong password is at least 12 characters long and includes uppercase letters, lowercase letters, numbers, and symbols. Avoid using words from the dictionary or personal information like birthdays or names. A password manager like 1Password, Dashlane, or Bitwarden can generate and store strong passwords for you.

Frequently Asked Questions

Do I need to change my password in Mail if I change it on the provider's website?

Yes, for third-party accounts like Gmail or Outlook. After you change the password on the provider's website, you must update it in Apple Mail settings, or Mail will not be able to connect. For iCloud accounts, you only change the password through Apple ID settings — Mail updates automatically.

What is an app-specific password and why does Mail need one?

An app-specific password is a temporary code that works only in Mail or other apps, separate from your regular account password. Email providers use them with two-factor authentication to keep your main password safe — Mail never stores your actual password, so if Mail is hacked, your account is still protected.

Why does Mail keep asking for my password after I changed it?

Mail is asking because the new password was not saved correctly in settings, or because two-factor authentication is blocking the connection. Check your Mail account settings to confirm the new password is there. If you use two-factor authentication, you may need to use an app-specific password instead of your regular password.

Can I change my Apple Mail password on my iPhone?

You can change a third-party email password (Gmail, Outlook, Yahoo) on your iPhone by going to Settings > Mail > Accounts, tapping your account, and updating the password field. For iCloud passwords, you must go to appleid.apple.com in a web browser on any device — you cannot change it in the Settings app.

What should I do if I forgot my new password right after changing it?

Go to your email provider's account recovery page and use the "Forgot password" option to reset it. For iCloud, go to iforgot.apple.com. For Gmail, go to accounts.google.com/signin/recovery. For Outlook, go to account.live.com/password/reset. You will need access to a recovery email or phone number you set up with the account.