Add Gmail to Mac Mail: Google Sign-In or App Password

By the Sunroom teamPublished Updated 6 min readTested on macOS 26.5

Add Gmail to Mac Mail: Google Sign-In or App Password
On this page
  1. How do I add Gmail to Apple Mail on a Mac?
  2. When do I need a Gmail app password?
  3. How do I create a Gmail app password?
  4. What are Gmail's IMAP and SMTP settings?
  5. Sign in with Google vs app password
  6. Why won't Gmail connect even after signing in?
  7. How Sunroom does it
  8. FAQ

Short answer: To add Gmail to Apple Mail, choose Mail › Add Account › Google and sign in with Google on Google's own page. No app password needed. Use a 16-character app password only for a mail app that has no "Sign in with Google" option; it requires 2-Step Verification and isn't available on work or school accounts. Since January 2025, Gmail's IMAP is always on, so there's nothing to enable.

Most "Gmail won't connect to my Mac" problems come from old instructions. Guides from a few years ago tell you to turn on IMAP, allow "less secure apps", and paste your Google password into the mail app. None of that applies any more. Google now expects mail apps to use its sign-in page, and keeps app passwords as a fallback.

Here's which route to take, step by step, on macOS 26 Tahoe and later.

How do I add Gmail to Apple Mail on a Mac?

Apple Mail supports Google's sign-in, so this is the easy path.

  1. Open Mail and choose Mail › Add Account.
  2. Enter your Gmail address, or choose Google from the list of providers, then click Continue.
  3. Google's sign-in page opens. Enter your Gmail address and password, and complete 2-Step Verification if asked.
  4. Allow macOS to access your Google Account.
  5. Make sure Mail is selected in the list of apps (you can also add Contacts and Calendars), then click Done.

Apple documents this in Add and manage email accounts in Mail on Mac. If your Google account is already on the Mac for Calendar or Contacts, you don't need to add it again. Choose Mail › Accounts to open Internet Accounts, select the Google account, and turn on Mail.

When do I need a Gmail app password?

Only when a mail app can't show Google's sign-in page. Google is blunt about it: app passwords "aren't recommended and are unnecessary in most cases", and you should use Sign in with Google wherever the app supports it (Google Account Help).

You might still need one for an older mail client, a scanner that emails documents, or a script that sends mail.

How do I create a Gmail app password?

  1. Turn on 2-Step Verification in your Google Account if it isn't on already. App passwords only work with it.
  2. Go to myaccount.google.com/apppasswords and sign in.
  3. Type a name you'll recognise later, such as "Old Mac mail app", and click Create.
  4. Copy the 16-character password Google shows. You won't see it again.
  5. In your mail app, use your full Gmail address as the user name and the app password as the password.

Google lists three reasons the App passwords page may be missing (Google Account Help):

  • your 2-Step Verification uses security keys only
  • you're signed in to a work, school or other organisation account
  • your account has Advanced Protection

Google also revokes every app password when you change your Google password. If an old app suddenly stops connecting after a password change, make a new app password.

What are Gmail's IMAP and SMTP settings?

If an app asks for servers by hand, these are the values Google gives in its third-party client setup guide:

Setting Value
Incoming (IMAP) server imap.gmail.com
IMAP port and security 993, SSL
Outgoing (SMTP) server smtp.gmail.com
SMTP port and security 465 (SSL) or 587 (TLS)
User name Your full Gmail address
Password Sign in with Google, or an app password

You don't need to switch anything on in Gmail first. Google's help says that starting January 2025, IMAP access is always turned on and the Enable IMAP option is gone (Gmail Help). The same page says Gmail "no longer supports third-party apps or devices which require you to share your Google username and password", and that one account can be added to up to 15 email clients at a time.

Sign in with Google vs app password

Sign in with Google App password
Works in Apple Mail Yes, via Mail › Add Account › Google Possible, but not needed
Needs 2-Step Verification No (recommended) Yes
Work or school accounts Yes; Google Workspace requires this kind of sign-in No
Google's advice Use this Last resort

Why won't Gmail connect even after signing in?

  • Old app version. Google's help says older mail apps may not support current security standards. Update the app first.
  • Stale account. Remove the Gmail account from the app and add it again with Sign in with Google, which is also what Google suggests (Gmail Help).
  • Too many folders. For huge mailboxes, Google suggests limiting IMAP to folders with 10,000 messages or fewer if downloads are slow or the app crashes.

Once Gmail is in, you may want different sign-offs per address; see email signatures for multiple accounts. And if Gmail labels and Mail rules disagree, our guide to Mac Mail rules not working covers server rules versus Mac rules.

How Sunroom does it

Every other mail app makes you sign in again and keeps its own copy of your mail. Sunroom Mail doesn't. It uses the accounts already in Apple Mail and reads its mail on your Mac. Sending, moving and flags go through Apple Mail, which keeps syncing in the background, so nothing new needs your password: no second Google sign-in and no app password.

Sunroom Mail's inbox, with the iCloud and Work accounts from Apple Mail listed in the sidebar and split-inbox tabs across the top
Sunroom Mail's inbox, with the iCloud and Work accounts from Apple Mail listed in the sidebar and split-inbox tabs across the top

So add Gmail to Apple Mail once, with Sign in with Google, and Sunroom picks it up with a split inbox, a Screener for first-time senders and instant search across every mailbox. You can keep using Apple Mail too, and switch back any time.

Comparing other Gmail-friendly apps? See our roundup of the best email apps for Mac, or browse the Mail hub.

FAQ

Do I need an app password to add Gmail to Apple Mail?

No. Apple Mail supports Sign in with Google: choose Mail > Add Account > Google and sign in on Google's page. App passwords are only for apps that can't do this.

Why can't I find the App passwords option in my Google Account?

Google hides it unless 2-Step Verification is on. It's also unavailable on work or school accounts, accounts using only security keys for 2-Step Verification, and accounts with Advanced Protection.

Do I need to turn on IMAP in Gmail settings?

No. Since January 2025, IMAP access is always on in personal Gmail accounts and the Enable IMAP option is gone.

What are Gmail's IMAP and SMTP server settings?

Incoming imap.gmail.com, port 993, SSL. Outgoing smtp.gmail.com, port 465 (SSL) or 587 (TLS). The user name is your full Gmail address.

Why did my Gmail app password stop working?

Google revokes all app passwords when you change your Google Account password. Create a new one at myaccount.google.com/apppasswords.

Fix your Mac the way Apple didn't.

Sunroom adds better Files, Calendar, Mail and Music apps, a live Home screen and Ray, an AI agent that asks before it acts. Join the waitlist for the private beta.

One email to confirm, then your download link when your place opens. A few updates after that. Unsubscribe any time. Privacy