Add Gmail to Mail with your Google account password
The Mail app on Windows, Mac, iPhone, and Android can read and send Gmail messages directly without opening a browser. To set this up, you need your Gmail address and password — or a special app password if you use two-factor authentication on your Google account.
The process takes about five minutes and works the same way across devices: you open Mail, choose to add an account, select Google as the provider, and sign in. Once connected, your Gmail inbox appears in Mail alongside any other email accounts you have added.
If your Gmail account uses two-factor authentication (a code sent to your phone when you sign in), you cannot use your regular Gmail password. Instead, you create a one-time app password through your Google account settings, then use that password in Mail. This keeps your main password find.
Key Takeaways
- Mail apps on Windows, Mac, iPhone, and Android can display Gmail messages without opening Gmail in a browser.
- You need either your Gmail password or an app password if two-factor authentication is turned on.
- The setup process is the same across all devices: add account, choose Google, and sign in.
- After setup, your Gmail inbox syncs automatically and you can send messages from the Mail app.
- If setup fails, check that two-factor authentication is on and you are using an app password, not your regular Gmail password.
Set up Gmail on Windows Mail
Open the Mail app on your Windows computer. Click the gear icon in the lower left corner, then select Manage accounts. Click Add account and choose Google from the list.
A browser window opens and asks you to sign in to your Google account. Enter your Gmail address and password (or app password if you use two-factor authentication). Google then asks permission for Mail to access your Gmail — click Allow. The browser closes and your Gmail account now appears in Mail.
Your inbox loads automatically. You can now read Gmail messages and send new ones from the Mail app. If you have multiple Gmail accounts, repeat this process for each one.
Set up Gmail on Mac Mail
Open Mail on your Mac. Go to Mail in the top menu, then select Preferences. Click the Accounts tab, then click the plus sign to add a new account.
Choose Google from the account type list. Enter your Gmail address and click Continue. A browser window opens — sign in with your Gmail password or app password. Click Allow when Google asks for permission. The browser closes and your Gmail account is now in Mail.
Mail begins downloading your Gmail messages. This can take a few minutes if you have thousands of emails. Once complete, you can read and send Gmail messages directly from Mail.
Set up Gmail on iPhone or iPad Mail
Open Settings on your iPhone or iPad. Scroll down and tap Mail. Tap Accounts, then tap Add Account. Choose Google.
Enter your Gmail address and tap Next. Enter your password (or app password if you use two-factor authentication) and tap Next. Apple asks which services to sync — Mail is already selected. Tap Save in the upper right corner.
Your Gmail account is now in the Mail app on your iPhone or iPad. Open the Mail app and you will see your Gmail inbox. Messages sync automatically when you open Mail or when new mail arrives.
Set up Gmail on Android Gmail app or default Mail app
Most Android phones come with either the Gmail app or a default Mail app. If you use the Gmail app, your Gmail account is usually already set up — just open the app and sign in if prompted. If you use a different Mail app, open it and look for Add account or Settings.
Tap Add account and select Google. Enter your Gmail address and tap Next. Enter your password or app password and tap Next. Android asks which data to sync — tap Next or Continue to accept the defaults. Your Gmail account is now added.
If you cannot find the add account option, check your Mail app's settings menu. Some Android Mail apps hide the account settings under a menu icon (three horizontal lines) in the upper left or right corner.
Create an app password if you use two-factor authentication
If your Google account has two-factor authentication turned on, you cannot use your regular Gmail password in Mail. Instead, you create a temporary app password that works only in Mail and similar apps.
Go to myaccount.google.com in a browser and sign in. Click Security on the left side. Scroll down to App passwords (you may need to scroll past a section called Your devices). Click App passwords.
Google asks you to choose the app and device. Select Mail from the first dropdown and your device type (Windows, Mac, iPhone, or Android) from the second. Click Generate. Google shows a 16-character password — copy this exactly and paste it into the Mail app when prompted for your password. Do not use your regular Gmail password.
Troubleshoot Gmail setup problems
If Mail says your password is wrong, check whether two-factor authentication is on. Go to myaccount.google.com, click Security, and look for 2-Step Verification. If it shows On, you must use an app password, not your regular Gmail password.
If Mail cannot connect after you add the account, try signing out and signing back in. On Windows Mail, go to Manage accounts, click your Gmail account, and click Remove. Then add it again. On Mac Mail, go to Preferences > Accounts, select your Gmail account, and click the minus sign. Then add it again. On iPhone or iPad, go to Settings > Mail > Accounts, swipe left on your Gmail account, and tap Delete. Then add it again.
If you still cannot connect, make sure your Gmail account is not locked. Go to myaccount.google.com and look for any security alerts. If Google has locked your account, follow the steps to unlock it, then try adding it to Mail again.
Frequently Asked Questions
Will Mail read all my old Gmail messages?
Mail downloads messages from the past 30 days by default on most devices. On Windows Mail and Mac Mail, you can change this setting after adding your account — look for Sync settings or Mailbox behavior in the account preferences. Some older messages may not read if your account has thousands of emails.
Can I send emails from Gmail using the Mail app?
Yes. Once Gmail is added to Mail, you can compose new messages and they will be sent from your Gmail address. The Mail app uses Gmail's servers to send, so the message appears in your Gmail sent folder even though you sent it from Mail.
What happens if I delete an email in Mail?
Deleting an email in Mail also deletes it from Gmail. The message moves to your Gmail trash folder and stays there for 30 days before Gmail permanently removes it. You can recover it during that time by going to Gmail in a browser and checking your trash.
Do I need to keep Gmail open in a browser?
No. Once you add Gmail to Mail, the Mail app syncs your messages in the background. You do not need to open Gmail in a browser unless you want to use Gmail's full website features or change your account settings.
Can I add multiple Gmail accounts to Mail?
Yes. Repeat the add account process for each Gmail address. Mail will show all your Gmail inboxes in one place, and you can switch between them or read them together in a unified inbox view.