The Windows Mail app error 0x801901f5 typically appears when the app cannot connect to your email server, often due to an outdated password, incorrect server settings, or a temporary authentication glitch. You can usually fix it by updating your password in the app, checking your internet connection, or resetting the Mail app itself.
What Causes Error 0x801901f5?
This error is an HTTP 401 Unauthorized response, meaning the email server rejected the credentials the Mail app sent. Common triggers include:
- Changed email password not updated in the Mail app
- Two-factor authentication (2FA) enabled but no app-specific password used
- Incorrect incoming/outgoing server settings (e.g., wrong port or SSL)
- Outdated Mail app or Windows version
- Network issues (firewall, proxy, or VPN blocking the connection)
- Corrupted Mail app cache or data
While the error is most common with IMAP accounts (like Gmail, Yahoo, or Outlook.com), it can also affect POP3 and Exchange accounts.
How to Fix Error 0x801901f5
Try these fixes in order, from simplest to most thorough. Most users resolve the issue with the first or second step.
1. Update Your Password in the Mail App
- Open the Mail app.
- Click the gear icon (Settings) in the bottom-left corner.
- Select Manage Accounts.
- Choose the account showing the error.
- Click Change mailbox sync settings (or Edit account info).
- Enter your current email password and save.
If you recently changed your password online, this is the most likely fix.
2. Check Your Internet Connection
A flaky connection can cause the app to fail authentication. Open a browser and visit your email provider’s website. If it loads, your connection is fine. If not, restart your router or switch networks.
3. Remove and Re-add the Account
- Go to Settings > Manage Accounts.
- Select the problematic account and click Delete.
- Restart the Mail app.
- Click Add account and re-enter your email credentials.
This often clears any corrupted sync state.
4. Use an App Password (If You Have 2FA)
If your email provider uses two-factor authentication, you need to generate an app-specific password. For example, with Gmail, go to your Google Account > Security > App passwords, generate one, and use that in the Mail app instead of your regular password.
5. Reset the Mail App
If the error persists, reset the app’s data:
- Go to Settings > Apps > Apps & features.
- Find Mail and Calendar.
- Click Advanced options.
- Click Reset. This clears the app’s cache and data but does not delete your email account from the server.
After reset, reopen Mail and re-add your account.
6. Update Windows and the Mail App
Microsoft regularly fixes bugs in the Mail app. Go to Settings > Update & Security > Windows Update and install any pending updates. Also check the Microsoft Store for Mail app updates.
Common Misconceptions
Many users think error 0x801901f5 means their email account is hacked or their emails are lost. Neither is true. The error only affects the connection between the Mail app and the server; your emails remain safe on the server. Another misconception is that you need to change your email password to fix it—only if you’ve already changed it elsewhere. If the password is correct, the issue is likely server settings or app data.
Comparing Mail App vs. Other Email Clients
If you frequently see this error, you might consider alternatives. The built-in Mail app is simple but sometimes lacks advanced settings. Outlook (the new Windows mail client) offers more control and is more reliable for some users. Webmail (like Gmail in a browser) never has this error because it doesn’t rely on local app settings. However, the Mail app is free and pre-installed, so trying the fixes above is worth it before switching.
Preventing Future Occurrences
- Always update your password in the Mail app immediately after changing it online.
- Keep Windows and the Mail app updated.
- If you use 2FA, set up an app password and store it securely.
- Periodically clear the Mail app cache if you notice sync issues.
Frequently Asked Questions
Will I lose my emails if I delete the account from the Mail app?
No. Deleting the account from the Mail app only removes it from the app. Your emails remain on the server and can be accessed via webmail or by re-adding the account.
Does this error affect all my email accounts?
Usually only one account is affected—the one whose credentials or server settings are wrong. Other accounts with correct settings continue to work.
Can a VPN cause error 0x801901f5?
Yes, a VPN or proxy can interfere with the connection to your email server. Try disconnecting the VPN temporarily to see if the error resolves.
Is there a way to fix this without resetting the app?
Yes, try updating the password first. If that doesn’t work, remove and re-add the account. Resetting the app is a last resort because it clears all your app preferences.
Why does the error occur on my phone too?
If the error appears on multiple devices, the problem is likely with your email account settings or password, not the Mail app itself. Check your password and server settings on all devices.
What if none of these fixes work?
If you’ve tried all steps and the error persists, contact your email provider’s support. They can verify if your account is locked or if there are server outages.
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