Email Settings Email Settings Guide

Gmail Email Settings: IMAP, SMTP and App Password

Gmail's servers are simple. The catch is the password: your normal Google password will not work in a mail app. Here is every value, plus the app password and OAuth steps that do work. Copy each with 1 tap.

Tested July 26, 2026 1 Tap Copy App Password Steps

Gmail Quick Settings

IMAP Server imap.gmail.com
IMAP Port 993 (SSL/TLS)
SMTP Server smtp.gmail.com
SMTP Port 465 (SSL) / 587 (STARTTLS)
POP3 Server pop.gmail.com
Username Your full email address

Quick answer: the Gmail IMAP server is imap.gmail.com on port 993 with SSL/TLS. The SMTP server is smtp.gmail.com on port 465 (SSL) or 587 (STARTTLS). The POP3 server is pop.gmail.com on port 995 with SSL. Sign in with your full Gmail address and an app password or OAuth, never your normal Google password.

Every setting on this page is verified with live IMAP and SMTP connections from Univik email software. We build email backup and converter tools since 2013, so we test against these servers every day. See what changed →

What Changed Recently#

Email providers change login rules more often than server addresses. Here is the current status for Gmail and what it means for your setup.

Latest update

Password only sign in is gone for good. Google retired Less Secure Apps, so your normal Google password no longer works over IMAP, POP or SMTP. Personal Gmail lost it in May 2022 and Google Workspace accounts were cut off on March 14, 2025. Use OAuth or an app password instead.

Earlier change

The IMAP on and off switch was removed. Google took the IMAP enable toggle out of Gmail settings. IMAP is on by default now, so for most accounts there is nothing to turn on before you connect an app.

Earlier change

App passwords now need 2-Step Verification. The app password page only appears once 2-Step Verification is on. If you cannot find it, that switch is almost always the reason.

Current status: your normal Google password will not work in any mail app. OAuth is the smoothest path on modern clients. Everything else uses a 16 character app password.

Before You Begin#

Do these 2 things first. If you skip them, your email app will reject the connection even when every server value is correct.

1. Turn on 2-Step Verification

Without it, Google will not let you create an app password. The app password page also stays hidden. This is the single most common reason a Gmail setup stalls.

Where: myaccount.google.com → Security → 2-Step Verification

2. Pick OAuth or an app password

Your normal Google password will be rejected in every mail app. Modern clients sign you in through a Google window (OAuth). Older ones need a 16 character app password pasted in place of your password.

Where: App password steps below →

About Gmail#

Gmail is Google's free email service, launched in 2004 and used by roughly 1.8 billion people worldwide.

The servers themselves rarely change. What makes Gmail different from an old ISP mailbox is the sign in. Since Google retired Less Secure Apps, your account password only works on the Gmail website and Google's own apps. In Outlook, Apple Mail or Thunderbird you either approve a Google sign in window (OAuth) or paste an app password. That app password only exists once 2-Step Verification is on.

Service NameGmail
Owned ByGoogle (Alphabet Inc.)
Launched2004
Email Domains@gmail.com, @googlemail.com
Webmail URLmail.google.com
Protocols SupportedIMAP, POP3, SMTP
App Password NeededYes, for any client without OAuth
Free Storage15 GB, shared with Drive and Photos
Same settings for both Gmail domains: addresses ending in @gmail.com and the older @googlemail.com use the identical servers on this page. A Google Workspace address on your own domain uses the same servers too, but the admin controls differ. See the Google Workspace guide for those.

Gmail Webmail Login#

You can always read your mail in a browser. The official sign in pages are:

Webmail

mail.google.com

Account Security

myaccount.google.com

Password Recovery

accounts.google.com

Watch out for fake support pages. Search results for "Gmail help" are full of third party sites that post a phone number and push a paid setup call. Google and Univik never ask you to phone a number to enter server settings. Everything you need is free on this page.

How Sign In Works#

IMAP is already on for most Gmail accounts, so there is no toggle to flip. The part that actually decides whether your app connects is the password. Gmail gives you two ways in. Your normal Google password is neither of them.

