Two-factor & recovery codes
Turning on two-factor authentication and keeping your recovery codes safe.
Turning on two-factor authentication
Go to Account → Manage → Two-factor authentication (/Account/Manage/TwoFactorAuthentication) and follow the setup steps to link an authenticator app such as Microsoft Authenticator or Google Authenticator. You'll scan a QR code (or enter a setup key by hand), then enter the six-digit code the app shows you to confirm it's linked. Two-factor authentication currently works with an authenticator app only — there's no text-message (SMS) option.
Recovery codes
When you turn on two-factor authentication, you're given 10 recovery codes. Put them somewhere safe: if you lose your device and don't have these codes, you'll lose access to your account. Each code works once.
If you're running low, the Two-factor authentication page will warn you how many you have left. Select "Reset recovery codes" to generate a fresh set of 10 — doing this immediately invalidates any codes you haven't used yet, so update wherever you keep them saved.
Other options
From the same page you can also select "Forget this browser" (so you're asked for a code again next time you sign in on that device) or "Disable 2FA" if you want to turn two-factor authentication off altogether.

