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 — things like email clients on your phone, calendar programs, or backup software. Gmail does this because third-party apps cannot handle the security checks that protect your main account, so giving them your real password would be risky.

You can only generate an app password if you have turned on two-step verification for your Google Account. This is a security requirement, not optional. If you have not set up two-step verification yet, you will need to do that first before Gmail will let you create an app password.

Once you generate an app password, you enter it into the third-party app instead of your Gmail password. Your actual Gmail password stays safe, and if that app is compromised later, the attacker only has access to that one app password, not your entire account.

Key Takeaways

  • You must turn on two-step verification for your Google Account before you can create an app password.
  • App passwords are generated one at a time through your Google Account settings, and each one is tied to a specific app or device.
  • Gmail gives you a 16-character code that you paste into the third-party app instead of your regular Gmail password.
  • You can delete an app password at any time from the same settings page if you no longer use that app.

Turn on two-step verification first

Go to myaccount.google.com in your web 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.

Click on 2-Step Verification. Google will walk you through the setup. You will choose a phone number where Google can send you a code by text or call whenever you sign in from a new device. Complete this entire process before moving forward — you cannot create an app password without it.

Generate your app password

Once two-step verification is on, go back to myaccount.google.com and click Security on the left. Scroll down to How you sign in to Google again. This time you should see a new option called App passwords — it only appears after two-step verification is active.

Click App passwords. Google will ask you to sign in again for security. After you do, you will see two dropdown menus. The first says Select the app and the second says Select the device. Choose the app you are trying to sign into (Gmail, Outlook, Apple Mail, etc.) and the device type (Windows, Mac, iPhone, Android). If your exact app is not in the list, pick the closest match or choose Mail.

Click Generate. Google will show you a 16-character password in a yellow box. This is your app password — it includes both letters and numbers with no spaces. Copy this entire code.

Enter the app password into your third-party app

Open the app you are trying to sign into. When it asks for your password, paste the 16-character app password you just copied. Do not use your regular Gmail password — use only the app password. Some apps call this field "Password" and some call it "App Password" or "Generated Password", but they all mean the same thing.

After you paste it in, the app should sign you in. If it does not work, double-check that you copied the entire 16 characters with no extra spaces at the beginning or end. If you still have trouble, go back to your Google Account settings and delete that app password, then generate a new one and try again.

Manage and delete app passwords you no longer use

Every app password you create stays in your Google Account settings. Over time, if you stop using an app or switch devices, those old passwords just sit there. You should delete them to keep your account clean and reduce the number of places your password could be exposed.

Go back to myaccount.google.com, click Security, and click App passwords again. You will see a list of every app password you have ever created, labeled with the app name and device type. Find the one you want to remove and click the trash icon next to it. Google will ask you to confirm — click Delete. That app password stops working when ready.

What to do if App passwords does not appear

If you go to your Security settings and do not see an App passwords option at all, it means two-step verification is not turned on yet. Go back and complete the two-step verification setup first. You must have it active before the App passwords option will show up.

If you have two-step verification on but still do not see App passwords, you might be using a Google Account through your workplace or school. Those organizations sometimes disable app passwords for security reasons. Contact your IT department or account administrator to ask if they allow app passwords on your account.

Frequently Asked Questions

Can I use the same app password for multiple apps?

Technically yes, but you should not. Each app password should be unique to one app or device. If you use the same password for five different apps and one of them gets hacked, all five are compromised. Generate a separate app password for each app you use.

What happens if I forget to copy the app password before closing the window?

You cannot see it again. Go back to your App passwords list, delete that password, and generate a new one. Google only shows the password once, right after you create it, so copy it before you close the page.

Do I need an app password for the Gmail app on my phone?

No. The official Gmail app for iPhone and Android does not need an app password — it handles Google's security checks automatically. You only need an app password for third-party email apps like Outlook, Apple Mail, Thunderbird, or other non-Google apps.

Can I change an app password after I create it?

No. App passwords cannot be edited. If you need a different password, delete the old one and generate a new one, then update the app with the new code.

What if the app says the password is wrong even though I pasted it correctly?

Make sure two-step verification is still on — if you turn it off, all your app passwords stop working. Also check that the app is not adding extra spaces or characters when you paste. If neither of those is the problem, delete the app password and generate a fresh one.