Sign in
email

How to Secure Yahoo Mail and Set Up an App Password

Secure your Yahoo account, then check whether your email app supports Yahoo sign-in. If it needs an app password, generate one for that device, configure IMAP and SMTP, and test both sending and receiving.

3 min read
How to Secure Yahoo Mail and Set Up an App Password

1. Secure your account and choose a sign-in method

  1. Sign in to Yahoo Mail in your browser. Select your profile picture, open Account Info, then go to Account Security. Check the full email address. If you’re signed in to multiple Yahoo accounts, check it again before generating an app password so you use the right account.
  2. Review your recovery email address and phone number. Verify any new recovery option before removing an old one. Turn on two-step verification and follow the prompts to keep a backup verification method available. For help with setup, see the two-step verification guide.
  3. In your email app, select Add Account. If Yahoo is listed, choose it. On the Yahoo sign-in page, confirm the account, complete verification, and review the permissions the app requests. If authorization succeeds, you don’t need an app password. Continue with manual setup only if the app doesn’t support Yahoo sign-in and asks you to enter a password directly.
A teal, winged mailbox mascot checks two amber safety clips one at a time before crossing a rope bridge over a canyon.

2. Generate an app password for one email app

  1. Return to Account Security and look for App Passwords or Generate App Password. Select the app when prompted, or enter a label such as “Mail on warehouse phone.” The label helps you identify the password when you need to revoke it; it isn’t your sign-in username.
  2. Select Generate, leave the result page open, and copy the password directly into the email app. Don’t enter it on a web sign-in page or share it in a screenshot. Generate a separate password for each app on each device so you can revoke one without disconnecting the others.
  3. If the option is missing or password generation fails, first confirm you can sign in to Yahoo Mail in your browser. Then search for “app password” in the Yahoo Help Center to check the available options. Don’t turn off two-step verification to make the option appear. Use webmail or an app that supports Yahoo sign-in instead.
In a bakery, the mailbox mascot presses purple dough into a key-shaped cookie that matches the cookie tin beside it.

3. Configure incoming and outgoing mail

  1. In the email app, select Other Account or Manual Setup. Choose IMAP to sync messages and folders across devices. Set your preferred display name. For both incoming and outgoing mail, enter your full Yahoo email address as the username, including the part after @.
  2. For incoming mail, enter imap.mail.yahoo.com, set the port to 993, and select SSL/TLS. Paste the app password into the password field, not your regular Yahoo sign-in password.
  3. For outgoing mail, enter smtp.mail.yahoo.com. Use port 465 with SSL/TLS, or port 587 with STARTTLS. Enable outgoing server authentication and select the option to use the same credentials as the incoming server. If there’s a separate password field, paste the same app password there.
In a pump room, the mailbox mascot connects a coral pipe for outgoing mail and a mint-green pipe for incoming mail. Envelopes travel in opposite directions.

4. Test mail delivery, troubleshoot, and revoke access

Send a test message from the app to another inbox you control. Confirm it arrives, reply from that inbox, and check that the reply appears in the app. Seeing old messages doesn’t prove the new settings work.

ProblemWhat to check first
The app keeps asking for a passwordCheck that the username is your full email address and the app password was generated for that account. Clear the old saved credentials in the app, then enter the correct ones.
You can receive mail but can’t send itConfirm outgoing server authentication is enabled. Match the SMTP port to its encryption setting: 465 with SSL/TLS, or 587 with STARTTLS.
Your old device still syncs after you switch devicesIn Account Security, find the old device by its label and revoke its app password. If you used Yahoo’s web sign-in instead, remove the corresponding app authorization.

Final checklist

  • Confirm your recovery options work, two-step verification is on, and each app password label identifies a specific app and device.
  • Close the password result page after you’ve tested both sending and receiving. If a device is lost or you suspect a password has leaked, revoke the corresponding access immediately and review recent account activity.