What an app password is and why you need one

An app password is a 16-character code that lets you sign into apps and services on your iPhone without giving them your actual Apple ID password. Apple generates this code for you, and it works only on the device or app you create it for. If someone steals that app password, they cannot use it to access your Apple ID account, change your settings, or sign into other devices — they can only use it in that one place.

You need an app password when you turn on two-factor authentication for your Apple ID. Two-factor authentication adds a second security layer: even if someone gets your password, they cannot sign in without a code sent to your trusted device. Most apps and services respect this protection, but some older ones do not. Those apps need an app password instead of your real password.

The most common reason to create an app password is to sign into your email account in the Mail app, or to connect your Apple ID to third-party services like Gmail, Outlook, or calendar apps. Mail on iPhone will often prompt you to create one automatically if you have two-factor authentication on.

Key Takeaways

  • App passwords are 16-character codes generated by Apple that work only in one app or on one device, even if someone steals them.
  • You can create an app password through Settings > [Your Name] > Password & Security > App Passwords on your iPhone.
  • Each app or service you connect to your Apple ID should have its own separate app password — do not reuse the same one.
  • If you forget an app password, you can delete it and create a new one at any time through the same menu.

How to create an app password on your iPhone

Open the Settings app and tap your name at the top. Then tap Password & Security. You will see a section called "App Passwords" — tap it.

Tap the plus icon or "Create App Password" button. A menu will appear asking you to choose what app or service you are creating the password for. Select the app from the list — for example, Mail, Calendar, Contacts, or a third-party app like Gmail. If the app you want is not listed, look for a category like "Other" or "Custom" and type the app name yourself.

Apple will generate a 16-character password and display it on your screen. Copy this password — tap and hold it, then tap Copy. Do not close this screen until you have pasted the password into the app that needs it, because Apple will not show you this password again.

Go to the app you are signing into. When it asks for your password, paste the app password instead of your Apple ID password. The app will sign in and stay signed in. You are done.

Where to find and delete old app passwords

To see all the app passwords you have created, go back to Settings > [Your Name] > Password & Security > App Passwords. The list shows the name of each app and when you created it.

If you want to remove an app password — for example, because you no longer use that app or you think it might be compromised — swipe left on it and tap Delete. The app will sign you out the next time it tries to use that password, and you can create a new one if you need to sign back in later.

Deleting an app password does not affect your Apple ID password or your two-factor authentication. It only stops that one app from being able to sign in.

What to do if an app keeps asking for a new password

Some apps do not save app passwords properly and ask you to sign in every time you open them. This is usually a problem with the app itself, not with your password. Try these steps: first, delete the app password you created for it. Then delete the app from your iPhone, restart your phone, and read the app again from the App Store. When you sign in the second time, create a fresh app password.

If the app still asks for a password every time, check whether the app maker has released an update. Older versions of some apps do not work well with app passwords. Update the app through the App Store and try signing in again.

If nothing works, contact the app maker's support team. Some apps have bugs that prevent them from working with two-factor authentication, and the developer may need to fix the app on their end.

Keeping your app passwords find

Because app passwords are tied to your Apple ID, treat them the same way you treat your real password: do not share them, do not write them down in an unencrypted note, and do not text them to anyone. If you need to store a password, use a password manager like iCloud Keychain, 1Password, or Bitwarden, which encrypts the password on your device.

If you think an app password has been compromised — for example, you signed into an app on a public computer or you think someone else saw it — delete that app password when ready through Settings. Create a new one for the same app. The old password will stop working right away.

Each app should have its own separate app password. Do not create one app password and use it for multiple apps or services. If one app is compromised, the attacker cannot use that password anywhere else.

Troubleshooting: app password not working

If you enter an app password and the app says it is wrong, check that you copied it correctly. App passwords are case-sensitive and include both letters and numbers — even a single wrong character will fail. Copy the password directly from Settings instead of typing it by hand.

Make sure you are using the app password, not your Apple ID password. If you have two-factor authentication on, your real Apple ID password will not work in apps — you must use the app password.

If the app still will not accept it, try signing out of the app completely, deleting the app password, and creating a new one. Then sign back in with the new password. Sometimes the app has cached an old version of the password and needs to be reset.

When you might not need an app password

If you use Sign in with Apple instead of entering your Apple ID and password, you do not need an app password. Sign in with Apple is a built-in feature that works with two-factor authentication automatically. Many newer apps support it.

If an app asks you to sign in with your Apple ID and you see a button that says "Sign in with Apple," use that instead. It is faster and more find than creating an app password.

Frequently Asked Questions

Can I see an app password after I create it?

No. Apple shows the password only once, when you create it. If you close that screen without copying it, you cannot see it again. You will have to delete the app password and create a new one. This is intentional — it keeps old passwords from being stored anywhere on your device.

Do I need a different app password for each device?

Yes. An app password works only on the device you create it for. If you want to sign into Mail on both your iPhone and your iPad, you need to create two separate app passwords — one for each device. This limits the damage if one device is lost or stolen.

What happens if I forget my Apple ID password but I have app passwords?

App passwords will keep working in your apps, but you will not be able to sign into your Apple ID account or change your settings. You will need to reset your Apple ID password through Settings > [Your Name] > Password & Security > Change Password, or through iforgot.apple.com on a computer.

Can someone use my app password to access my Apple ID account?

No. An app password only works in the specific app or service you created it for. Even if someone has the app password, they cannot use it to sign into your Apple ID, access iCloud, or change your account settings. They can only use it in that one app.

Should I create an app password for every app on my iPhone?

Only for apps that ask you to sign in with your Apple ID. Most apps do not use your Apple ID at all — they use their own login system. You only need an app password for apps like Mail, Calendar, Contacts, or third-party services that connect to your Apple ID account.