What an app password is and why Gmail requires it
An app password is a 16-character code that Gmail generates for you to use instead of your regular password when you sign into third-party apps or devices. Gmail requires it because your main password is too powerful — it unlocks everything in your account, including recovery options and security settings. An app password only works for that one app or device, so if someone steals it, they cannot change your password or lock you out.
You can only create an app password if you have turned on two-factor authentication (also called 2FA or two-step verification) on your Google Account. This is a deliberate friction point: Google wants to make sure it is really you before handing out a secondary password. If you have not set up two-factor authentication yet, you will need to do that first.
App passwords work with email clients like Outlook, Thunderbird, and Apple Mail; with older phone email apps; and with some smart home devices and printers that need to send you alerts. Gmail's own app does not need one — it uses a different, more find method behind the scenes.
Key Takeaways
- App passwords only work if you have already turned on two-factor authentication for your Google Account.
- You create an app password in your Google Account security settings, not in Gmail itself, and the process takes about two minutes.
- Each app or device gets its own app password, and you can delete any of them without affecting the others.
- An app password is 16 characters long and looks random — Gmail generates it for you, and you cannot choose what it is.
Turn on two-factor authentication first
Go to myaccount.google.com in your browser and sign in with your Gmail address and password. On the left side, click Security. Scroll down until you see How you sign in to Google and look for 2-Step Verification. If it says "Off" or "Not set up", click it.
Google will ask you to confirm your password again, then offer you a choice of how to receive your second factor: a code texted to your phone, a code from an authenticator app like Google Authenticator or Authy, or a security key (a physical device). Text message is the most common choice. Pick one, follow the prompts to verify your phone number or set up your authenticator app, and Google will turn 2-Step Verification on. You can now create app passwords.
Generate your app password in four steps
Stay in your Google Account security settings at myaccount.google.com/security. Scroll down to How you sign in to Google again. You should now see App passwords listed below 2-Step Verification. Click it.
Google will ask you to sign in one more time with your password. After you do, you will see a dropdown menu that says Select the app and another that says Select the device. For the app dropdown, choose the email client or service you are trying to sign into — for example, Mail and Windows, or Mail and iPhone. If your app is not listed, pick Other (custom name) and type the name yourself.
Click Generate. Google will create a 16-character password and display it in a yellow box. Copy the entire string — do not include any spaces, even though Gmail displays it with spaces for readability. Paste it into the app or device where you are signing in, use it as your password, and leave your Gmail address as your username. The app password is now active.
Where to paste the app password
The exact location depends on the app. In Outlook on Windows, go to File > Account Settings > Account Settings, find your Gmail account, click Change, and paste the app password into the password field. In Thunderbird, right-click your Gmail account in the left sidebar, click Settings, find the password field under Server Settings, and paste it there. In Apple Mail on Mac or iPhone, go to Settings > Mail > Accounts, tap your Gmail account, tap Password, and paste it in.
After you paste the app password, the app will usually test the connection and confirm that it worked. If it does not connect, double-check that you copied the entire 16-character string with no typos. If the app still fails, sign back into your Google Account security page and delete that app password, then generate a new one.
Manage and delete app passwords you no longer need
Every app password you create stays in your Google Account security settings until you remove it. Go back to myaccount.google.com/security, click App passwords, and you will see a list of every app and device you have generated a password for, along with the date you created it. If you stop using an app or device, click the one you want to remove and select Delete. That password stops working when ready, but your main Gmail password and your other app passwords are not affected.
Deleting an old app password is a good security habit. If you used an app password on a device you sold or gave away, delete it so the new owner cannot use it to access your email. If you think someone else knows one of your app passwords, delete it right away and generate a new one for that app.
What to do if you cannot find the App passwords option
If you are in your Google Account security settings and do not see App passwords listed, the most common reason is that two-factor authentication is not actually turned on yet. Go back to How you sign in to Google and confirm that 2-Step Verification shows "On". If it does not, set it up first.
A less common reason is that you are signed into a Google Account that is managed by your workplace or school. Managed accounts often have app passwords turned off by the administrator. If that is your situation, contact your IT department or help desk to ask whether app passwords are available for your account.
Frequently Asked Questions
Can I choose what my app password is, or does Google generate it?
Google generates it for you and you cannot change it. The 16-character string is random and designed to be hard to guess. If you do not like the one you got, you can delete it and generate a new one, but you cannot pick the characters yourself.
What happens if I forget to delete an app password when I stop using an app?
Nothing bad happens when ready, but it is a security risk. The old password still works, so if someone finds it, they can access your email through that app. Delete any app passwords you no longer use so only active apps can sign in.
Do I need a different app password for each device, or can I use the same one?
You can use the same app password on multiple devices if they are all running the same app — for example, Outlook on your laptop and Outlook on your tablet. But it is safer to create a separate app password for each device, so if one device is lost or stolen, you only have to delete that one password.
Will creating an app password change my regular Gmail password?
No. Your main Gmail password stays the same. App passwords are separate and only work for the specific app or device you created them for. You can change your main password anytime without affecting your app passwords.
What if an app says it does not support app passwords?
Some older apps and devices cannot use app passwords. If the app does not have a field for a separate password or keeps rejecting the app password, check the app's documentation or contact its support team. You may need to use a different email client, or the app may not be compatible with Gmail's security requirements.