Authentication failed means a system could not verify the identity presented for a request, so it refused access. The cause may be a wrong password, an expired or revoked token, a failed multi-factor check, a locked or suspended account, a changed sign-in method, or a server or policy problem — not necessarily a wrong password or a hacked account.
Key takeaways
- Authentication failed means the proof of identity was rejected, not necessarily that the password was wrong.
- Test the same account in webmail or the provider's own sign-in page first to separate an account problem from an app problem.
- Repeated failures can trigger lockouts, so stop guessing, reset through the official recovery flow, and check for unfamiliar activity.
Few messages are as unhelpful as "authentication failed". It tells you that you are not getting in, but not why. The cause could be a typo, an expired session, a changed sign-in method, a locked account — or someone else trying your credentials.
What does authentication failed mean?
Authentication failed means the system rejected the proof of identity presented for a request. It could not confirm that you, your device, or your app is who it claims to be, so it refused access.
Authentication answers one question: "Who are you?" It is different from authorization, which answers "What are you allowed to do?" You can pass authentication and still be denied a file or page, and you can fail authentication even when you would have permission if you had proved your identity.
NIST's Digital Identity Guidelines, SP 800-63-4, published in July 2025, describe authentication as proving control of an authenticator previously tied to an account — a password, passkey, security key, one-time code, certificate, or similar proof. When that proof is missing, invalid, expired, or blocked, the check fails.
The message is deliberately vague in many systems. A detailed error would help attackers learn which accounts exist and which part of the check failed, so services often show the same short message for several different causes.
What is the difference between authentication and authorization?
Authentication verifies identity; authorization decides permissions. A successful sign-in proves who you are, while authorization decides which files, pages, or actions that identity may use.
| Question | Authentication | Authorization |
|---|---|---|
| Answers | Who are you? | What can you do? |
| Typical failure | Authentication failed, 401 Unauthorized | Access denied, 403 Forbidden |
| Common cause | Wrong, expired, or revoked proof of identity | Account lacks the needed role or permission |
| Fix | Correct credentials, new token, account recovery | Ask an admin for access or a different role |
| Example | Wrong password at sign-in | Signed in, but cannot open an admin page |
For HTTP services, RFC 9110 defines 401 Unauthorized as a request that lacks valid authentication credentials, while 403 Forbidden means the server understood the request but will not authorize it. That distinction is useful when you are troubleshooting a website or API: a 401 points at identity proof, a 403 points at permission.
What causes authentication failed?
The most common causes are a wrong or outdated credential, a failed multi-factor check, an expired token or session, a locked or suspended account, and a changed sign-in method or server setting.
- Wrong username or password. A typo, Caps Lock, an old saved password, or credentials for a different account.
- Changed password or sign-in method. The provider now requires OAuth, an app password, or a passkey instead of a normal password.
- Failed multi-factor authentication. An expired or mistyped one-time code, a push approval that timed out, or a lost authenticator device.
- Expired token or session. Saved sign-ins, API tokens, and app authorizations expire or are revoked after a password change.
- Locked, suspended, or disabled account. Too many failed attempts, a security hold, an unpaid or closed account, or an admin disabling access.
- Wrong server or app settings. An incorrect server address, port, or encryption setting, or a feature such as IMAP or SMTP access disabled by policy.
- Clock or device problem. A device clock that is far out can make time-based codes and certificates fail.
- Service-side problem. An outage, a misconfigured server, or a policy change on the provider's side.
Where does authentication failed appear?
It appears at website and app sign-in, in email apps, on Wi-Fi and VPN connections, in APIs and developer tools, and on phones and game consoles. The underlying meaning is the same, but the fix depends on the context.
Websites and apps
A website sign-in failure usually means the username, password, or multi-factor response was rejected. Check Caps Lock, try the provider's password-reset flow, and make sure you are signing into the right account — many people have two accounts with similar names.
Email: IMAP, SMTP and OAuth
Email has two separate sign-ins: incoming mail (IMAP or POP) and outgoing mail (SMTP). You can receive mail but fail to send it if only the SMTP credentials or settings are wrong. RFC 4954 defines the SMTP response 535 5.7.8 as invalid authentication credentials, while 454 4.7.0 is a temporary server failure.
Modern providers increasingly require OAuth — "Sign in with Google" or Microsoft sign-in — or a dedicated app password instead of your normal password in a third-party mail app. Entering a normal password where an app password is expected is a common cause of email authentication failures.
Wi-Fi, VPN and enterprise networks
On Wi-Fi, the message usually means the network password is wrong or has changed, or you joined the wrong network with a similar name. On a VPN, it can mean an expired certificate, a wrong server address, or an account that an admin has disabled. Forget the network and rejoin it with the current password before changing anything else.
APIs, SSH and developer tools
For an API, a 401 usually means a missing, expired, or revoked API key or token, or a token sent to the wrong environment. For SSH, it usually means the key is not on the server, the key file has the wrong permissions, or password authentication is disabled. Check the exact error and the credential the tool is actually sending.
Does authentication failed mean you have been hacked?
Usually not on its own, but it can be a symptom of an attack, so check for other signs before dismissing it. A single failure after a password change is normal; a flood of failures or reset emails is not.
Verizon's 2025 Data Breach Investigations Report research found that compromised credentials were the initial access vector in 22% of breaches reviewed, and that credential stuffing — automated login attempts with stolen username and password pairs — accounted for a median of 19% of all authentication attempts in the SSO logs Verizon studied. Attackers do try stolen credentials at scale, which is why services lock accounts after repeated failures.
Check these signs:
- Password-reset or "new sign-in" emails you did not request.
- Unfamiliar devices, sessions, or locations in the account's security page.
- Changed recovery email, phone number, or multi-factor settings.
- Mail-forwarding rules, app passwords, or API keys you did not create.
If any of those appear, change the password from a trusted device, sign out of all sessions, review multi-factor settings, and check whether the password appears in a known breach with our pwned password checker.
How do you fix authentication failed?
Fix it in this order: test the account on the provider's own sign-in page, correct the credential type, fix multi-factor authentication, then reconnect the app or correct its settings.
- Test web sign-in first. If it fails there too, the problem is the account, not the app. Use the official password-reset or account-recovery flow.
- Re-enter credentials carefully. Type the password instead of pasting it, check Caps Lock, and confirm you are using the right account and the right kind of password — normal, app, or OAuth.
- Fix multi-factor authentication. Generate a fresh code, check the device clock, and try a backup code or a different second factor if one is available.
- Reconnect the app. Remove the account from the app and add it again, which clears expired tokens and stale saved passwords.
- Check server settings. Confirm the server address, port, and encryption setting against the provider's current documentation, and confirm the feature is enabled.
- Check for a lockout or outage. Wait for a lockout to expire, or check the provider's status page before changing settings that were working yesterday.
How do you prevent authentication failed errors?
Prevent most failures with a password manager, phishing-resistant multi-factor authentication, and a habit of updating saved credentials whenever you change a password.
- Use a password manager. It fills the exact saved password for the exact site, which removes typos and stops you signing into a look-alike domain.
- Turn on multi-factor authentication, preferably passkeys or a security key. CISA's joint phishing guidance recommends phishing-resistant MFA, because one-time codes can be phished. Passkeys are bound to the real site, so they cannot be reused on a fake one.
- Update saved passwords everywhere after a change. A password change often revokes app passwords and tokens, so mail apps, phones, and API clients need reconnecting.
- Keep recovery options current. A current recovery email and phone number make account recovery fast when a lockout or a lost factor happens.
- Use unique passwords. Reusing one password means a breach at one service can cause authentication failures — and successful stuffing attempts — at others.
When should you worry about authentication failed?
Worry when failures come with other signs: reset emails you did not request, unfamiliar sign-ins, changed recovery settings, or failures that start suddenly on an account you have not changed. One isolated failure is usually a typo or an expired session.
Contact the provider's support if the account is locked and recovery does not work, or if money or sensitive data is involved. For a business account, tell your IT or security team at once — they can check sign-in logs and revoke sessions you cannot see.
Our spear phishing guide explains how attackers use fake sign-in pages to harvest credentials.
The bottom line
Authentication failed means the system could not verify who you are for that request. Start by testing the account on the provider's own sign-in page, then work outward through the credential type, multi-factor authentication, and app settings.
Stop guessing after a few failures, use the official recovery flow, and check for unfamiliar activity. You can generate a strong replacement and check whether an old one was exposed with the free password generator and the pwned password checker.
Frequently asked questions
What does authentication failed mean?
It means the system did not accept the proof of identity supplied for that request. That proof could be a password, passkey, one-time code, token, certificate or device credential, and any of them can be wrong, expired, revoked or blocked by policy.
Does authentication failed mean my password is wrong?
Not necessarily. A wrong password is one common cause, but the same message can come from an expired session, a changed sign-in method, a failed multi-factor check, a locked account or a server problem. Test the account on the provider's own website before assuming the password is wrong.
What is the difference between authentication failed and access denied?
Authentication failed means the system could not confirm who you are. Access denied, often shown as a 403 error, usually means it knows who you are but will not let that identity use the requested resource. Fixing the first is about identity proof; fixing the second is about permissions.
Why does authentication keep failing even with the right password?
The password may be right for one account or service but not the one you are signing into, or the service may now require a different method, such as OAuth or an app password. Caps Lock, a saved old password, an expired token or a changed account state can also cause repeated failures.
Can authentication failed mean someone hacked my account?
It can, but it is not proof of a hack. Repeated failures in your security alerts, password-reset emails you did not request, or sign-ins from unfamiliar places are stronger warning signs. Check recent activity in the account and change the password if anything looks unfamiliar.
How do I fix authentication failed on email?
First sign in through webmail. If webmail works, the problem is in the mail app: re-enter the correct password type, reconnect OAuth, or correct the server, port and encryption settings. If webmail also fails, fix the account itself before touching app settings.
How do I fix authentication failed on Wi-Fi or a VPN?
For Wi-Fi, forget the network and re-enter the password, check that you are on the right network name, and confirm the password has not changed. For a VPN, check the username, password, certificate and server address, and make sure the account is not locked or expired.
Should I keep retrying after authentication failed?
No. Repeated guesses can lock the account or trigger extra security checks. After two or three failed attempts, stop, verify the credentials through the official sign-in or recovery page, and check whether the service reports an outage.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against NIST SP 800-63-4, RFC 4954 and RFC 9110, and Verizon's 2025 DBIR credential research.
How we write and fact-check →