Skip to content

Gmail IMAP Settings

The current Gmail IMAP server, port, encryption and authentication requirements, plus focused fixes for failed incoming mail and folder synchronization.

Jump to your problem 4
  1. Gmail IMAP settings
  2. Authentication
  3. Add the account safely
  4. Gmail IMAP troubleshooting

Quick answer

Gmail server settings

Checked Aug 2026
IMAP
Incoming SSL/TLS
imap.gmail.com

port 993

SMTP
Outgoing STARTTLS
smtp.gmail.com

port 587

POP3
Download SSL/TLS
pop.gmail.com

port 995

Authentication
Use “Sign in with Google” (OAuth). Older clients without Google sign-in may require an app password from an eligible account with 2-Step Verification.
IMAP access
Always enabled for personal Gmail accounts; Workspace administrators may restrict it
Alt SMTP port
465 with SSL/TLS
Username
Your complete Gmail address, such as name@gmail.com
POP access
Enable it first in Gmail under Settings → See all settings → Forwarding and POP/IMAP

Where to type these

The values above are Gmail’s. Where you enter them depends on the app — each guide below is the same set of fields, in that app’s own screens.

Gmail IMAP handles incoming mail and folder synchronization. Gmail IMAP uses labels rather than conventional single-location folders, so one message can appear under Inbox, All Mail and another label without being duplicated on Google’s server. A desktop client may represent those labels as folders. Subscribe only to useful labels, map Spam and Trash deliberately, and avoid configuring the client to download the same mail through both All Mail and another broad label when local duplication is a concern. Google documents bandwidth and simultaneous-connection limits for large or aggressively synchronized mailboxes. Personal Gmail users no longer need to hunt for the former Enable IMAP switch because IMAP is always available; a Google Workspace administrator can still restrict which clients or OAuth scopes are allowed.

Gmail IMAP settings

ProtocolServerPortEncryption
IMAPimap.gmail.com993SSL/TLS

Authentication

An app password is a fallback only for eligible Google Accounts with 2-Step Verification. It may be unavailable for managed accounts, Advanced Protection or security-key-only setups. A current OAuth-capable client should use the Google sign-in window instead.

Use the complete mailbox address unless the official account screen explicitly supplies a different login. Sending is configured separately with SMTP; an IMAP success does not validate outgoing mail.

Add the account safely

Prefer the client’s built-in Gmail option when it exists, because it can select the supported authorization flow. Create the account as IMAP, not POP. Enter the secure incoming port, subscribe only to folders you need, and let the first synchronization finish before changing folder mappings. Compare Sent, Drafts, Trash and Spam with webmail; a wrong special-folder mapping causes duplicate sent mail or deletions that appear to vanish on another device.

Gmail IMAP troubleshooting

Remove any saved Basic Authentication password and add the account again through its Google provider button. For app-password use, verify 2-Step Verification eligibility and generate a fresh 16-character password. For a managed Workspace mailbox, ask the administrator whether IMAP or OAuth client access is restricted. Gmail labels deserve a separate check after authentication succeeds: compare the client’s Sent, Drafts, Spam and Trash assignments with Gmail web settings, and decide whether All Mail should be synchronized on that device. A mailbox that authenticates but repeatedly downloads a large archive has a synchronization-scope problem, not an SMTP password problem. Google security activity can also show whether the attempted client sign-in was blocked or its OAuth grant was revoked.

A timeout points to hostname, port, TLS or network filtering. An immediate password rejection points to authentication or provider policy. A connection that succeeds but shows missing folders is usually a subscription or folder-exposure setting, not a reason to replace the server address.

For a Gmail-only receive problem, open webmail and check Labels settings before rebuilding the account. A label hidden from IMAP cannot appear in the desktop folder list. If synchronization repeatedly stops on a large mailbox, reduce concurrent connections and the number of exposed labels, then allow the local index to finish. Messages visible in All Mail but absent from Inbox may simply be archived; that is Gmail state, not evidence that IMAP lost them. Compare the message in webmail before restoring a backup or downloading the mailbox again. Search for the message in Gmail using its sender or subject and inspect the applied labels. That distinguishes a locally hidden folder from a server-side archive. If a managed account alone is affected, capture the client name and OAuth scope for the Workspace administrator rather than copying settings from a personal Gmail account.

If the error changes after editing several fields, restore the official values and test one correction at a time. This distinguishes authentication, TLS, network and provider-policy failures instead of hiding the original cause.

How this guide was checked · October 2026

Verified against 4 official sources

Every step, setting and limit in this guide was checked against the provider’s own documentation on support.google.com. Anything we couldn’t confirm was left out.

  1. 01 Google: Add Gmail to another email client support.google.com
  2. 02 Google: Recommended IMAP client settings support.google.com
  3. 03 Google: Sign in with app passwords support.google.com
  4. 04 Google: Read Gmail with POP support.google.com

Questions

Frequently asked questions

What are Gmail's IMAP settings?

Use imap.gmail.com on port 993 with SSL/TLS and your complete Gmail address as the username. Choose “Sign in with Google” when available. Older clients that cannot use Google sign-in may require an app password.

How do I enable IMAP in Gmail?

You do not need to enable IMAP on a personal Gmail account. Starting in January 2025, Google made IMAP access permanently enabled and removed the enable and disable controls. Google Workspace administrators may still restrict IMAP for managed accounts.

Why does my mail client show every message twice?

It is synchronising Gmail's All Mail folder, which contains everything including your inbox. Exclude All Mail from syncing.

Does IMAP use my Gmail storage?

Yes. IMAP mirrors what is on the server; it does not create separate storage. Deleting through a client affects your Gmail quota only if the message actually goes to Trash.

Related guides

More Gmail guides

Gmail

How to Unsubscribe from Emails in Gmail

Use Gmail’s Unsubscribe button or the Manage subscriptions page to stop newsletters and promotions — and know the difference between unsubscribing and blocking.

3 min read

Gmail

How to Recover Deleted Emails in Gmail

Deleted Gmail messages wait in Trash for up to 30 days. Here’s how to move them back on any device, where else to look, and what can’t be recovered.

3 min read

Gmail

How to Block (and Unblock) Someone in Gmail

Block a sender in Gmail so their emails go to Spam, unblock them, manage your blocked list — and when unsubscribing or reporting spam or phishing works better.

3 min read

Gmail

How to Add an Email Signature in Gmail

Create, edit and remove a Gmail signature, use different signatures for new emails and replies, the 10,000-character limit and image sizes — and fixes for broken signatures.

4 min read