Fix IMAP login issues after password reset

Resetting your email password is routine, but it often produces a frustrating side effect: suddenly your desktop or mobile mail apps say the IMAP login failed. That problem is common because email clients, device keychains, and provider-side security systems cache credentials and tokens that don’t automatically update when you change a password. Understanding why an IMAP login breaks after a password reset helps you restore mail flow quickly without losing messages or risking account security. This article walks through verifiable, step-by-step troubleshooting you can use right away: checking the new password in webmail, updating saved credentials on every device, handling two-factor and app-specific passwords, verifying server and port settings, and, if necessary, removing and re-adding the account. The goal is to get your mail clients syncing safely and reliably while preserving access history and folder structure on the server.

Confirm the new password works directly in webmail and account settings

Before changing anything on your phone or desktop, always verify the new credentials by logging into the provider’s webmail or account settings page. If you cannot sign in there, the problem is the password itself — not the mail client — and you should reset it again following the provider’s verification steps. Successful webmail login confirms that the server accepts the new password and that account-wide security checks (like recovery phone or email confirmation) are complete. Testing the password in webmail also lets you see any security alerts or required actions, such as reviewing recent sign-in attempts, enabling IMAP access, or acknowledging a suspicious login message. Only once webmail works should you proceed to update the client apps; working web access dramatically narrows the troubleshooting scope and avoids unnecessary changes on all your devices.

Update saved credentials and clear credential caches on every device

Mail apps and operating systems store passwords in credential managers or keychains, which frequently keep trying an old password until you update or clear them. On Windows, check the Credential Manager and remove email entries so the client prompts you to re-enter credentials. On macOS and iOS, open Keychain Access and delete the email password entry, then reopen the Mail app and type the new password. Android devices may hold credentials in the Account settings or app-specific storage; sometimes clearing the app cache or removing and re-adding the account is necessary. Don’t forget secondary devices like tablets, smartwatches, and mail-enabled home appliances, because repeated failed logins from any device can trigger a temporary account lock. After updating credentials, restart the mail client so it creates a fresh connection rather than reusing a stale token or session.

Manage two-factor authentication and generate app-specific passwords where required

Many providers require two-factor authentication (2FA) for account security. When 2FA is enabled, some older IMAP clients can’t complete modern OAuth sign-in flows and instead require app-specific passwords. If your provider lists “app passwords” or “app-specific passwords,” generate one for the mail client and enter that instead of your normal account password. For OAuth-capable apps, revoke and re-authorize the client in your account’s security settings so the client receives a new token after you sign in with the new password. Also check whether your account shows any blocked sign-in attempts; approving trusted devices or clearing suspicious sessions can unblock IMAP access. These steps protect the account while allowing legacy clients or non-OAuth connections to authenticate reliably after a password reset.

Verify IMAP server names, ports, and security protocols

Incorrect server settings can look like a password failure because the client never reaches the right authentication endpoint. Confirm the correct incoming server hostname, port, and encryption method (SSL/TLS or STARTTLS) for your provider and ensure the client uses them. Many desktop and mobile clients detect settings automatically, but custom configurations or migrated profiles can retain old ports. If you recently changed your account or upgraded server security, verify the expected port numbers and security settings in the client. If your provider supports it, prefer secured ports (SSL/TLS) and modern authentication. Testing an IMAP connection with a secure client or diagnostic tool can show whether the server accepts the credentials once settings are correct.

Provider IMAP server Port Encryption
Gmail / Google Workspace imap.gmail.com 993 SSL/TLS
Outlook.com / Microsoft 365 outlook.office365.com 993 SSL/TLS
Yahoo Mail imap.mail.yahoo.com 993 SSL/TLS
iCloud Mail imap.mail.me.com 993 SSL/TLS
Generic IMAP / Custom host Check provider documentation Usually 993 or 143 SSL/TLS or STARTTLS

Remove and re-add the account or reset the mail profile if syncing still fails

If updated credentials and server checks don’t restore access, removing and re-adding the account in the mail client is often the fastest fix. Before you remove an account, ensure that it’s an IMAP account: IMAP keeps email on the server, so removing and re-adding typically re-downloads messages and folder structure without data loss. For accounts using POP or locally stored mail, back up local mailboxes first. After removing the account, restart the client or device, then add the account anew and enter the current password or app-specific password. This forces fresh synchronization, clears corrupted local caches, and resolves mismatched server states. If problems persist, consider creating a new mail profile in the email client or contacting your provider’s support to check for server-side blocks or propagation delays.

Final steps and reminders to avoid repeat login problems

After restoring access, take a few preventative steps: update saved passwords in all devices, enable modern authentication where possible, and store recovery contact methods so you can reset passwords smoothly in the future. Periodically review authorized apps and revoke stale sessions to reduce failed login attempts from unknown devices. If you use multiple mail apps, standardize on ones that support OAuth for stronger security and simpler password changes. Finally, document any special setup—such as app-specific passwords or nonstandard server ports—so the next time you change credentials the process is faster. A methodical approach reduces downtime: verify web access first, update credentials everywhere, handle 2FA/app passwords, confirm server settings, and re-add the account if necessary. These steps minimize interruptions while keeping your account secure and synchronized across devices.

This text was generated using a large language model, and select text has been reviewed and moderated for purposes such as readability.