How to Fix Gmail POP3 Connection Issues After Office 365 MFA is Enabled
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.

- 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.
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.
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.
Log into your Microsoft 365 account in a web browser, click on your profile picture, and navigate to 'View account' > 'Security info'.
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.
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.

Switch to an OAuth-Compatible Email Client
If App Passwords are disabled by your organization, you must use an email application that natively supports Modern Authentication (OAuth 2.0).
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. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
- 2. Install the Suite: Run the installer and follow the quick on-screen instructions to set up WPS Office on your computer.
- 3. Open Your Documents: Launch WPS Office and immediately open your existing Microsoft Office files with perfect formatting preservation.

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.




