If Outlook says it cannot connect to the server, the cause is usually a wrong password, a broken mail profile, or a temporary network or server problem. Start by checking your internet connection, then restart Outlook, and if that fails, repair the mail profile or re-enter your password. This article walks through the most common fixes, from quick checks to deeper profile repairs, so you can get back to email quickly.
What This Error Actually Means
Outlook displays a “cannot connect to the server” message when it can’t establish a connection to your email provider’s server (like Microsoft 365, Gmail, or your company’s Exchange server). The error can appear as a pop-up asking for a password, a yellow bar in the status area, or a dialog box that says “Outlook cannot connect to the server.” The underlying issue is always one of a few things: your computer can’t reach the server, the server is rejecting your credentials, or Outlook’s local configuration is broken. Understanding which one you’re dealing with is the first step to fixing it.
Quick Checks to Do First
Before diving into complex fixes, rule out the simple causes. These take less than a minute and solve a surprising number of cases.
- Check your internet connection: Open a web browser and visit a site like example.com. If that fails, your internet is down, and Outlook will naturally fail too.
- Restart Outlook: Close it completely (check the system tray for the icon) and reopen. This clears temporary glitches.
- Restart your computer: A reboot clears network stacks and hung processes that can block Outlook.
- Check the server status: If you use a cloud service like Microsoft 365 or Gmail, the provider may be having an outage. A quick web search for “Microsoft 365 status” or “Gmail down” will tell you.
- Disable VPN or proxy: Virtual private networks and proxy settings can interfere with Outlook’s connection. Temporarily turn them off and try again.
Password and Authentication Issues
The most common cause of this error is a wrong or expired password. When Outlook can’t authenticate, it often shows a password prompt or a “need password” dialog. Here’s what to do:
- Click the prompt and re-enter your password carefully, ensuring Caps Lock is off.
- If you use two-factor authentication (2FA), you may need an app password or to sign in via a browser to complete a verification step.
- For Microsoft 365 accounts, go to File > Account Settings > Account Settings, select your account, and click Repair. This often re-authenticates you.
- If you’re using a work or school account, your password may have been reset by an admin. Contact your IT department.
If you’ve recently changed your password, Outlook may still be using the old one. Update it in the account settings or remove and re-add the account.
Repair Your Mail Profile
Your mail profile contains your account settings, server names, and cached data. If it’s corrupted, Outlook can’t connect even with the correct password. Repairing the profile is a safe, non-destructive step.
- Open the Control Panel (search for it in the Start menu).
- Click Mail (or Mail (32-bit)).
- Click Show Profiles.
- Select your profile and click Properties.
- Click Email Accounts, select your account, and click Repair.
If repair doesn’t help, create a new profile:
- In the same Mail dialog, click Add and name it (e.g., “NewProfile”).
- Set up your email account again.
- In Outlook, go to File > Account Settings > Manage Profiles and choose to always use the new profile.
Your old emails and contacts are stored in your mailbox on the server, so they’ll reappear after re-adding the account.
Server Settings and Firewall Issues
Sometimes the problem is that Outlook is trying to connect to the wrong server or a firewall is blocking the connection. This is more common with custom IMAP/POP accounts or when you’ve recently changed email providers.
Check server settings: Go to File > Account Settings &strong> and select your account. Click Change and verify the incoming and outgoing server names. For example, Gmail uses imap.gmail.com and smtp.gmail.com; Outlook.com uses outlook.office365.com. If you’re unsure, check your email provider’s help page.
Firewall and antivirus: Windows Firewall or third-party security software can block Outlook’s ports (typically 993 for IMAP SSL, 995 for POP SSL, and 587 for SMTP). Temporarily disable your antivirus firewall to test, but re-enable it after. If that fixes it, add an exception for Outlook.exe.
Proxy settings: In the same dialog, click More Settings > Connection tab. Make sure “Connect to Microsoft Exchange using HTTP” is checked if you’re using Exchange, and that the proxy URL is correct (ask your IT admin).
When Outlook Is in Offline Mode
Outlook has an offline mode that prevents it from connecting to the server. This is easy to accidentally enable.
- Look at the bottom-right corner of the Outlook window. If you see Working Offline, click it to switch to online.
- Or go to the Send/Receive tab and click Work Offline to toggle it off.
If you’re using Cached Exchange Mode, Outlook may show stale data while offline. Switching to online mode forces a fresh connection.
Advanced Troubleshooting
If none of the above works, try these deeper fixes:
- Run Outlook in Safe Mode: Press Win + R, type
outlook.exe /safe, and press Enter. If it works, a third-party add-in is causing the issue. Disable add-ins via File > Options > Add-ins. - Disable add-ins: In Safe Mode, go to File > Options > Add-ins, click Go next to COM Add-ins, and uncheck all. Restart Outlook normally.
- Repair Office installation: Go to Control Panel > Programs > Programs and Features, select Microsoft Office, and click Change. Choose Quick Repair first; if that fails, Online Repair.
- Check your DNS settings: Flush the DNS cache by opening Command Prompt as administrator and typing
ipconfig /flushdns. Then try again. - Create a new Windows user account: This helps if the issue is tied to your user profile. If Outlook works there, migrate your data.
Frequently Asked Questions
Why does Outlook keep asking for my password?
This usually means your password is wrong, expired, or Outlook’s stored credentials are corrupted. Re-enter the password, ensure 2FA is set up correctly, and if it persists, delete your saved Windows credentials (in Credential Manager) and restart Outlook.
Can a full mailbox cause connection issues?
Yes, if your mailbox is over its storage limit, the server may reject new connections. Check your mailbox size via Outlook’s File > Tools > Mailbox Cleanup or your webmail. Free up space by archiving or deleting large items.
Does reinstalling Outlook fix the problem?
It can, but it’s a last resort. Reinstalling resets all settings and may lose customizations. Try profile repair, safe mode, and Office repair first. Only reinstall if those fail.
Why does Outlook connect on my phone but not my computer?
This suggests your account and server are fine, but your computer’s configuration is wrong. Check your computer’s internet connection, firewall, and Outlook profile. The phone uses different settings, so it can work while the desktop fails.
What does “Cannot start Microsoft Outlook” mean?
This error is different from “cannot connect to server.” It usually means Outlook’s data file (PST/OST) is corrupted or the profile is damaged. Use the Inbox Repair Tool (scanpst.exe) to fix the data file, or create a new profile.
Is there a way to prevent this error in the future?
Keep your Office installation updated, avoid abrupt shutdowns, and regularly back up your profile. Also, ensure your password is changed before it expires, and monitor your mailbox size to stay under limits.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Create App Shortcuts in Windows 10 Start Menu
- How to Rename a SQL Server Database
- Fix Google Calendar Not Syncing on iPhone
- Fix Skype Microphone Not Working on Windows
- Google Docs Landscape: Change Page Orientation
- Recover Deleted Admin Account in Windows 11