What an app password is and when you need one
An app password is a 16-character code that lets older apps and devices sign into your Gmail account without using your main password. Gmail generates it specifically for that app or device. You need one when you're using an email client like Outlook, Thunderbird, or Apple Mail on your computer, or when you're setting up Gmail on your phone's built-in mail app — not the Gmail app itself, which handles login differently.
The reason Gmail requires this extra step is security. If you gave your real password to every app and device, and one of them got hacked, someone would have access to your actual Gmail password and could change it, lock you out, or access other accounts that use the same password. An app password only works for that specific app or device, so if it leaks, your main Gmail account stays protected.
You can only create an app password if you've turned on two-step verification for your Gmail account. If you haven't done that yet, you'll need to set it up first — Gmail will walk you through it before letting you create app passwords.
Key Takeaways
- App passwords work only with older email clients and devices, not with the Gmail app on your phone or the Gmail website.
- You must have two-step verification turned on before you can create an app password.
- Each app or device gets its own unique 16-character password that you enter once during setup.
- You can delete an app password at any time if you stop using that app or device, and it won't affect your main Gmail password.
How to turn on two-step verification first
Go to myaccount.google.com and sign in with your Gmail address and password. On the left side, click Security. Scroll down until you see Two-Step Verification and click it.
Click the blue get your free guide button. Google will ask you to confirm your password again, then ask which phone number to use. You can choose to receive a code by text message or phone call. Enter your phone number, choose your method, and click Send. Google will send you a code — type it in and click Turn On. You're done with two-step verification.
Steps to create your app password
Go back to myaccount.google.com and sign in. Click Security on the left. Scroll down to App Passwords — you'll only see this option if two-step verification is on. Click it.
A box will pop up asking you to select an app and a device. For the app, choose what you're using — for example, Outlook, Mail (for Apple Mail), Thunderbird, or Other (custom name). For the device, choose Windows, Mac, iPhone, Android, or Other. Then click Generate.
Google will show you a 16-character password in yellow. Copy this password — don't take a screenshot, just copy and paste it. You'll paste it into your email app next, and you won't see it again. If you close this box without copying it, you'll have to generate a new one.
How to use the app password in your email client
Open the email app on your device — Outlook, Apple Mail, Thunderbird, or whatever you're using. When it asks for your Gmail password, paste the 16-character app password instead of your real Gmail password. Leave your email address as your full Gmail address (for example, yourname@gmail.com).
The app will sign in and stay signed in. You won't need to enter the app password again unless you uninstall the app or clear its data. If you later delete the app password from your Google account, that app will stop being able to sign in — it won't affect any other apps or your main Gmail account.
Managing and deleting app passwords
You can see all your app passwords anytime by going to myaccount.google.com, clicking Security, and scrolling to App Passwords. The list shows which app and device each password is for, and when it was created.
If you stop using an app or device, click the trash icon next to that password to delete it. This removes that app's access to your Gmail, but it doesn't change your main password or affect any other apps. You can create a new app password for the same app later if you need to.
Troubleshooting common problems
If you don't see the App Passwords option in your Security settings, two-step verification isn't turned on yet. Go back and follow the two-step verification steps above. Some Google accounts — like those managed by a school or employer — don't allow app passwords at all, even with two-step verification on. If that's you, contact your account administrator.
If an app says your password is wrong after you've pasted the app password, make sure you copied the entire 16-character code with no extra spaces. Some email clients add spaces automatically — if that happens, delete them. If the app still won't accept it, delete the app password and generate a new one.
If you've forgotten which app password goes with which device, you can delete it and create a new one. There's no way to view a password after you've closed the generation box, so if you lose track of it, deletion and regeneration is the only option.
Frequently Asked Questions
Do I need an app password for the Gmail app on my phone?
No. The Gmail app on Android and iPhone handles login differently and doesn't use app passwords. You only need an app password for older email clients like Outlook, Apple Mail, or Thunderbird, or for setting up Gmail in your phone's built-in mail app.
Can I use the same app password on multiple devices?
Technically yes, but it's not recommended. Each device should have its own app password so you can delete one without affecting the others. If you delete a password that multiple devices use, all of them will lose access at once.
What happens if someone gets my app password?
They can only access Gmail through that specific app or device. They can't change your main password, turn off two-step verification, or access other accounts. Delete the app password when ready from your Security settings, and the person loses access.
Can I change an app password after I create it?
No. App passwords can't be edited — you can only delete them and create a new one. If you want to change a password, delete the old one and generate a fresh 16-character code for that app or device.
How many app passwords can I create?
Google doesn't publish a hard limit, but you should only create one per app or device you actually use. Creating dozens of unused passwords makes your account harder to manage and creates unnecessary security risk.