Launch offer: Lifetime for $79 instead of $199, for the next 100 customers only. · next 100 only Claim yours →
  1. Home
  2. Email settings
  3. Gmail settings
Email settings

Gmail IMAP and SMTP settings

The servers, ports and password you need to add Gmail to any mail app, checked against Gmail's own help pages.

Updated October 18, 2026

To add Gmail to a mail app you need Google's IMAP and SMTP servers and an app password: Google doesn't let mail apps sign in with your normal Google password.

Gmail IMAP and SMTP settings

SettingGmail
IMAP (incoming) serverimap.gmail.com
IMAP (incoming) port993
IMAP (incoming) encryptionSSL/TLS
SMTP (outgoing) serversmtp.gmail.com
SMTP (outgoing) port465
or 587 with STARTTLS
SMTP (outgoing) encryptionSSL/TLS
UsernameYour full Gmail address
PasswordA 16-character app password, not your Google password
AuthenticationNormal password

Make a Gmail app password

App passwords only appear once 2-Step Verification is on. Most work and school accounts (Google Workspace) can't make them at all.

  1. Turn on 2-Step Verification. In your Google Account, open Security and turn it on if it is off.
  2. Open app passwords. Go to myaccount.google.com/apppasswords.
  3. Make one and copy it. Name it after your mail app and copy the 16-character password Google shows. You won't see it again.

Use Gmail in GotEmail

You don't have to type any of this. In GotEmail, choose Add Account and pick Gmail: the servers, ports and encryption above are filled in for you. You paste the password, and your mail starts loading.

Good to know

  • Changing your Google password removes all your app passwords; make a new one afterwards.
  • Our guide to Gmail app passwords covers the "setting isn't available" message and other snags.

Checked against Gmail's own help pages: Gmail IMAP and SMTP, Sign in with app passwords.

Questions

What is the IMAP server for Gmail?

Gmail's IMAP server is imap.gmail.com, port 993, with SSL/TLS encryption.

What is the SMTP server for Gmail?

Gmail's SMTP server is smtp.gmail.com, port 465 with SSL/TLS, or 587 with STARTTLS.

Can I use my normal Google password?

No. Mail apps sign in to Gmail with an app password (or with Google's own sign-in). Your Google password stays private.

Does this work for a work or school Gmail?

Usually not with an app password: Google hides app passwords on most Google Workspace accounts. Personal Gmail works.

Skip the settings.

GotEmail fills in Gmail's servers for you, and keeps every account in one fast, private Mac app.