The fastest way depends on what you locked it with
If you have forgotten your tablet's password, PIN, or pattern lock, the path forward depends on whether you set up a recovery method beforehand — usually a backup email address or phone number. Most tablets let you reset the lock through that recovery account without losing your data. If you did not set one up, you will need to perform a factory reset, which erases everything on the device.
The exact steps differ between Android and iPad, and even between different Android versions. Before you start, know that some methods require you to wait a set amount of time between failed attempts, and some require you to connect to a computer or Wi-Fi network.
Key Takeaways
- If you remember the email or phone number linked to your tablet account, you can reset your lock code through that account without erasing your data.
- Android tablets with a Google account can use the Find My Mobile or Find My Device service to unlock remotely if you set it up before forgetting your code.
- iPad users with a linked Apple ID can use iCloud.com to erase and reset the device from any computer.
- A factory reset erases all data on the tablet and returns it to its original state, and is the only option if you have no recovery method set up.
- Some tablets require you to wait 24 to 72 hours after multiple failed unlock attempts before you can try again.
Unlocking an Android tablet with a Google account
If your Android tablet is linked to a Google account and you have forgotten your PIN, pattern, or password, you can reset it through Google's account recovery. After you enter the wrong code five times, the tablet will show an option to unlock with your Google account. Tap that option, enter the email address and password for the Google account linked to the tablet, and the lock will clear.
This method works only if the tablet is connected to Wi-Fi or mobile data at the time. If you do not see the Google unlock option after five failed attempts, your tablet may be running an older version of Android or may not have a Google account linked to it.
If the Google unlock option does not appear, you can try using Find My Mobile (for Samsung tablets) or Find My Device (for other Android brands). Go to the service's website from any computer, sign in with the Google account linked to your tablet, and select the option to unlock or erase the device remotely. This works only if you turned on the service before you forgot your code.
Unlocking an iPad with your Apple ID
iPad users can unlock a forgotten code through iCloud, Apple's cloud service. Go to iCloud.com from any computer or another device, sign in with the Apple ID linked to your iPad, and select Find My. Choose your iPad from the list of devices, then select the option to erase the device. This will clear the lock code and return the iPad to its original state, but it will also erase all data on the device.
If you do not know your Apple ID password, you can reset it through Apple's account recovery page at iforgot.apple.com. You will need access to the email address or phone number linked to your Apple ID.
If your iPad is not showing up in Find My, it may not be connected to Wi-Fi or may have been turned off. Turn it on, connect it to Wi-Fi, and try again.
Factory reset when you have no recovery account
If you did not link a Google account to your Android tablet or an Apple ID to your iPad, or if those methods do not work, a factory reset is your only option. This erases all data on the tablet — photos, documents, apps, and settings — and returns it to the state it was in when you first bought it.
For Android, connect the tablet to a computer with a USB cable. read and install Android Debug Bridge (ADB) on the computer, then use the command line to send a reset command to the tablet. The exact steps vary by tablet model and Android version. Search for "[your tablet model] factory reset via ADB" to find the specific commands for your device.
For iPad, connect it to a computer with iTunes or Finder (on Mac) or iTunes (on Windows). Select the iPad, choose the option to restore, and confirm. The iPad will erase and reinstall its operating system.
What to do if the tablet is locked after multiple failed attempts
Many tablets lock you out temporarily after you enter the wrong code too many times. Android tablets typically lock for 30 seconds after five failed attempts, then longer after each subsequent failure — sometimes up to 24 or 72 hours. iPad locks for one minute after six failed attempts, then doubles the wait time with each additional failure.
During this lockout period, you cannot try another code. You must wait for the timer to expire. If you want to unlock the tablet before the timer runs out, use one of the recovery methods described above — Google account recovery for Android, iCloud for iPad, or a factory reset if you have no recovery account.
Preventing this from happening again
Once you have unlocked your tablet, set up a recovery method so you do not get locked out again. On Android, go to Settings, then Accounts, and make sure a Google account is linked and synced. On iPad, go to Settings, tap your name at the top, and confirm that your Apple ID is signed in.
Write down your recovery email address and phone number in a safe place, separate from the tablet itself. If you use a password manager like Bitwarden or 1Password, store your recovery information there. Do not store it in a note on the tablet — if you get locked out, you will not be able to access it.
Consider using a PIN or password you can remember, or use your tablet's biometric unlock (fingerprint or face recognition) as your primary method. Biometric locks are faster to use and you are less likely to forget them.
Frequently Asked Questions
Will factory reset erase everything on my tablet?
Yes. A factory reset erases all photos, documents, apps, messages, and settings. The tablet returns to the state it was in when you first turned it on. If you have backed up your data to Google Drive, iCloud, or another cloud service, you can restore it after the reset is complete.
Can I unlock my tablet without a computer?
Yes, if you remember your Google account password (Android) or Apple ID password (iPad). After multiple failed unlock attempts, both systems offer an option to unlock using your account. You will need Wi-Fi or mobile data to do this. If you do not remember your account password, you will need a computer to reset it.
How long does a factory reset take?
A factory reset usually takes 10 to 30 minutes, depending on the tablet model and how much data was on it. Do not turn off the tablet or disconnect it from power during the reset. Once it is complete, you will see the initial setup screen as if the tablet were brand new.
What if I do not remember my Google or Apple ID password?
You can reset your password through Google's account recovery page (accounts.google.com/signin/recovery) or Apple's account recovery page (iforgot.apple.com). You will need access to the email address or phone number linked to your account. If you do not have access to either, contact Google or Apple support.
Can someone else unlock my tablet for me?
Only if they have access to the recovery email address or phone number, or if they know your Google or Apple ID password. If your tablet is lost or stolen, contact Google or Apple to report it and ask them to lock it remotely so the person who finds it cannot access your data.