Applies ToOutlook for Microsoft 365 Outlook 2024 Outlook 2021 Outlook 2019 Outlook 2016

If you receive one of the following errors when attempting to add your Gmail account to Outlook, there are several steps you can take to resolve these errors.

Repeated password prompts

Before you add your Gmail account to Outlook, you need to turn on two-factor authentication for Gmail and then create an app password on Gmail's website. This is a different password than the password you use to sign in to the Gmail website. An app password lets Gmail verify that you are the person trying to add your account to Outlook.

Step 1: Turn on two-factor authentication for Gmail

For more information, please go to the Gmail help article Turn on 2-Step Verification.

Step 2: Create an application password for Gmail

For more information, please go to the Gmail help article Sign in with app passwords.

Use your app password to add your Gmail account to Outlook

  1. Select Retry and then Next.

  2. If Outlook asks you for your password, enter the app password you created, then select OK, and Finish to start using Outlook.

All IMAP/SMTP errors

There are several steps you can take to resolve IMAP/SMTP errors when setting up your Gmail account. You can Verify your account settings and try changing your account type or verify IMAP is enabled for your Gmail account.

Some IMAP/SMTP errors are temporary. If you select Retry, Outlook will take you to the IMAP Account Settings dialog box. Once you've verified the following settings, select Next to try to complete setup again.

Verify your Gmail IMAP settings.

  • Incoming mail server: imap.gmail.com

  • Port: 993

  • Encryption method: SSL/TLS

  • Outgoing mail server: smtp.gmail.com

  • Port: 465

  • Encryption method: SSL/TLS

If you continue to receive an error and you've already followed the steps in the repeated password prompts section, select Change Account Type from the Something went wrong dialog box.

Select IMAP and attempt to add your account again. If that fails, make sure that Verify that IMAP access is enabled for your Gmail account for your Gmail account.

Verify that IMAP access is enabled for your Gmail account

For more information, please go to the Gmail help article Add Gmail to another email client.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Find solutions to common problems or get help from a support agent.