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

  1. 1
    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. 2
    Sign in with your Google Account. Use the same Google account information that is associated with your Android phone.
    Advertisement
  3. 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. 4
    Select “Erase.” Remember that this method will erase the data on your device.
  5. 5
    Tap “Erase” again to continue. The device will now restore back to its original factory settings. This will take several minutes.
  6. 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. 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. 8
    Tap “Security”.
  9. 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

  1. 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. 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. 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. 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. 5
    Tap “Security”.
  6. 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

  1. 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. 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. 3
    Click the “Sync” button at the bottom of iTunes.[9]
  4. 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. 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. 6
    Select “Restore from iTunes Backup”.
  7. 7
    Tap “Next”. The next few steps will be performed on the computer in iTunes.
  8. 8
    Select your iPhone in iTunes. Click the iPhone icon in the top left corner of iTunes to select the device.[12]
  9. 9
    Select “Restore Backup”.
  10. 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. 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

  1. 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. 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. 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. 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. 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

About This Article

Nicole Levine, MFA
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for wikiHow. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions. This article has been viewed 52,336 times.
How helpful is this?
Co-authors: 7
Updated: September 6, 2019
Views: 52,336
Categories: Unlocking Phones
Advertisement