iCloud Mail IMAP & SMTP Settings
The iCloud Mail IMAP settings, SMTP server and ports for any email app, plus the password rule that stops most setups. Valid for addresses ending in @icloud.com and @me.com.
Last verified: November 2, 2026
iCloud Mail server settings at a glance
| Type | Server | Port | Encryption |
|---|---|---|---|
| Incoming mail (IMAP) | imap.mail.me.com | 993 | SSL/TLS |
| Outgoing mail (SMTP) | smtp.mail.me.com | 587 | STARTTLS |
- Username (incoming): the part of your address before the @, for example johnappleseed. If that fails, use your full address.
- Username (outgoing): your full iCloud Mail address, for example johnappleseed@icloud.com
- Password: an app-specific password for both servers, not your Apple Account password (see below)
- Outgoing server: needs authentication
- SSL errors: Apple suggests trying TLS instead of SSL.
Before you connect: iCloud needs an app-specific password
Your Apple Account password doesn't work in third-party email apps. iCloud Mail requires an app-specific password, and you can only create one when two-factor authentication is on.
1. Make sure two-factor authentication is on
App-specific passwords are only available for Apple Accounts protected with two-factor authentication. Most accounts already use it.
- Sign in at account.apple.com.
- Open Sign-In and Security and check that two-factor authentication is turned on.
2. Create an app-specific password
- Sign in at account.apple.com.
- Open Sign-In and Security, then App-Specific Passwords.
- Select Generate an app-specific password and follow the steps.
- Use the password in your email app for both the incoming and the outgoing server.
You can have up to 25 active app-specific passwords. Changing your Apple Account password revokes all of them.
How to add iCloud Mail to an email app
The buttons differ from app to app. The steps are always the same:
- Before you start: create an app-specific password (see the two steps above).
- Add a new email account and choose IMAP if the app asks.
- For incoming mail, enter imap.mail.me.com (port 993, SSL/TLS) and the part of your address before the @ as the username.
- For outgoing mail, enter smtp.mail.me.com (port 587, STARTTLS), your full iCloud address as the username and turn on authentication.
- Use the same app-specific password for both servers, then send yourself a test email.
iCloud Mail connection problems and how to fix them
“Password incorrect”, but it isn't
iCloud Mail only accepts app-specific passwords in email apps. If you changed your Apple Account password recently, all app-specific passwords were revoked. Create a new one.
Incoming works, outgoing doesn't (or the other way round)
The two servers use different usernames. Incoming: the part before the @ (or the full address if that fails). Outgoing: always your full iCloud address.
SSL error when connecting
Apple suggests switching from SSL to TLS for incoming mail, and to TLS or STARTTLS for outgoing mail.
You can't create an app-specific password
App-specific passwords require two-factor authentication on your Apple Account. Turn it on first, then try again.
Using iCloud Mail with YouniqMail
YouniqMail connects to iCloud Mail with an app-specific password. Create one at account.apple.com, then add your iCloud account in YouniqMail with your iCloud address, the app-specific password and the server settings from the table above.
Your emails go straight from the provider to your computer and are stored locally. There is no YouniqMail server in between.
iCloud Mail settings FAQ
What is the iCloud Mail IMAP server?
The iCloud Mail IMAP server is imap.mail.me.com on port 993 with SSL/TLS encryption.
What is the iCloud Mail SMTP server?
The iCloud Mail SMTP server is smtp.mail.me.com on port 587 with STARTTLS. The outgoing server needs authentication.
What username do I use for iCloud Mail?
For incoming mail, the part of your address before the @, for example johnappleseed. If that fails, use the full address. For outgoing mail, always use your full iCloud Mail address.
Why does iCloud reject my Apple Account password?
Third-party email apps need an app-specific password. You create it at account.apple.com under Sign-In and Security › App-Specific Passwords. Two-factor authentication must be on.
How many app-specific passwords can I have?
Up to 25 active app-specific passwords. You can revoke them one by one or all at once.
What happens when I change my Apple Account password?
All app-specific passwords are revoked automatically. Create new ones for the apps you still want to use.
Last verified on November 2, 2026 against Apple Support: iCloud Mail server settings and app-specific passwords.
Looking for another provider? See all email server settings.