ICLOUD SETUP GUIDE

iCloud Mail IMAP and SMTP settings for Mac

iCloud Mail IMAP and SMTP settings for Mac, how to create an app-specific password, and fixes for iCloud authentication, two-factor, and sending errors.

Updated 2026-11-266 min readEnglish
Email envelopes and server settings connected in a simple setup diagram

QUICK ANSWER

Use imap.mail.me.com on port 993 with SSL to receive iCloud Mail, and smtp.mail.me.com on port 587 with STARTTLS to send. Use your full iCloud address as the username and an app-specific password when two-factor authentication is enabled.

iCloud Mail server settings

These are the standard iCloud Mail IMAP and SMTP settings for a third-party Mac email app.

iCloud Mail IMAP and SMTP settings
SettingIncoming mail (IMAP)Outgoing mail (SMTP)
Serverimap.mail.me.comsmtp.mail.me.com
Port993587
SecuritySSL/TLSSTARTTLS
UsernameFull iCloud Mail addressFull iCloud Mail address
PasswordApp-specific passwordApp-specific password

Which address should you use?

Use the primary iCloud Mail address, not an alias, unless the app explicitly supports alias authentication. Your Apple Account email and iCloud Mail address can be different.

If your Apple Account uses a third-party address but your iCloud Mail address ends in @icloud.com, use the @icloud.com address for the mail server login. Aliases are useful for sending and receiving, but they can complicate authentication in a generic IMAP client.

Check the address in iCloud Mail settings before you configure the app. Using the wrong login is one of the most common reasons iCloud returns an authentication error even when the password is correct.

Create an app-specific password

Sign in to your Apple Account, open Sign-In and Security, choose App-Specific Passwords, and create a password for the Mac mail app.

  • Open your Apple Account security settings.
  • Turn on two-factor authentication if it is not already enabled.
  • Choose App-Specific Passwords and create a new password.
  • Name it for the Mac or mail app you are configuring.
  • Copy the password once and paste it into the app.
  • Store it in the macOS Keychain rather than a note or chat message.

If the App-Specific Passwords option is missing, confirm that two-factor authentication is enabled for the Apple Account and that you are using the correct account.

Add iCloud Mail to Glassmail

Add an iCloud account in Glassmail, enter the full iCloud Mail address, and use the app-specific password. If automatic setup fails, enter the IMAP and SMTP servers manually.

After the account connects, verify that the Inbox, Sent, Archive, and Trash folders map correctly. Send a test message to another address and confirm it appears in the Sent folder. Check whether aliases need to be enabled separately for sending.

Common iCloud errors and fixes

Most iCloud failures come from using the Apple Account password, using an alias as the login, leaving two-factor authentication off, or choosing the wrong SMTP security mode.

iCloud connection troubleshooting
ErrorLikely causeFix
Authentication failedApple Account password usedCreate and use an app-specific password
App-specific password missingTwo-factor authentication is offEnable two-factor authentication first
Login rejected for aliasAlias used as the server usernameUse the primary iCloud Mail address
Can receive but not sendSMTP port or STARTTLS settingUse smtp.mail.me.com:587 with STARTTLS
Folders look wrongIMAP folder mappingRefresh the account and verify folder roles manually

Keep iCloud mail secure

Use an app-specific password for each mail client, keep two-factor authentication enabled, and revoke passwords you no longer need.

An app-specific password can access your iCloud Mail without exposing your main Apple Account password. Treat it like a credential. If a device is lost or an app is removed, revoke the password and create a new one.

Do not disable two-factor authentication just to make a mail client connect. Fix the client configuration or use a supported sign-in method instead.

Frequently asked questions

What is the iCloud IMAP server for Mac?

Use imap.mail.me.com on port 993 with SSL/TLS. The username is your full iCloud Mail address.

What is the iCloud SMTP server for Mac?

Use smtp.mail.me.com on port 587 with STARTTLS. The username is your full iCloud Mail address.

Do I need an app-specific password for iCloud Mail?

Yes, third-party mail apps normally need an app-specific password when two-factor authentication is enabled on your Apple Account.

Why does iCloud say my password is wrong?

The app may be using your Apple Account password, an alias, or a revoked app-specific password. Use the primary iCloud Mail address and a newly generated app-specific password.

Can I use iCloud and Gmail in one Mac app?

Yes. Glassmail supports both iCloud Mail and Gmail, along with other IMAP accounts, in one native Mac app.