On this page
Yahoo's two-step verification supports authenticator apps in addition to SMS. When you choose the authenticator option, Yahoo shows a QR code and, if you cannot scan it, a key to enter by hand. With that key, the generator above calculates the 6-digit code Yahoo Mail and other Yahoo services ask for at sign-in.
Long-standing email addresses are often linked to bank accounts, shopping sites and password resets, so protecting your Yahoo inbox protects many other accounts too. The key is processed only in your browser here. Keep a backup copy in an authenticator or password manager, and keep your recovery phone and email up to date in Yahoo's settings.
How to find your Yahoo secret key
- Sign in to Yahoo and open Account Info from your profile menu.
- Select Account Security.
- Find Two-step verification and choose to turn it on or manage it, then select Authenticator app.
- When the QR code appears, choose the option that you can't scan the code to display the key, and copy it. Wording may vary slightly.
- Save the key securely before verifying.
How to log in to Yahoo with the code
- Paste the Yahoo key into the generator above.
- Copy the 6-digit code and enter it on Yahoo's setup screen.
- Complete setup. Each time Yahoo asks for a code from your authenticator app, generate a new one here.
Yahoo 2FA tips
- Third-party mail apps that use IMAP may need an app password from Account Security after you enable two-step verification.
- Keep your recovery phone number and email current; they are Yahoo's main recovery routes if you lose your key.
- If codes fail on one computer but work on another, check the time settings on the failing machine.
Your Yahoo key is processed only in this browser and is never uploaded. Keep a copy in an authenticator app or password manager as well.
Yahoo 2FA FAQ
Does Yahoo 2FA also cover AOL?
No. Yahoo and AOL accounts are managed separately, even though both are owned by the same company. Each account has its own two-step verification settings and its own key. Use the key that matches the account you are signing into.
Why does my mail app stop working after I enable 2FA?
Some mail apps cannot show a code prompt. Generate an app password in Yahoo Account Security and use it in place of your normal password in that app. Your browser sign-ins still use your password and code.
I lost my Yahoo authenticator key. How do I sign in?
Use your recovery phone or email to receive a code, then remove the old authenticator and set up a new one. Save the new key this time, ideally in a password manager.
Is this generator safe for Yahoo?
Codes are computed locally and the key is not sent to any server. Only use it on a device you trust and keep the key private. Close the tab when you finish.