PDF download Download Article
Get into your locked iPhone so you can reset the passcode using Find My, iCloud, and more
PDF download Download Article

If you’ve forgotten the passcode for unlocking your iPhone, you won't need a computer to unlock it. There are still ways to get in. Most methods involve erasing your iPhone so that you can set it up again with a new passcode. Depending on which version of iOS you have, you may be able to reset your iPhone from the Security Lockout screen, erase it remotely with Find My or iCloud, or even get in using glitches in the Siri app. This wikiHow article will teach you the easiest ways to unlock your iPhone and reset the passcode without using a computer.

Unlock Your iPhone When You’ve Forgotten the Passcode

  • You can reset an iPhone with iOS 15.2 or later from the Lock Screen without connecting it to a computer. [1]
  • Use Find My or iCloud on another device to remotely reset your iPhone and password.
  • If you have an older iPhone, you may be able to hack in using Siri without having to erase your phone.
Method 1
Method 1 of 6:

Resetting from the Lock Screen (iOS 17)

PDF download Download Article
  1. After you enter your passcode incorrectly a few times, you’ll see a screen that says “iPhone Unavailable.” It will ask you to try again after a certain amount of time has passed (e.g., 1 minute). [2]
    • Your iPhone needs to be connected to a cellular or Wi-Fi network for this to work.
  2. This option will appear at the bottom right corner of the screen. You might need to wait a moment for it to become available.
    Advertisement
  3. Select this option to confirm that you want to reset your iPhone. Be aware that this will erase all the content and settings on your iPhone, and you’ll need to restore it from a backup or set it up as a new device.
  4. This will sign you out of your Apple ID on your iPhone.
  5. This will erase all the data and settings on your phone. If you have an eSIM, you’ll see the option to either keep or erase it. Wait for your iPhone to finish erasing itself. It will restart automatically when it’s done.
  6. Restore your iPhone or set it up again. After your iPhone restarts, follow the prompts to set it up again. If you backed up your iPhone using iCloud or your computer, you can restore it now. If you don’t have a backup, you’ll need to set your phone up from scratch.
    • During the set up or restore process, you’ll have the chance to create a new passcode. Make sure to select one you’ll remember.
  7. Advertisement
Method 2
Method 2 of 6:

Temporarily Using an Old Passcode (iOS 17)

PDF download Download Article
  1. If you recently changed your passcode and you’ve forgotten the new one, you can temporarily use your old one to unlock your iPhone. This will only work if you’re using iOS 17 and you made the change within the past 72 hours. [3]
  2. This should trigger the iPhone Unavailable screen.
  3. This option will appear at the bottom right corner of the screen. You may need to wait a moment for it to become available.
  4. If you changed your passcode within the past 72 hours, you should see this option. If not, or if you’ve forgotten your old passcode, you’ll need to reset your device completely using the iPhone Reset option.
  5. As soon as you enter your old passcode, you’ll be prompted to set up a new one. Make sure to choose one you can easily remember.
    • If you want to expire your old passcode sooner than 72 hours for security reasons, you can do so by going to Settings > Face ID & Passcode . Enter your new passcode, then tap Expire Previous Passcode Now .
  6. Advertisement
Method 3
Method 3 of 6:

Resetting from the Lock Screen (iOS 15.2-16)

PDF download Download Article
  1. If your iPhone is running iOS 15.2-iOS 16, you can reset your phone from the Security Lockout or iPhone Unavailable screen, which doesn't require a computer. To get started, make 5 attempts to enter your passcode. Your phone will temporarily lock you out after 5 incorrect attempts, and you’ll have to wait a few minutes before you can try again. [4]
    • Your iPhone will also need to be connected to Wi-Fi or a mobile network for this to work.
    • If you have an eSIM or digital SIM on your iPhone, contact your service provider first to find out how to set up your eSIM again after you’ve reset the phone.
    • Keep in mind that this method will erase everything on your iPhone. If you have your data and settings backed up, you’ll be able to restore them after you’re done.
  2. After the initial lockout, you’ll need to wait for a certain amount of time before you can try to log in again. Keep trying to enter your passcode until you see "Security Lockout" with an Erase iPhone option at the bottom right corner.
    • In some cases, your screen may say "iPhone Unavailable" instead of "Security Lockout." Either way, keep trying until the Erase iPhone option appears.
  3. You’ll see this option at the bottom right side of the screen, next to Emergency.
  4. A new screen will appear asking you if you want to erase all your content and settings. Select Erase iPhone again to proceed, or tap Cancel to go back.
  5. You’ll need to log in using the same Apple ID you used to set up your iPhone. When you’re prompted, enter your Apple ID password to sign out of your Apple ID on the iPhone. [5]
    • If you can’t remember your password, you may need to change it on another device.
  6. Once you enter your password, you may be prompted to tap Erase iPhone again. Wait for your phone to finish erasing itself, after which it will restart automatically. [6]
  7. Once your phone is done resetting, follow the onscreen prompts to set it up again. This will also give you the opportunity to set a new passcode that’s easier to remember!
    • If you like, you can also set up an alternative method for unlocking your phone, such as Face ID or Touch ID. [7] However, not all iPhone models support these methods.
  8. Advertisement
Method 4
Method 4 of 6:

Using Find My