Option A: OAuth

The modern path. Your app opens a Google sign in window and you approve it. Google hands the app a token. You never type a password into the app. Recent Outlook, Apple Mail, the Gmail app and Thunderbird all support this.

Option B: App password

A 16 character code you generate once and paste in place of your password. Use it for older clients, scanners and scripts that cannot open a Google window. It needs 2-Step Verification on first.

OAuth sign in, three steps 1. Add accountPick Google inyour mail app 2. ApproveA Google windowopens, you say yes 3. ConnectedNo passwordever typed
OAuth is the smoothest path. If your app lists Google as a sign in choice, use it and skip app passwords entirely.
App password, three steps 1. 2-Step onSecurity tab inyour account 2. Generateapppasswordspage, name it 3. Paste code16 characters, inplace of password
No 2-Step Verification means no app password page at all. Turn it on first, then the option appears.

Gmail IMAP Settings#

IMAP is the incoming protocol most people should use. It keeps your mail on the server so every device shows the same inbox.

The three Gmail servers imap.gmail.comReceives and syncs,port 993 smtp.gmail.comSends your mail,port 587 or 465 pop.gmail.comDownloads to onedevice, port 995
Most people use only the first two. POP is for keeping a local copy on a single computer.
IMAP Serverimap.gmail.com
Port993
EncryptionSSL/TLS (required)
UsernameYour full Gmail address, including @gmail.com
PasswordApp password or OAuth. Never your normal Google password.
AuthenticationRequired

Gmail POP3 Settings#

POP3 downloads mail to 1 device. Pick it only if you want a local copy on a single computer. Not sure? See the comparison below.

POP3 Serverpop.gmail.com
Port995
EncryptionSSL/TLS (required)
UsernameYour full Gmail address
PasswordApp password or OAuth
POP still has a switch, unlike IMAP. Google left the POP toggle in place. In webmail open See all settings, then Forwarding and POP/IMAP, then choose Enable POP. Set it to keep Gmail's copy so mail does not vanish from the web after download.

Gmail SMTP Settings#

Encrypted ports only: Gmail accepts encrypted connections only. The old unencrypted ports 143 (IMAP) and 110 (POP3) never connect. Plain SMTP on port 25 is blocked too. If your app filled one of those in automatically, correct the port and turn SSL on.

SMTP handles outgoing mail. If you can read mail but not send it, the problem is here.

Encrypted ports only These connect 993 IMAPSSL 995 POPSSL 587 SMTPSTARTTLS 465 SMTPSSL These are refused 143 plain IMAP 110 plain POP 25 plain SMTP
If setup fails, check the port first. An app that defaulted to 143, 110 or 25 will never connect to Gmail.
SMTP Serversmtp.gmail.com
Port (SSL)465
Port (STARTTLS)587
EncryptionSSL or STARTTLS (required)
UsernameYour full email address
PasswordSame as incoming mail
AuthenticationRequired. Check "My outgoing server requires authentication" in Outlook.

Check Gmail IMAP Settings Online#

You don't need to download anything to check Gmail IMAP settings online. This page is the lookup: every value is verified, current and copyable straight from your browser. Not sure your address uses Gmail servers? Type it below and find out instantly.

Does my email address use these settings?

Runs in your browser only. Your address is never sent anywhere or stored.

Want to verify the account itself before configuring an app? Sign in at Gmail on the web, which confirms your address and password work, then confirm an app password exists. If both pass, any email app connects with the tables above.

Look Up IMAP Settings for Any Email Domain#

This page covers Gmail. For every other address, work email on a company domain included, we run a free online lookup database: imapsettings.com.

imapsettings.com

Complete email settings database, by Univik

Check IMAP settings online →

Enter any email address and get the incoming and outgoing server settings for that domain in 1 step:

Incoming server: hostname, port, SSL/TLS and username format
Outgoing server: SMTP hostname, port and encryption

Your address is used only to find the settings for that domain. Nothing is stored or shared.

Gmail App Password Setup#

The most common setup failure is using the wrong password. Here is which one works where:

