sodcalculator

10 Tech How-To

Fix Error 0x800ccc17 in Outlook on Windows 11

Guide 10-50558 · Updated · Step by step

Error 0x800ccc17 in Outlook on Windows 11 means your email client cannot connect to the mail server, usually because the outgoing (SMTP) server address or port is wrong, or your antivirus/firewall is blocking the connection. The fix is to verify your account’s server settings, temporarily disable security software, and then re-test the connection. Below are the exact steps and the background you need to understand why this error appears and how to prevent it.

What Causes Error 0x800ccc17?

This error code is part of the 0x800CCCxx family, which Outlook uses to indicate Simple Mail Transfer Protocol (SMTP) connection failures. The specific 0x800ccc17 error typically means “the server is not responding” or “the connection to the server was interrupted.” Common triggers include:

  • Incorrect SMTP server name or port – e.g., using port 25 when your ISP blocks it, or a typo in the server address.
  • Authentication failures – Outlook is set to “Anonymous” when your provider requires “Basic Authentication” or OAuth.
  • Firewall or antivirus interference – security software that scans outbound email can hang the connection.
  • Network issues – VPN, proxy, or a flaky Wi-Fi connection that drops packets.
  • Outdated Outlook profile – a corrupted profile or cached credentials.

How Outlook Connects to a Mail Server

Outlook uses three protocols: POP3 or IMAP for receiving mail, and SMTP for sending. When you send an email, Outlook contacts the SMTP server on a specific port – usually 587 (with STARTTLS) or 465 (SSL/TLS). Many ISPs block port 25 to reduce spam, so using 587 is the modern standard. If the server name, port, or encryption method doesn’t match what your provider expects, the handshake fails and you get 0x800ccc17. The error can also appear if your password is wrong, because the server rejects the authentication before the sending session starts.

Step-by-Step Fix for Windows 11

Follow these steps in order. They apply to Outlook 2016, 2019, 2021, and Microsoft 365 Outlook running on Windows 11.

  1. Check your SMTP settings. Go to File > Account Settings > Account Settings, select your email account, and click Change. Look at the Outgoing server field. Confirm the server name matches what your email provider lists on their support page. For example, Gmail uses smtp.gmail.com, Outlook.com uses smtp-mail.outlook.com, and Yahoo uses smtp.mail.yahoo.com.
  2. Verify the port and encryption. Click More Settings > Advanced. For SMTP, the typical setup is port 587 with STARTTLS (sometimes labeled “TLS”) or port 465 with SSL. Do not use port 25 unless your provider specifically requires it. Also ensure the incoming server port (POP3/IMAP) is correct – a wrong incoming port can sometimes cause a cascading failure.
  3. Enable authentication. In More Settings > Outgoing Server, tick the box “My outgoing server (SMTP) requires authentication” and choose “Use same settings as my incoming mail server.” Most providers require this.
  4. Restart Outlook and Windows. Close Outlook completely (check the system tray for the icon), then restart your PC. This clears temporary network states.
  5. Temporarily disable antivirus/firewall. If the error persists, turn off your third-party antivirus or Windows Defender Firewall for a minute and try sending a test email. If it works, add Outlook to the exceptions list. Remember to re-enable your protection immediately.
  6. Check your network. Disconnect any VPN or proxy. Run ipconfig /flushdns in Command Prompt (run as administrator) to clear DNS cache. Then try pinging your SMTP server: ping smtp.gmail.com – if it times out, the server is unreachable from your network.
  7. Repair your Outlook profile. In Windows 11, open Control Panel > Mail > Show Profiles. Select your profile and click Repair. If that fails, create a new profile and add your email account again.
  8. Use the built-in Microsoft Support and Recovery Assistant. Download and run the tool from Microsoft’s official site. It can diagnose and fix Outlook connection issues automatically.

Common Mistakes That Trigger This Error

  • Using the wrong server name – e.g., typing “smtp.gmail.com” instead of “smtp-mail.outlook.com” for a Microsoft account.
  • Mixing SSL and TLS – some providers require SSL on port 465, others require TLS on 587. Using the wrong encryption method causes an immediate handshake failure.
  • Leaving “Anonymous” authentication – if your provider requires a login, this will fail.
  • Having two-step verification enabled – if you use 2FA on your email account, you must generate an app-specific password or set up OAuth in Outlook. A normal password won’t work.
  • Outlook is in “Work Offline” mode – check the bottom-right corner of the Outlook window. If it says “Work Offline,” click it to reconnect.

What to Do If the Error Still Appears

If you’ve verified all settings and the error persists, the problem might be server-side. Check your email provider’s status page for outages. You can also try using a different email client (like Windows Mail or Thunderbird) with the same settings – if that works, the issue is specific to your Outlook installation. In that case, run Office Repair: go to Settings > Apps > Installed apps, find Microsoft 365 or Office, click the three-dot menu, and choose Modify then Quick Repair. If that doesn’t help, use the Online Repair option which does a full reinstall.

Preventing Future 0x800ccc17 Errors

  • Keep Outlook and Windows 11 updated – Microsoft regularly patches connection bugs.
  • Use the correct port and encryption as specified by your email provider, not the defaults from an old setup.
  • If you use a VPN, configure it to allow split tunneling for your email traffic, or connect to a server in your own region.
  • Periodically clear Outlook’s cached credentials: Control Panel > Credential Manager > Windows Credentials, and remove any entries containing your email server.
  • If you’re on a corporate network, check with your IT department – they may have a specific SMTP relay server that must be used.

Frequently Asked Questions

Does error 0x800ccc17 affect receiving emails too?

Usually it only affects sending, because the error is tied to SMTP. However, if your incoming server settings are also misconfigured, you might see a separate error for receiving. Check both server types in your account settings.

Can I fix this by reinstalling Outlook?

Reinstalling can help if the Outlook program files are corrupted, but the error is more often due to account settings or network issues. Try the repair steps above before a full reinstall, as that preserves your data and settings.

Is port 25 ever correct for SMTP?

Some older or self-hosted email servers still use port 25, but most ISPs block it for residential connections to prevent spam. If your provider explicitly tells you to use port 25, then use it; otherwise stick to 587 or 465.

Why does the error appear only on my Windows 11 PC and not on my phone?

Your phone’s email app may use different default settings (e.g., it might automatically detect the correct port). On Windows 11, Outlook might have imported an outdated profile from an older version. Recreate the account profile on the PC to match your phone’s working setup.

Will changing my password fix this error?

Only if the error is caused by an authentication failure. If you recently changed your email password, Outlook may be using the old one. Update the password in Outlook’s account settings. But if the server address or port is wrong, a new password won’t help.

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

The whole Tech How-To bed →