What an App Password Is and When You Need One
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 — like email clients on your phone, calendar programs, or backup software. Gmail requires this extra step if you have two-factor authentication turned on, which is the security setting that asks for a code from your phone when you sign in.
You need an app password when a program you're using won't accept your regular Gmail password, even though you typed it correctly. This happens because the app can't handle the two-factor authentication step. The app password bypasses that requirement without weakening your account security.
If you don't have two-factor authentication enabled, you won't see the option to create an app password at all — you can just use your regular Gmail password in any app. If you're not sure whether you have it turned on, you can check in your Google Account settings under Security.
Key Takeaways
- App passwords only work if you have two-factor authentication enabled on your Google Account.
- You create an app password in your Google Account settings under Security, in the App Passwords section.
- Each app password is unique to one device or process, and you can delete it later if you stop using that app.
- Gmail generates the 16-character password for you — you do not create your own — and you paste it into the app instead of your regular password.
How to Turn On Two-Factor Authentication First
Before you can create an app password, you need two-factor authentication active on your Google Account. Go to myaccount.google.com and sign in with your Gmail address and regular password. On the left side, click Security.
Scroll down to the section called "How you sign in to Google" and look for 2-Step Verification. If it shows "Off", click it and follow Google's steps to turn it on. Google will ask you to confirm your phone number and will send you a code by text or through the Google Authenticator app. Once you complete those steps, two-factor authentication is active.
If 2-Step Verification already shows "On", you're ready to move to the next section. You don't need to do anything else here.
Creating Your App Password in Google Account Settings
Go back to myaccount.google.com and sign in. Click Security on the left. Scroll down past the 2-Step Verification section until you see App Passwords. If you don't see it, that means two-factor authentication is not fully set up yet — go back and complete the steps in the previous section.
Click App Passwords. Google will ask you to sign in again for security. After you do, you'll see two dropdown menus: one for "Select the app" and one for "Select the device". In the first dropdown, choose the type of app you're using — for example, Mail, Calendar, or Other (custom name). In the second dropdown, choose your device type, like Windows Computer, iPhone, or Android.
Click Generate. Google will create a 16-character password and show it to you in a yellow box. This password works only for the app and device you selected. Copy the entire password — do not add spaces or change anything.
Using the App Password in Your Email or Calendar App
Open the app where you want to sign in — this might be Outlook, Apple Mail, Thunderbird, or any other program that connects to Gmail. When the app asks for your password, paste the 16-character app password you just copied. Do not use your regular Gmail password.
The app should accept the password and connect to your Gmail account. If it doesn't work, make sure you copied the entire 16-character code without any extra spaces at the beginning or end. You can also go back to your Google Account settings and regenerate a new app password if something went wrong.
Each app or device gets its own app password. If you set up Gmail on your phone and also on your computer, you would create two separate app passwords — one for each device. This way, if one device is lost or compromised, you can delete just that app password without affecting the others.
Managing and Deleting App Passwords You No Longer Use
Over time, you may stop using certain apps or devices. You can see all the app passwords you've created by going to myaccount.google.com, clicking Security, and scrolling to App Passwords. The page lists every app password you've generated, along with the app type and device you created it for.
If you stop using an app or sell a device, click the app password in the list and select Delete. This removes that password when ready, so the app or device can no longer sign into your Gmail. Your other app passwords and your regular Gmail password stay the same.
Deleting old app passwords is a good security habit. It means that if an old phone or computer is lost or stolen later, someone cannot use an app password that's still active to get into your Gmail.
Troubleshooting App Password Problems
If Google doesn't show an "App Passwords" option when you go to Security settings, two-factor authentication is not turned on. Go back to the "How you sign in to Google" section and turn on 2-Step Verification. You must complete the entire process, including confirming your phone number, before the App Passwords option will appear.
If the app rejects the password you pasted, check that you copied all 16 characters without any spaces before or after. Some apps add spaces automatically when you paste — if that happens, remove them manually. You can also generate a new app password and try again.
If you see a message saying the app password is invalid or expired, it usually means Google has revoked it for security reasons. Create a new app password using the same steps and paste the new one into your app. The app should accept it when ready.
Frequently Asked Questions
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 it separately if that device is lost or stolen. If you use the same password on multiple devices and one is compromised, you'd have to delete the password and regenerate it for all the others.
What if I forget to copy the app password before closing the window?
You cannot see the password again after you close that window. Go back to App Passwords in your Google Account settings, find the app in the list, and click it. Select "Delete" and then generate a new app password. Copy it when ready this time.
Do I need a different app password for Gmail on my phone and Gmail on my computer?
Yes, you should create separate app passwords for each device. This way, if your phone is lost, you can delete only the phone's app password without affecting your computer. Both will work with their own passwords at the same time.
Will creating an app password change my regular Gmail password?
No. Your regular Gmail password stays exactly the same. The app password is a separate, temporary code that only works for the specific app and device you created it for. You still sign into Gmail's website with your regular password.
What happens if someone gets my app password?
They can only use it to sign into the specific app or device it was created for — they cannot use it to sign into Gmail's website or any other app. If you think an app password has been compromised, delete it when ready from your App Passwords list and create a new one.