What to Do if Outlook Cannot Connect to Gmail Account?

In this article, we will consider what you need to do if Outlook cannot connect to the Gmail account. Connecting Gmail to Outlook is a simple process, but due to some security nuances you may end up with Outlook not being able to connect to Gmail. The most popular issue with Outlook and Gmail is that Outlook keeps asking to provide a username and a password no matter how many times you enter it correctly.

Long story short. This problem is the most common for Outlook 2016 users and Gmail accounts with two-factor authentication being enabled. Outlook 2016 does not support 2FA thus it forces users to go through a bit more cumbersome process of setting up a Gmail account in Outlook. In this article, we will show you how to fix Gmail Account connection issues in Outlook.

How to Solve Outlook not Connecting to Gmail Issue?

Before you start setting up a Gmail account in Outlook, make sure your mailbox is properly configured. You need to check whether you have IMAP protocol enabled in a Gmail account settings.

Enable IMAP Access in Gmail Settings

Log into your Gmail account and click on a small gear in the right top corner of the window. Select See all settings. After that, go to the Forwarding and POP/IMAP tab. You need to make sure the IMAP Status is set to Enabled. As to POP, just ignore this ancient protocol. This one is severely outdated, and nobody should keep using it.

outlook not connecting to gmail

IMAP is a special communication protocol between a client and a mail server. It allows the server to sync your mailbox between all the devices and keep everything up to date. For example, if you open an email item in Outlook, IMAP makes sure that the letter is marked as read in the Gmail interface as well. That is how modern mail works and why everyone ditched POP which does not support these convenient features.

By default, Gmail keeps IMAP enabled for every account thus this step is not that necessary. We just need to be sure it is enabled, otherwise, you may have problems connecting a Gmail account to Outlook.

How to Connect Gmail to Outlook 2019?

Before you go. It is important to enable two-factor authentication in your Gmail account, otherwise, you may receive Gmail to Outlook connection errors. Follow this guide from Google to learn how to enable two-factor authentication for your Google account.

Let us start with Outlook 2019 which is the most recent and the latest mail app from Microsoft. In Outlook 2019, connecting Gmail is a much easier process than in the previous version (Outlook 2016, etc).

  1. Open Outlook and click File in the top-left corner;
  2. Hit Add account. This action opens a new little window in which you need to enter your Gmail address;
  3. Enter your Gmail address. For example, user@gmail.com. You need to enter a full email address so that Outlook automatically finds the necessary server settings. Click Connect and wait for the app to gather the necessary information;
  4. Outlook will open a new window with Google Account sign in. You need to enter your password and later enter the two-factor authentication password you can find in any authenticator app from Google, Microsoft, or whatever the app you use to generate 2FA-codes. If you do not have an app for 2FA, enter one of your one-time-use passwords instead of your primary account password;
  5. Allow Outlook access to your account. Now your Gmail account is ready for work in Outlook.

How to Connect Gmail to Outlook 2016?

Now let us talk about Outlook 2016. Things are a bit different in there since it does not support 2FA. The account setup process is mostly the same, but you need to generate an app-specific password to log in.

Note. If you have a hard time accessing your account in Outlook 2019, generate an app-specific password and try to use it instead of the traditional sign-in process described above.

You can let Outlook automatically connect your account and find all the details or specify them manually. If you choose to set up manually, proceed with the following:

  1. Launch Outlook. Click on File, then click on Add Account;
  2. Select Manual setup or and hit Next;
    gmail not working in outlook
  3. In the following window, select POP or IMAP;
    unable to configure gmail in outlook
  4. Now type in your name (this name will be displayed in the emails you send), and the email address. The incoming mail server should be imap.gmail.com. The outgoing mail server (SMTP) is smtp.gmail.com. Also, you should fill the Logon information form and then click on More Settings;
    outlook cannot connect to gmail
  5. Leave the option Require logon using Secure Password Authentication (SPA) blank because this is a proprietary Microsoft protocol based on NTLM authentication, which is not supported by Gmail;
  6. Go to Outgoing Server and tick on My outgoing server (SMTP) requires authentication;
    gmail stopped working in outlook
  7. Now, go to the Advanced tab and select SSL to encrypt your connection for the Incoming server (IMAP). The port number for IMAP should be 993. For the outgoing SMTP server select TLS as an encryption protocol and change the port number from 25 to 587. Click on Ok proceed to the next window.
    gmail not connecting to outlook

