Blog Log in Start free trial

Blog / Guides

How to create a Gmail app password (and what to do when Google won't let you)

· 3 min read · También en español

Short answer: go to myaccount.google.com/apppasswords, type a name for the app, click Create and copy the 16-letter code. It only works if 2-Step Verification is on. If Google sends you to your account's home page instead, that's the reason.

An app password is a separate 16-letter code that lets one app (a mail client, or a tool like MailTag) open your email without your real Google password. It is not your Google password, and you can delete it at any time.

Before you start: 2-Step Verification

Google only lets you create app passwords when 2-Step Verification is on.

Create the app password

  1. Open myaccount.google.com/apppasswords. Sign in if Google asks.
  2. Type a name you'll recognize later, for example the app it's for, and click Create.
  3. Google shows a 16-letter code like abcd efgh ijkl mnop. Copy it now: Google shows it only once.
  4. Paste it into the app, where it asks for a password. The spaces don't matter.

If you have several Google accounts signed in, make sure the page shows the right one: click your picture at the top right and switch.

When Google won't let you

Google shows your account's home page instead

That's how Google says app passwords aren't available for this account yet. Almost always it means 2-Step Verification is off. Turn it on, then open the link again.

"The setting you are looking for is not available for your account"

Same cause in most cases: 2-Step Verification. It also appears for accounts in Google's Advanced Protection Program, which can't use app passwords at all.

Work or school account (Google Workspace)

Your organization's admin decides whether users can turn on 2-Step Verification. If you can't turn it on, ask them to allow it in Admin console → Security → Authentication → 2-Step Verification → Allow users to turn on 2-Step Verification. After that, you create the app password yourself, from your own account.

You pasted the code and the app says the login failed

Is an app password safe?

Using it with MailTag

MailTag uses an app password to sort your Gmail into your own categories, as labels. When you connect, it detects Gmail or Google Workspace from your address and walks you through exactly these steps. MailTag only reads and labels your email; it never sends or deletes anything, and it keeps the app password encrypted.

FAQ

Is the app password my Google password?

No. It's a separate 16-letter code for one app. Your Google password doesn't change and isn't shared.

Does it expire?

It keeps working until you delete it, or until you change your Google password, which revokes app passwords.

I lost the code. Can I see it again?

No. Delete it and create a new one; it takes a few seconds.

Why can't I find "App passwords" in my Google settings menu?

Google doesn't always show it in the menu. Use the direct link: myaccount.google.com/apppasswords.

Your inbox, sorted on its own. Privately.7 days free · no card
Start free →

Keep reading

Agents · 30 Sept 2026

Give Claude, ChatGPT or Cursor safe access to email

Connect an AI agent to your email through MailTag's MCP server and choose what it sees: which mailboxes, categories and dates, and nothing more.

Read →
Agents · 30 Sept 2026

Email prompt injection: how one email hijacks an AI agent

An email can hide instructions your AI assistant follows. How it works, real cases in Copilot and Gemini, and how to protect an agent that reads mail.

Read →