How to Fix Error 0x8004011D, The Server is Not Available?
Summary: Although Microsoft Outlook is a most commonly used email client, it is not free from errors that stops sending and receiving emails. ‘Microsoft Exchange Server’ reported error (0x8004011D) is an error that prompts when trying to perform sending and receiving emails on Microsoft Outlook. In this article, you will be able to understand the causes of the error and methods to troubleshoot the same without any hassle.
Quick Navigation
The Outlook Error 0x8004011D, The Server is Not Available
What causes Outlook Error 0x8004011D?
How to Fix the Error 0x8004011D, The Server is Not Available?
The Outlook Error 0x8004011D, The Server is Not Available
This one’s among the common Outlook errors you’ll run into, and it shows up when Outlook is trying to sync your account with the server but hits a snag. Here’s the exact error message you’ll see:
Task ‘Microsoft Exchange Server. Sending and Receiving’ reported error (0x8004011D): ‘The server is not available. Contact your administrator if this condition persists.’
What causes the error 0x8004011D in Outlook?
A bunch of things can trigger this error. The usual suspects are slow internet, a connection that keeps dropping, or an Outlook installation or configuration that’s not quite right.
Beyond that, you might be dealing with viruses or malware that’s corrupted your Outlook data file, blocked system ports, or caused a conflict with add-ins or other third-party apps.
Exchange Online and on-premises Exchange cause this error differently
If your account connects to Exchange Online (Microsoft 365), 0x8004011D server not available windows 11 reports usually trace back to Autodiscover resolving to the wrong endpoint, not a real outage. Check status.office.com first. If Microsoft lists no incident, the problem is local: an expired Modern Authentication token, a stale Autodiscover XML cache, or a conditional access policy on your tenant blocking the device Outlook is running on.
Clear the Autodiscover cache by closing Outlook, then deleting the contents of %LocalAppData%\Microsoft\Outlook\16.0\Autodiscover.xml (the version number folder may read 15.0 for Office 2013, or a different build number depending on your update channel). Reopen Outlook and let it rebuild the profile connection, which can take two or three minutes on a slow link.
On-premises Exchange behaves differently. There, the error is far more often a real server-side problem: the Mailbox Transport service stopped, a certificate on the Client Access server expired, or the RPC/HTTP (Outlook Anywhere) endpoint is unreachable from outside the office network. None of the five fixes above will resolve a server-side outage, so if you manage the Exchange server yourself, check Event Viewer on the CAS role for transport or certificate errors before spending more time on the Outlook client side.
One thing worth checking either way: open the Microsoft 365 Admin Center, go to Health > Service health, and confirm Exchange Online shows a green status for your tenant specifically, not just the general service. Regional outages sometimes affect a subset of tenants without showing up on the public status page right away.
How to Fix the Outlook Error 0x8004011D, Server Not Available?
Once you hit the 0x8004011D error, you won’t be able to send or receive email until it’s sorted out. Here are 5 fixes worth trying for the Outlook Error 0x8004011D.
1: When Offline, Use Cached Exchange Mode
2: Creating a New Outlook Mail Profile
3: Open Outlook in Safe mode with Networking using Windows Safety Scanner
4: Increase Maximum Allowed Sessions Per User via Registry Key
5: Repair Corrupt Outlook Data Files
Method 1: Enable Cached Exchange Mode to Fix Outlook 0x8004011D error
If you’re seeing the 0x8004011D error on an Exchange account, it’s worth switching on Exchange Cached mode to see whether that clears up the connection to the Exchange server.
Here’s how to turn on Cached Exchange Mode for the affected Outlook mailbox account:
Step 1: Open Control Panel and type Mail into the search box. Click Mail from the list of options.
Step 2: Click the Email Account button.
Step 3: On the Email tab, double-click the Exchange account you’re using, then click Next
Step 4: You’ll land on the Change Account Windows Server Settings page
Step 5: Check the box next to Use Cached Exchange Mode.
You can also turn on Use Cached Exchange Mode through Outlook >> File >> Account settings >> Select the email account >> Change >> More settings.
Now restart Microsoft Outlook so the setting change takes effect, then check whether the 0x8004011D error is still there.
Method 2: Create a New Outlook Mail Profile
Here’s how to remove your current Outlook mailbox profile and set up a new one to fix the Outlook Error 0x8004011D.
Note: Be sure to back up your PST or OST file before you start. Creating a new profile can wipe out all your Outlook data from the existing profile.
Step 1: Close the Microsoft Outlook program. Open Control Panel
Step 2: Click Mail from the list of options, then click the Show Profiles button.
Step 3: Select the Outlook Profile you’re using and click Remove. When the confirmation window pops up, click Yes to continue.
Step 4: Now start Microsoft Outlook and follow the on-screen prompts to set up a new Outlook Profile.
Try syncing Outlook again and see if the 0x8004011D error is still showing up.
Method 3: Open Outlook in Safe mode with Networking using Windows Safety Scanner
First, restart your PC and wait for the login screen. Click the Power Options icon in the bottom right corner, then hold Shift while clicking Restart to force the PC to boot into Safe Mode.
Step 1: Once you reach the Recovery menu, click Troubleshoot >> Startup Settings.
Step 2: Press F5 to boot the PC in Safe Mode with Networking.
Step 3: Now open your browser and visit Microsoft’s official site to download Microsoft Safety Scanner.
Step 4: Once Microsoft Safety Scanner finishes downloading, double-click the executable file to kick off the scanning process.
If UAC (User Account Control) prompts you, click Yes to proceed with administrative privileges.
Step 5: Follow the on-screen prompts to run the scan with Microsoft Safety Scanner.
Finally, reboot your PC into normal mode and check whether the Error 0x8004011D is gone.
Method 4: Increase Maximum Allowed Sessions Per User via Registry Key
Sometimes bumping up the maximum allowed sessions per user can fix connectivity or sync errors in Outlook. Here’s how to fix the error 0x8004011D, server is not available, using a Registry key.
Step 1: Press Windows key + R to open the Run box. Type regedit and hit Enter. This opens the Registry Editor.
Step 2: Open the Registry editor with administrative privileges, then navigate to this location:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem
Step 3: Look for the MaximumAllowedSessionsPerUser entry and click it.
(If you don’t see it, right-click an empty space and choose New > DWORD (32-bit) Value, then name it MaximumAllowedSessionsPerUser.)
Step 4: Double-click the MaximumAllowedSessionsPerUser entry, set the Base to Decimal, and change the Value data to any number greater than 1. Click OK to save your changes, then close the Registry Editor.
Step 5: Press Windows key + R to open a Run box. Type services.msc and hit Enter to open the Services console.
Step 6: Find Microsoft Exchange Information Store, right-click it, and choose Restart from the context menu.
If your trouble is really about Outlook synchronization/connecting with Server, this method should take care of it.
Method 5: Repair the Corrupt Outlook Data Files to Fix 0x8004011D Outlook Error
If corrupted Outlook data files are behind your 0x8004011D, server is not available error, you’ll need to repair the corrupt Outlook files (PST and OST). If the corruption is minor, you can go ahead and use Microsoft Inbox Repair Tool or ScanPST.exe.
Fix the Outlook Error 0x8004011D using PST Repair Tool
Download and install SFWare PST Repair Tool to fix the Outlook Error. This tool can fix corruption in Outlook data files and recover data you thought you’d lost. So even without a backup, you can still get your lost Outlook files back, mail, journals, calendars, and more.
1. Import your PST file using one of these options-
- Open Default PST file: Pulls in the Outlook PST file from its default location.
- Select PST File Manually: Browse to and pick the corrupt PST file yourself.
- Find All Your PST Files: Lets the software scan your whole drive and list every Outlook data file so you can pick one.
2. Pick the Smart Scan option, choose a Destination Path, and click Repair.
3: Once the repair’s done, open the repaired PST file and check the results.
Now check whether the 0x8004011D, server is not available error, is finally fixed.
What can I do to fix Outlook error 0x800401d?
That error code usually gets typed or copied slightly wrong, since Outlook does not generate an 0x800401d code on its own. Most people hitting this search are actually dealing with 0x8004011D, the same server-not-available error covered throughout this page, or less often 0x80040119, a related Exchange connectivity error.
If you landed here searching for 0x800401d, work through the five methods above in order: cached Exchange mode first, then a new mail profile, then a Safe Mode scan, then the registry session limit, then a PST or OST repair. If your error message actually reads something different, for example mentioning an encrypted connection not available Outlook error, the fix is not the same one. That message points to a security or SSL mismatch between Outlook and the mail server rather than a sync timeout, so check your account’s encryption settings under the server tab before trying anything on this list.
How to fix Outlook IMAP server issue?
IMAP accounts fail differently than Exchange ones, so 0x8004011D itself is rare on IMAP, but the same “server not available” wording shows up for different reasons. Start with your incoming and outgoing server names under File > Account Settings > double-click the account. A single wrong character in the IMAP server address, usually something like imap.yourdomain.com typed as imap.yourdomain.net, throws a connection error that looks identical to a sync failure.
Port numbers matter more on IMAP than most people expect. Port 993 with SSL is standard for incoming mail, and 587 with STARTTLS for outgoing. If your ISP or office network blocks 587, switch to port 465 with SSL and test again. Outlook error 0x80040115 often shows up alongside IMAP timeouts, and it comes from the same root cause: the connection to the server dropped mid-session, usually from a flaky Wi-Fi link or a VPN that is re-routing traffic through a slow exit node.
Where IMAP accounts differ from Exchange is the repair path. There is no OST to worry about since IMAP uses its own local cache file, so if the account still will not sync after checking server settings and ports, removing the account and re-adding it rebuilds that cache from scratch. You will lose nothing server-side since IMAP keeps the authoritative copy of your mail on the server.
How to fix error 0x80040115 in Outlook?
This one means Outlook lost its connection to the Exchange or IMAP server mid-task, not that the server was unreachable to begin with. The distinction matters: 0x8004011D usually means Outlook could not establish a connection at all, while 0x80040115 means it had one and then lost it.
Three things cause this more often than anything else:
- A VPN or proxy that drops packets intermittently, common on hotel or airport Wi-Fi
- Antivirus software scanning Outlook’s connection in real time and interrupting the handshake
- A corrupted Send/Receive group definition left over from an old account you removed
Fix it by disabling your VPN temporarily and testing send/receive again. If that clears it, the VPN is the cause and you will need to either whitelist Outlook’s ports in the VPN client or avoid using it while checking mail. If disabling the VPN does not help, open File > Options > Advanced > Send/Receive, select your Send/Receive group, and remove then recreate it. That clears out stale group settings without touching your actual mail data.
Frequently Asked Questions
1: How can I Fix the Outlook Error 0x8004011D?
Start by updating your Windows system and running SFC to check for viruses or malware that might be corrupting the file system. If that doesn’t do the trick, work through the methods covered earlier in this article to fix the Outlook Error 0x8004011D.
2: Outlook doesn’t work. 0x8004011D error code. Why?
As we covered above, the main cause of the 0x8004011D error is slow or interrupted internet connectivity. When this sync issue hits Outlook, it stops the program from sending or receiving email through the server. So it ends up looking like Outlook has stopped working altogether when really it’s just the 0x8004011D error at play.
3: Does inbox repair tool repairs the server not available Outlook error code 0x8004011D?
If PST or OST file corruption is what’s causing the error, you can use the Inbox Repair tool or ScanPST, which comes bundled with your MS Office package.