IMAP Server Does Not Support the Authentication Method: Causes and Fixes

The short answer
Your email client asked for a login method the IMAP server does not list in its CAPABILITY response. Usually the client is set to the wrong method, it connected without TLS so the server hid its options, or the provider now accepts only OAuth. Read the AUTH= entries, then change the setting or sign in with OAuth.
IMAP server does not support the selected authentication method: read the CAPABILITY list, then change the client setting or move to OAuth. Don't downgrade.
On this page
- 01What does 'IMAP server does not support the selected authentication method' mean?
- 02What causes the error?
- 03Fix 1: How do you match the client's method to what the server offers?
- 04Fix 2: What if the provider now only allows OAuth?
- 05Fix 3: What if the list is empty or shows LOGINDISABLED?
- 06How do you tell which cause you have?
- 07How do you stop it coming back?
- 08Can something else handle this for you?
You add an account, and the client stops with a message that the IMAP server does not support the selected authentication method. The password is probably fine. The two sides simply could not agree on how to prove who you are.
This post explains what the message means, how to read the server's own list of supported methods, and which of three fixes applies to you. It also covers the one shortcut you should not take, which is lowering your security until the error goes away.
What does 'IMAP server does not support the selected authentication method' mean?#
Before you log in, an IMAP server can tell a client what it supports. The client asks with the CAPABILITY command, and the server answers with a list. Entries that start with AUTH= name the login mechanisms the server accepts, such as AUTH=PLAIN or AUTH=XOAUTH2.
The error appears when the method your client is configured to use is not on that list. The client checks, finds no match, and stops before sending your password. Exact wording varies between clients, so treat the message as a symptom and the capability list as the evidence.
Three terms from RFC 9051, the current IMAP specification, explain almost every case:
- AUTH=<name>: the server supports that SASL authentication mechanism. The RFC says clients and servers must implement AUTH=PLAIN.
- LOGINDISABLED: the plain LOGIN command is switched off. The RFC says a client must not send LOGIN when the server advertises this.
- STARTTLS: the connection can be upgraded to TLS. On a cleartext port, servers are required to offer it, and the list of methods often changes once TLS is on.
Not the same as a wrong password
What causes the error?#
There are four common causes. The table shows how to confirm each one and which fix section to jump to.
| Cause | How to confirm | Fix |
|---|---|---|
| Client is set to a method the server does not list | The AUTH= entries in the CAPABILITY output do not include the method named in your account settings | Fix 1: pick a listed method |
| Server only accepts OAuth, client is set to a password method | AUTH=XOAUTH2 is listed and no password mechanism is, or the provider has documented that password sign-in is gone | Fix 2: move to OAuth |
| Connection security is wrong, so the server hides its options | CAPABILITY shows LOGINDISABLED or no AUTH= entries before TLS, but a different list after it | Fix 3: correct the port and encryption setting |
| Client is too old for the method the server wants | The server lists only a modern method and your client version has no matching sign-in option | Fix 2: update or change client |
Fix 1: How do you match the client's method to what the server offers?#
Start here, because it shows the facts for every other fix. You are not logging in, only asking the server what it supports, so no password is typed at any point.
- 1
Open a TLS connection to the server
On the usual implicit-TLS port, run: openssl s_client -connect imap.example.com:993 -crlf. Replace the host with the one from your provider. For a server that uses STARTTLS on port 143, run: openssl s_client -starttls imap -connect imap.example.com:143 -crlf.
- 2
Ask for the capability list
When the server greets you, type: a1 CAPABILITY and press Enter. The server answers with a line starting with * CAPABILITY, then a1 OK. Some servers also put the list inside the greeting.
- 3
Read the AUTH= entries
Write down every entry that starts with AUTH=. Ignore capability names you do not recognise. RFC 9051 tells clients to ignore unknown ones, and so can you.
- 4
Change the client to a listed method
Open the account's server settings and find the authentication or security-method field. Its label and its option names differ between clients, so match them by meaning, not by exact wording. Choose a method that appears in the AUTH= list.
- 5
Retest the account
Save, then run the account check again. If the error persists with a method that is clearly listed, the cause is probably connection security, so go to Fix 3.
Fix 2: What if the provider now only allows OAuth?#
Large providers have retired password sign-in for IMAP. Microsoft states that Basic authentication is now disabled in all Exchange Online tenants, including for IMAP, and that nobody can re-enable it. Its documentation says OAuth 2.0 for IMAP is supported for both Microsoft 365 and Outlook.com accounts (checked October 2026).
Google's help page says Gmail no longer supports third-party apps or devices that need your Google username and password, and points to the Sign in with Google option instead. Google's XOAUTH2 documentation says the AUTH=XOAUTH2 capability declares that the server supports its OAuth mechanism, which is what an OAuth-capable client looks for.
- 1
Check the capability list for AUTH=XOAUTH2
Use the steps in Fix 1. If AUTH=XOAUTH2 is present and no password mechanism is, the server expects a token, not a typed password.
- 2
Update the client
Install the latest version. Google's help page names older clients, such as Outlook 2016, as ones that may lack current security standards, so an update is the first thing to try.
- 3
Remove the account and add it again
Delete the account from the client, then add it fresh and choose the provider's own sign-in, such as Sign in with Google or a Microsoft sign-in. The provider's sign-in page issues a token, and the client uses that token in place of your password.
- 4
Switch connection type if the client cannot do OAuth
Microsoft's documentation says there is no plan for Outlook clients to support OAuth for POP and IMAP. It says they connect through MAPI over HTTP on Windows and EWS on Mac instead, so add the account as a Microsoft 365 or Exchange account, not as generic IMAP.
Do not downgrade to make the error disappear
Fix 3: What if the list is empty or shows LOGINDISABLED?#
A short or empty list usually means you asked before the connection was protected. The RFC says it is common for the capability list to change after TLS and again after login. A server that shows LOGINDISABLED and few AUTH= entries on a cleartext port is doing what the standard asks of it.
- 1
Match the port to the encryption setting
RFC 9051 names port 993 as the implicit-TLS port and port 143 as the cleartext port. Use 993 with SSL/TLS, or 143 with STARTTLS. A mismatch, such as 993 with STARTTLS selected, can produce odd results.
- 2
Re-run CAPABILITY after TLS is on
Use the -starttls form from Fix 1 for port 143. The list you see after the upgrade is the one your client will use, so compare your setting against that list.
- 3
Never select 'None' for encryption
Turning TLS off removes the very protection that lets the server offer password methods. If the provider does not support TLS at all, ask them why before you send a password.
How do you tell which cause you have?#
Run the capability check once and compare what you see against this table. It takes about a minute and saves guessing.

