Major errors

Gmail · Google Workspace · Major errors

Gmail 535 5.7.80: “Username and Password not accepted” — even though your password is correct

First published 27 October 2026 · Updated on 14 November 2026 · Verified against Google Account Help documentation (sources listed below)

Merroway Editorial · Verified against governing standards and vendor documentation.

The fast answer

Do not keep retyping the password, and do not turn off 2-Step Verification. The password is not the problem — the sign-in method is. Google no longer accepts an ordinary account password for SMTP/IMAP/POP from apps that do not use modern sign-in. The fix depends on what is connecting:

  • A mail client (Outlook, Apple Mail, Thunderbird): remove the account and add it again through “Sign in with Google”.
  • A device or app that cannot do that sign-in (scanner, printer, old script, website plugin): turn on 2-Step Verification, generate a 16-digit app password, and use that as the password.
  • A work/school (Workspace) account: if app passwords are not offered, your admin may have restricted them — that is an admin fix, not a password fix.
Advertisements

What you are looking at, in plain words

Google retired “less secure app” password access. Today, a mail client is expected to sign in with Google’s modern sign-in (OAuth), which opens a Google sign-in screen and hands the app a token instead of your password. A device or app that cannot do that dance — a scanner, an old plugin, a script — needs an app password instead: a 16-digit code, generated in your Google Account, that stands in for your password for that one app or device only. App passwords require 2-Step Verification to be on, and Google’s own help page says plainly that they are unnecessary in most cases and that “Sign in with Google” is the preferred route.

Error 535 is Google rejecting the credential without saying why. The rejection itself is the clue: the credential reached Google, Google understood it, and Google refused it because of the sign-in method. That is different from a wrong password (which also produces 535 in some clients, so Step 0 rules that out first) and different from 534, where Google explicitly says an application-specific password is required.

What is connectingCorrect sign-in
Outlook / Apple Mail / Thunderbird“Sign in with Google” (OAuth) — re-add the account
Scanner, printer, script, plugin without Google sign-inApp password (2-Step Verification on) as the SMTP password
Workspace account, app passwords not offeredAdmin must allow them, or move the app to OAuth / Workspace relay

Code numbering: Google’s current SMTP error reference lists this error as 535 5.7.80, and the application-specific-password error as 534 5.7.90. You may still see the shorter forms 535 5.7.8 and 534 5.7.9 in older guides, forum posts and older server replies. The error text and the fix are the same either way.

Step 0 — Prove which part is failing

Do not change anything yet. Every fix below depends on what these checks show.

  1. Prove the password itself works. Sign in to Gmail on the web in your browser with the same account and password. If the web sign-in works, the password is correct and the fault is the sign-in method — stay on this guide. If the web sign-in fails, reset the password first; no app-password step will help a password you cannot use on the web.
  2. Confirm which account the app is using. Check the username in the app’s settings is the full Gmail address, exactly as it appears on the web sign-in. A second account, a typo, or an old address produces the same 535 and wastes every other fix.
  3. Identify the connector type. Is this a human mail client (Outlook, Apple Mail) or a device/app (scanner, website, script)? That answer picks the fix branch — OAuth re-add for clients, app password for devices. Applying the wrong branch is the commonest reason this error survives a “fix”.
  4. Check whether 2-Step Verification is on. Open your Google Account > Security > How you sign in to Google. App passwords only exist when 2-Step Verification is on; if it is off, the device branch cannot start until it is on.

The fixes, in order

  1. Mail client branch — re-add the account with “Sign in with Google”. Remove the Gmail account from the mail client, then add it again and choose the Google sign-in option when offered. Complete the Google sign-in screen (including any 2-Step prompt) and approve the permissions. The client then holds a token, not your password, and 535 goes away. Do not re-add it as a manual IMAP/SMTP account with a typed password — that recreates the rejected setup.
  2. Device/app branch — generate an app password. In your Google Account, go to Security > How you sign in to Google and make sure 2-Step Verification is on. Then open App passwords (you may need to sign in again), name the password for the device or app (for example “Office scanner”), and generate it. Google shows a 16-digit code once — copy it immediately into the device or app’s SMTP password field, with your full Gmail address as the username. Use these server values: SMTP smtp.gmail.com, port 587 with STARTTLS (or 465 with SSL/TLS).
  3. If App passwords is not shown. Google’s help page lists the three reasons: 2-Step Verification is set up for security keys only; you are signed in to a work, school or other organisation account; or Advanced Protection is on. For the first, allow another 2-Step method; for the other two, the account’s admin or protection setting controls it — do not work around it by disabling security features.
  4. Workspace branch — ask the admin. If the account is a Google Workspace account and app passwords are unavailable or rejected, the admin may have restricted them for the organisation. Ask the admin whether app passwords are allowed for your account, or whether the device should use OAuth or the Workspace SMTP relay instead. Our full Google Workspace Gmail password guide covers the Workspace side — OAuth, the SMTP relay and app passwords — in one place. Guessing at admin policy wastes the whole branch.
  5. Try a fresh app password if the old one stops working. If a device that worked suddenly returns 535, generate a new app password for it and replace the stored one. Treat the old code as spent rather than retyping it harder — and revoke app passwords you no longer use from the same App passwords page.