Where you sign inRegular passwordApp password
Gmail website and the Gmail app✓ Works✗ Not needed
Outlook, Apple Mail, Thunderbird✗ Rejected✓ Required
Phone mail apps (manual IMAP setup)✗ Rejected✓ Required
Clients with a Google sign in window (OAuth)✓ WorksNot needed
Which credential works in a mail app Google passwordRefusedWorks only on the web OAuthWorksGoogle sign in window App passwordWorksNeeds 2-Step on first
Two of the three work in a mail app. Your everyday Google password is the one that will not.

How to Generate an App Password

  1. Open myaccount.google.com/apppasswords while signed in to your Google account.
  2. Turn on 2-Step Verification first if it is off. The app password page will not open without it.
  3. Type a name for the app, for example "Outlook" or "iPhone Mail".
  4. Select Create. Google shows a 16 character code in four blocks.
  5. Copy the code and paste it as the password in your email app. The spaces do not matter.
Good to know: Google shows the code once, so copy it before you close the page. Changing your Google password can cancel your app passwords, so if mail suddenly stops after a password reset, generate a fresh one.

Set Up Gmail in Email Clients#

Where an app lists Google as a sign in choice, pick it and let OAuth handle the login. Only fall back to manual servers plus an app password when that choice is missing. Jump to your app:

Outlook (Windows and Mac)

  1. Open Outlook → File → Add Account (in new Outlook, Settings → Accounts → Add account).
  2. Enter your Gmail address. New Outlook opens a Google sign in window, so approve that and you are done.
  3. For a manual IMAP account, open Advanced options, check "Let me set up my account manually", then choose IMAP.
  4. Enter the servers: imap.gmail.com port 993 (SSL) and smtp.gmail.com port 587 (STARTTLS), with a Gmail app password.
  5. Finish and send a test email to yourself to confirm both directions work.

Apple Mail (macOS)

  1. Open Mail → Settings → Accounts → Add Account.
  2. Choose Google. A Google window opens and signs you in with OAuth, so no app password is needed.
  3. Approve the access request Google shows for Apple Mail.
  4. If you prefer a manual account, pick Other Mail Account and enter the table servers with an app password.
  5. Enable Mail in the checkbox list and finish.

iPhone and iPad

  1. Open Settings → Apps → Mail → Mail Accounts → Add Account.
  2. Tap Google. Safari opens Google's sign in, which uses OAuth, so no app password is needed.
  3. Sign in and approve the access request for iOS Mail.
  4. To set it up manually instead, tap Other, then Add Mail Account, keep IMAP and use the table servers with an app password.
  5. Tap Save and wait for iOS to verify the account.

Android

  1. Open the Gmail app → tap your picture → Add another account → Google. On Android this is native and uses OAuth.
  2. Sign in with your Google account. No server details or app password needed for the Google option.
  3. For a different app like Samsung Email, choose Other, then Manual setup, then IMAP.
  4. Enter the servers: imap.gmail.com 993 SSL incoming, smtp.gmail.com 465 SSL outgoing, with an app password.
  5. Finish setup and pull down to sync your inbox.

Thunderbird

  1. Open Thunderbird → Account Settings → Account Actions → Add Mail Account.
  2. Enter your name and Gmail address, then select Continue.
  3. Thunderbird detects the Gmail servers and offers OAuth2. Leave that selected and a Google window signs you in.
  4. If you chose manual setup, confirm IMAP, then imap.gmail.com 993 and smtp.gmail.com 465, with OAuth2 or an app password.
  5. Select Done. Folders sync on first open.

Gmail Webmail Settings#

Server settings connect your apps. These settings control how Gmail itself behaves. All of them live in webmail under the gear icon, then See all settings.

Signature

See all settings, then the General tab, then Signature. Signatures set here appear in webmail only. Email clients like Outlook use their own signature settings.

Vacation Auto Reply

See all settings, then General, then Vacation responder. Set start and end dates so it turns off by itself. The reply works even when your computer is off because Gmail sends it from the server.

Filters and Folders

