What you can do if you're locked out of your iPhone
If you don't have your Apple ID password, you have three realistic paths forward: use a trusted device you've already signed into, use your phone number to reset the password through Apple's account recovery, or use a computer to erase the phone through Finder or iTunes and set it up fresh. Which one works depends on what devices and information you still have access to.
The key thing to understand is that Apple built these locks specifically to prevent theft. They work — which means they also work against you if you're locked out. There's no shortcut that bypasses them entirely. But Apple does have recovery methods built in, and they're designed to work without the password itself.
Key Takeaways
- If you have another iPhone, iPad, or Mac you're already signed into, you can use that device to reset your password without needing the original password.
- If you remember the phone number or email address tied to your Apple ID, you can start a password reset through Apple's account recovery system and receive a code by text or email.
- If you have access to a computer, you can connect your iPhone with a USB cable and use Finder (Mac) or iTunes (Windows) to erase it and start over, though you'll still need to verify your Apple ID afterward.
- If you have none of these options, you'll need to contact Apple Support directly with proof of purchase or ownership — this is the slowest route but it exists.
Using a trusted device you already own
If you have another Apple device — an iPad, another iPhone, or a Mac — that you're already signed into with the same Apple ID, that device becomes your fastest way out. Go to Settings (or System Settings on Mac), tap your name at the top, then tap Password & Security. Choose Change Password. You don't need the old password to create a new one from a trusted device.
Once you've set a new password on that device, go back to your locked iPhone. Go to Settings > [Your Name] > Password & Security > Change Password, and sign in with your new password. If you're locked out of the home screen entirely, you'll need to use one of the other methods below instead.
This method works because Apple trusts devices you've already authenticated on. It's the fastest option if you have it available.
Resetting your password through Apple's account recovery
If you don't have another device, you can start a password reset on Apple's website or through your iPhone's lock screen. On the lock screen, tap "iPhone Unavailable" or "Try Again Later," then look for "Reset Password" or a similar option. You can also go directly to iforgot.apple.com on any computer or phone.
Apple will ask you to verify your identity using either your phone number or a recovery email address. If you choose your phone number, Apple will send a code by text message. If you choose email, the code arrives in your inbox. Enter that code, and you'll be able to create a new password.
This method requires that you still have access to the phone number or email address you registered with Apple. If you've lost access to both, you'll need to contact Apple Support with proof of purchase.
Erasing your iPhone through a computer
If you have a Mac or Windows computer, you can connect your iPhone with a USB cable and erase it without knowing your password. On a Mac running macOS Monterey or newer, open Finder, select your iPhone in the sidebar, and click "Restore." On Windows or older Mac, use iTunes instead — connect the phone, select it, and click "Restore iPhone."
The computer will read the current version of iOS and erase your phone completely. When the phone restarts, you'll see the setup screen. Here's the catch: you'll still need to sign back into your Apple ID to finish setup. If you don't have your password, use the account recovery method described above while you're on the setup screen.
This erases everything on the phone — all photos, messages, apps, and settings. Use it only if you're certain you want a completely fresh start and you can recover your Apple ID password through another method.
What happens if you can't remember your Apple ID email or phone number
If you've forgotten both the email address and phone number associated with your account, you can't use the self-service recovery methods. At this point, you need to contact Apple Support. Go to support.apple.com, select your device, and choose "Account & Password." You'll be offered options to chat with support or schedule a callback.
Apple will ask you to verify your identity using information from your account — security questions you set up, the last four digits of a payment method on file, or proof of purchase. This process is slower than the self-service methods, often taking several days, but it's designed to prevent someone else from taking over your account.
Avoiding this situation in the future
Once you're back in, write your Apple ID password somewhere find — a password manager like 1Password or Bitwarden, or a physical notebook in a safe place. Add a recovery email address and phone number to your account in Settings > [Your Name] > Password & Security. If you ever get locked out again, these details will get you back in within minutes instead of days.
Turn on two-factor authentication in the same menu. It adds a step to sign-in, but it also means that if someone tries to reset your password, Apple sends a notification to your trusted devices asking you to approve it. You'll catch unauthorized attempts before they happen.
Frequently Asked Questions
Can I reset my iPhone without erasing it?
If you have another trusted device or access to your phone number or email, yes — you can reset your password and stay signed in without losing anything. If you don't have those, erasing through a computer is the only way forward.
What if I don't have a computer to connect my iPhone to?
Use the account recovery method through iforgot.apple.com on any computer or phone that isn't yours — a friend's device, a library computer, or even a phone at an Apple Store. You only need access to the recovery email or phone number tied to your account.
How long does Apple Support take to help me?
If you contact them through the website, expect 24 to 72 hours for a response, depending on how busy they are. If you schedule a callback, you'll usually hear from them within a few hours during business hours. Having proof of purchase ready speeds this up.
Will I lose my photos and data if I reset my password?
No — resetting your password alone doesn't erase anything. You only lose data if you choose to erase the phone through a computer. If you have iCloud backups turned on, you can restore from backup after setup.
What if someone else is trying to access my iPhone?
If you suspect theft or unauthorized access, contact Apple Support when ready and mention the security concern. They can lock your account while you regain control. Change your password as soon as you can, and review your account activity in Settings > [Your Name] > Password & Security > Security Recommendations.