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.
ok589 Editorial Team3 min read

1. Secure your account and choose a sign-in method
- 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.
- 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.
- 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.

2. Generate an app password for one email app
- 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.
- 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.
- 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.

3. Configure incoming and outgoing mail
- 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
@. - For incoming mail, enter
imap.mail.yahoo.com, set the port to993, and selectSSL/TLS. Paste the app password into the password field, not your regular Yahoo sign-in password. - For outgoing mail, enter
smtp.mail.yahoo.com. Use port465withSSL/TLS, or port587withSTARTTLS. 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.

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.
| Problem | What to check first |
|---|---|
| The app keeps asking for a password | Check 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 it | Confirm 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 devices | In 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.