Use Find My iPhone to reset your passcode remotely

If you have Find My iPhone turned on, you can reset your passcode without visiting an Apple Store. Go to iCloud.com from any computer or another device, sign in with your Apple ID, and select Find My. Choose your iPhone from the list, then select Erase iPhone. This wipes your device completely but lets you set a new passcode when it restarts.

After erasing, your iPhone will ask you to restore from a backup or set it up as new. If you have a recent backup saved to iCloud, you can restore your photos, messages, and apps without losing much. The whole process takes 10 to 15 minutes once the erase completes.

This method only works if Find My was already enabled before you forgot your passcode. If you never turned it on, you will need to use a different approach.

Key Takeaways

  • Find My iPhone lets you erase and reset your passcode from iCloud.com if that feature was already turned on.
  • Recovery Mode through a computer can reset your passcode, but it erases your iPhone completely unless you have a backup.
  • An Apple Store can reset your passcode if you have your receipt or can prove you own the device with your Apple ID.
  • If you do not have a backup or access to Find My, you will lose your data when resetting the passcode.
  • Setting up a recovery contact or trusted phone number now prevents this problem in the future.

Reset your passcode using Recovery Mode on a Mac or Windows PC

If Find My is not available, connect your iPhone to a computer with a USB cable and use Recovery Mode. On a Mac with Apple silicon, open Finder and select your iPhone, then click Restore. On an Intel Mac or Windows PC, open iTunes or Finder, select your device, and choose Restore. The computer will read the latest iOS and reinstall it on your iPhone.

During this process, your iPhone erases completely. When it restarts, you can set a new passcode and restore from a backup if you have one saved to your computer or iCloud. The read and reinstall usually take 20 to 45 minutes depending on your internet speed.

You will need the USB cable that came with your iPhone and a computer with internet access. If your iPhone does not appear in Finder or iTunes, try a different USB cable or computer — some cables only charge and do not transfer data.

Visit an Apple Store with proof of ownership

An Apple Store can reset your passcode if you bring a photo ID and proof that you own the iPhone. Proof can be your original receipt, your Apple ID confirmation email, or a credit card statement showing the purchase. Some stores will also accept your Apple ID login if you can verify it on the spot.

Call ahead to check wait times and confirm what documents your nearest store accepts. The process usually takes 30 minutes to an hour. The store will erase your iPhone and help you set it up again with a new passcode, then restore from your backup if you have one.

This is the slowest option but requires no computer and no prior setup. It is useful if your backup is old or if you prefer to have someone walk you through the reset in person.

Restore from a backup after resetting

Whichever method you use to reset your passcode, you can restore your data from a backup afterward. If you have an iCloud backup, your iPhone will offer to restore it when you set up the device after the reset. If you have a backup on a computer, connect your iPhone and choose Restore from Backup in Finder or iTunes instead of Restore.

iCloud backups happen automatically if you have iCloud turned on and your iPhone is plugged in and connected to Wi-Fi. Computer backups only happen when you manually connect and back up. Check your iCloud settings under your name at the top of Settings to see when your last backup was made.

Restoring from backup brings back most of your data, but some information like Health data or HomeKit settings may not restore completely. Apps and their data usually restore fully if they are still available in the App Store.

Prevent this problem by setting up a recovery contact

iOS 16 and later let you add a recovery contact — a trusted person who can help you regain access if you forget your passcode. Go to Settings, tap your name, select Password and Security, then Recovery Contact. Choose someone you trust and send them an invitation. They accept through a link you send them, and their contact information is then stored with your Apple ID.

If you forget your passcode in the future, you can ask your recovery contact to help you reset it without needing a computer or a trip to the store. They receive a notification and can approve your request, which then lets you create a new passcode.

This only works if you set it up before you forget your passcode. It is worth doing now even if you have never had this problem, because it saves time and frustration later.

Turn on Find My iPhone now to avoid this situation

Find My iPhone is the fastest way to reset your passcode, but only if it is already turned on. Go to Settings, tap your name, select iCloud, then turn on Find My iPhone. Your iPhone will upload its location to Apple's servers, which lets you erase it remotely from iCloud.com if you ever forget your passcode.

Find My also helps you locate your iPhone if it is lost or stolen. The feature uses very little battery and does not slow down your phone. It is on by default on newer iPhones, but older devices or phones that have been reset may have it turned off.

Check your settings today to confirm Find My is on. If it is not, turn it on and remember your Apple ID password — you will need it if you ever need to erase your iPhone remotely.

What to do if you forgot your Apple ID password too

If you forgot both your iPhone passcode and your Apple ID password, you cannot use Find My or iCloud to reset remotely. You will need to go to an Apple Store or use Recovery Mode on a computer. At the store, bring photo ID and proof of purchase. The staff will verify your identity and help you reset both your passcode and your Apple ID password.

If you use Recovery Mode, your computer will ask for your Apple ID password during setup. If you do not remember it, go to iforgot.apple.com from another device, enter your Apple ID email, and follow the steps to reset your password. Write down the new password before you start the Recovery Mode process.

Frequently Asked Questions

Will I lose my photos and messages when I reset my passcode?

Only if you do not have a backup. If you have an iCloud backup or a backup on your computer, you can restore everything after you reset. If you have no backup, your data is gone. Check your iCloud settings now to see when your last backup was made.

How long does it take to reset my passcode at an Apple Store?

Usually 30 minutes to an hour, depending on how busy the store is. Call ahead to ask about wait times. The store will erase your iPhone, help you set a new passcode, and restore from your backup if you have one.

Can I reset my passcode without a computer or Apple Store?

Only if Find My iPhone is turned on and you can access iCloud.com from another device. If Find My is off and you have no computer, you will need to visit an Apple Store. This is why turning on Find My now is important.

What if I do not have a receipt or proof of purchase for the Apple Store?

You can still reset your passcode if you can log into your Apple ID on the spot. The store staff will verify your identity through your Apple ID account. Bring a photo ID and be ready to answer security questions about your account.

Does resetting my passcode delete my Apple ID?

No. Resetting your passcode only changes the code you use to unlock your iPhone. Your Apple ID stays the same, and you can still use it to read apps and access iCloud. You will need to enter your Apple ID password when you set up your iPhone after the reset.