YouniqMail 1.0 is out of beta. Launch offer: 50% off Pro, for good.1.0 is out: 50% off Pro, for good. See pricing

Gmail IMAP & SMTP Settings

The Gmail IMAP settings, SMTP server and ports for any email app, plus the sign-in rule that stops most email apps. Valid for addresses ending in @gmail.com and @googlemail.com.

Before you start: Gmail rejects your regular Google password in email apps. How to fix it

Checked against the official Gmail help pages on November 2, 2026. See sources

Gmail server settings at a glance

TypeServerPortEncryption
Incoming mail (IMAP)imap.gmail.com993SSL/TLS
Outgoing mail (SMTP)smtp.gmail.com465SSL/TLS
Outgoing mail (alternative)smtp.gmail.com587STARTTLS
Incoming mail (POP3)pop.gmail.com995SSL/TLS
  • Username: your full Gmail address, for example name@gmail.com
  • Password: not your Google password. Use “Sign in with Google” or an app password (see below).
  • Outgoing server: needs authentication with the same username and password
  • IMAP: always on for personal Google accounts since January 2025. There is nothing to switch on.
  • Limit: you can connect Gmail to up to 15 email apps at a time per account.

Before you connect: Gmail won't accept your regular password

Gmail no longer lets email apps sign in with your Google username and password. Either your app offers “Sign in with Google”, or you use an app password. App passwords only exist for accounts with 2-Step Verification.

Turn on 2-Step Verification

App passwords are only available once 2-Step Verification is on. If you already use it, skip this step.

  1. Open your Google Account at myaccount.google.com.
  2. Go to Security.
  3. Turn on 2-Step Verification and follow the steps.

Create an app password

An app password is a 16-character code that replaces your Google password in one email app.

  1. Open myaccount.google.com/apppasswords and sign in.
  2. Enter a name for the app and create the password.
  3. Copy the code into your email app’s password field.

Changing your Google password revokes all app passwords. They are not available for work or school accounts, with Advanced Protection, or when 2-Step Verification only uses security keys.

How to add Gmail to an email app

The buttons differ from app to app. The steps are always the same:

  1. Before you start: if your app doesn’t offer “Sign in with Google”, turn on 2-Step Verification and create an app password (see the two steps above).
  2. Add a new email account. If the app offers Google or Sign in with Google, choose it and follow Google’s login.
  3. Otherwise choose IMAP and enter your full Gmail address and the app password.
  4. If the app doesn’t fill in the servers on its own, enter them manually: imap.gmail.com (port 993, SSL/TLS) for incoming and smtp.gmail.com (port 465, SSL/TLS) for outgoing mail.
  5. Turn on authentication for the outgoing server and use the same login as for incoming mail.
  6. Send yourself a test email to check that both directions work.

Gmail connection problems and how to fix them

“Password incorrect” with the right password

Gmail rejects regular Google passwords in email apps. Use “Sign in with Google” or an app password. If you changed your Google password recently, your old app passwords stopped working. Create a new one.

The “App passwords” option is missing

It only appears with 2-Step Verification turned on. It is not available for work or school accounts, with Advanced Protection, or when 2-Step Verification only uses security keys.

The app can't connect to the server

Compare the server names and ports with the table above. Older programs may not support Google’s current security standards. Google names Outlook 2016 as an example. Update your app if you can.

Sent emails show up twice

Gmail saves a copy of every email you send through its SMTP server in your Sent folder automatically. Turn off “save sent messages on the server” in your email app.

Using Gmail with YouniqMail

YouniqMail connects to Gmail with an app password. Turn on 2-Step Verification, create an app password, then add your Gmail account in YouniqMail with your Gmail address, the app password and the server settings from the table above.

Your emails go straight from the provider to your computer and are stored locally. There is no YouniqMail server in between.

Gmail settings FAQ

What is the Gmail IMAP server?

The Gmail IMAP server is imap.gmail.com on port 993 with SSL/TLS encryption. Use your full Gmail address as the username.

What is the Gmail SMTP server?

The Gmail SMTP server is smtp.gmail.com on port 465 with SSL/TLS, or port 587 with STARTTLS. The outgoing server needs authentication.

Why doesn't my Gmail password work in my email app?

Gmail no longer supports email apps that ask for your Google username and password. Use an app that offers “Sign in with Google”, or create an app password, which requires 2-Step Verification.

Do I still need to enable IMAP in Gmail?

No. Since January 2025, IMAP is always on for personal Google accounts and can’t be turned off. Google Workspace accounts are managed by your organization and may work differently.

How many email apps can I connect to Gmail?

Up to 15 email apps at a time per Google account.

Should I use IMAP or POP3 for Gmail?

IMAP in most cases. It keeps your mailbox in sync between webmail, phone and computer. POP3 downloads messages to a single device, which only makes sense if you want to manage your mail on one computer.

Last verified on November 2, 2026 against Google’s help: IMAP in Gmail, adding Gmail to other email apps, app passwords and IMAP client settings.

Looking for another provider? See all email server settings.