Prove it worked

  1. Send a test message from the client or device and confirm it arrives at an outside address.
  2. For a mail client, confirm both directions: send a message and receive a reply. Sending alone does not prove receiving works.
  3. For a device, confirm the next scheduled send (scan, form, notification) goes through without a 535 in its log.

Still not working? Work this ladder in order

  1. Still 535 after re-adding with Google sign-in? Confirm the client is up to date and that you completed the Google sign-in screen rather than typing a password into a manual setup. An out-of-date client may not offer Google sign-in at all.
  2. Still 535 with a fresh app password? Re-check the username (full address), the server (smtp.gmail.com) and the port/encryption pair (587 + STARTTLS, or 465 + SSL/TLS). A mismatched pair fails before authentication is even judged.
  3. Confused between 535 and 534? Read the error again. If it says “Application-specific password required” (534 5.7.90), Google has named the fix — follow our Gmail 534 guide. If it only says the username and password are not accepted (535), this guide’s triage is the right one.
  4. Workspace account, admin says app passwords are off? That is a policy decision, not a bug. The legitimate routes are OAuth-capable apps or the Workspace SMTP relay — not disabling 2-Step Verification and not a third-party “less secure” workaround, which no longer exists.

Mistakes that make it worse

  • Retyping the correct password into a manual SMTP setup, over and over, expecting a different result.
  • Turning off 2-Step Verification to “fix” the error. That removes a layer of security and does not restore password SMTP access.
  • Looking for a “less secure apps” switch. Google retired it; the switch is gone, and guides that still mention it are out of date.
  • Using a personal account’s app password for a Workspace account (or vice versa) and troubleshooting the wrong account.
Advertisements

FAQ — the issues behind this error, answered

My password is definitely correct. Why does Google reject it?

Because Google no longer accepts an ordinary account password for SMTP/IMAP/POP from apps that do not use modern sign-in. The password can be right and still be refused, because the sign-in method is what Google is judging. Use “Sign in with Google” for mail clients, or an app password for devices that cannot do that sign-in.

What is the difference between Gmail 535 and Gmail 534?

535 5.7.80 rejects the credential without saying why — you have to triage the sign-in method yourself, which is this guide. 534 5.7.90 explicitly says an application-specific password is required — Google has named the fix. See our companion Gmail 534 guide for that error.

Is an app password less safe than my normal password?

An app password is limited: it works for one app or device, it can be revoked individually without changing your main password, and it only exists when 2-Step Verification is on. Google still prefers “Sign in with Google” where the app supports it, and says app passwords are unnecessary in most cases — use them only where the app cannot do modern sign-in.

Why can I not find App passwords in my account?

Google lists three reasons: 2-Step Verification set up for security keys only, a work/school/organisation account, or Advanced Protection. Check those three before assuming the feature is broken.

Sources

Google Account Help — Sign in with app passwords (16-digit code, 2-Step Verification requirement, when to use, the three missing-option reasons) · Google Account Help — Turn off 2-Step Verification (revoking app passwords). Google Developers — IMAP, POP, and SMTP (smtp.gmail.com: 465 for SSL, 587 for TLS; imap.gmail.com:993, pop.gmail.com:995). Google Workspace Help — Gmail SMTP errors and codes (535 5.7.80 “Username and Password not accepted”; 534 5.7.90 “Application-specific password required”).

Verification note: error texts, server values, limits and step order on this page were checked against the official pages listed above on 10 November 2026, when the error codes were updated to Google’s current 535 5.7.80 / 534 5.7.90 listing. Anything that could not be verified in an official source is not presented as fact.