Where your IMAP password lives
Your IMAP password is the same password you use to log into your email account itself — it is not a separate thing. When you set up IMAP on a phone, tablet, or desktop email program like Outlook or Thunderbird, that program asks for your password so it can connect to your email provider's servers and read your messages.
The password you need is stored with your email provider, not on your device. If you have forgotten it, you will need to go to your provider's website and reset it there. The steps differ depending on whether you use Gmail, Outlook, Yahoo, or another service, but the general path is the same: go to the provider's login page, choose "forgot password" or "can't sign in", and follow their recovery steps.
If you remember your password but your email program says it is wrong, the problem is usually that you typed it incorrectly, your caps lock is on, or your email program is looking for a special app password instead of your regular password. Gmail and Outlook both require this for security reasons.
Key Takeaways
- Your IMAP password is your regular email password — the one you use to log into your email account on the web.
- If you have forgotten it, go to your email provider's website and use their password reset tool, which usually sends a recovery link to your backup email or phone number.
- Gmail and Outlook require you to create a separate app password for IMAP, not your regular account password.
- If your password is correct but your email program still will not connect, check whether your email provider has turned on two-factor authentication, which may block IMAP access.
Resetting a forgotten password through your email provider
Go to your email provider's main website and look for a "Sign in" or "Login" button. On the login page, you will see a link that says "Forgot password", "Can't sign in", or "Need help signing in" — the exact wording varies by provider. Click that link.
The provider will ask you to enter your email address or username, then send a recovery link to your backup email address or phone number. Check that backup email or text message for a link that lets you create a new password. That new password is what you will enter into your IMAP setup on your device or email program.
Write down your new password somewhere safe before you close the recovery page. You will need it when you set up IMAP or when you enter it into your email program's settings.
Gmail: Creating an app password for IMAP
Gmail does not let you use your regular account password with IMAP, Outlook, Thunderbird, or other third-party email programs. Instead, you must create a separate app password. This is a 16-character password that works only with that specific program.
To create an app password, go to myaccount.google.com and click "Security" in the left menu. Scroll down to "How you sign in to Google" and make sure two-factor authentication is turned on — if it is not, Gmail will not let you create an app password. Once two-factor is on, scroll back up and look for "App passwords" near the top of the Security page. Click it, select "Mail" and "Windows Computer" (or whichever device you are using), and Google will generate a 16-character password. Copy that password into your email program's IMAP settings, not your regular Gmail password.
Outlook and Microsoft 365: Creating an app password
Outlook.com and Microsoft 365 accounts also require an app password for IMAP. Go to account.microsoft.com, click "Security" on the left, and look for "App passwords" or "Create a new app password". Microsoft will ask you to confirm your identity by sending a code to your phone or backup email. After you confirm, Microsoft generates a new password — copy that into your email program, not your regular Outlook password.
If you do not see an "App passwords" option, two-factor authentication may not be turned on. Go back to the Security page, find "Two-step verification", and turn it on first. Then return to create your app password.
Yahoo and other providers
Yahoo Mail requires an app password for IMAP as well. Go to account.yahoo.com, click "Account security" on the left, and look for "Generate app password". Yahoo will ask which app you are using — select "Other App" and type the name of your email program. Yahoo then generates a password for you to use with IMAP.
Other email providers — including corporate email, university email, and smaller hosting services — may or may not require a special app password. Check your provider's support page for "IMAP" or "third-party email client" to see whether they require one. If they do, the process is usually similar: log into your account on their website, find a security or apps section, and generate a new password there.
What to do if your password is correct but IMAP still will not connect
If you have entered the correct password and your email program still says it is wrong, the problem is usually one of three things. First, check that you are using the right username — some providers want your full email address, while others want just the part before the @ sign. Your provider's IMAP setup page will tell you which one.
Second, check whether your email provider has turned on two-factor authentication and is blocking IMAP access as a result. Gmail, Outlook, and Yahoo all allow IMAP with an app password, but some corporate email systems block IMAP entirely if two-factor is on. Contact your email provider's support to ask whether IMAP is allowed on your account.
Third, make sure you are using the correct IMAP server address and port number. Gmail's IMAP server is imap.gmail.com on port 993. Outlook's is imap-mail.outlook.com on port 993. If you entered the wrong server address, your email program will reject the password even though it is correct. Check your provider's IMAP setup page for the exact server address and port to use.
Where to find your IMAP settings if you have already set it up
If you set up IMAP on your device or email program before and now need to find the password you used, you usually cannot see it directly — most programs hide passwords for security. Instead, you will need to reset your email password through your provider's website (following the steps above), then update that new password in your email program's settings.
In most email programs, you can find the IMAP settings by going to the account settings or preferences menu. In Outlook, this is usually under "File" > "Account Settings" > "Account Settings" again, then right-click your email account and choose "Change". In Thunderbird, go to "Edit" > "Settings" > "Accounts" and click your email account. On a phone or tablet, go to Settings, find the Mail or Email app, and look for your account — the password field is usually there, though it will be hidden with dots or asterisks.
Frequently Asked Questions
Can I use my regular password with IMAP if I turn off two-factor authentication?
No. Gmail, Outlook, and Yahoo require app passwords for IMAP regardless of two-factor status. Turning off two-factor will not change that. Some smaller email providers do allow your regular password with IMAP, but the major ones do not for security reasons.
What if I do not have access to my backup email or phone number to reset my password?
Contact your email provider's support team directly. Gmail, Outlook, and Yahoo all have account recovery processes that can verify your identity through security questions, payment methods, or other means. This takes longer than a standard password reset, but it is your path back into the account.
Is my IMAP password different from my webmail password?
No, they are the same password — or in the case of Gmail, Outlook, and Yahoo, they are the same account, but you use an app password instead of your regular password for IMAP. Your webmail password is what you use when you log into your email on the provider's website.
Why does my email program keep asking for my password?
Your email program is usually asking because the password you entered is wrong, the server address is wrong, or your provider has blocked that type of connection. Check that you entered the correct password and server address first. If both are correct, contact your provider to ask whether IMAP is allowed on your account.
Can I change my IMAP password without changing my email password?
No. Your IMAP password is your email password — they are the same thing. If you change one, you change the other. For Gmail, Outlook, and Yahoo, you can create multiple app passwords for different devices or programs, but they all use the same underlying account password.