Originally published at syncdate.app.
An Apple app-specific password is a separate password that lets an app from another developer sign in to your Apple Account, so you do not give that app your main password. You create it at account.apple.com, paste it into the calendar app, and revoke it there when you no longer need it. You need two-factor authentication on your Apple Account first.
Calendar apps from other developers often ask for one when they connect to iCloud over CalDAV. If the app shows "Unauthorized" or "wrong password", the cause is usually one of five simple mistakes. They are listed below in the order to check them.
We make SYNCDATE, a hosted calendar sync tool that connects to iCloud this way. This guide is about the Apple password itself. We checked the linked sources on November 30, 2026.
What an app-specific password is, and when you need one
Apple says app-specific passwords let you sign in to your Apple Account in apps made by developers other than Apple (Apple Support). Apple's own apps do not need one. A calendar tool, a scheduling tool or a desktop mail client from another company may.
You normally need one when an app connects to iCloud Calendar over CalDAV and has no Apple sign-in button. CalDAV is an open standard for reading and writing calendars on a server. It is defined in RFC 4791.
Some apps now use a newer Apple sign-in instead. See the section on Apple's "Allow" sign-in below.
Before you start: turn on two-factor authentication
Apple says your Apple Account must be protected with two-factor authentication to create and use app-specific passwords (Apple Support). Most accounts have it already. Apple says that if your account was created with two-factor authentication, this protection cannot be removed (Apple Support).
If yours is off, sign in at account.apple.com and follow the steps to upgrade your account security. On an iPhone or iPad, open Settings, tap your name, then Sign-In & Security. Apple's two-factor page has the full steps.
Create an app-specific password
Create an app-specific password in four steps
- Sign in at account.apple.com. Go to account.apple.com and sign in with your Apple Account. This is the current address. Older guides point to appleid.apple.com.
- Open Sign-In and Security. In the Sign-In and Security section, select App-Specific Passwords.
- Generate the password. Select Generate an app-specific password, then follow the steps on your screen. If you are asked for a name or label, use the name of the app, so you can find it in the list later.
- Copy it into the app. Enter or paste the app-specific password into the password field of the app when you sign in. Copy the password itself, not the label you typed.
These steps follow Apple's create and use page. Apple tells you to follow the steps on screen after you select Generate. We did not create a password on a live account for this guide, so we do not describe the exact screens after that button.
Use it in a calendar app over CalDAV
A CalDAV account needs three things: a server, a user name and a password. Apple's deployment guide lists a host name, a user name and a password among the fields of a CalDAV account.
For iCloud, enter these:
- User name: your Apple Account email address.
- Password: the app-specific password. Not your Apple Account password.
- Server: many apps fill this in for you. Check your app's own help if it asks.
The app does not need the exact address of your calendar. A CalDAV client starts at the server's well-known address, /.well-known/caldav, and finds your calendar from there (RFC 6764). The calendar itself is a "calendar collection" that holds the events of one calendar (RFC 4791).
Apple's newer "Allow" sign-in
Apple now offers a sign-in that needs no app-specific password. In a supported app, you enter your Apple Account email address. When Apple asks, you click Allow to authorize the app to access your data (Apple Support, published October 2025). Apple's main page adds that for supported third-party apps that access iCloud Mail, Calendar and Contacts, you can authorize the app with your Apple Account instead of an app-specific password (Apple Support).
You still need an app-specific password when the app does not support this. Apple says: "If an app doesn't support this, you can sign in using an app-specific password instead." If you used an app-specific password before and then authorize the app with Allow, Apple says to revoke the old app-specific password.
To remove an "Allow" authorization, sign in at account.apple.com, choose Sign-In and Security, select Account Data Sharing, then choose Remove access (Apple Support).
Why it stops working: the 401 "Unauthorized" checklist
A 401 is an HTTP status code. RFC 9110, section 15.5.2 says a 401 (Unauthorized) means the request has not been applied because it lacks valid authentication credentials for the target resource. For you, that means iCloud did not accept the user name and password the app sent. Check these in order.
- You typed the label, not the password. The label is the name the password has in Apple's list. The password is the code Apple generated. Paste the generated code.
- The user name is wrong. Use the Apple Account email address. Some apps want the full address, not a short name.
- You changed or reset your Apple Account password. Apple says any time you change or reset your primary Apple Account password, all of your app-specific passwords are revoked automatically. Generate a new one for each app you still use (Apple Support).
- You or someone else revoked it. Apple says the app using a removed password is signed out until you generate a new password and sign in again. Open App-Specific Passwords at account.apple.com and see whether it is still on the list.
- Extra characters came with the paste. A space before or after the password can break it. Delete the field, paste again, and check the ends.
If all five checks pass, generate a new password, give it a new label, and try again with only that app.
How long it lasts, and the 25 limit
Apple states no expiry date for an app-specific password. Its page lists only these ways a password stops working: you remove it (one at a time or with Revoke All), or you change or reset your Apple Account password.
You can have up to 25 active app-specific passwords (Apple Support). Use one password for each app. Then you can revoke one app without breaking the others.
Revoke one password or all of them
To revoke, sign in at account.apple.com. In the Sign-In and Security section, select App-Specific Passwords. Select the Remove button next to a password, or select Revoke All (Apple Support). The app that used that password is signed out of your account until you make a new one and sign in again.
Revoke a password when you stop using an app, when you stop trusting a device that holds it, or when you paste it somewhere by mistake.
Is an app-specific password safe?
Apple gives its own reason for it. To help make sure that your Apple Account password cannot be stored or collected by the app, you can choose to create a password to use only with that app (Apple Support).
Two things follow from Apple's pages. The password is a separate sign-in for apps from other developers. You can revoke it at any time without changing your main password.
The risks are the usual ones. Anyone who holds the password can sign in as that app. Treat it like a password: store it in a password manager, give each app its own, and remove ones you no longer use. Only use apps and services you trust.
Using it with SYNCDATE
SYNCDATE connects iCloud over CalDAV, and it fills in the iCloud server for you. To connect:
- Open Settings, then Accounts, then Add account.
- Choose CalDAV, then iCloud.
- Enter your Apple Account email and the app-specific password.
If the password is wrong, SYNCDATE shows "Wrong username or app password." Go through the 401 checklist above. SYNCDATE checks CalDAV calendars about every 15 minutes, so a change in iCloud appears on the other calendar on that schedule.
The Free plan allows 2 accounts, 2 calendars and 1 sync with a 30-day forward window. See the pricing page for other plans. For the full sync setup, read the iCloud Calendar sync guide or the guide to syncing iCloud Calendar to Outlook. Short steps for iCloud, Fastmail and Nextcloud are on the CalDAV app passwords help page.
Frequently asked questions
What is an Apple app-specific password?
It is a separate password that lets an app from another developer sign in to your Apple Account. You create it at account.apple.com and can revoke it at any time. Apple's own apps do not need one.
Do I need two-factor authentication to make one?
Yes. Apple says your Apple Account must be protected with two-factor authentication to generate and use app-specific passwords. Most accounts already have it on.
Where do I create an app-specific password?
Sign in at account.apple.com. In the Sign-In and Security section, select App-Specific Passwords, then select Generate an app-specific password.
Why does my app say Unauthorized or wrong password?
Check, in order: you pasted the generated password and not its label; the user name is your Apple Account email; you did not change your Apple Account password since (that revokes all of them); the password is still on your list; no extra spaces were pasted.
Does an app-specific password expire?
Apple states no expiry date. It lists only these ways a password stops working: you remove it (one at a time or with Revoke All), or you change or reset your Apple Account password. You can have up to 25 active at once.
How many app-specific passwords can I have?
Up to 25 active passwords. Make one for each app, so you can revoke a single app without breaking the others.
How do I revoke an app-specific password?
Sign in at account.apple.com, open Sign-In and Security, then App-Specific Passwords. Select Remove next to one password, or select Revoke All. The app is signed out until you make a new password.
Do I still need an app-specific password now that Apple has the Allow sign-in?
Only if the app does not support Allow. Apple says that if an app does not support it, you can sign in with an app-specific password instead. If you switch an app to Allow, Apple says to revoke its old app-specific password.
Written by the SYNCDATE team. We build SYNCDATE, a calendar sync tool.

