Skip to main content

How to set up two-factor authentication (2FA) for Gmail in Outlook

Gmail with 2FA in Outlook setup
Gmail with 2FA in Outlook setup (Image credit: Windows Central)

If you have the desktop version of Outlook and want to set up a Gmail account configured with 2-step verification (also known as two-factor authentication (2FA), the process is now the same as adding a regular account.

In the past, if you had a Google account configured with 2-step verification, you needed to create an app password to connect Gmail in the desktop version of Outlook. However, Microsoft has updated to allow you to set up your email account using the regular password experience, but with an additional step to confirm the access with a phone verification code.

The updated authentication process to set up your Gmail account on the desktop version of Outlook works whether you're using Microsoft 365 (opens in new tab), Office 2021, 2019, or 2016.

In this Windows 10 guide, we'll walk you through the steps to set up a Gmail account with two-factor authentication in Outlook.

How to add Gmail with two-factor authentication in Outlook

The process to set up two-factor authentication (2FA) for a Gmail account in the Outlook app requires changing your Google Account security settings and configuring Gmail with Outlook.

Set up 2-Step Verification in Google account

The first thing you need to do is to set up 2-Step Verification in your Google Account. If you're already using the authentication method, skip the steps below and continue with the Outlook configuration instructions.

To enable 2-Step Verification in Google, use these steps:

  1. Open your Google Account.
  2. Sign in with your Gmail credentials (as needed).
  3. Click on Security.
  4. Under the "Signing in to Google" section, click the 2-Step Verification option.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the Get Started button.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Confirm your account password (if applicable).
  2. Confirm your phone number.Quick tip: The "Show more options" menu lets you select different methods of authentication, including using a security key or prompt in your phone (if applicable).

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the Next button.
  2. Confirm the code sent to your phone number.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the Next button.
  2. Click the Turn on button.

Source: Windows Central (Image credit: Source: Windows Central)

Once you complete the steps, you can configure a secure password to use two-factor authentication with Outlook.

Configure Gmail with app password in Outlook

To set up Gmail with two-factor authentication in the Outlook app, use these steps:

  1. Open Outlook.
  2. Click on File.
  3. Click on Info.
  4. Under the "Account Information" section, click the Add account button.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Confirm the Gmail address to add with two-factor authentication.
  2. Click the Connect button.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the Next button.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Confirm the Gmail account password.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the Sign in button.
  2. Confirm the Google 2-Step Verification code sent to your phone.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the Done button.
  2. Click the Allow button.
  3. (Optional) Clear the Set up Outlook Mobile on my phone option.
  4. Click the Done button.

After you complete the steps, the Outlook app should start sending and receiving emails from your Gmail account.

Are you running an older version of Office? If yes, then you're missing out. If you switch to a Microsoft 365 subscription, you can always upgrade to the newest version to access the latest features at no extra cost, and you get many other benefits, such as sharing the apps with other users and 1TB of OneDrive storage.

More Windows resources

For more helpful articles, coverage, and answers to common questions about Windows 10 and Windows 11, visit the following resources:

Mauro Huculak is technical writer for WindowsCentral.com. His primary focus is to write comprehensive how-tos to help users get the most out of Windows 10 and its many related technologies. He has an IT background with professional certifications from Microsoft, Cisco, and CompTIA, and he's a recognized member of the Microsoft MVP community.

1 Comment
  • Do I need to do the above steps if I want to send and receive emails using my Microsoft account, but I do want to see my Gmail emails?