How to Fix Gmail IMAP Error 78754 in Outlook
In this article
Gmail IMAP error 78754 in Outlook usually means Outlook can’t authenticate with Gmail’s servers, often because of an outdated password, an app password issue, or Outlook’s “Use Less Secure Apps” setting. The quickest fix is to remove your Gmail account from Outlook, generate a Google App Password (if you have 2-Step Verification enabled), and re-add the account using that password. Below is the full step-by-step process, along with common mistakes and troubleshooting tips.
What You'll Need
- Your Gmail email address and the password you use to sign in to Google (or an App Password if you have 2-Step Verification on).
- Access to your Google Account settings in a web browser.
- Outlook for Windows, Mac, or the web (steps below focus on the desktop app but work similarly for others).
- An internet connection.
Step-by-Step
- Check your Gmail settings in a browser. Go to myaccount.google.com and sign in. Look for “Security” (or “Manage your Google Account” > “Security”). Make sure you know whether 2-Step Verification is on or off. If it’s on, you’ll need an App Password for Outlook.
- Enable IMAP in Gmail. In Gmail, click the gear icon (top right) > “See all settings” > “Forwarding and POP/IMAP”. Under “IMAP access”, select “Enable IMAP” and click “Save Changes”. This is often already enabled, but double-check.
- If you have 2-Step Verification enabled, generate an App Password. Go to myaccount.google.com > “Security” > “2-Step Verification” (you may need to sign in again). Scroll down to “App passwords” (if you don’t see it, you may need to search for it). Select “Mail” as the app and “Other (custom name)” for the device, type “Outlook”, and click “Generate”. Google will show a 16-character password. Copy it.
- Remove the Gmail account from Outlook. Open Outlook. Go to File > Account Settings > Account Settings. Select your Gmail account and click “Remove”. Confirm that you want to remove it. (This does not delete your Gmail data; it only removes the connection in Outlook.)
- Restart Outlook. Close Outlook completely and reopen it. This clears any cached credentials.
- Re-add your Gmail account. Go to File > Add Account. Enter your Gmail address and click “Connect”. When prompted for a password, do one of the following:
- If you have 2-Step Verification off: enter your normal Gmail password.
- If you have 2-Step Verification on: enter the 16-character App Password you generated (no spaces).
- Complete the setup. Outlook may ask you to allow the connection – click “Allow” or “Done”. It will then test the connection and sync your mail. Once you see “Your account is ready”, click “Finish”.
- Test the connection. Send yourself a test email from another account, or click “Send/Receive” in Outlook. If you don’t see the error, you’re good.
Common Mistakes
- Using your normal password when 2-Step Verification is on. If you have 2-Step Verification enabled, your regular password won’t work – you must use an App Password.
- Entering the App Password with spaces. Google shows the App Password in groups of four characters, but you must type it without spaces.
- Not enabling IMAP in Gmail. If IMAP is disabled, Outlook can’t connect at all, even with the right password.
- Removing the account but not restarting Outlook. Outlook may still hold onto the old credentials in memory; restarting clears that.
- Using an outdated Outlook version. Older versions may have compatibility issues with Gmail’s security protocols. Make sure Outlook is updated.
Tips
- Use the Outlook mobile app for a quick test. If you have a phone, try adding the same Gmail account to the Outlook mobile app. If it works there, the issue is specific to your desktop Outlook.
- Keep your App Password safe. Treat it like a real password – don’t share it. If you lose it, you can revoke it and create a new one.
- Consider using “Sign in with Google” if available. Newer Outlook versions may offer a “Google” button that uses OAuth instead of a password. That’s more secure and often avoids the error.
- Check your Gmail account for security alerts. Sometimes Google blocks sign-ins from “less secure apps”. If you see a security alert, follow the prompts to allow the sign-in.
Troubleshooting
If the error persists after re-adding the account, try these in order:
- Check your internet connection. A weak or intermittent connection can cause authentication failures. Restart your router or try a different network.
- Check Gmail’s server status. Visit www.google.com/appsstatus to see if Gmail is having an outage. If it is, wait and try again.
- Disable and re-enable IMAP in Gmail. Go back to Gmail settings, disable IMAP, save, then enable it again and save. This resets the IMAP connection.
- Create a new App Password. If you’re using an App Password and it still fails, revoke it and generate a new one. Sometimes the old one gets invalidated.
- Use Outlook’s “Repair” tool. In Outlook, go to File > Account Settings > Account Settings, select your Gmail account, and click “Repair”. Follow the prompts.
- Update Outlook. Go to File > Office Account > Update Options > Update Now. After updating, restart Outlook and try again.
- Reinstall Outlook. As a last resort, uninstall and reinstall Outlook. This removes all local settings and cached data, which can resolve stubborn issues. (You’ll need to re-add your email accounts.)
Frequently Asked Questions
Why do I get error 78754 even though my password is correct?
If you have 2-Step Verification enabled, your normal password won’t work – you need an App Password. Also, make sure IMAP is enabled in Gmail settings.
Can I use my regular Gmail password if I don’t have 2-Step Verification?
Yes, if 2-Step Verification is off, your regular Gmail password should work. However, Google may still block the sign-in if it considers Outlook “less secure”. In that case, you’ll need to allow access or turn on 2-Step Verification and use an App Password.
Will removing my Gmail account from Outlook delete my emails?
No. Removing the account from Outlook only removes the connection. Your emails remain safe in Gmail’s servers. You can re-add the account later without losing anything.
How do I know if I have 2-Step Verification enabled?
Go to myaccount.google.com > “Security”. Under “How you sign in to Google”, you’ll see “2-Step Verification” – if it says “On”, you have it enabled.
What if I don’t see the “App passwords” option?
App passwords are only available when 2-Step Verification is on. If you don’t see the option, either turn on 2-Step Verification first, or use your regular password if you don’t have 2-Step Verification.
Does this error happen on Outlook for Mac or mobile?
Yes, it can happen on any Outlook client. The steps are similar: remove the account, generate an App Password if needed, and re-add it. On mobile, you may need to delete the account from the app’s settings and re-add it.