What happens when your Apple ID gets locked
Apple locks your ID when the system detects unusual activity — usually multiple failed password attempts, a sign-in from an unfamiliar device or location, or a security concern reported by Apple. When this happens, you cannot sign in to iCloud, the App Store, Apple Music, or any other Apple service until you unlock it. The lock is a safety feature, not a permanent ban.
You will see a message that says "Your Apple ID has been locked for security reasons" when you try to sign in. This can happen on your iPhone, iPad, Mac, or on a web browser. The unlock process is the same across all devices, though the exact steps vary slightly depending on where you are trying to sign in.
Key Takeaways
- A locked Apple ID means you cannot sign in anywhere until you complete Apple's security verification, which usually takes a few minutes.
- You unlock your account by answering security questions, entering a verification code sent to your trusted phone number or email, or using two-factor authentication if you set it up.
- If you cannot remember your security answers or no longer have access to your trusted devices, you will need to reset your password through the account recovery process.
- The fastest unlock path is usually the verification code sent to your phone number, which arrives within seconds.
Unlock using a verification code on your trusted phone or email
When you see the lock message, look for a button that says "Can't access your account?" or "Unlock your account." Tap or click it. Apple will ask you to enter your Apple ID email address. Type it in and continue.
Next, Apple will show you the phone number and email address associated with your account. You will see options to receive a verification code. Choose the phone number or email you still have access to. A six-digit code will arrive within seconds. Enter that code into the box on the screen. If the code is correct, your account unlocks when ready.
If you do not receive the code within a minute, check your spam or junk folder — sometimes the email lands there. If you chose a phone number and the text does not arrive, make sure your phone has a signal and that the number on file is still active.
Unlock using security questions
If you set up security questions when you created your Apple ID, you may see them as an unlock option instead of or in addition to the verification code. Apple will ask you two or three questions you answered during setup — things like "What was the name of your first pet?" or "In what city were you born?"
Answer the questions exactly as you did when you set them up. Capitalization and spelling matter. If you get one wrong, Apple will tell you and let you try again. Once you answer both questions correctly, your account unlocks.
If you cannot remember your answers, do not guess repeatedly — you will lock yourself out of this method. Instead, go back and choose the verification code option or the account recovery process.
Unlock using two-factor authentication
If you turned on two-factor authentication for your Apple ID, you have a trusted device — an iPhone, iPad, or Mac that Apple already knows is yours. When you try to unlock your account, Apple can send a verification code to that device instead of your phone number.
Look for the option that says something like "Get a code on your trusted device" or "Verify with another device." Pick a device you have in front of you right now. Apple will send a notification to that device. Open it and tap "Allow." A code will appear on the screen. Type that code into the unlock screen on your original device.
This method works only if you have physical access to a device Apple recognizes as yours. If you do not have a trusted device nearby, use the verification code sent to your phone number instead.
What to do if you cannot access your phone number or email
If the phone number on file is no longer yours, the email is hacked, or you straightforward cannot access either one, you will need to go through account recovery. This process takes longer — usually 24 to 48 hours — but it is the way to regain access when your normal unlock methods are not available.
Go to iforgot.apple.com in a web browser. Enter your Apple ID email address. When asked how you want to reset your account, choose "I don't have access to my recovery email or phone number." Apple will ask you to answer your security questions or provide other proof that you own the account — things like the phone number you used to set up the account, the device serial number, or the last four digits of a payment method on file.
Answer as many of these questions as you can. Apple will review your answers and send you an email when your account is ready to be reset. This can take a day or two. Once you get that email, you can create a new password and regain access to your account.
Unlock on your iPhone, iPad, or Mac
On an iPhone or iPad, go to Settings, tap your name at the top, then tap "Password & Security." You will see a message about your account being locked. Tap "Unlock Your Account" and follow the verification steps above.
On a Mac, go to System Settings (or System Preferences on older versions), click your name at the top of the sidebar, then click "Password & Security." You will see the same unlock options. Click "Unlock Your Account" and proceed with verification.
If you cannot get to Settings on your device, you can unlock your account from any web browser by going to iforgot.apple.com or appleid.apple.com and signing in. The unlock process is identical.
Prevent your account from locking again
Once your account is unlocked, make sure you are using the correct password. If you have been entering the wrong password repeatedly, that is what triggered the lock. If you are not sure of your password, reset it now through Settings or iforgot.apple.com.
Turn on two-factor authentication if you have not already. Go to Settings (or System Preferences on Mac), tap your name, then tap "Password & Security." Tap "Two-Factor Authentication" and follow the prompts. This adds a second layer of protection and makes it harder for someone else to lock your account by guessing your password.
Keep your trusted phone number and recovery email up to date. If you change your phone number, update it in your Apple ID settings right away. The same goes for your email address. These are your lifelines if you ever get locked out again.
Frequently Asked Questions
How long does it take to unlock my Apple ID?
If you use a verification code or answer security questions correctly, your account unlocks within seconds. If you need to go through account recovery because you cannot access your phone or email, the process takes 24 to 48 hours.
Will I lose my photos or data when my account is locked?
No. A locked account does not delete anything. Your photos, messages, and other data stay in iCloud. Once you unlock your account, you can sign back in and access everything.
What if I forgot my Apple ID password and my account is locked?
You will need to reset your password as part of the unlock process. When you go to iforgot.apple.com or tap "Unlock Your Account" on your device, you will be given the option to reset your password after you verify your identity through security questions or a verification code.
Can I unlock my account on someone else's device?
Yes. You can go to iforgot.apple.com on any computer or phone and enter your Apple ID email address. Follow the verification steps to unlock your account. You do not need to use your own device.
Why does my account keep getting locked?
If your account locks repeatedly, someone may be trying to sign in with your password. Change your password when ready and turn on two-factor authentication. If you keep entering the wrong password yourself, write it down somewhere safe or use your device's password manager to store it.