How to Unlock a Phone when You Forget Its Passcode

Download ArticleDownload Article

If you have lost or forgotten the password for your iPhone, you can regain access with iTunes Backup and Restore or by placing the phone into Recovery Mode. If you're using Android 4.4 or earlier, you'll be able to reset your login pattern as long as you can log into your Google Account. If you no longer have access to your Google account, you can perform a factory reset. Android 5.0 and later users will need to erase all of the data on their phones to get back in.

Method 1
Method 1 of 4:

Android 5.0 and Later

Download Article
  1. How.com.vn English: Step 1 Visit Android Device...
    Visit Android Device Manager in a web browser. This method will erase the content from your phone. As of Android 5.0, Google has removed the ability to bypass the lock code without wiping the content.[1] You'll be able to get back into your phone, but you will lose any data (such as music and photos) saved to the device.
    • This method will only work if you have Android Device Manager enabled on your phone.
    • If you are unable to unlock your phone with this method, learn how to perform a factory reset on your Android..
  2. How.com.vn English: Step 2 Sign in with your Google Account.
    Use the same Google account information that is associated with your Android phone.
    Advertisement
  3. How.com.vn English: Step 3 Select your device from the list.
    If you have more than one Android associated with this Google account (such as older phones), you will see a list of devices from which to choose.
  4. How.com.vn English: Step 4 Select “Erase.”
    Remember that this method will erase the data on your device.
  5. How.com.vn English: Step 5 Tap “Erase” again to continue.
    The device will now restore back to its original factory settings. This will take several minutes.
  6. How.com.vn English: Step 6 Follow the on-screen prompts to set up your phone.
    You'll now be walked through a setup process for your phone as if it were new.[2]
  7. How.com.vn English: Step 7 Open the Settings app.
    Once setup is complete and you've arrived at the home screen, create a new lock password or pattern.
  8. How.com.vn English: Step 8 Tap “Security”.
  9. How.com.vn English: Step 9 Tap “Screen lock”.
    Choose the type of screen lock you want to use, and then follow the prompts to create your new passcode.[3]
  10. Advertisement
Method 2
Method 2 of 4:

Android 4.4 and Earlier

Download Article
  1. How.com.vn English: Step 1 Attempt to unlock your phone five times in a row.
    This method will only work if you have a pattern-type passcode set up on Android 4.4 (KitKat) or below.[4] After five unsuccessful unlock attempts, you will see a link that says “Forgot Pattern?”
  2. How.com.vn English: Step 2 Tap “Forgot Pattern?”.
    Now you will have the opportunity to sign into your phone using the Google username and password associated with your phone.[5]
  3. How.com.vn English: Step 3 Enter your Google account information and tap “Sign In”.
    If the username and password are correct, you should now be logged back into your Android.
  4. How.com.vn English: Step 4 Open the Settings app.
    When you logged in with your account information, your previous lock pattern was deactivated. Now you can create a new code that you'll remember.
  5. How.com.vn English: Step 5 Tap “Security”.
  6. How.com.vn English: Step 6 Tap “Screen lock”.
    Here you will select the type of screen lock you want to use, then follow the prompts to create a new password or pattern.[6]
  7. Advertisement
Method 3
Method 3 of 4:

Using iTunes Backup and Restore