See all settings, then Filters and Blocked Addresses, then Create a new filter. Rules made here run on the server, so they sort mail before your phone or Outlook ever sees it. Client side rules only run while that app is open.

Spam and Blocked Senders

Open a message and choose Block sender. The Filters and Blocked Addresses tab handles many senders at once. Blocked mail goes straight to Spam rather than your inbox.

POP3 vs IMAP#

FeatureIMAPPOP3
Where mail livesOn the Gmail serverDownloaded to 1 device
Multiple devices✅ Everything stays in sync❌ Each device sees different mail
Sent and deleted mail✅ Synced everywhere⚠️ Stays only on that device
Offline reading⚠️ Cached mail only✅ Full local copy
Server storage usedYes, counts against your quotaCan be freed after download
Best forPhone + computer, everyday useSingle PC, local archives
Our verdict: pick IMAP unless you have a clear reason not to. If you want a permanent offline archive of your Gmail mailbox, a backup tool does that job better than POP3.

Gmail Sending and Storage Limits#

Hit a limit and Gmail blocks sending for up to 24 hours. Know the numbers before you bulk forward or migrate a mailbox:

Emails per day (free Gmail)500 through a mail client
Recipients per message500
Attachment size limit25 MB, larger files go as Drive links
Mailbox storage15 GB, shared with Drive and Photos
IMAP connections per account15 at once
What happens at the limitTemporary 24 hour send block, error 550 5.4.5 daily quota exceeded

Troubleshooting Gmail Connections#

Find the exact error your email app shows, then apply the fix:

Error you seeWhat it meansFix
Username and password not accepted You entered your normal Google password Gmail rejects it in apps. Set the account up with the Google (OAuth) option or paste a 16 character app password instead.
The app password page will not open 2-Step Verification is off Turn on 2-Step Verification first. The app password option only appears once it is on.
Cannot connect to server Wrong port or encryption Check IMAP 993 SSL and SMTP 465 or 587. Antivirus and VPN apps can also block these ports.
Deleting in the app also empties it from Gmail IMAP deletes sync to the Bin Deleted mail lands in the Gmail Bin and is purged after 30 days. Set your app to Archive instead of Delete or change where it moves deleted messages.
Messages stuck in Outbox SMTP authentication is off Enable "outgoing server requires authentication" with the same login as incoming mail.

Reader Reported Fixes

Two fixes that come up again and again in Gmail setups, beyond the error table above.

Use the Google option instead of manual IMAP. People often fight app passwords on an iPhone or Mac when the built in Google choice signs in with OAuth in two taps and needs no code at all. If manual setup keeps failing, delete the account and pick Google.

Regenerate the app password after a password change. A common report is mail that worked for weeks then died overnight. It usually lines up with a Google password reset, which can void old app passwords. Generate a fresh one and paste it in.

Moving to Gmail?#

Gmail is usually the account people move to, not away from. Once your Gmail is set up with the servers above, bringing an old mailbox across is the next step.

Pull your old mail into Gmail. Gmail can import from another account under Settings, then See all settings, then Accounts and Import, then Import mail and contacts. It fetches your old messages over POP and keeps checking for a while.

Want a clean, folder by folder copy instead? The Univik Email Migration Tool copies every folder straight across. Enter your old account's IMAP settings on one side and imap.gmail.com with a Gmail app password on the other.

Closing the old account? Back it up first. Legacy ISP mailboxes are sometimes deleted after the service is cancelled and there is no recovery once that happens.

Rather not do it yourself? Our Email Migration Services team plans and runs the whole transfer for you and verifies every folder arrived.

Use These Settings in Univik Email Backup#

The same IMAP settings above let you download your complete Gmail mailbox to your computer. Univik Email Backup saves everything as PST, MBOX, EML or PDF files you keep forever, even if the account closes.

  1. Download Univik Email Backup and install it on Windows.
  2. Select Gmail from the source list. If it isn't listed by name, choose IMAP.
  3. Sign in with your full email address and your app password. Your regular password won't work here either.
  4. If the tool asks for server details, use imap.gmail.com with port 993 and SSL from the IMAP table above.
  5. Pick a saving format and folder, then start the backup. Large mailboxes download in the background.
