Skip to content

How to Add an Email Account to Mail on Mac

Add any account to Apple Mail on macOS — the quick route for Gmail, iCloud, Outlook and Yahoo, the manual route for everything else, and the checkbox that hides the port fields.

Jump to your problem 6
  1. Add a Gmail, iCloud, Outlook or Yahoo account
  2. Add any other account
  3. Where Mail hides the ports afterwards
  4. The outgoing server is a shared list
  5. Server settings for common providers
  6. If Mail will not connect

Mail on a Mac sets up the big providers for you and hides everything else behind one checkbox. Both halves are below: the quick route for Gmail, iCloud, Outlook.com and Yahoo, and the manual route for everything else.

Add a Gmail, iCloud, Outlook or Yahoo account

  1. Choose Mail › Add Account.
  2. Pick the provider from the list, or choose to enter an email address and let Mail match the domain.
  3. Click Continue and follow the prompts.

For these, Mail opens the provider’s own sign-in window rather than asking for a password directly. That is the modern sign-in doing its job, and it is why these accounts need no server settings at all.

Still not working? Add any other account

Add any other account

Choose Mail › Add Account and pick the option to add another mail account. Mail asks for your name, address and password, tries to work the rest out, and falls back to asking for the incoming and outgoing hosts when it cannot.

Have the values ready before you start — the Email Settings Finder returns what your provider publishes, with the source it came from.

Where Mail hides the ports afterwards

This is the part that catches people. To see or change a port, go to Mail then Settings then Accounts, select the account, then Server Settings. Each of the incoming and outgoing sections has Automatically manage connection settings ticked by default, and while it is ticked the Port, Use TLS/SSL and Authentication fields are not shown at all.

Untick it and they appear. If you have been told to use a particular port and cannot find the box to type it into, this is why — nothing is wrong with the account.

The outgoing server is a shared list

Apple Mail does not keep an SMTP server per account. The outgoing section has an Account menu with an Edit SMTP Server List option, and that list is shared across every account in Mail.

Two consequences are worth knowing before you edit anything. Changing a server in that list changes it for every account using it, not only the one you had selected. And a server you removed an account for often stays in the list, so it is normal to find entries there you no longer recognise — the account picker is where you confirm which one this account actually sends through.

Incoming settings have their own Advanced IMAP Settings button for the things below the hostname, such as which folders Mail treats as Sent and Trash.

Server settings for common providers

ProviderIncoming (IMAP)Outgoing (SMTP)
Gmailimap.gmail.com, 993, SSLsmtp.gmail.com, 587, TLS
Outlook.comoutlook.office365.com, 993, SSLsmtp-mail.outlook.com, 587, STARTTLS
Yahoo Mailimap.mail.yahoo.com, 993, SSLsmtp.mail.yahoo.com, 465, SSL
iCloud Mailimap.mail.me.com, 993, SSLsmtp.mail.me.com, 587, SSL

iCloud is the odd one: Apple states the IMAP username is usually the name part of the address rather than the whole thing, while SMTP takes the full address.

If Mail will not connect

Most failures here are not the hostname. Gmail, Yahoo, iCloud and others expect an app password rather than your account password, and Outlook.com needs POP or IMAP switched on in the account first. The connection troubleshooter walks through the four causes in the order they usually turn out to be the problem.

How this guide was checked · November 2026

Verified against 5 official sources

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

  1. 01 Apple Support: Add and manage email accounts in Mail on Mac support.apple.com
  2. 02 Apple Support: Change server settings in Mail on Mac support.apple.com
  3. 03 Apple Support: iCloud Mail server settings for other email client apps support.apple.com
  4. 04 Google Workspace Admin Help: Set up Gmail with a third-party email client support.google.com
  5. 05 Microsoft Support: POP, IMAP, and SMTP settings for Outlook.com support.microsoft.com

Questions

Frequently asked questions

Why can I not see the port field in Apple Mail?

Because Automatically manage connection settings is ticked. It sits in Mail › Settings › Accounts › Server Settings, in both the incoming and outgoing sections, and while it is on Apple hides Port, Use TLS/SSL and Authentication entirely. Untick it and the fields appear.

Do I need server settings for a Gmail or iCloud account on a Mac?

No. Picking the provider from Mail's own list opens that provider's sign-in window and configures everything, so there is nothing to type. Server settings are only for accounts added as another mail account.

What is the IMAP username for iCloud Mail?

Apple states it is usually the name part of your address rather than the whole address — its own example is johnappleseed — while the outgoing server takes the full address. The two fields genuinely differ.

Mail says the password is incorrect but it is right. Why?

Most large providers refuse an account password in a mail app and expect a generated app password instead. Gmail, Yahoo, iCloud, AOL and Fastmail all work this way.

Related guides

Keep reading

Getting Started App Setup

How to Add an Email Account to Thunderbird

Set up any account in Thunderbird: what its automatic configuration guesses from your address, how to reach the manual fields, and what each one expects.

3 min read

Getting Started App Setup

How to Add an Email Account to Outlook for Windows

Add Gmail, Yahoo, iCloud, Outlook.com or any IMAP account to the new Outlook for Windows or classic Outlook — including manual IMAP/POP setup and app passwords.

4 min read

Getting Started App Setup

How to Add an Email Account to iPhone or iPad Mail

Add Gmail, Outlook, Yahoo, iCloud or any other email account to the Mail app on iPhone and iPad — automatic setup, manual IMAP settings, and fixes when the password is rejected.

4 min read

Posteo Login

Posteo Login: Turn On Recovery Before You Need It

Signing in to Posteo is ordinary. Getting back in is not: the "forgotten password" feature only works if you switched it on beforehand, and with calendar encryption enabled a reset costs you your contacts. What to set up now, and what support can and cannot reach.

4 min read

Posteo Sign Up

Posteo Sign Up: 1 EUR a Month, No Name Required

Posteo has no free tier and no registration form asking who you are. What the three steps actually ask for, the password rules enforced on the way, every payment method including cash by post, and why the mailbox stays silent until the money arrives.

4 min read