How to get an IMAP password for your email account

To get an IMAP password, generate an app password in your email provider's account security page and paste it into your mail app's password field instead of your normal password.

This guide covers iCloud email addresses, Gmail, Yahoo and Outlook.com, explains what an IMAP password is, and fixes the IMAP password prompts that keep coming back.

How to get IMAP password for email

Most providers no longer accept your main password over IMAP when two-step sign-in is on, so the IMAP password is an app password you create.

  1. Turn on two-factor authentication or 2-Step Verification for your email account if it is not already on.
  2. Sign in to your provider's account security page in a browser.
  3. Find the app passwords section and create a new password, naming it after the mail app.
  4. Copy the password the page shows. Most providers show it only once.
  5. Paste it into the Password field of your mail app's IMAP account settings and save. The same steps apply when you add an email account to a laptop or set up an IMAP account in Outlook.

Where to find IMAP password for each email provider

Your email Where to create it Requirement
iCloud Mail (@icloud.com, @me.com, @mac.com) account.apple.com > Sign-In and Security > App-Specific Passwords Two-factor authentication
Gmail myaccount.google.com/apppasswords 2-Step Verification, not security-key-only or Advanced Protection
Yahoo Mail Yahoo Account Security page > External connections > Create app password Signed in to Yahoo
Outlook.com, Hotmail, Live Microsoft account > Advanced security options > App passwords Two-step verification
Work, school or ISP mailbox Your IT department or provider Their own policy
How to get an IMAP password for your email account
Yahoo's help page sends you to Account Security, then Create app password under External connections. (Image: help.yahoo.com)

What is an IMAP password?

Term What it means
IMAP password The password a mail app uses to read your mailbox over IMAP
Account password Your normal sign-in password; often refused by IMAP once two-step sign-in is on
App password A randomly generated code you enter once in one app instead of your account password
Gmail app password A 16-digit passcode for apps that do not offer Sign in with Google

If your app supports signing in through the provider's own page, such as Sign in with Google, use that instead and skip the app password.

Get an IMAP password for iCloud Mail

  1. Sign in to account.apple.com.
  2. In the Sign-In and Security section, select App-Specific Passwords.
  3. Select Generate an app-specific password, then follow the steps on screen.
  4. Enter the password in your mail app's password field.

Use imap.mail.me.com with SSL for incoming mail and smtp.mail.me.com with SSL and authentication for outgoing mail. The incoming username is usually the name before @icloud.com, and the outgoing username is the full address.

You can have up to 25 active app-specific passwords. Outlook 2021 or later on Windows can authorize iCloud with your Apple Account instead.

Get an IMAP password for iCloud Mail with Apple's app-specific password steps
Apple's steps start at account.apple.com and need two-factor authentication on the account first. (Image: Apple)

How to get IMAP password Gmail

  1. Turn on 2-Step Verification in your Google Account.
  2. Go to myaccount.google.com/apppasswords and sign in if asked.
  3. Enter a name for the app and create the password.
  4. Copy the 16-digit passcode and paste it into your mail app's password field.

iPhones and iPads with iOS 11 or later do not need a Gmail app password; choose Sign in with Google instead.

How to get IMAP password Gmail with 16-digit Google app passwords
Google requires 2-Step Verification and revokes existing app passwords automatically when your account password changes. (Image: Google)

Get a Yahoo Mail IMAP password

  1. Sign in to the Yahoo Account Security page.
  2. Click Create app password under External connections.
  3. Follow the prompts and copy the generated code.
  4. Enter the code once in the third-party mail app.

Yahoo app passwords stay active even after you change your main password, so delete any you no longer use.

Get a Yahoo Mail IMAP password with the Generate an app password box
Yahoo's generator asks for your app's name first; this not-available error often appears right after creating a new account. (Image: Microsoft)

How to get IMAP password for Outlook.com

  1. Turn on two-step verification for your Microsoft account.
  2. Open Advanced security options in your Microsoft account dashboard.
  3. Scroll to the App passwords section and create a new app password.
  4. Enter the password where the app asks for your Microsoft account password.

Microsoft only needs an app password for apps and devices that do not support two-step verification, such as Outlook for Office 2010 or earlier. A new Outlook email account can turn on two-step verification from the start.

How to get IMAP password for Outlook.com with Microsoft app passwords
Microsoft says you only need an app password when two-step verification is on and the device does not support it. (Image: Microsoft)

Why do I get an IMAP password message?

The mail app keeps asking for the IMAP password

Your account password was changed or reset, which revokes app passwords at Apple and Google.

  1. Create a new app password at your provider.
  2. Open the account in your mail app and replace the old password.
  3. Remove the old app password from the provider's list.

Where is my IMAP password? I forgot it

App passwords are shown once and cannot be viewed again.

  1. Generate a new app password instead of looking for the old one.
  2. Paste the new one into the mail app.

There is no app password option in my Gmail account

2-Step Verification is off, set up only for security keys, Advanced Protection is on, or it is a work or school account.

  1. Turn on 2-Step Verification with a phone or authenticator method.
  2. For a work or school account, ask your administrator.

Password incorrect with the correct account password

Two-step sign-in blocks your main password in older mail apps.

  1. Create an app password for that app.
  2. Enter the app password in place of your account password.

IMAP password FAQ

What is my IMAP password?

It is either your normal email password or, more often, an app password you generate. With two-step sign-in turned on, iCloud, Gmail, Yahoo and Outlook.com expect an app password in the mail app.

Where to find IMAP password?

You do not find it, you create it. Open your provider's account security page and look for App-Specific Passwords (Apple), App passwords (Google and Microsoft) or Create app password (Yahoo).

How to get IMAP password for Outlook?

For an Outlook.com account, go to Advanced security options in your Microsoft account and create an app password. For Gmail or iCloud inside the Outlook app, create the app password at Google or Apple instead.

How to get IMAP password Gmail?

Turn on 2-Step Verification, then go to myaccount.google.com/apppasswords, name the app and create it. Paste the 16-digit passcode into the mail app instead of your Google password.

Is the IMAP password the same as my email password?

Only if your account has no two-step sign-in and the provider still allows it. Otherwise the IMAP password is a separate app password that works only in the app you entered it in.

Why do I get an IMAP password message?

The mail app was refused by the server, usually because the password changed or app passwords were revoked. Create a new app password and enter it in the account settings.

Can I see an app password again after creating it?

No. Google says every app password can only be viewed once, and the others work the same way. Create a new one whenever you need it.

How many app-specific passwords can I have for iCloud?

Apple allows up to 25 active app-specific passwords. You can remove them one by one or select Revoke All in the Sign-In and Security section at account.apple.com.

Philip Celasco

Philip is a Texas-based technology writer and IT administrator at Techdows.com with more than 10 years of experience creating practical content for everyday users and professionals. He specializes in web browsers, particularly Chromium-based platforms such as Google Chrome, Microsoft Edge, Brave, and Opera. Through his work as an IT administrator, Philip has hands-on experience managing devices, configuring browser policies, troubleshooting software and network issues, and helping people resolve problems that affect productivity and security. His articles are based on practical testing and real-world technical experience. He covers browser settings, extensions, performance problems, privacy controls, security features, and Windows troubleshooting. Outside work, Philip enjoys the quieter side of life in Texas and stepping away from the screen when he can. He has two kids, two cats and loves to play golf with his mother during the weekends.

Leave a Reply

Your email address will not be published. Required fields are marked *