If you use Yahoo Mail with Outlook, you may have seen errors about incorrect passwords or connection failures after Yahoo disabled basic authentication. Yahoo now requires OAuth, a modern security protocol that lets Outlook connect without storing your password. This article explains how to configure Outlook to authenticate with Yahoo using OAuth so your email, calendar, and contacts sync without needing an app password.
OAuth is the standard for secure email access because it uses token-based authorization. When you set up Outlook with Yahoo using OAuth, you log in through a Yahoo browser window and grant permission once. Outlook then refreshes the token automatically. This method is more secure and does not require you to generate or manage app passwords.
Below you will find the exact steps to set up Outlook with Yahoo Mail using OAuth on Windows 11 and Windows 10. The process works for both Outlook 2019 and Microsoft 365 versions.
Key Takeaways: Setting Up Outlook with Yahoo Mail via OAuth
- File > Account Settings > Account Settings > New > Manual Setup > POP or IMAP: Use this path to add Yahoo Mail with the correct server settings and enable OAuth.
- Yahoo login prompt during Outlook setup: When Outlook shows a Yahoo sign-in window, enter your email and password and click Allow to grant token-based access.
- Outgoing server (SMTP) requires authentication: In the advanced settings, check “My outgoing server (SMTP) requires authentication” and select “Use same settings as my incoming mail server” for proper OAuth flow.
Why Outlook Requires OAuth for Yahoo Mail
Yahoo Mail stopped supporting basic authentication in 2021. Basic authentication sent your password in plain text with every connection. OAuth replaces this with a token system: you log in once through a Yahoo webpage, and Outlook receives a temporary token that expires and refreshes automatically. This change improves security because your Yahoo password never leaves Yahoo servers.
If you previously used an app password, that method still works but adds extra steps. You must generate a unique password for each app and update it if you change your Yahoo password. OAuth eliminates app passwords entirely. Once configured, Outlook handles reauthentication silently in the background.
Outlook versions from 2016 onward support OAuth for Yahoo Mail. However, older versions may not display the OAuth option correctly. This guide assumes you use Outlook 2019 or a Microsoft 365 subscription.
Steps to Add Yahoo Mail to Outlook with OAuth
Follow these steps to set up a new Yahoo Mail account in Outlook using OAuth. If you already have Yahoo Mail in Outlook with an app password, skip to the section on switching from app password to OAuth.
- Open Outlook and go to Account Settings
Click File in the top-left corner. Click Account Settings and select Account Settings from the dropdown. In the Account Settings window, click New. - Choose Manual Setup or Additional Server Types
In the Add Account window, select Manual setup or additional server types and click Next. This lets you enter Yahoo server details directly. - Select POP or IMAP
Choose POP or IMAP and click Next. Yahoo supports both protocols. IMAP is recommended because it syncs folders between Yahoo servers and Outlook. - Enter your Yahoo email address and account type
Type your full Yahoo email address. For Account Type, choose IMAP or POP depending on your preference. Enter your name in the Your Name field. Leave the password field blank — OAuth handles authentication. - Set incoming and outgoing server addresses
Incoming mail server: imap.mail.yahoo.com (for IMAP) or pop.mail.yahoo.com (for POP). Outgoing mail server (SMTP): smtp.mail.yahoo.com. Check the box “Require logon using Secure Password Authentication (SPA)” — this is required for OAuth. - Click More Settings and go to the Outgoing Server tab
Click More Settings. Select the Outgoing Server tab. Check “My outgoing server (SMTP) requires authentication.” Then select “Use same settings as my incoming mail server.” This ensures SMTP uses the same OAuth token. - Configure port numbers and encryption
Go to the Advanced tab. For IMAP, set Incoming server (IMAP) port to 993 and use SSL. For POP, set port to 995 with SSL. For Outgoing server (SMTP) port, use 465 with SSL or 587 with TLS. SSL port 465 is preferred for Yahoo. - Close More Settings and click Next
Click OK to close More Settings. In the Add Account window, click Next. Outlook now attempts to connect. - Sign in to Yahoo in the browser window
Outlook opens a Yahoo sign-in page in your default browser. Enter your Yahoo email and password. If you have two-factor authentication enabled, enter your verification code. Click Allow to grant Outlook access. The browser may show a success message. Close the browser tab. - Complete the Outlook setup
Return to Outlook. The Add Account window shows “Your account has been successfully configured.” Click Finish. Outlook begins syncing your Yahoo mail, calendar, and contacts.
Switching an Existing Yahoo Mail Account from App Password to OAuth
If you already have Yahoo Mail in Outlook using an app password, you must remove the account and add it again with the OAuth method. Outlook does not allow changing authentication type on an existing account.
- Remove the existing Yahoo account
Go to File > Account Settings > Account Settings. Select your Yahoo account and click Remove. Confirm the removal. - Restart Outlook
Close and reopen Outlook to clear cached credentials. - Add the account using the OAuth setup steps above
Follow steps 1 through 10 in the previous section. When the Yahoo sign-in page appears, you will not need an app password — use your regular Yahoo password and complete the OAuth grant.
Common Setup Problems and How to Fix Them
Outlook does not show the Yahoo sign-in window
If Outlook skips the browser window and shows a password prompt instead, the account type may not be set to OAuth. Go back to the account setup and ensure you checked “Require logon using Secure Password Authentication (SPA)” in the server settings. Without this checkbox, Outlook defaults to basic authentication.
Yahoo sign-in window opens but returns an error
Close the error window and the browser. In Outlook, click Back to return to the account settings. Verify the incoming and outgoing server addresses and ports. Common mistakes: using port 587 with TLS instead of port 465 with SSL, or leaving the outgoing server authentication checkbox unchecked.
Outlook keeps asking for password after setup
This usually happens when the OAuth token expires and Outlook cannot refresh it. Open Outlook and go to File > Account Settings > Account Settings. Select your Yahoo account and click Repair. Outlook will attempt to reauthenticate through the browser. If the issue persists, remove the account and add it again.
Yahoo calendar or contacts do not sync
Outlook with Yahoo Mail supports only email over OAuth. Calendar and contacts require a separate Yahoo account configuration using Exchange ActiveSync or a third-party sync tool. To sync Yahoo calendar, use the Yahoo Calendar web app or export events as an ICS file and import into Outlook.
OAuth vs App Password: Key Differences
| Item | OAuth | App Password |
|---|---|---|
| Authentication method | Token-based, no password stored | 16-character generated password |
| Setup complexity | One-time browser login | Generate password in Yahoo settings, enter in Outlook |
| Password change handling | No action needed | Generate new app password and update Outlook |
| Two-factor authentication | Works natively | Requires app password generation |
| Security | Token expires and auto-refreshes | Static password, must be revoked manually |
| Outlook version support | Outlook 2016 and later | All versions |
OAuth is the recommended method for Yahoo Mail in Outlook. It reduces maintenance and improves security. App passwords remain available as a fallback for older Outlook versions that do not support OAuth.
After completing the setup, your Yahoo Mail should sync in Outlook without errors. Check your inbox by sending a test message from another account. If you encounter persistent login prompts, verify that your Outlook version supports OAuth by going to File > Office Account and checking the version number. For Outlook 2016, install the latest updates to enable OAuth support.
You can also configure Outlook to send emails from your Yahoo address as an alias in a different account. Go to File > Account Settings > Account Settings, select your primary account, click Change, and then click More Settings. On the General tab, you can add Yahoo as a reply-to address. This keeps your primary Outlook mailbox while using Yahoo for outgoing messages.