How to fix "authentication failed" in a mail client
What causes a mail client to reject a mailbox's login, checked from the most to the least likely cause.
An "authentication failed" error means the mail server rejected the username and password the mail client sent — the connection to the server itself succeeded, but the login did not. This narrows the cause down considerably compared with a generic connection error, and the checks below cover it roughly in order of likelihood.
1. The password is wrong, outdated, or mistyped
By far the most common cause. If the mailbox password was changed recently — by you, or by anyone else with access to the control panel — every device still holding the old password will fail with exactly this error. See changing an email account password and re-enter it fresh on the affected device.
A password copied from a password manager or a note can occasionally pick up a trailing space or an invisible character, which produces this exact error even though the password looks correct on screen. Typing it directly rules this out.
2. The username is not the full email address
Some mail apps default to using only the part before the @ sign as the username. Domain mailboxes almost always require the full email address as the username — check this field specifically if the password is confirmed correct.
3. The account is locked out from repeated failed attempts
Some mail systems temporarily lock an account after several failed login attempts in quick succession, as a security measure against automated password-guessing. If a device retried automatically with an old password many times before you noticed, this can trigger a temporary lockout even once the correct password is finally entered. Waiting a short period and retrying, or checking your control panel for a specific lockout notice, resolves this.
4. The outgoing server's authentication setting is not enabled
If the error appears specifically when sending rather than receiving, check that the outgoing server is set to require authentication using the same credentials as the incoming server — this is a separate tick box in many mail apps and is easy to leave off during initial setup. See fixing email that will not send for more on this specific setting.
5. The port and encryption do not match
An encryption mismatch — for example, port 465 selected with STARTTLS instead of SSL/TLS — can surface as an authentication error in some mail apps rather than a clearer connection error. Double-check the combination against which email ports to use.
6. The mailbox no longer exists
If a mailbox was deleted or renamed in your control panel, any device still configured for the old address will fail authentication, since there is no longer an account to authenticate against. Confirm the mailbox still exists exactly as configured.
Working through it systematically
-
Confirm the mailbox exists and note its exact address
Check this in your control panel rather than relying on memory.
-
Reset the password and note it down accurately
Set a fresh password in your control panel, and type — do not copy-paste — it into a plain text field first to confirm exactly what it is.
-
Remove and re-add the account in the mail client
Rather than editing an existing configuration, starting fresh with the full email address as the username and the password just set avoids carrying over a subtle existing misconfiguration.
-
Confirm ports and encryption against the reference settings
Double-check every field against the standard port reference rather than assuming a previous configuration was correct.
Mailboxes moved to a new host often get new server hostnames even when the address and password stay the same. An authentication error appearing immediately after a migration is more likely to be a leftover old server hostname than a genuinely wrong password — see migrating mailboxes to a new host if this applies to you.
If none of the above resolves it, contact support with the exact error message and the mail client and device involved — the wording of the error often differs slightly between apps and points at a slightly different cause each time.
Why this error is worded so vaguely
Mail servers deliberately return the same generic "authentication failed" message whether the username is wrong, the password is wrong, or the account has been suspended for another reason entirely. This is a security measure rather than unhelpfulness on the server's part — a more specific error, such as confirming a username exists but the password for it is wrong, would let someone systematically guess which addresses are valid on a domain simply by watching how the error wording changes.
One device fails while others work fine
If every device connects successfully except one, the fault is specific to that device's stored configuration rather than the mailbox itself, since the same account clearly accepts the same credentials elsewhere. Remove the account entirely from the failing device and set it up again from scratch, rather than editing the existing entry — a subtle setting saved incorrectly during the original setup is often easier to clear by starting over than to track down field by field.
Some secure connections depend on the device's clock being reasonably accurate. A phone or computer with its date and time significantly wrong can occasionally fail secure authentication in ways that present as an incorrect password, even though the credentials themselves are correct.
Once the account is authenticating correctly again, it is worth checking that outgoing mail is also working, since a mailbox can pass authentication for receiving while still needing a separate check on the outgoing server's own settings.
Related reading
How to reset the password on an email account, and why every connected device needs the new one entered afterwards.
Which email ports should I use?Every port number a mail client asks for, what each one is used for, and which ones to actually choose.
How to fix email that will not sendThe most common reasons an email client refuses to send, checked in the order most likely to find the fault.
How to fix email you are not receivingA step-by-step way to find out why messages sent to your address are not arriving, from DNS to mailbox storage.