How to Create an App Password for iCloud Mail (2026)

Published on 12 Nov 2026

You type your iCloud email and password into Outlook, hit Connect, and… it fails. Your password is right. The problem is that Apple doesn't let third-party apps use your main password at all. They need an app-specific password instead — and creating one takes about two minutes.

What Is an App-Specific Password?

It's a separate, random password Apple generates for one app. Your real password stays private, and if you ever stop using that app, you can revoke its password without changing anything else. Apple requires them for any non-Apple app that reads your iCloud Mail, Calendar or Contacts.

Before You Start

Your Apple Account needs two-factor authentication turned on. Most accounts already have it. If yours doesn't, Apple will prompt you to set it up first.

Create the Password

  1. Go to account.apple.com and sign in.
  2. Open Sign-In and Security.
  3. Click App-Specific Passwords.
  4. Click Generate an app-specific password (or the + button).
  5. Give it a name you'll recognize, like "Outlook laptop".
  6. Enter your Apple Account password if asked.
  7. Copy the password Apple shows you — it looks like abcd-efgh-ijkl-mnop.

Paste it into your email app straight away. Apple won't show it again, though you can always generate a new one.

Mail Settings You'll Need

Most apps detect iCloud automatically. If yours asks for manual settings, use these:

Incoming mail (IMAP)

  • Server: imap.mail.me.com
  • Port: 993, SSL/TLS
  • Username: usually the part of your address before the @ (try the full address if that fails)
  • Password: your app-specific password

Outgoing mail (SMTP)

  • Server: smtp.mail.me.com
  • Port: 587, STARTTLS
  • Username: your full iCloud email address
  • Password: the same app-specific password

Managing Your App Passwords

Back in Sign-In and Security → App-Specific Passwords, you'll see every password you've created. Revoke any you no longer use — for example, after selling a laptop. Note that if you change your main Apple Account password, Apple revokes all app-specific passwords, so you'll need to generate new ones.

Still Not Connecting?

  • Double-check there are no spaces before or after the pasted password.
  • Make sure the app is set to SSL/TLS on the right ports.
  • Try the full email address as the IMAP username.
  • Generate a fresh app password and try once more.

Need help with the first sign-in itself? See our iCloud sign-in guide. Using Yahoo too? The process is similar — here's how to set up a Yahoo app password.

Looking for a separate iCloud address for work? Browse our iCloud accounts.