Related topics
Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.
Account has been locked

If you tried to sign in to your account and received a message that it's been locked, it's because activity associated with your account might violate our Terms of Use.

How to unlock your Microsoft account

To unlock your account, sign in to get a security code.

Sign in


  • You can use any phone number to request the security code.

  • The phone number doesn't need to be associated with your account.

  • The phone doesn't need to be a smartphone, or connected to the internet, it just needs to be able to receive text messages.

  • You may have to create a new password. Read tips on how to create a strong password.

Select the option that describes your experience

If you don't see the Next option when you sign in, your account has been locked due to suspicious activity or for violating of Microsoft’s Terms of Use agreement.

For help reinstating your account, select the link in the window that begins with Follow the instructions provided. Once we receive your information, we'll review the request to unlock your account.


  • After you submit the form, a Microsoft Online Safety support agent will review it and contact you by email. Please do not submit additional requests, as this may slow down our response time.

  • To protect your account and its contents, our support agents and advocates can only send password reset links or access and change account details when you submit the account reinstatement form.

You can use any phone number that can receive text messages; it doesn’t need to be associated with your account.

We won't use or give out the phone number, and the code sent to it will expire after 10 minutes.

This means you could use a friend or work colleague's phone without compromising your account security.

The quickest way to get your account unlocked is by requesting and entering a security code online. If you haven’t tried unlocking your account online, we recommend you start there.

Tip: If your security code doesn't work, make sure you enter the numbers in the body of the message, and not the numbers in the header.
Text message with code.

If you see a "usage limit exceeded" error message when requesting a security code, this could mean the phone number has been used too many times in a short period of time, or that we've detected something suspicious about the phone number.

Troubleshooting verification code issues

Why accounts are locked and disabled

Microsoft accounts are usually locked if the account holder has violated our Microsoft Services Agreement. Here are some common reasons why accounts are locked, though not all account locks occur for these reasons:

Malware, phishing, and other harmful activities

Microsoft forbids the use of our services for:

  • Malware: Sending intentionally unwanted or harmful code or software.

  • Phishing: Stealing private information from others by tricking or spoofing them into providing it.

  • Interfering with, harming, or spoofing Microsoft networks, services, or other systems.


Spam takes many forms. Don’t use Microsoft networks to send, share, or publish unwanted emails, comments, messages, photos, reviews, or any other content. 


  • Don’t send unsolicited promotional or commercial content.

  • Don’t send content to people you don’t know or to many people at the same time.

  • Don’t use programs, scripts, or bots to create Microsoft accounts.

  • Don’t spoof or reuse information across multiple accounts when signing up.

  • Don’t create or use multiple accounts to violate Microsoft policies.

See also

Troubleshooting verification code issues

Avoid and report Microsoft technical support scams

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Find solutions to common problems or get help from a support agent.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!