Exchange Connection Problems

How to Fix Gmail POP3 Connection Issues After Office 365 MFA is Enabled

Emma BrownEmma Brown Nov 2, 2026 869 views

Question details

Users are unable to connect to Microsoft 365 mailboxes from Gmail via POP3 and SMTP after Multi-Factor Authentication (MFA) has been enabled.

Fixing Gmail POP3 Connection After Enabling Office 365 MFA
Product
Microsoft Office 365 and Gmail
Device & OS
not provided
Scenario
Attempting to sync or access an Office 365 email account through Gmail's POP3 fetcher after MFA was turned on.
Observed behavior
The POP3 and SMTP connection fails despite correct username and password credentials because the interactive MFA challenge cannot be processed by Gmail's POP3 server request.
Before you start

Verify that your Office 365 account credentials are correct and check with your organization's Microsoft 365 administrator to confirm if Multi-Factor Authentication (MFA) or security defaults were recently enforced.

Solution 1Recommended

Use a Microsoft 365 App Password

Since Gmail's POP3 fetcher does not support interactive MFA prompts, you can generate an App Password to bypass the prompt for legacy protocols.

App Passwords are 16-digit passcodes that give a non-browser app or legacy protocol (like POP3/SMTP) permission to access your Microsoft 365 account without requiring a secondary MFA challenge. Note that this feature must be allowed by your Microsoft 365 administrator.

1
Access Security Info

Log into your Microsoft 365 account in a web browser, click on your profile picture, and navigate to 'View account' > 'Security info'.

2
Add an App Password

Click 'Add method', select 'App password' from the dropdown list, and click 'Add'. Enter a name for the password (e.g., 'Gmail POP3') and click 'Next' to generate it.

3
Update Gmail Settings

Open Gmail, go to 'Settings' > 'See all settings' > 'Accounts and Import'. Under 'Check mail from other accounts', edit your Office 365 account and replace your normal password with the newly generated 16-digit App Password.

Use a Microsoft 365 App Password
Administrator Settings: If you do not see the option to create an App Password, your IT administrator may have disabled legacy authentication or App Passwords entirely for your organization.
Free Microsoft Office alternative

Experience a Seamless and Lightweight Office Suite

If you are tired of dealing with complex Microsoft 365 account settings and authentication errors, simplify your document workflow with WPS Office. It is a free, lightweight, and highly compatible alternative to Microsoft Office that lets you focus on your work rather than troubleshooting.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
  2. 2. Install the Suite: Run the installer and follow the quick on-screen instructions to set up WPS Office on your computer.
  3. 3. Open Your Documents: Launch WPS Office and immediately open your existing Microsoft Office files with perfect formatting preservation.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx)Free and lightweight local editing, bypassing complex online account requirementsFamiliar user interface ensuring seamless migration with zero learning curveBuilt-in PDF editing, merging, and conversion tools
QA img-9

Frequently Asked Questions

Why does enabling MFA break my POP3 connection in Gmail?

Gmail's POP3 fetcher uses Basic Authentication by default. When Multi-Factor Authentication (MFA) is enabled on Office 365, logging in requires an interactive security prompt (like an SMS code or authenticator app approval). The background POP3 server request from Gmail cannot process or display this interactive prompt, causing the connection to fail.

Can I still use POP3 with Office 365 if MFA is required?

Yes, but only if your Microsoft 365 administrator allows the use of 'App Passwords'. An App Password is a unique 16-character password that bypasses the interactive MFA prompt for legacy protocols like POP3 and IMAP.

What is Modern Authentication?

Modern Authentication is a highly secure identity management method that uses OAuth 2.0 tokens. Unlike Basic Authentication (which sends your username and password with every request), Modern Authentication supports advanced security features like MFA, conditional access, and smart cards.