Blog Log in Try 7 days free

Blog / Guides

What is an app password, and what is it for?

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

See how MailTag helps ↓

You want to add your email to Thunderbird, another phone, a printer or a service that sorts your inbox. The app asks for your password, you type yours, and it fails, even though it's right. The help page then mentions an "app password".

Here's what it is, why it exists, when you need one and the risks. The steps differ at every provider, so each has its own guide, linked at the end.

What an app password is

An app password is a random code you generate on your email provider's website for one specific app. At Gmail it's 16 letters; other providers use other formats. Apple calls it an "app-specific password", but it's the same thing.

You paste it into the app where it asks for the password, next to your usual email address. From then on, the app opens your mailbox with that code instead of your main password.

It only opens email (depending on the provider, also calendar and contacts), and it's for one app: you can delete your phone's without touching Thunderbird's.

Your passwordApp password
Signs in to the provider's websiteYesNo
Changes your settings and securityYesNo
Reads and sends mail from an appHardly ever nowYes
Can be revoked without affecting anything elseNoYes
Asks for your second step, if you have oneYesNo

Why they exist

Classic email apps connect with IMAP, the standard way to download emails from the server. IMAP dates from the 1980s and was built around a username and password. Many apps still ask only for those, and they can't show you Google's page to confirm on your phone or ask for a six-digit code.

When providers added two-step verification, those apps were left out. The app password was the fix: a code the app can type on its own, with nothing to confirm.

Over the years, providers have closed IMAP to your normal password. Google stopped accepting it on 14 March 2025, with app passwords as the exception (Workspace help). That's why your correct password "doesn't work": the server isn't saying it's wrong, it no longer allows that kind of sign-in.

When you need one (and when you don't)

You don't need one if the app lets you sign in on your provider's page. That's the "Sign in with Google", "with Microsoft" or "with Yahoo" button. This way of signing in is called OAuth. Google itself says app passwords are "unnecessary in most cases" and recommends that button where it exists (Google help). The provider's own apps don't need one either, like Mail on the iPhone with iCloud.

You need one when the app only asks for a server, username and password. That happens with Thunderbird or an Android mail app on iCloud, with printers and scanners that send by email, with backup tools and with services that sort your inbox.

At iCloud, it's the only way other apps can get in over IMAP. At Yahoo, AOL and Fastmail, you need one in any app without the provider's sign-in button.

Are they safe?

Safer than giving an app your real password: the code can't change your account, and you can revoke it on its own. Still, it has two weak spots worth knowing:

So only give it to apps you trust, and delete the ones you no longer use.

Which providers have them

Checked on 26 October 2026 against each provider's help pages.

ProviderWhat it's calledRequires two-step verificationDeleted when you change your passwordWorks for IMAP
Gmail and Google WorkspaceApp passwordYesYesYes
iCloudApp-specific passwordYesYesYes
Yahoo and AOLApp passwordNoNoYes
FastmailApp passwordNo?Yes
Outlook.com and HotmailApp passwordYes?No
Microsoft 365App passwordYes?No

? = the provider doesn't document it. Yahoo and AOL don't ask for a second step, but they do require a browser you've used for a few days. Fastmail's Basic plan has no IMAP and no app passwords.

Each provider's guide

Each guide has the steps, what to type in the app and what to do when it fails.

Connecting a mailbox to MailTag

MailTag sorts each new email into your own categories (labels in Gmail; folders or marks elsewhere), and it signs in to your mailbox with an app password. Type your address under Settings → Mailboxes → Connect mailbox. It recognizes Gmail, Google Workspace, iCloud, Yahoo and Fastmail, also on your own domain. Then it shows that provider's steps, with a button that opens the right page. For any other provider you paste the code and the IMAP server.

Outlook, Hotmail and Microsoft 365 can't be connected yet, because they don't accept app passwords. MailTag keeps the code encrypted and loses access as soon as you delete it at your provider.

FAQ

Is an app password the same as my email password?

No. It's a separate code for one app. Your main password doesn't change and the app never sees it.

Why doesn't my correct password work in the app?

Because Gmail, iCloud, Yahoo and others no longer accept your normal password in third-party apps. It isn't wrong: they ask for an app password instead.

Do app passwords expire?

Not on a timer. Google and Apple delete them when you change your main password. Yahoo and AOL keep them until you delete them; Fastmail doesn't say.

How do I create an app password?

On your provider's website, never in the app. Gmail: myaccount.google.com/apppasswords. iCloud: account.apple.com → Sign-In and Security → App-Specific Passwords. Yahoo: Account security → External connections. Fastmail: Settings → Privacy & Security → Manage app passwords and access. The guides above have the full steps.

Can I see an app password again after creating it?

No, no provider shows it twice. Delete it and create a new one.

Is it safe to give an app password to a third-party app?

Safer than your real password, but the app can read all your mail. Only give it to apps you trust.

Do I need a separate app password for each app?

It's the recommended way. If an app stops being trustworthy or you lose a device, you delete only its code. Fastmail also asks you to choose each one's access.

Your inbox, sorted on its own. Privately.7 days free · cancel any time
Try 7 days free →