You have multiple accounts
Choose the account you want to sign in with.

If you're having trouble connecting your Gmail account to Outlook or Mail for Windows 10, this might be due to your Gmail settings. Follow the steps below to change your Gmail settings and fix the issue.

Step 1: Enable IMAP

IMAP must be enabled in Gmail before you can connect your account.

  1. In a browser, go to

  2. Select Settings > Settings.

  3. Select the Forwarding and POP/IMAP tab.

  4. Under IMAP Access, select Enable IMAP.

  5. Select Save Changes.

Step 2: Change SMTP & other settings in your email client

  1. Open Manage Connected Accounts in

  2. Use the table below to check you have the correct information:

Incoming mail (IMAP) server

Requires SSL: Yes

Port: 993

Outgoing mail (SMTP) server

Requires SSL: Yes

Requires TLS: Yes (if available)

Requires Authentication: Yes

Port for SSL: 465

Port for TLS/STARTTLS: 587

Full name or display name

Your name

Account name, username or email address

Your full email address


Your Gmail password

Step 3: Enable folders

Outlook and Mail for Windows 10 need access to your folders in Gmail. Make sure that the folders are set to show in IMAP.

  1. In a browser, go to

  2. Select Settings > Settings.

  3. Select the Labels tab.

  4. Make sure that Show in IMAP is selected for Inbox, Sent Mail, Trash, and All Mail.

    You can also select Show in IMAP for other labels that you want to see in Outlook or Mail for Windows 10.

Step 4: Refresh Outlook or Mail for Windows 10

Once you've enabled IMAP in Gmail and set your Gmail folders to show in IMAP, refresh Outlook or Mail for Windows 10.

Note: It can take up to 15 minutes for syncing to refresh. and Outlook on the web:

  • Select the refresh button in your browser's URL bar.

Outlook for macOS:

  • On the ribbon, select Sync this viewSync.

Mail for Windows 10:

  • Above the message list, select Sync this view.

Related Topics

Sync your Google account to the Microsoft Cloud
Changes coming to your connected Gmail accounts
Known issues syncing Google accounts to the Microsoft Cloud
Outlook email setup
Troubleshooting Outlook email setup

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Office Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!