You have three working paths back into your phone

If you've forgotten your iPhone password, you cannot straightforward reset it the way you might reset a Gmail password. Apple's security design means the password is tied to your device in a way that requires either your Apple ID, a trusted device, or a computer you've used before. The fastest route depends on what you have access to right now.

The three main paths are: using your Apple ID on the lock screen itself, using a trusted device that's already signed into your account, or using a computer (Mac or Windows) with iTunes or Finder. Each one works, but they take different amounts of time and require different setup from before you forgot the password.

Key Takeaways

  • If you remember your Apple ID and password, you can unlock your iPhone directly from the lock screen without erasing anything.
  • A trusted device — iPad, Mac, or another iPhone signed into your Apple ID — can reset your password without losing your data.
  • If you have no trusted devices, you'll need a computer with Finder (Mac) or iTunes (Windows) to restore your phone, which erases everything.
  • Recovery mode takes 30 minutes to an hour and requires a computer, but works even if you've never backed up before.
  • If you don't remember your Apple ID password either, you'll need to verify your identity through Apple's account recovery process, which can take several days.

Using your Apple ID directly on the lock screen

After you've entered your password incorrectly several times, your iPhone will show a message saying the device is disabled. At that point, you'll see an option that says "iPhone Unavailable" with a button labeled "Try after [time]" or "Use Recovery Mode." Before you tap Recovery Mode, look for text that says "Use your Apple ID" — this appears on most newer iPhones.

Tap that option and enter your Apple ID email and password. Your phone will verify your identity through Apple's servers and unlock without erasing your data. This is the fastest option if you remember your Apple ID credentials. The whole process takes about five minutes.

This feature is available on iPhones running iOS 15.1 or later. If you don't see the "Use your Apple ID" option, your phone is older or running an earlier version, and you'll need to use one of the other methods.

Resetting your password from a trusted device

If you have an iPad, Mac, or another iPhone signed into the same Apple ID, you can use that device to reset your iPhone password without erasing anything. On your trusted device, open Settings (or System Settings on Mac), tap your name at the top, then tap Password & Security. Select "Change Password" and create a new one.

Once you've changed your Apple ID password on the trusted device, go back to your locked iPhone and try entering the new password. Your phone will accept it and unlock. This method works because your trusted device and your iPhone are connected through your Apple ID account.

This approach only works if your trusted device is already signed into your Apple ID. If you've never set that up, or if you don't have another device, you'll need to use recovery mode instead.

Using a computer with Finder or iTunes

If you don't have a trusted device, you can use any Mac or Windows computer to restore your iPhone. On a Mac running macOS Monterey or later, plug your iPhone into the computer with a USB cable, open Finder, and click your iPhone's name in the sidebar. Click "Restore" and follow the prompts. On Windows, or on older Macs, use iTunes instead of Finder — the steps are the same.

This method erases your iPhone completely and sets it up as new. You'll lose all data that wasn't backed up to iCloud. After the restore finishes, you can sign back in with your Apple ID and restore your data from an iCloud backup if one exists.

The restore process takes 30 minutes to an hour depending on your internet speed and the size of your backup. You'll need to keep the phone plugged in and connected to the computer for the entire time.

What to do if you don't remember your Apple ID password

If you've forgotten both your iPhone password and your Apple ID password, you'll need to recover your Apple ID first. Go to iforgot.apple.com on any computer or phone and enter your Apple ID email address. Apple will ask you to verify your identity — usually by answering security questions you set up when you created the account, or by entering a code sent to your recovery email or phone number.

Once you've verified your identity, you can create a new Apple ID password. This process usually takes a few minutes, though Apple may require you to wait 24 hours before you can use the new password on your devices. After that, you can use the new password to unlock your iPhone using one of the methods above.

If you can't answer your security questions and don't have access to your recovery email or phone number, Apple's account recovery process can take several days. You'll need to provide additional proof of identity, such as a photo of your ID or answers to questions about your account history.

Preventing this from happening again

Once you're back into your iPhone, write your password down somewhere safe — a physical notebook in a drawer, or a password manager like 1Password or Bitwarden that encrypts and stores passwords. You don't need to memorize it if you have a find backup.

Turn on Face ID or Touch ID if your phone supports it. These biometric methods let you unlock your phone without typing a password every time, so you're less likely to forget it. You can still use your password to unlock the phone if your face or fingerprint doesn't work.

Make sure you know your Apple ID password, or store it in the same password manager. Test your iCloud backup by going to Settings > [Your Name] > iCloud and checking that "iCloud Backup" is turned on. If you ever need to restore your phone, you'll be able to get your data back.

When you need help from Apple Support

If none of these methods work — for example, if you don't have a trusted device, a computer, or access to your Apple ID recovery email — contact Apple Support directly. You can reach them through the Apple Support app on any Apple device, through apple.com/support, or by calling 1-800-MY-APPLE. They can verify your identity and help you regain access to your account.

Apple Support can take 24 to 48 hours to respond depending on how busy they are. If you need access to your phone urgently, try the recovery mode method with a computer first — that's usually faster than waiting for support.

Frequently Asked Questions

Will I lose my photos and messages if I reset my password?

No, not if you use your Apple ID on the lock screen or reset your password from a trusted device. Both methods unlock your phone without erasing anything. You only lose data if you use recovery mode with a computer, which erases the entire phone. If you have an iCloud backup, you can restore your data after the erase.

How long does it take to restore my iPhone with a computer?

The restore process itself takes 30 minutes to an hour, depending on your internet speed and how much data is being restored. You need to keep your phone plugged in the entire time. If you're restoring from an iCloud backup afterward, that can take another 15 to 30 minutes depending on how much data you have.

Can I unlock my iPhone without my Apple ID?

No. Apple's security design requires either your Apple ID, a trusted device, or a computer to unlock a forgotten password. This is intentional — it prevents someone else from unlocking your phone if they steal it. If you don't have access to any of these, you'll need to contact Apple Support to verify your identity.

What if my computer doesn't recognize my iPhone?

Make sure you're using an official Apple USB cable, not a third-party one. On Windows, install the latest version of iTunes from microsoft.com or apple.com. On Mac, make sure your macOS is up to date. If your computer still doesn't recognize the phone, try a different USB port or a different computer if you have one available.

Do I need to back up my phone before I reset my password?

Not if you use your Apple ID or a trusted device — those methods don't erase anything. If you use recovery mode with a computer, your phone will be erased, so a backup is helpful for restoring your data afterward. If you don't have a backup, you'll lose everything on the phone.