Why back up before switching providers: POP3 only grabs the inbox and vacation replies to a closed account bounce. A full IMAP backup keeps every folder, attachment and date stamp in files any email app can open later. Moving to a new account instead of archiving? Use the email migration tool to copy mail directly between accounts.

Email Settings Glossary#

IMAP

Internet Message Access Protocol. Reads mail that stays on the server, so all your devices see the same inbox, folders and read status.

POP3

Post Office Protocol version 3. Downloads mail to 1 device and can remove it from the server. Older method, still useful for local archives.

SMTP

Simple Mail Transfer Protocol. Sends your outgoing mail. Every account needs it next to IMAP or POP3, which only receive.

SSL / TLS / STARTTLS

Encryption for the connection. SSL/TLS encrypts from the start (ports 993, 995, 465). STARTTLS upgrades a plain connection (port 587).

App Password

A 16 character code that replaces your real password inside email apps. Safer because you can revoke 1 app without changing your main password.

OAuth

Sign in through the provider's own window instead of typing a password into the app. The modern method most providers are moving to.

How We Verify These Settings#

Univik builds email backup, migration and converter software since 2013. Our tools sign in to Gmail over IMAP and SMTP every day for thousands of users, so a changed server, port or login rule shows up in our connection logs before most guides notice it.

Every value on this page is confirmed with 3 checks: a live IMAP and SMTP connection from Univik Email Backup, a comparison against Google's official documentation and a fresh app password generated through the current account security flow. We re verify after any Google announcement and at least once a quarter.

Found something that no longer matches what Google shows you? Tell us and we will retest and update the page, with the change logged in what changed recently.

 Help & Support

Frequently Asked Questions

Incoming is imap.gmail.com on port 993 with SSL. Outgoing is smtp.gmail.com on port 587 with STARTTLS. Port 465 with SSL also works. Sign in with your full Gmail address and an app password or OAuth, never your normal Google password.

Google retired Less Secure Apps, so your account password no longer works over IMAP, POP or SMTP. The password is right, the method is blocked. Either sign in with the Google (OAuth) option or generate a 16 character app password and use that instead.

IMAP for almost everyone. It keeps your phone, computer and Gmail on the web in sync. POP3 fits only a single computer where you want a local download. It still needs turning on in Gmail settings first. Full comparison here.

For most accounts, no. Google removed the IMAP on and off switch, so IMAP is on by default and there is nothing to enable. POP is different: it still has a toggle under Settings, then See all settings, then Forwarding and POP/IMAP.

No. Google shows an app password only once. Delete the old one at myaccount.google.com/apppasswords and generate a new one. It takes under a minute and does not affect your other apps.

Yes, when you sign in with OAuth or an app password and keep 2-Step Verification on. Check the apps with access at myaccount.google.com now and then and remove any you no longer use.

An email client with IMAP downloads mail as it syncs, but a dedicated backup tool is faster and saves standard files you can open anywhere. See how to back up your Gmail mailbox. Google Takeout can also export your mail as an MBOX file, which an email converter turns into PST, PDF or whatever your new app opens.

Google retired password only sign in, which breaks setups that never changed on your side. Personal Gmail lost it in May 2022 and Workspace accounts on March 14, 2025. The fix is a new app password or moving the account to the Google sign in option.

An email migration tool copies mail directly between the 2 accounts over IMAP. You need the Gmail IMAP settings and an app password for this side, plus the same details for the destination account. Every folder, label and date stays intact.

If setting this up feels risky or you have many accounts to move, our managed email migration service does the entire job for you.

Other Email Provider Settings

Summary: Gmail Settings at a Glance

  • IMAP: imap.gmail.com, port 993, SSL/TLS
  • POP3: pop.gmail.com, port 995, SSL/TLS
  • SMTP: smtp.gmail.com, port 465 or 587
  • Username is your full Gmail address
  • OAuth or an app password, never your Google password
  • App passwords need 2-Step Verification on first
  • Pick IMAP for phone and computer sync
  • Sending limit: 500 emails per day on free Gmail