| What you see | Most likely cause | Go to |
|---|---|---|
| AUTH=PLAIN listed, client set to something else | Client set to an unlisted method | Fix 1 |
| AUTH=XOAUTH2 only, client asks for a password | Provider requires OAuth | Fix 2 |
| LOGINDISABLED, few or no AUTH= entries | Capabilities read before TLS | Fix 3 |
| Different lists before and after STARTTLS | Encryption setting mismatch | Fix 3 |
| Modern method listed, client has no option for it | Client too old or wrong account type | Fix 2 |
How do you stop it coming back?#
The error returns when either side changes without the other. Providers retire mechanisms, and clients stop updating. A few habits cover most of it:
- Prefer the provider's own sign-in (OAuth) where one exists. It is the method the large providers are moving towards.
- Keep clients updated. An old client stuck on a retired method is the most common repeat cause.
- Avoid app passwords unless you have no alternative. Google's own page says they are not recommended and unnecessary in most cases.
- Save the CAPABILITY output the first time an account works, so you have a baseline to compare against when something changes.
- Date-stamp provider rules. Microsoft says the retirement timeline for SMTP AUTH Basic authentication has been updated and points readers to its latest announcement, so check the vendor's page before relying on any date.
Can something else handle this for you?#
The mechanism behind this error is a negotiation: the client names a method, the server lists what it accepts, and a mismatch ends the conversation. We build AI Emaily, an email client that connects Gmail, Outlook and generic IMAP accounts, so if you would rather not hand-tune settings per provider you can start from the homepage and connect the account there. It cannot make a server offer a mechanism it does not support, so the capability check in Fix 1 still tells you the truth about the server. There is a 7-day free trial on Pro and Autopilot, card required and $0 if you cancel before day 7, with details on the pricing page.
Frequently asked
See it in AI Emaily
Keep reading
Sources
- RFC 9051: Internet Message Access Protocol (IMAP) Version 4rev2
- Microsoft Learn: Deprecation of Basic authentication in Exchange Online
- Microsoft Learn: Authenticate an IMAP, POP or SMTP connection using OAuth
- Google Gmail Help: Add Gmail to another email client
- Google for Developers: OAuth 2.0 mechanism (XOAUTH2) for IMAP, POP and SMTP

Written by
Nafiul HasanNafiul Hasan is an entrepreneur and AI automation system builder with 10+ years of experience turning messy, manual workflows into reliable automated systems. He designs and ships AI enterprise solutions end-to-end — the agent logic, the data plumbing, and the product people actually use — and founded AI Emaily to give busy professionals their attention back. He writes here from the builder's seat: what works, what breaks, and how to put AI to work without giving up control.