Want to access your Gmail messages directly from Microsoft Outlook? You can configure your Gmail account in Outlook 2016, Outlook 2019, and Microsoft 365 to manage your emails from a single desktop application.

Connecting Gmail to Outlook makes it easier to read, send, organize, and manage messages without opening your browser every time. It is particularly useful for professionals who use Outlook as their primary email client but still rely on Gmail for personal or business communication.
However, Gmail requires certain account permissions before third-party email applications can access your mailbox. Depending on your Outlook version and account configuration, you may need to enable IMAP access and complete Google’s sign-in and authorization process.
In this step-by-step guide, you will learn how to configure Gmail in Outlook 2016, Outlook 2019, and Microsoft 365, including the correct server settings, account authentication, and solutions to common configuration errors.
Quick Answer: How to Configure Gmail in Outlook
To configure Gmail in Outlook:
- Sign in to your Gmail account through a web browser.
- Make sure IMAP access is enabled in Gmail settings, if the option is available.
- Open Microsoft Outlook.
- Navigate to File > Add Account.
- Enter your Gmail email address.
- Complete Google’s sign-in and permission authorization process.
- Allow Outlook to access your Gmail account.
- Wait for Outlook to synchronize your emails.
For older Outlook configurations that require manual IMAP settings, use:
- Incoming server:
imap.gmail.com - Incoming port:
993 - Encryption: SSL/TLS
- Outgoing server:
smtp.gmail.com - Outgoing port:
465(SSL) or587(STARTTLS) - Authentication: Required
Important: Google sign-in through OAuth is the recommended authentication method. Your regular Gmail password should not be entered into an outdated basic-authentication setup.
Table of Contents
- What Do You Need Before Configuring Gmail in Outlook?
- Understanding IMAP and SMTP Settings
- Method 1: Configure Gmail Automatically in Outlook
- Method 2: Configure Gmail Manually Using IMAP
- Gmail IMAP and SMTP Server Settings
- Common Errors and Their Fixes
- Best Practices and Pro Tips
- Frequently Asked Questions
- Conclusion
1. What Do You Need Before Configuring Gmail in Outlook?
Before starting the configuration process, make sure you have the following:
- An active Gmail or Google Workspace account.
- Microsoft Outlook 2016, Outlook 2019, or Microsoft 365 desktop application.
- A working internet connection.
- Access to your Google Account for authentication.
- The ability to authorize Outlook to access your Gmail account.
Important authentication information: Google has discontinued basic username-and-password access for many third-party email applications. Google Workspace accounts must use OAuth authentication rather than basic authentication. Therefore, use the Google sign-in window whenever Outlook provides it. Gmail Help+1
Enable IMAP in Gmail
For personal Gmail accounts, IMAP is automatically enabled starting January 2025. You do not need to manually enable it.
For Google Workspace accounts, your administrator may need to enable IMAP access through the Google Admin console.
If your account still displays the IMAP setting:
- Open Gmail in your browser.
- Click the Settings gear icon.
- Select See all settings.
- Open the Forwarding and POP/IMAP tab, if available.
- Check the IMAP configuration.
- Save any changes if required.
You are now ready to configure your Gmail account in Outlook.
2. Understanding IMAP and SMTP Settings
Before configuring Gmail manually, it is helpful to understand two important email protocols: IMAP and SMTP.
IMAP (Internet Message Access Protocol) allows Outlook to retrieve and synchronize emails from Gmail. Your messages remain stored on Google’s servers, and changes can synchronize across connected devices.
SMTP (Simple Mail Transfer Protocol) is used to send emails from Outlook through Gmail’s outgoing mail server.
Here is a reference table containing the standard Gmail server settings.
Gmail IMAP and SMTP Server Settings
| Setting | Configuration |
|---|---|
| Account type | IMAP |
| Incoming server | imap.gmail.com |
| Incoming port | 993 |
| Incoming encryption | SSL/TLS |
| Outgoing server | smtp.gmail.com |
| Outgoing port | 465 |
| Outgoing encryption | SSL/TLS |
| Alternative SMTP port | 587 |
| Alternative encryption | STARTTLS |
| Authentication | Required |
Note: These are the standard server connection settings. Authentication must still use a method supported by Google and your Outlook version. Entering your regular Gmail password into an ordinary IMAP password prompt will not work when basic authentication is blocked.
3. Method 1: Configure Gmail Automatically in Outlook
This is the easiest and recommended method for adding Gmail to Outlook 2016, Outlook 2019, and Microsoft 365 when the installed Outlook version supports Google’s sign-in authorization.
The automatic configuration process detects the necessary server settings and opens Google’s authentication page.
Step 1: Open Microsoft Outlook
First, launch Microsoft Outlook on your Windows computer.
If you are opening Outlook for the first time, you may see an account setup window automatically.
If Outlook is already configured with another email account, follow these steps:
- Click the File tab.
- Select Add Account.
- Wait for the account setup window to appear.
Step 2: Enter Your Gmail Address
In the Add Account window, enter your complete Gmail email address.
For example:
yourname@gmail.com
Click Connect to continue.
Outlook will attempt to identify your email provider and configure the necessary connection settings.
Step 3: Sign In to Your Google Account
A Google sign-in window should appear.
Follow these instructions:
- Confirm your Gmail email address.
- Enter your Google Account credentials when requested.
- Complete two-step verification if enabled.
- Review the permissions requested by Microsoft Outlook.
Make sure you are signing in to the correct Google Account.
Step 4: Allow Outlook to Access Gmail
After signing in, Google will display a permission screen explaining what Microsoft applications can access.
Review the requested permissions and click Allow to authorize the connection.
This step is important because Outlook needs permission to access your Gmail mailbox.
Step 5: Complete the Account Setup
After authorization, Outlook will continue configuring your Gmail account.
Wait until you see the account successfully added confirmation.
Click Done to finish the process.
Step 6: Verify Your Gmail Account
Now return to the Outlook main window.
Look at the left navigation pane. Your Gmail account should appear in the folder list.
Click the Inbox folder and wait for Outlook to synchronize your messages.
You can also send a test email to another address to confirm that outgoing mail is working.
Successfully configured!
Your Gmail account is now connected to Outlook.
Microsoft documents this Google sign-in and permission-based setup for classic Outlook, including Outlook 2016 and Outlook 2019. Microsoft Support
4. Method 2: Configure Gmail Manually Using IMAP
If automatic account detection does not work, you can try Outlook’s advanced account setup.
This method is useful for entering the correct incoming and outgoing server information manually.
However, manual IMAP configuration does not bypass Google’s authentication requirements. You still need OAuth support or another authentication method explicitly supported by Google and your Outlook version.
Step 1: Open Advanced Account Setup
- Open Microsoft Outlook.
- Click File.
- Select Add Account.
- Enter your Gmail address.
- Select Advanced options, if available.
- Choose the option to let you set up your account manually.
- Click Connect.
Step 2: Select IMAP
From the available account types, select IMAP.
Outlook will display fields for incoming and outgoing mail server information.
Step 3: Enter Incoming Mail Server Details
Enter the following information:
- Server:
imap.gmail.com - Port:
993 - Encryption method: SSL/TLS
These settings allow Outlook to connect to Gmail’s incoming mail server.
Step 4: Enter Outgoing Mail Server Details
Next, configure the outgoing mail server:
- Server:
smtp.gmail.com - Port:
465 - Encryption method: SSL/TLS
Alternatively, use port 587 with STARTTLS if required by your Outlook configuration.
Make sure outgoing server authentication is enabled and uses your Gmail account credentials through an approved authentication process.
Step 5: Complete Authentication
Follow the authentication prompts provided by Outlook.
If Outlook supports Google’s OAuth sign-in for your installed version, complete the browser-based Google authorization.
If your version only offers a basic password prompt, do not assume that your normal Gmail password will work.
For compatible configurations, Google offers app passwords to certain accounts with two-step verification enabled. However, app passwords are not the preferred method and may be unavailable due to account security policies. Gmail Help+1
Step 6: Test Your Gmail Connection
After completing the configuration:
- Open the Outlook Inbox.
- Click Send/Receive.
- Check whether new Gmail messages appear.
- Send a test message.
- Verify that the message reaches its destination.
If both incoming and outgoing messages work, your Gmail account is configured successfully.
5. Common Errors and Their Fixes
Sometimes Gmail configuration fails because of authentication restrictions, incorrect settings, or outdated Outlook installations.
Here are some common problems and their solutions.
Error 1: Outlook Cannot Connect to the Incoming IMAP Server
Possible causes:
- Incorrect incoming server address.
- Incorrect port number.
- SSL/TLS configuration problems.
- Gmail authorization failure.
Solution:
Verify the following settings:
- Incoming server:
imap.gmail.com - Port:
993 - Encryption: SSL/TLS
Also, check whether your Google Account has authorized Microsoft Outlook.
Error 2: Gmail Password Is Not Accepted in Outlook
This is one of the most common configuration problems.
Google no longer allows many third-party applications to access Gmail using only a regular username and password.
Solution:
- Update Outlook to the latest available version for your license.
- Remove outdated Gmail account configurations if necessary.
- Add the account again.
- Use Google’s browser-based sign-in option.
- Complete the authorization process.
If you are using an older Outlook 2016 installation that does not offer compatible Google authentication, consider upgrading to a supported Outlook version.
Error 3: Outlook Cannot Send Emails
If you can receive Gmail messages but cannot send emails, the outgoing SMTP configuration may be incorrect.
Solution:
Verify these settings:
- SMTP server:
smtp.gmail.com - Port:
465or587 - Encryption: SSL/TLS or STARTTLS, respectively.
- Outgoing server authentication: Enabled.
Also, verify that Outlook is using the correct Gmail account for outgoing messages.
Error 4: Gmail Is Not Synchronizing with Outlook
If your Gmail Inbox is not updating, Outlook may have a synchronization problem.
Solution:
- Open Outlook.
- Select the Send/Receive tab.
- Click Send/Receive All Folders.
- Check your internet connection.
- Verify that Outlook is not working offline.
If the problem continues, remove and re-add the Gmail account using Google’s authorization process.
Error 5: Something Went Wrong During Google Sign-In
This error can occur when Outlook has outdated authentication information or an existing Google authorization has become corrupted.
Solution:
Microsoft documents a workaround for certain classic Outlook Gmail connection problems:
- Close Outlook.
- Open your Google Account security settings.
- Find Microsoft apps and services under third-party connections.
- Review and remove the affected Microsoft authorization if appropriate.
- Open Windows Credential Manager.
- Locate the affected Google OAuth credentials beginning with
MicrosoftOffice16_Data:OAUTH2. - Remove only the credentials associated with the affected Gmail account.
- Open Outlook and add the account again.
- Complete Google’s browser-based sign-in and authorization.
Be careful not to remove unrelated saved credentials.
This procedure is intended for the specific synchronization and authorization issues described by Microsoft, not as a routine setup step. Microsoft Support
If Outlook itself is failing to launch, read our troubleshooting guide: Outlook Will Not Open in Windows 11.
You may also find these related Windows guides helpful:
6. Best Practices and Pro Tips
Follow these recommendations to maintain a reliable Gmail connection in Outlook.
1. Keep Outlook Updated
Install the latest available Office updates. Updates can improve account authentication, security, and synchronization.
2. Use Google’s Secure Sign-In
Always prefer the Google authorization window instead of entering your regular Gmail password into an unsupported third-party password prompt.
3. Avoid Disabling Google Security Features
Do not disable two-step verification or weaken your Google Account security simply to connect Outlook.
4. Use IMAP Instead of POP When Synchronization Matters
IMAP is generally preferable when you access Gmail from multiple devices because it synchronizes mailbox activity across supported email clients.
5. Check Your Internet Connection
A stable internet connection is necessary for sending, receiving, and synchronizing emails.
6. Keep Your Outlook Profile Healthy
If Gmail repeatedly disconnects, consider creating a new Outlook profile after backing up any locally stored data.
7. Be Careful with App Passwords
Use an app password only when your Google Account supports it and your Outlook configuration requires it. Never share your app password with anyone.
7. Frequently Asked Questions (FAQs)
1. Can I configure Gmail in Outlook 2016?
Yes, you can add Gmail to supported Outlook 2016 installations. However, authentication support depends on your Outlook build and configuration. Use Google’s OAuth sign-in whenever available. Older installations may require an update or a newer Outlook version.
2. How do I configure Gmail in Outlook 2019?
Open Outlook 2019, navigate to File > Add Account, enter your Gmail address, and click Connect. Complete Google’s sign-in and authorization process. Outlook will automatically configure the required email settings.
3. What are the incoming and outgoing Gmail server settings for Outlook?
The incoming IMAP server is imap.gmail.com using port 993 with SSL/TLS encryption. The outgoing SMTP server is smtp.gmail.com, using port 465 with SSL/TLS or port 587 with STARTTLS.
4. Do I need to enable IMAP to configure Gmail in Outlook?
Personal Gmail accounts have IMAP enabled automatically since January 2025. For Google Workspace accounts, an administrator may need to enable IMAP access through the Google Admin console.
5. Why is Outlook not accepting my Gmail password?
Google restricts basic username-and-password authentication for third-party applications. Update Outlook and use Google’s secure sign-in authorization. Some compatible configurations may support Google app passwords, but OAuth is the recommended option.
8. Conclusion
Configuring Gmail in Outlook 2016, Outlook 2019, and Microsoft 365 allows you to manage your Gmail messages directly from your desktop.
The automatic configuration method is the easiest option because Outlook can detect the necessary server settings and use Google’s secure authorization process.
If automatic setup does not work, you can try manual IMAP configuration using the correct incoming and outgoing server details.
Remember that correct server settings alone are not enough. Your Outlook version must also support an authentication method accepted by Google.
By following the methods explained in this guide, you can connect Gmail to Outlook, synchronize your messages, and manage your email more efficiently.