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 you 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 your 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.

gmail not working in outlook


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 email 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 enabling 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 to 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 app you use to generate 2FA codes. If you do not have an app for 2FA, use one of your Google app passwords (https://myaccount.google.com/apppasswords) instead of your primary account password (app password is 16 characters long without spaces);
  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, 2013, and 2010. 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 it up manually, proceed with the following:

  1. Launch Outlook. Click on File, then click on Add Account;
  2. Select Manual setup and hit Next;
    outlook gmail not working
  3. In the following window, select POP or IMAP;
    gmail stopped working 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 in the Logon information form and then click on More Settings;
    outlook not working with 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 not working on 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 and proceed to the next window.
    outlook cannot connect to gmail

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 log into your Google account;
  2. Open the Security tab and click App Passwords;
    outlook not connecting to gmail
  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.
    gmail outlook 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 been completed successfully.

  • Log onto the incoming mail server (IMAP)
  • Send test e-mail message

outlook gmail problem

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.


Gmail Access in Outlook 2013, 2010, and 2007 After May 30, 2022

If you are using old versions of Outlook (Microsoft Office 2016 or older) to connect to your Gmail mailbox, you most likely received an email like this:

On May 30, you may lose access to apps that are using less secure sign-in technology.
To help keep your account secure, Google will no longer support the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password. Instead, you’ll need to sign in using Sign in with Google or other more secure technologies, like OAuth 2.0.Email software, like Outlook 2016 and earlier have less secure access to your Gmail. Switch to Office 365, Outlook 2019 or newer, or any other email software where you can sign in using Sign in with Google.

outlook stopped working with gmail

When connecting to a Gmail mailbox, Outlook will return the following error:

Task youraccount@gmail.com – Receiving reported error (0x800CCC92): ‘Your email server rejected your login. Verify your username and password for this account in Account Settings. The server responded: -ERR [AUTH] Username and password not accepted.”

If you’re using Outlook 2016 (retail), 2019, 2021, or 365, you won’t have problems disabling less secure apps. All of these versions support IMAP connections to Gmail with the “Allow less secure apps” option turned off. If you’re using an older version of Outlook, you’ll need to upgrade to a newer version or turn on two-step verification and use an app password.

Here’s an easy workaround to bypass this restriction in an older version of Outlook. Simply follow the steps below:

  1. Go to Gmail Account Settings and enable “2-Step Verification”; gmail outlook problem
  2. Then go to the App passwords section and add a custom app named Outlook; outlook 2016 gmail not working
  3. Copy your 16-digit app password and use it in Outlook settings instead of your Gmail password. You need to enter the App Password once for the app or device, after which Outlook should remember it and not ask you again.

Enabling 2FA and App Password generation will allow you to use Outlook 2016, 2013, 2010, and even 2007 to connect to your Gmail mailbox after May 30, 2022.

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

gmail not working with outlook 365

If the command returns TcpTestSucceeded = False, then access to your Gmail email account is blocked by a firewall. Check your Windows Defender Firewall settings 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 cannot connect to gmail pop server
  2. In the new window, click Email Accounts;
    gmail no longer working 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.
  6. 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 cannot connect to gmail keeps asking for password

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.

outlook 2016 gmail imap not working

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.


    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….

  48. Thanks TheITBros.com
    What you have might work for the current Windows and Outlook, but the stuff below, a little modified from your instructions, works with all Outlook and Windows operating systems, at least from Outlook 2007 onward.

    I call it “Fixing a broken Gmail account in Outlook 2007 on 06-02-2022”

    The following works on my old Windows XP, Windows 7 & even the despised Windows 10:
    As of June 2, 2022, my gmail account quit working in Outlook 2007 even though it has worked fine for 15 years or so.
    The reason why is explained in Step 3 below.
    And Outlook(not just 2007, but all Outlook versions I have) quit working on Windows XP, Windows 7 and Windows 10 computers I have.
    On all of them!
    I tried to send and receive in Outlook, but it just asked for my password continuously then fails for both pop and imap.
    I tried 25 different fixes on-line from all the young experts and all of them were useless.
    None of them worked.
    Finally I highjacked a post from 2011 and another from 2016, absconded most of the content and combined it with the crappy instructions from GMAIL and the young experts.
    The following worked for all my computers & operating systems.
    I only show how to configure pop although it is really antiquated and does not sync, but so am I!
    IMAP will also work if you choose that, which almost 99% of folks do, I just do not.

    Step 1: Enable POP in Gmail
    1. Sign in to Gmail (I found that installing the Google App on my iPhone 12 was the best way to easily do the 2 step authentication crap that Google has forced on us. See here: https://myaccount.google.com/signinoptions/two-step-verification/enroll-welcome?pli=1 )
    2. At the top right, click Settings.
    3. Click Forwarding and POP/IMAP.
    4. Select Enable POP for all mail or Enable POP for mail that arrives from now on.
    5. Also, select Enable IMAP while you are there.
    6. Choose what to do with your messages after your POP client (desktop with Windows and Outlook) or device receives them. I recommend the first option, keeping Gmail’s copy in the inbox.
    7. Click Save Changes.

    Once you’ve enabled POP in your Gmail settings, you need to configure your client (Outlook in this case).

    Step 2: Configure client
    Go to your client (e.g., Microsoft Outlook) and make sure these settings are correct.

    For POP:
    Incoming Mail (POP)
    Server: pop.gmail.com,
    Requires SSL: Yes,
    Port: 995
    Outgoing Mail (SMTP)
    Server: smtp.gmail.com,
    Requires SSL: Yes,
    Requires Authentication: Yes
    Port for SSL: 465
    I tried Requires TLS: Yes (if available, but I quit trying after several attempts with Port for TLS/STARTTLS: 587 because it just would not work with the Gmail code below.)

    Step 3 Go to https://support.google.com/accounts/answer/6010255?hl=en
    “Less secure apps & your Google Account”

    You will get the infuriating message that explains why you have to do all the stupid steps, as required by Google staff.

    “To help keep your account secure, from May 30, 2022, Google no longer supports the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password.

    Important: This deadline does not apply to Google Workspace or Google Cloud Identity customers. The enforcement date for these customers will be announced on the Workspace blog at a later date.

    For more information, continue to read.

    If an app or site doesn’t meet our security standards, Google might block anyone who’s trying to sign in to your account from it. Less secure apps can make it easier for hackers to get in to your account, so blocking sign-ins from these apps helps keep your account safe.”

    Pure BS!

    In that page you will find a bunch of useless information that will take several hours to screw up your day…, but at least now you know why it is screwed up.

    So, skip to:

    Step 4: click on the following link and sign in again to Google.

    After you enter your email address, your password, your breast size, and the length of your lower lip, and go to your Google App on your Android or iPhone, and verify that it is actually you…”yes, Its me.” You SOBs!

    Go to the bottom of the web page where it says

    “Select the app and device you want to generate the app password for.”

    For your desktop, windows computer with Outlook, select “Mail” in the first column and “Windows Computer” in the second column, then click on “Generate”.

    Google then provides the following:

    Your app password for Windows Computer

    (A 16 digit password that you really need to write down, because just highlighting it and copying it to the clipboard may not work when you try to paste it in the Outlook password box.)

    And Google tells you sort of how to use it (i.e. my notes to explain the Google stuff).

    “How to use it
    1. Open the “Mail” app (i.e. open Outlook).
    2. Open the “Settings” menu (i.e under the “tools’ menu).
    3. Select “Accounts” and then select your Google Account ( i.e. select “Account Settings” and click on the gmail account that was disabled by the benevolent Google team.)
    4. Replace your password with the 16-character password shown above (i.e. click “change”, then enter your entire gmail address in “User Name:” and enter the 16 digit code, with no spaces, just digits, in the “Password:” box.
    “Just like your normal password, this app password grants complete access to your Google Account. You won’t need to remember it, so don’t write it down or share it with anyone.”

    To make sure it actually works:
    1. Google left this out: click the “Test Account Settings” and it should send and receive emails now.
    2. Just to be sure send yourself a test email from the gmail and let Outlook send it, then receive it.

  49. Thank you so much for this excellent, clear explanation. I was at my wits end trying to get my gmail accounts to stop sending those error message pop-ups on my Outlook 13 app on Windows. What amazes me is how user-unfriendly the gmail/Google platforms are. My aol.com email addresses sync up automatically with no difficulty at all.

  50. Hi. Almost perfect, cause i am having trouble from this point:

    Go to the bottom of the web page where it says
    “Select the app and device you want to generate the app password for.”

    When I log in, it appears the Google Account page. And this option (select the app and device…) does not appear for me. What am i missing?

    1. This otherwise excellent article could maybe add, you *HAVE TO* enable 2-Step Verification on your Google account itself first, before this option (add app password) will appear. This may cause added hassle if you are also logging into your Gmail account from different devices/places etc. – a phone code maybe requested as well as password. But I don’t know any way around this, if, as in my case, you want to use Outlook 2016 to read your Gmail. After this, just use the app password provided (16-digit, without the spaces) in Outlook, instead of your original Gmail password. Thanks again to author, and Google for their endless ‘security’ BS.

  51. OUTLOOK 2007

    Today (8th June 2022) Gmail broke our old Outlook 2007 access on Windows 10 PC’s

    I finally fixed it… sort of simply… (Very similar to the above article)

    From Gmail.
    Top right (Settings sprocket icon), [See All Settings] button,
    Change account settings: (top middle)
    Other Google Account settings (should be bottom of 3 options )
    Security (left side options with a padlock icon)
    Signing into Google (Middle column with a picture of a key)
    Turn ON “2-Step verification”.
    Once turned on, step back to the Key picture as above…
    Just below it there’s an App Passwords section…
    Use your real Gmail password to confirm your you…
    Select an app (from Below)
    Other (Custom Name)

    Put in “Outlook” (without quotes)
    Use your phone to finally get a password from Google that is something like…
    abcd efgh ijkl mnop
    ok back to Gmail.

    Now in Outlook 2007, change the account password to abcdefghijklmnop
    (note you DON’T need the spaces….)

    Hit test and sweat while you wait for the ticks…

    Sorry if that didn’t work for you… it did for me..
    What’s more, 2 machines in the same network, both using that account, both used the same abcdefghijklmnop in outlook successfully…

  52. Brilliant Geoff.
    After my attempts to log on to my Gmail account via my usual Outlook 2010 generated numerous “requires password” pop-ups yesterday evening frantic trawling of the internet eventually found this article and, scrolling to the bottom of all the comments; your solution of the same issue. I followed your steps in the wee small hours of 9th June 2022 and set up 2 stage authentication within my Google account, generated the App password and popped it into my Outlook settings …..test connection: tick! …..test email: tick!
    Not confident yet that there won’t be any accidental conflicts between my Google password and my App password in times to come, so I ignored Google’s advice and made a record of the App password ….just in case!
    So thank you Geoff, your fix worked for me :-)

  53. I have Windows 7 and Office 2016. Gmail stopped working via Outlook.
    Now Google says that to get an App password for the Outlook account , you have to seat up 2FA.
    You said 2FA does not work with Outlook 2016.
    What can I do?

    1. “You said 2FA does not work with Outlook 2016..”
      That bits confusing, ignore that.
      Outlook 2016 and Windows 7 will work fine when you use Googles 16-digit app password instead of your Gmail password. Thats it. To generate an app password however, you need to enable “2-Step Verification” in your Google account – then, it gives you a link to generate an app password. Use that in Outlook instead of current Gmail password – all good, hopefully.

  54. Well done Geoff. Saved me a lot of time and aggro. Just changed 6 gmail accounts to use Outlook 2010 successfully.

  55. Thanks big! The advice on enabling 2FA and generating an App Password in Google to be used in my Outlook 2016 gmail settings has worked so well!!
    Guys who are still not getting through with Outlook 2016 should re-read the section “How to Connect Gmail to Outlook 2016” on this page.

  56. Just tried your Google/Outlook workaround. Worked perfectly! I’m running Outlook 2007 on a Windows 7 system using a gmail account and nothing else I’d tried did the trick. Thank you so much.
    (I know….I should just update the OS and Apps but I’m took complacent.)

  57. Thank you.
    I was getting endless password pop ups today when Outlook 2010 tried to connect to my Gmail IMAP account.
    The advice on enabling 2FA and generating an App Password in Google to be used in my Outlook 2010 Gmail settings worked for me.

  58. Thank you so much… I have sorted out my sisters 2016 outlook connection using your well explained guide. Could not have done it without your deatiled information. My sister only knows how to switch on her laptop and use outlook! So now can now communicate to her family and friends again.

  59. Thank you so much for the detailed trouble-shooting information. I could not get my Outlook 365 account to link to my Gmail account until I finally tried switching to the “googlemail” convention in the incoming and outgoing server settings. That fixed the issue!

  60. Excellent article. This just fixed the issue with Outlook 2013 and the Windows Mail program (had to turn on 2-step verification). Thanks.

  61. After 3 hours of fiddling, cursing and typing my keyboard almost in half, I found this article. And 10 minutes later I had Gmail again in Outlook 2019. I wish Google and Microsoft would solve these kind of interaction issues with more priority.

  62. OUTLOOK 365

    TO GET GMAIL POP3 WORKING IN OUTLOOK, must enable in Gmail pop3 and the 2 step verification and use an APP password.
    that app password does not change ones normal password

    gmail, look for co wheel settings
    at top all settings
    then see menu near top, forwarding and pop
    pop download = Enable POP for all mail (even mail that’s already been downloaded)


    3rd down on left, security
    signing into google
    select 2 step verificatio
    and underneath that
    app passwords, hit
    select app, other, write in outlook
    generate, box pops up with app password in yellow, copy this, done
    NOW GO SETUP POP3 IN OUTLOOK USING THAT PASSWORD. BUT maybe it does, no it does not, if you change the main password it seems then to disable the app password so you have to get a new one. Note that if you change password in gmail you cant go back to the old one.

    Your app password for Windows Computer
    looks like this
    How to use it
    Open the “Mail” app.
    Open the “Settings” menu.
    Select “Accounts” and then select your Google Account.
    Replace your password with the 16-character password shown above.
    Just like your normal password, this app password grants complete access to your Google Account. You won’t need to remember it, so don’t write it down or share it with anyone.

    after i got
    ERROR Task ‘Synchronizing subscribed folders error outlook

  63. I’m trying to use it the OTHER way adding an Outlook account into my Gmail. Is there any way to do this? I just lost access to all of my work accounts this past weekend and it’s ruining my workflow. Help!

  64. If you constantly get error in signing into your IMAP in MS Outlook (mine is 2013):
    get in your online gmail account and turn on: 2 steps verification in Security. Then on the same page go to App Passwords: choose Mail, Windows, Generate password.
    Go back to your dedicated Outlook application and use the generated password to connect to your IMAP google account.

  65. I am unable to connect Office 365 to my gmail. It was working fine until 10/27/22. It says I have the wrong user / password even though its correct. Any thoughts?

Leave a Reply

Your email address will not be published. Required fields are marked *

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