You may still get connection errors, but that is okay. Now we will tell you what to do with it.

As explained in the beginning, this issue occurs because of two-factor authentication. Since July 15, 2014, Google blocks applications that use simple validation to access Gmail. Old Outlook versions do not support two-factor authentication thus users need to create an app-specific password to connect Gmail to Outlook. You can enable this feature only on the Google Account webpage. Here is how to do this:

  1. Go to this website and login to your Google account;
  2. Open the Security tab and click App Passwords;
    outlook gmail not working
  3. From the drop-down menus, select Mail and Windows Computer. Hit Generate;
    gmail not working with outlook
  4. You will get a one-time use password that contains 16 characters. Copy it and use it to sign in the same way we described above. The 16-digit app password is displayed with spaces to easier to read it. When you enter it into the app you want to connect, ignore spaces.
    outlook 2010 gmail not working

Use this app-specific password instead of your Google account password in order to authenticate on your Gmail mailbox through Outlook.

Outlook will try to run several connectivity tests. If you configured everything correctly, you should see that the next task has completed successfully.

Log onto incoming mail server (IMAP)

Send test e-mail message

gmail not working on outlook

After this Outlook should properly verify your account and successfully connect Gmail to Outlook. Now you can use your Gmail in Outlook without any problems.

Check Gmail TCP Ports Connectivity

If the connecting Outlook to Gmail test failed, you need to check whether your computer or Internet service provider is not blocking the network ports used to access Gmail. To check ports on Windows 10, use the Test-NetConnection PowerShell cmdlet. You need to check the availability of Gmail servers over the following protocols: IMAP over SSL (993) and SMTP over TLS (587). Open the elevated PowerShell using Win + X Windows PowerShell (Admin) and run the commands:

Test-NetConnection imap.gmail.com -port 993

Test-NetConnection smtp.gmail.com -port 587

If you are using alternate Gmail servers in Outlook, check the connection using the commands:

Test-NetConnection imap.googlemail.com -port 993

Test-NetConnection smtp.googlemail.com -port 587

unable to configure gmail in outlook 2013

If the command returns TcpTestSucceeded = False, then access to your Gmail email account is blocked by a firewall. Check your Windows Defender Firewall or third-party firewalls settings on your computer (many modern antiviruses have a built-in network filtering). Allow the outlook.exe process to send outgoing traffic over the TCP ports 993 and 587. If TCP ports are not blocked on your computer, contact the technical support service of your Internet service provider. Some network equipment may be blocking access to the required ports.

Fix Revoked Gmail Access to Outlook

If you somehow or intentionally revoked Gmail account access, you may end up with a lot of troubles connecting your account. Here is how to re-establish it and connect the Gmail account to Outlook again. In other words, here is how to un-revoke Outlook Gmail account access.

  1. If you have another account set up in Outlook, launch the app then click File – Account Settings and select Manage Profile from the drop-down;
    outlook not working with gmail
  2. In the new window, click Email Accounts;
    not able to configure gmail in outlook
  3. This action will open a new window called Account Settings. Go to the Email tab and click New;
  4. In the new window, enter your email account details – a username, an email address, and an app-specific password. Generate it using the guide above. Hit Next and wait for the Outlook to establish a connection and check your credentials;
  5. After that, you will see another new window with Gmail account verification. Enter your primary password and 2FA-code. Grant access to the account.

Done. Now Gmail is up and running in Outlook.

Unable to Add Gmail Account to Microsoft Outlook: Could Not Sign You in to Google

There is another known bug in Outlook 365 and Outlook 2019. It appears after you add your Gmail account to the Outlook configuration, and prompted for a username and password.

Then you select Allow for Microsoft Apps & Services and get the following error:

“Sorry, we could not sign you in to Google – IMAP. Please try again later.”

outlook gmail imap not working

Also, the following error may appear in the Outlook connection log:

Synchronizer Version 16.0.12122.20830

Synchronizing Mailbox your_email_here

Synchronizing server changes in folder 'Inbox'

Error synchronizing folder[800CCC0E-0-0-560]


In order to fix this error, open the Outlook and dismiss the sign-in window.

Then click File > Office Account > Account Privacy > Manage Settings.

Check the box “Enable optional connected experiences” and hit OK.

cannot connect gmail to outlook

Restart Outlook and proceed to configure the Gmail account.

Other Options to Restore Outlook Access to Gmail

Everything described above this section should be more than enough for you to properly connect the Gmail account to Outlook. If you still have problems connecting Gmail to Outlook, try the things described in the list below. Those are some tips from users who successfully set up their Gmail accounts in Outlook.

  • Uncheck the option Enable connected experience in the Outlook settings located in the Outlook > File > Office Account > Account Privacy > Manage Settings and restart Outlook;
  • Try to change the IMAP server in the Account Setting from the imap.gmail.com to imap.googlemail.com and the Outgoing server from smtp.gmail.com to smtp.googlemail.com;
  • Disable the simplified account creation in Outlook 2016, Outlook 2019, and Outlook for Office 365 by creating a new DWORD (32-bit) parameter called DisableOffice365SimplifiedAccountCreation in the registry key HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Office\16.0\Outlook\setup. Set the parameter’s value to 1. You can use the following command to do this quickly:
    REG ADD HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Setup /v DisableOffice365SimplifiedAccountCreation /t REG_DWORD /d 1 /f

    Simply launch the Command Prompt with Administrator privileges and execute the command. This will disable the new simplified account dialog in Outlook.

  • Disable all Outlook add-ins in File > Options > Add-ins;
  • Create a new Outlook configuration. Go to the Control Panel > Mail > Show Profiles > Add. After that, launch Outlook and try setting up your Gmail account again.

That is all, your Outlook account for Gmail has been configured now, and the issue with Outlook not connecting to Gmail is solved. It will download all your email items and synchronize all the information. Depending on your mailbox size, this process may take some time, so sit back and wait for everything to sync.

I enjoy technology and developing websites. Since 2012 I'm running a few of my own websites, and share useful content on gadgets, PC administration and website promotion.
Cyril Kardashevsky


    1. Go to More settings>outgoing server tab
      tick “My outgoing server (SMTP) requires authentication”
      select “Use same settings as my incoming mail server”

    2. Help me!! I have tried Everything In the above and no luck. I have Outlook 2013, Windows 10. Looks like Outlook can’t find the server. Which server? Gmail? I am not a computer genius by any stretch, but I can follow directions.
      I keep getting” searching for your mail server settings” then I get a failed.

  1. The advice to switch off secure authentication is not smart at all.

    You basically need to create a special password for any app using your gmail. Which is very secure and smart.

    1. Ranbir, understand the subject and issue before offering some irrelevant link.

      For others who actually read this informative article, the app password, now gmail has basically forced out apps it doesn’t like, only works with 2 factor authentication turned off.

      Security is important, but the paranoia is intentional and pushes us towards using the primary system rather than better options (such as Outlook in this case).

  2. Thank you SO much. I read about a dozen posts trying to figure this out. Yours was the only one that successfully connected my gmail account to my MS Outlook 2016 desktop client. You rock!

    1. I tried the same, no success. I also used the gmail page to give access, no success

      Finally I decided to use the default mail client on my windows 10 system, got a popup to trust my system and finally the default mail client was working.
      Then I tried outlook 2016 again, and now it is working. That was the only solution to get my system in the list of trusted connections.


      1. How do you ” use the default mail client on my windows 10 system”?

        I have tried everything and get no where – gmail synchs one day and then stops!

        Driving me mad


  3. Thanks a ton…. thousands of layers of security… it is a good thing for tech savvy people… but for less technically sound people it is a nightmare…

  4. Not sure about the other comments but when I implemented your advice and I selected ok to accept “unsecured” apps then retried my login from Outlook 2010 it worked perfectly.
    Thank you for your assistance. Perfect.

  5. I’ve been searching for a solution to this problem for months and had all but given up. Thought I would give it one more shot today and your site came up. For some reason, it didn’t show in my previous searches. You’ve solved my problem and made me immensely happy. Months of frustration and annoyance are fixed. I’m smiling and over the moon happy. Thank you!

  6. Had identical issue and unfortunately performing these steps get my issue solved. Tried changing Gmail password several times and it still didn’t work. Then decided to contact guys at outlooksupport.4team.biz . They solved the issue by adjusting something on Gmail account.

  7. Hi I have tried about 20 different guides and no luck.This one did not either. Checked and double checked dozens of times still no luck.Checked all settings tried 2 step password setup and window pops up asking for password.Tried all i could find about this but still no luck

    1. Same here. Tested with 2 separate gmail accounts on 3 different machines: Win7+O2010, Win7+O2016 and Win10+o2016, nothing but failure across the board.

      Having said that, I had similar issue with client’s computer once where the password popup would show up and allowing the less secure apps fixed the issue for him. I don’t even get the popup…

  8. Please could you explain, i generated the 16 letter verification code online on gmail – where does this get inserted into outlook?

  9. Another thank you! – I couldn’t have got my new gmail account working in Outlook without you. Signing in with Mac Mail was a breeze. But Outlook on a PC a nightmare. Gmail themselves tell you NOTHING about the essential steps you outline – not impressive.

  10. BRILLIANT!!! You dear sir are a God-send! I was up to up neck with Gmail kicking me off my original Outlook setup. Your advice was clear, succinct and my problem has been solved! That ladies and gentlemen is what customer service is all about! Cheers to you guys!

  11. Thank you! One of my gmail accounts stopped connecting and I have been working on this for weeks. Finally reinstalled office 365 and set up all my email accounts and it still didn’t work. This worked! Thanks again.

  12. thanks heaps for your clear directions it helped me set up my gmail after months of trying to work it out.

    I’m also trying to connect my G Suite email to outlook. it doesn’t appear to be the same process. outlook has a .pst file for it but doesn’t show the account. any ideas?

  13. THANK YOU!!!!!
    My exchange accounts are finally working again!!!!!
    Not sure why they stopped working (they were fine for years and years)
    This was a major weight off my shoulders –
    Easy instruction for the computer dummy I am!!!!!!

  14. Thank you SO much! Problem solved. Headache over.
    This all happened to me because Google recommended turning access off for less secure apps… with no warning about possible consequences.

  15. Thank you!

    I had spent ages trying to re-connect my Outlook 2010 to Gmail following a recent Windows feature update that appeared to screw things up ;-) Well, either that or Google telling me to turn off access for less secure apps but not warning me of the consequences.

    Anyway, whatever the reason, I’d had no success at all until I came across these instructions. They appear to have done the trick and everything is now working normally again – thanks again! :-)

  16. I tried all the steps recommended here and elsewhere to connect my Gmail account to Outlook: 2 step verification, generating an app password, allowing less secure apps, manually adding a new Outlook account via the control panel (control panel/ mail/ email accounts/ new) – and still my password/ account details weren’t accepted. But then I discovered that if I left this last window open (which still had a dialogue box asking me to reconfirm username and password) and then tried to automatically connect from Outlook itself (open Outlook, File, Add Account), it magically worked!!

  17. Thanks so much. Not sure which setting worked, but I tried changing the outgoing port (even though the error was with incoming mail), and then changed the google account setting for allowing access less secure apps. Not sure why the mailbox suddenly stopped working, we thought it was the latest Windows Update, but reversing that didn’t work anyway.

  18. Brilliant – such a simple fix. All the other sites I visited didn’t say you had to choose between IMAP and POP

  19. I have been trying for so long to use my Gmail in outlook, but not succeed.
    Finally, I got something very helpful that exactly works. I am very much thankful to you.

  20. This has happened to me a couple times in the past year and each time it was after Outlook did an update. And each time I gave up and just used the online gmail reader for a time, then went back to Outlook and it started working by itself. Error messages that I saw were more like “sorry we could not make the connection at the moment and try later” . What is up with that? It has now occurred again but I am frustrated that this keeps happening over and over!

  21. Thanks. Great article. Switching to MFA and using app passwords worked like a charm for a client with GMail Outlook 2010.

  22. Less secure apps on was the trick for me, as well as the SMTP 587 port. Some sites have been recommending a different port. Thank you.

  23. EXCELLENT!!! Flipped the “allow less secure apps” button then Outllook 2013 automatically connected. I’ve tried forever to get this set up for my wife. Couldn’t tell you how many different posts I’ve read over the past couple of years. Sheer Genius to have figured this out. THANK YOU SO MUCH…

  24. Thank you so much for this easy to follow guide. I gave up on this over a year ago getting Outlook 2013 and gmail to work again, and then when I finally had some spare time I found this guide and I just took five minutes to solve the problem! I’m so grateful!

  25. Thank you. After many hours of trying to figure out my email was not working, this step by step guide helped and I am not getting emails again.


  26. This is the only post with enough detail to get you connected to gmail using outlook 2010 it may take a few times and a bit of repetition but eventually it worked for me

  27. Never would’ve figured out that Google Account “App passwords” on my own. What a seemingly random requirement. Your page did a better job of explaining what to do than the gmail Configuration Instructions. Well done. Thank you.

  28. excellent, after many hours of frustration trying to sort this out, i came across your article, like most other commenters, made my afternoon and worked first time. Thank you kindly for sharing

  29. its a big shit! i tried several solution posibilities.. but since 2 weeks my outlook 2019 cannot retrieve or sent gmails… wtf are doing this stupid developers……..

  30. I did not see what you suggested when I looked at my gmail account. So, I cannot follow your advice.

  31. Thank you! Tried everything that worked before… with no luck.
    I followed your step-by-step guide, and got the Outlook 2016 working again

  32. I sympathize with the last commenter as nothing seems to work including these instructions. I have used this process before this – it did work – but now the below instruction is useless

    In the Sign-in and Security section press on link Apps with account access

    as this option is no longer present in my account. There is a Security section but no Apps with account access link.

    So after hours of dealing with this ridiculous inability to resolve this most basic of needs I am still stuck.

    MS tells me its Google’s fault and I have no idea where to go from here except to stop using Gmail entirely.

  33. Thanks for the *perfect* and clearly written instructions. I spent 2 hours yesterday trying to get this to work and this was all I needed.

  34. I have tried everything without any luck- I have followed the instructions that say this below however it is not asking me for a password – any help would be much appreciated

    Outlook will open a new window with Google Account sign in. You need to enter your password and later enter the two-factor authentication password you can find in any authenticator app from Google, Microsoft, or whatever the app you use to generate 2FA-codes. If you do not have an app for 2FA, enter one of your one-time-use passwords instead of your primary account password.

  35. Yes Guys, great, this did it for me:

    Disable the simplified account creation in Outlook 2016

    Registration of DisableOffice365SimplifiedAccountCreation set to 1.
    Thanks a lot!

  36. Hi , I am using Outlook 10 on my system and facing the same problem in setting up my Gail id on Outlook . Would need some help on the same issue .
    Earlier i tried doing reading some other post but never got connected but following the abobe steps is atleast prompting for password again and again .


  37. My Outlook 2013 on Win-10 stopped connecting to Gmail last week. I’ve tried every fix I can find with successful to resolve this issue. Using:
    imap.googlemail.com with 993/SSL
    smtp.googlemail.com with 465 or 587/TLS
    Outgoing server requires auth: On
    Use same settings option: On
    Google allow 3rd party app option: On
    and reset captcha fix via google
    Tested ports using Test-NetConnection PowerShell per above

    Still not working. Suggestions to resolve?

  38. This was very useful for figuring out what the issue was. It was also very detailed on what year the server is your using to. I use to work for a computer service company helping people get there account issues fixed along with other hardware and software related issues. This right here is something they never teach you when learn account and software issues. So thank you very much for posting this article it was of great use to me

  39. Very useful thread, easy step be step guide and was able to sort my connection issues. How are users supposed to know this detail. Thank you very much !!

  40. Hi, Thanks a million Sir, your methods worked 100 percent.
    I had tried solving this problem for 2 days with no luck after upgrading from windows 7 to windows 10.
    You made my day, cheers.
    Keep up the good work.
    Viren Mahabir

  41. Hello, I am using Outlook live and I had the chance to sync my Gmail email address with the desktop version of Outlook.

    I can send emails but I cannot receive any suggestion?

    I followed this recent guide to sync Gmail but basically I cannot see new emails coming in the inbox in Outlook live :-)

    I thank you in advance.

  42. My Outlook was able to receive and send Gmail message for months, then last week it suddenly started giving me the popup about needing access to my account. I went through that process many times and it always failed with the “Sorry, we could not sign you into Google – IMAP” message. I was using an app password to this point so I thought this was very odd.

    All the tests in the account setup worked, and my account got spammed with Outlook test messages, but Outlook was refusing to actually connect in the program itself.

    The only solution that worked was the registry command to disable simplified account creation. Thank you for this!!

    1. None of these work for me. I have existing POP gmail accounts in the standalone version of Outlook 2021 on a PC and saved to a local .PST file. I do not want IMAP.
      Do I need to delete my accounts and re-enter them?

  43. Thank you for your post – spot on after nearly 2 hours of trying to link my gmail account to my outlook 2010. The a16 digit app password was want successfully did it for me.

    ITBros.com rules

  44. Thank you! This did not work the first time, but then a few minutes later, VOILA! Outlook had e-mail again. Using the app password seemed to be the trick (I also changed the ports). I really, really appreciate that you posted this with such detail and took time to include screenshots.

  45. Hi can someone help me? I’ve done the steps to sign in through my iPhone, and successfully completed the 2FA through google. All good, right? No. I’ve tried three times and every time I look at my outlook accounts the gmail account has not been added. I have one other account on there already, so I wonder if maybe this is throwing a wrench in the process? Not sure what’s going on but I have already created a Microsoft account with the gmail address so I’m not sure what the problem is.

  46. Hi!
    I tried their steps to connect to Gmail but Office 2019 does not have a File > Office Account > Account Privacy path shown to me. Therefore I cannot even try the method and it is not shown where else I could find this option.
    Please help

    1. it does have those options… you have to look down near the bottom on the file menu and the account privacy is right after you click on office account….middle left side of the page…


    I have worked with the microsoft help associates for months on this error and Nothing they have done has corrected the issue for longer than 12 hours….. I used you recommendations for Uncheck the option Enable connected experience… I unchecked EVERYTHING…… Outlook now updates and syncs all files with no issues and its been over 24 hours so I have high hopes once again…… I also did compress my data file, that connected immediately afterward but didn’t last… just another thing to look at…. I don’t know if this is a long term solution and would suggest keep looking into it if you have the time and curiosity, for me the help desk agents should be using your outline for their procedures and the development team should be working more on this at it is happening in W11 more than ever…
    thanks again for your assistance….

    1. worked for a short while… the change that got it working was opening mail from Control Panel and then making the correct port changes there in advanced settings… my guess is for some reason the outlook port setting got out of sync with the one using control panel …. once i made sure both places showed the exact same info outlook was fixed…. It synced over 20k emails and hundreds of folders for 10 years of email.. that’s how good it worked and its still working a week later…..I since have archived and deleted old unused emails getting the folder size down to a respectable size. Good luck….

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.