PDF download Download Article
  1. You don’t need a computer to unlock your iPhone and reset the passcode with Find My, but you will need a different device that supports the Find My app (such as another iPhone or an iPad). You can use Find My to remotely erase your locked iPhone so you can unlock it and set it up again. To get started, launch the Find My app. [8]
    • You’ll need to be logged in with the same Apple ID that you used to set up your locked device.
    • This will only work on iPhones that already have Find My enabled .
    • Keep in mind that this method will erase all the content and settings on your iPhone. You’ll need to set your phone up again or restore it from a backup after you’re done.
  2. You’ll see a map showing the current locations of your devices as well as an expandable list of all the Apple devices connected to your account. [9]
  3. Find your iPhone in the list and tap on it. A new menu will appear.
  4. Tap on the red Erase This Device link at the bottom of the device menu. [10]
  5. If you want to proceed, tap the blue Continue button. If you change your mind, tap Cancel in the top right corner of the "Erase iPhone?" screen instead. [11]
  6. You’ll be prompted to confirm your choice by tapping Erase in the top right corner of the next screen.
    • You’ll also be given the option to enter your phone number on this screen, but you don’t need to do that unless your phone is lost and you want it to display your contact number in case someone finds it.
  7. You’ll need to log in to confirm the reset. On the next screen, type in your Apple ID and password, then tap Erase one more time. [12]
  8. Your iPhone will be erased and reset next time it connects to a Wi-Fi or cellular network. If it’s not connected to a network, you’ll see an Erase Pending message on the screen. Once the reset process is complete, you’ll need to set your iPhone up again and create a new passcode or other login method.
    • When you erase an iPhone this way, it will go into Activation Lock mode. You’ll need to enter your Apple ID and password to unlock it before you can set it up again. [13]
      • If you’ve forgotten your Apple ID or password, you’ll need to reset them on another device. [14]
    • If you change your mind, you can cancel the process if your phone is offline and hasn’t started erasing yet. Select your iPhone in the list of devices on Find My and tap Cancel Erase , then enter your Apple ID and password again.
  9. Advertisement
Method 5
Method 5 of 6:

Using iCloud

PDF download Download Article
  1. Log into iCloud with your Apple ID and password. This method is similar to the Find My method, but you can use it to reset your iPhone passcode from any device—even an Android phone or tablet. To get started, open a browser and navigate to https://www.icloud.com/find . Click the Sign In button and enter the Apple ID and password you used to set up your iPhone. [15]
  2. You’ll see a menu of all your devices on the left side of the screen. Click the phone you want to unlock. A new window displaying options and information about your phone will open.
    • If the All Devices menu is collapsed, click the green box on the right side of the menu to expand it.
  3. You’ll see this option near the bottom of the device menu.
  4. A window will pop up warning you that all the content and settings on the phone will be erased. Click Next to confirm, or click the X in the top left corner of the popup to go back to the menu.
  5. You’ll be prompted to log in with your Apple ID to continue. If you’re not using a trusted device, you may need to perform some additional verification steps, such as answering your security questions or having a verification code sent to your phone number or another device. [16]
  6. Once you confirm that you want to erase your iPhone, the erasing process will begin. After all the data is erased from your phone, it will go into Activation Lock mode. You’ll need to log in with your Apple ID and password to set the phone up again.
    • Your phone won’t erase until it’s turned on and connected to Wi-Fi or a cellular network.
    • If your iPhone isn’t currently online, you can always select your device in iCloud and click Stop Erase Request to cancel the process.
  7. Advertisement
Method 6
Method 6 of 6:

Hacking in with Siri (iOS 8.0 to 10.1)

PDF download Download Article
  1. Activate Siri by saying “Hey Siri” or clicking the Home button. If you have an older iPhone, you may be able to unlock it without a passcode by hacking in with Siri. This method exploits an old weakness in Siri’s security settings that has been fixed in more recent updates. You’ll only be able to do it if your locked iPhone is using a version of iOS between 8.0 and 10.1 and has a Home button.
  2. Once Siri is active, say, “What time is it?” Even if your phone is locked, the Clock widget should open.
  3. Once the widget appears, tap it to open up the Clock app.
  4. It’s the icon that looks like a globe with grid lines.
  5. At the top right corner of the World Clock screen, tap on the + sign. This will allow you to add a new city to your list.
  6. Instead of selecting a new city from the list, start typing in the search bar at the top of the screen. Then, double tap the text to select it.
  7. Once the text you typed in is selected, tap it again to open a menu with editing options. [17]
  8. You may need to navigate with the > button in the Edit menu to find the Share… option. Once you find it, tap on it to open the Share menu.
  9. This will open a new text message window.
  10. Type any word or jumble of letters into the To: field, then tap return on your keyboard to highlight the text.
  11. Once your text is selected, tap + to the right of the To: field. This will bring up a menu for creating a new contact on your iPhone.
  12. Choose Create New Contact from the options in the menu.
  13. You’ll see this option on the left side of the New Contact screen.
  14. A menu will pop up asking you to either take a new photo or choose one that’s already on your phone. Tap Choose Photo .
  15. Once the Photos app opens, tap any album in your library to open it.
  16. As soon as the album opens, press the Home button on your phone. This will unlock your phone and take you to the Home Screen. From there, you can open your Settings app and reset your passcode!
  17. Advertisement

Expert Q&A

Ask a Question
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!

      Expert Interview

      Thanks for reading our article! If you’d like to learn more about troubleshooting your iphone, check out our in-depth interview with Naseem Speach .

      About This Article

      Thanks to all authors for creating a page that has been read 319,217 times.

      Is this article up to date?

      Advertisement