Download Article
  1. How.com.vn English: Step 1 Connect your iPhone to iTunes.
    If you fail to unlock your iPhone after six tries, you will see a message that says “Device is Disabled”.[7] To get back into your phone, connect it to the computer on which you use iTunes, then open iTunes.
    • If you see the message “iTunes could not connect to [your device] because it is locked with a passcode” or “You haven't chosen to have [your device] trust this computer, try a different computer you've synced with in the past.[8]
    • If there is no secondary computer, see Using iPhone Recovery Mode.
  2. How.com.vn English: Step 2 Sync your iPhone with iTunes.
    If your iPhone is configured to sync automatically, it should begin to sync. If your phone does not sync automatically:
    • Click your iPhone.
  3. How.com.vn English: Step 3 Click the “Sync” button at the bottom of iTunes.
    [9]
  4. How.com.vn English: Step 4 Click “Restore iPhone…” to begin restoring from backup.
    Now that you've synced a backup of your iPhone content to the computer, you'll be able to reset your iPhone back to its original settings. When the restore is complete, the Setup screen will appear on your iPhone.[10]
  5. How.com.vn English: Step 5 Follow the prompts until you arrive at the Apps & Data screen.
    Now you'll move through setting up your iPhone as though it's a new device. This is where you'll set your location, set up Wi-Fi, and create a brand new passcode.[11] Once you arrive at the “Apps & Data” screen, you'll have the option to restore from your backup.
  6. How.com.vn English: Step 6 Select “Restore from iTunes Backup”.
  7. How.com.vn English: Step 7 Tap “Next”.
    The next few steps will be performed on the computer in iTunes.
  8. How.com.vn English: Step 8 Select your iPhone in iTunes.
    Click the iPhone icon in the top left corner of iTunes to select the device.[12]
  9. How.com.vn English: Step 9 Select “Restore Backup”.
  10. How.com.vn English: Step 10 Choose the most recent backup.
    If you see more than one backup listed, make sure you choose the one that reflects today's date.[13]
  11. How.com.vn English: Step 11 Follow the prompts to restore your iPhone.
    When the restoration is complete, all of your data will be back on your iPhone.
  12. Advertisement
Method 4
Method 4 of 4:

Using iPhone Recovery Mode

Download Article
  1. How.com.vn English: Step 1 Connect your iPhone to iTunes.
    If your iPhone was disabled as the result of multiple failed login attempts, you'll see a message that says “Device is Disabled”.[14] This method will erase all of the content on your iPhone, so you should only use it if you're unable to use iTunes Backup and Restore.
  2. How.com.vn English: Step 2 Press and hold the Sleep/Wake and Home buttons at the same time.
    Keep holding these buttons down until you see the Recovery Mode screen. This screen is black and will display the iTunes logo and a connector, indicating that the device is connected to iTunes.[15]
  3. How.com.vn English: Step 3 Click “OK” on the pop-up in iTunes.
    Do this if you see the following text in a pop-up window: “iTunes has detected an iPhone in recovery mode. You must restore this iPhone before it can be used with iTunes.” Otherwise, move to the next step.[16]
  4. How.com.vn English: Step 4 Click “Restore” in iTunes.
    You'll see this button on a pop-up window that also contains the buttons “Cancel” and “Update.” Once you click “Restore,” iTunes will start the restoration process, which may take several minutes.
  5. How.com.vn English: Step 5 Follow the setup prompts on your iPhone.
    When the restore is complete, your iPhone will rest. Follow the prompts to set your location, Wi-Fi, and create a new passcode.[17]
    • If you made an iCloud backup at an earlier date, select the option to “Restore from iCloud Backup” on the “Apps & Data” screen.
    • If you have no backup, select “Set Up as New iPhone” on the “Apps & Data” screen.
  6. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      • Setting up automatic backups is a great way to prevent data loss in the future.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      Expert Interview

      Thanks for reading our article! If you’d like to learn more about smartphones, check out our in-depth interview with Brehima Traore.

      About This Article

      How.com.vn English: Brehima Traore
      Written by:
      Electronic Repair Expert
      This article was written by Brehima Traore and by How.com.vn staff writer, Nicole Levine, MFA. Brehima Traore is an Electronic Repair Expert specializing in sharing information about smartphones. Brehima has a follower base of over 59,000 YouTube subscribers and over 150,000 followers on Instagram. His most popular videos highlight phone camera and screen replacement tips. This article has been viewed 58,623 times.
      How helpful is this?
      Co-authors: 8
      Updated: December 27, 2023
      Views: 58,623
      Categories: Unlocking Phones
      Thanks to all authors for creating a page that has been read 58,623 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement