Short answer: sign in at account.microsoft.com, open Security > Manage how I sign in (Advanced security options), add at least two verification methods, ideally the Microsoft Authenticator app plus a passkey or alternate email, then select Turn on under Two-step verification. Store the recovery code Microsoft gives you. For maximum protection, go passwordless so your account has no password to phish.
Two-step verification for a Microsoft account protects Windows sign-in with that account, Outlook.com, OneDrive, Microsoft 365, Xbox, Skype and BitLocker recovery keys stored in your account. It applies to personal Microsoft accounts; work and school accounts use Microsoft Entra ID MFA managed by your organisation.

Which methods to use
The Microsoft Authenticator app sends sign-in approvals with number matching and generates codes offline; it also enables passwordless sign-in. Passkeys, including Windows Hello on your PC and passkeys on your phone, are phishing-resistant. Security keys (FIDO2) are physical and equally strong. An alternate email or phone number for codes is useful as a backup but weaker. Any standard authenticator app can also generate codes.
Step-by-step
- Go to account.microsoft.com and sign in.
- Select Security, then Manage how I sign in.
- Choose Add a new way to sign in or verify and set up Microsoft Authenticator (scan the QR code with the app) or a passkey/security key.
- Under Two-step verification, select Turn on and follow the prompts.
- Write down or save the recovery code. You can generate a new code later, which replaces the old one.
App passwords for older devices
Some older apps and devices, such as older email clients or Xbox 360, cannot handle two-step prompts. In advanced security options, create an app password for each one. App passwords bypass two-step verification, so create them only when needed and delete unused ones.
Going passwordless
With Authenticator set up, you can turn on Passwordless account in advanced security options. Your password is removed, and you sign in with Authenticator approvals, Windows Hello, passkeys or security keys. This eliminates password spraying, phishing and reuse attacks. Ensure you have at least two methods so you cannot be locked out.
Avoid lockouts
Most lockouts happen when people change phones or lose their only method. Before switching phones, enable cloud backup in Microsoft Authenticator (or re-register on the new phone), keep an alternate email current, store the recovery code offline, and consider registering a security key as a spare. If you lose everything, Microsoft’s account recovery form is the only route, and success depends on how much information you can provide. Microsoft warns that losing your security info can mean waiting up to 30 days to regain access, or losing the account entirely, and its support agents are not allowed to send password reset links or change account details for you.
Watch for approval and code scams
If Authenticator asks you to approve a sign-in you did not start, deny it and change your password, because someone has it. Microsoft’s number matching requires you to type a number shown on the sign-in screen; never type a number someone gives you by phone or chat. Real Microsoft support will never ask for your codes. See MFA fatigue attacks.

Turning two-step verification off
You can turn it off in the same section, but this weakens your account significantly. If you are troubleshooting, add or fix methods instead.
Who benefits most
Everyone with a Microsoft account should use two-step verification, but it is especially important if you sign in to Windows with your Microsoft account (because your BitLocker recovery key may be stored there), keep personal documents or photo backups in OneDrive, pay for Microsoft 365 or Xbox with a saved card, or use the same email address publicly, which makes it a frequent target for password-guessing attempts. Families should also turn it on for teenagers’ accounts, since gaming accounts are commonly hijacked and resold. Taking a few minutes now is far easier than trying to recover a hijacked account later, when Microsoft’s automated recovery process may not be able to verify you.
Methods compared: what to register and in what order
Microsoft’s support article lists email addresses, phone numbers and authenticator apps as verification methods, and recommends having at least three pieces of security info on the account. Passkeys, Windows Hello and physical security keys are also supported for sign-in. Here is how they compare:
| Method | Phishing resistance | Works offline | Best role |
|---|---|---|---|
| Passkey / Windows Hello | High: bound to Microsoft’s real sign-in site | Yes | Primary sign-in on your own devices |
| FIDO2 security key | High | Yes | Spare kept somewhere safe; good for owners of important accounts |
| Microsoft Authenticator (approval with number matching) | Medium: better than codes, but can still be socially engineered | Codes yes, approvals need data | Primary on your phone; needed for passwordless |
| Other authenticator app (TOTP codes) | Medium: codes can be typed into a fake page | Yes | Second method on a different device |
| Alternate email | Low | No | Recovery backup; use an address with its own strong 2FA |
| Phone number (SMS or call) | Low: exposed to SIM swap | No | Last-resort backup only |
A sensible minimum is one phishing-resistant method (a passkey or Windows Hello), Authenticator on your phone, and one alternate email that you control and have also protected. That meets Microsoft’s three-method advice without leaning on SMS. CISA recommends phishing-resistant MFA wherever a service offers it.
What changes after you turn it on
| Where you use the account | What to expect |
|---|---|
| Windows 10/11 PC signed in with the account | Daily sign-in still uses Windows Hello PIN, face or fingerprint |
| New browser or untrusted device | Password (if you still have one) plus a code or approval |
| Outlook.com, OneDrive, Microsoft 365 apps | Modern apps prompt once, then stay signed in |
| Xbox One and Xbox Series X|S | Supported, including passwordless sign-in |
| Xbox 360 | Cannot handle two-step prompts; needs an app password |
| Outlook 2010 or earlier, the default Android mail app, IMAP/POP clients | Need an app password; the Outlook app for Android does not |
| Security cameras or printers that send email | Need an app password |
To create one, go to the Additional security section of your account, scroll to App passwords and select Create password. The section only appears once two-step verification is on. App passwords cannot be viewed again later; if you forget one, create a new one.
Before you go passwordless: the compatibility list
Microsoft lists things that still need a password and will not work on a passwordless account: Xbox 360, Office 2010 or earlier, Office for Mac 2011 or earlier, IMAP and POP email services, Windows 8.1 and Windows 7 or earlier, some Windows features such as Remote Desktop and Credential Manager, and some command-line or Task Scheduler services. If you depend on any of these, keep the password and use strong two-step verification instead. You can add a password back at any time from the same Passwordless account setting by selecting Turn off.
A 10-minute lockout-proof checklist
- Register at least three methods, on at least two different devices.
- Save the recovery code offline: printed and filed, or in a password manager that is not unlocked by this same Microsoft account.
- If your BitLocker recovery key is stored in this account, also save a copy somewhere else, so a locked account does not also lock you out of your PC’s data.
- Remove old phones from the account’s sign-in methods when you replace them, and put a PIN on your SIM so the phone-number backup is harder to hijack (see how to lock your SIM card with a PIN).
- Review the account’s recent activity page every few months for sign-ins you do not recognise.
Frequently asked questions
Will I need to verify every time I sign in to Windows?
No. Windows Hello (PIN, face or fingerprint) handles everyday device sign-in. Two-step verification applies when signing in to your account on new devices or browsers.
Can I use Google Authenticator?
Yes, for codes. Microsoft Authenticator adds push approvals and passwordless sign-in.
Where is my recovery code?
Microsoft shows it when you turn on two-step verification. You can generate a new one in advanced security options while signed in.
Does two-step verification protect Xbox purchases?
It protects account sign-in, which is what an attacker needs to spend your balance or saved card. Purchase-confirmation settings on the console are a separate layer worth checking in Xbox settings.
Related: secure your Microsoft account, Outlook two-step verification.



