You try to sign in to Outlook, or your Xbox, or your Windows laptop. Microsoft says it's sending a security code. You wait. Nothing arrives.
It's a stressful moment, because a Microsoft account is often the key to your email, your files, your games, and your work. The good news is that Microsoft's own help pages spell out exactly what to try, and a few details are worth knowing before you start.
What Microsoft says
Microsoft's help article "Troubleshoot Microsoft verification code issues" covers a handful of situations: you didn't receive a code, you see the error "We can't send a text message to this number," you've lost access to your security info, you don't recognize the phone or email on the account, or you see a message telling you to make sure you can receive a code.
The core advice is simple. Choose a method you know works. If none of the listed methods works, choose "I don't have any of these" to replace your security info.
Two more facts matter a lot:
Valid verification codes come from an @accountprotection.microsoft.com email address. Anything else is suspect.
Microsoft support agents can't send you a code, send a reset link, or manually change your account details.Recovery runs through automated systems, so no phone call will skip a step.
8 fixes, in the order we'd try them
1. Check your junk folder, and look at the sender. If the code goes by email, look in junk and spam. Microsoft says real codes come from an address ending in @accountprotection.microsoft.com. If a message claims to be from Microsoft but comes from somewhere else, don't use it.
2. Switch to a method that works. On the verification screen, look for the other ways to verify, like an alternate email, the Microsoft Authenticator app, or a security key. If your text isn't arriving, the email or the app is often the quickest way in.
3. Check the number, and give the text a fair try. Make sure the number shown is yours and current. Before you request another text, make sure your phone's text inbox has free space, since a full inbox can block new messages. Request once, wait a few minutes, and use only the newest code. Our guides on late texts, iPhone, and Android can help if the message is held up.
4. If you see "We can't send a text message to this number." This means Microsoft couldn't send a message to that number. Try a different method, or a different number you own, from the same verification screen. Microsoft's troubleshooting page has a section on this exact error.
5. Turn off any VPN. Some people report that a VPN, which changes where you appear to be, can interfere with receiving a code. Turn it off and try again.
6. Choose "I don't have any of these." If you can't use any method on the list (an old phone, a closed email), pick this option at the "Verify your identity" screen. It starts the process of replacing your security info. If you know your password, Microsoft lets you replace the info, but it may restrict the account while it does so (see the 30-day wait below).
7. Use the account recovery form. If you've forgotten your password and can't use any security info, fill in Microsoft's account recovery form. Give as much accurate detail as you can, such as old passwords, recent email subjects, folder names, and contacts. It helps to fill it in on a device and in a place you normally sign in from, and to read Microsoft's guidance notes for the form first. Decisions and follow-up come to the contact email you enter in the form.
8. Wait out the hold, and keep trying carefully. If the form doesn't succeed, Microsoft's guidance is to try again with better information, or wait until you can reach one of your methods. There is no phone line that skips this for a personal account.
The 30-day wait, explained
This is the part that surprises people most. When you replace all of your security info, Microsoft's documentation describes a waiting period of 30 days before the account is fully usable with the new info. During that time, the account can be restricted.
Why? It's a safety measure. If a criminal got your password, a quick "replace everything" shortcut would hand them the account. The wait gives the real owner time to notice and object.
It can't be bypassed, and support can't skip it. Use the time to prepare: gather the details you'll need for the recovery form, and set up better backup methods once you're in.
How to spot a fake Microsoft message
Because people are so desperate to get back in, scammers love this problem.
Check the sender address. Real verification emails come from @accountprotection.microsoft.com.
Never share a code. Microsoft support doesn't need it, and nobody else should have it.
Beware of "Microsoft support" calls, pop-ups, and texts that say your account is compromised and ask you to call a number or install software. Use Microsoft's own site.
Don't tap links in unexpected messages. Type account.microsoft.com yourself.
Be wary of anyone who offers to "unlock" your account for a fee. Recovery goes through Microsoft's own form, and it's free.
How to make this never happen again
Add more than one way to verify: a phone number, an alternate email, and the Microsoft Authenticator app. If one fails, another works.
Generate a recovery code. You can do this under your account's Security settings, in Manage how I sign in. Store it somewhere safe and offline, such as a password manager or a printed copy.
Consider going passwordless, where available, so you sign in with the Authenticator app instead of a password and a text.
Update your security info as soon as you change your number or email.
Don't rely on SMS alone. One Microsoft Q&A reply says Microsoft is phasing out text-message authentication and recovery for personal accounts. We couldn't confirm that on a Microsoft page, so check your own Security settings, but it's one more reason to add an authenticator app. We compare the options in SMS codes vs authenticator apps vs passkeys, and explain how phone-number hijacking works in our guide to SIM swap attacks.
A note about other numbers
We'll be direct. A Microsoft account holds your email, your files, and often your purchases. Use a phone number you own and will keep for the long term, plus a backup email and the Authenticator app. A temporary, rented, or shared number can leave you locked out of your own account, and Microsoft's recovery is built around methods you control.
TextVerification offers carrier-issued numbers for receiving SMS codes for lawful uses, but we don't recommend them, or any temporary or shared number, for a Microsoft account or any other email, banking, or identity account. For more fixes across many apps, see our complete guide to verification code problems, and for a similar Google problem, see our Google guide. And never use free public SMS sites for an account you care about, because anyone can read those codes.
Quick FAQ
Where do real Microsoft codes come from? Microsoft says valid verification codes by email come from an @accountprotection.microsoft.com address.
What does "I don't have any of these" do? It starts the process of replacing your security info or recovering your account when none of your methods work.
Why is there a 30-day wait? Microsoft's documentation says replacing all your security info can restrict the account for 30 days, as a safety measure. It can't be bypassed.
Can Microsoft support send me a code? No. Support agents can't send a code, a reset link, or manually change your account details.
How do I get a recovery code? In your account's Security settings, under Manage how I sign in, you can generate a recovery code. Store it safely offline.
Can I use a temporary number for a Microsoft account? We strongly advise against it. Use a number you own and will keep.
More answers are in our FAQ.
The takeaway
If your Microsoft code isn't arriving, check your junk folder and the sender address, then switch to another method, like email or the Authenticator app. If none of your methods work, choose "I don't have any of these," use the recovery form, and expect a waiting period that no one can skip. And once you're back in, add more than one way to verify, save a recovery code, and keep your code to yourself.




