The fastest way depends on what you locked it with

If you've 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 screen without losing your data if you can verify your identity through that recovery method. If you didn't set one up, you'll 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. The good news is that neither requires special tools or calling a manufacturer — you can do it yourself from your tablet or a computer.

Key Takeaways

  • If you remember the email or phone number linked to your tablet account, you can reset your lock screen without erasing data by using the "Forgot password" option on the lock screen.
  • A factory reset erases all data on the tablet but doesn't require you to remember any passwords — it's the fallback when you have no recovery method set up.
  • Android tablets and iPads use different unlock methods, so the steps you follow depend on which device you own.
  • If your tablet is managed by a school or employer, you may not be able to unlock it yourself — contact your IT department or administrator instead.

Unlocking an Android tablet with a recovery email or phone number

On most Android tablets, when you've entered the wrong password or PIN several times, a "Forgot password?" link appears on the lock screen. Tap it. You'll be asked to verify your identity using the email address or phone number you registered with your Google account when you first set up the tablet.

Google will send a verification code to that email or phone. Enter the code on your tablet, and you'll be able to set a new password or PIN without losing any apps, photos, or files. This method works on tablets running Android 5.0 and newer, which covers most devices made in the last eight years.

If you don't see a "Forgot password?" option after multiple wrong attempts, your tablet may be running an older Android version or may have a different lock method. In that case, move to the factory reset section below.

Unlocking an iPad with your Apple ID

If you've forgotten your iPad passcode, you can reset it using your Apple ID without erasing the device — but only if your iPad is running iOS 15.1 or newer. On the lock screen, tap "iPad Unlock Options" (or similar wording depending on your iOS version), then select "Unlock with Apple ID." Enter your Apple ID email and password.

Once verified, you'll set a new passcode. Your apps, photos, and other data stay on the device. If your iPad is older than iOS 15.1, or if you don't remember your Apple ID password, you'll need to perform a factory reset using a computer and iTunes or Finder (see the section below).

Factory reset when you have no recovery method

A factory reset erases everything on your tablet and returns it to the state it was in when it left the factory. Use this only if you've tried the recovery methods above and they didn't work, or if you never set up a recovery email or phone number. You won't lose anything you can't afford to lose, because the data is already inaccessible to you behind the lock.

For Android tablets: Power off the tablet completely. Then power it back on while holding down the Volume Down button and the Power button at the same time. Keep holding both buttons until you see a menu (called "Recovery Mode"). Use the volume buttons to navigate to "Wipe data / factory reset" and press the Power button to select it. Confirm the action. The tablet will restart and take you through the initial setup process as if it were brand new.

The exact button combination varies slightly by manufacturer — Samsung, Lenovo, and Amazon tablets may use different key combinations. If the Volume Down + Power method doesn't work, search online for "[your tablet model] recovery mode" to find the correct combination.

For iPad: Connect your iPad to a computer with iTunes (on Windows or older Mac) or Finder (on Mac with macOS 10.15 or newer). Put the iPad into Recovery Mode by holding down the Home button and the Top (or Side) button together until you see the recovery screen. In iTunes or Finder, click "Restore" to erase and reinstall the operating system. This takes 10 to 20 minutes. When it's done, you'll set up the iPad as new or restore from a backup if you have one saved.

What to do if your tablet is managed by a school or employer

If your tablet was issued by a school, workplace, or organization, it may be enrolled in a mobile device management (MDM) system. These systems prevent you from performing a factory reset without permission from the administrator. If you've forgotten your lock code, contact your IT department or the person who issued the tablet — they have tools to reset it remotely.

Don't attempt a factory reset on a managed device without checking first. Doing so may trigger security alerts or lock the device further.

Preventing this from happening again

Once you've regained access to your tablet, set up a recovery method so you don't get locked out again. On Android, go to Settings > Accounts and add a recovery email address to your Google account. On iPad, go to Settings > [Your Name] > Password & Security and make sure you have a trusted phone number or recovery email on file.

If you use a password manager like Bitwarden, 1Password, or LastPass, store your tablet's PIN or password there too. That way, if you forget it, you can look it up without needing to reset the device.

Frequently Asked Questions

Will I lose my photos and files if I do a factory reset?

Yes, a factory reset erases everything stored directly on the tablet. However, if you backed up your data to Google Drive (Android) or iCloud (iPad) before getting locked out, you can restore those files after you set up the tablet again. Check your cloud storage account from a computer to see what's backed up.

How long does a factory reset take?

Most factory resets take 5 to 15 minutes on Android and 10 to 20 minutes on iPad, depending on the tablet's age and storage capacity. The tablet will restart several times during the process. Don't turn it off or unplug it while it's resetting.

What if I don't remember my Apple ID or Google account password either?

You can reset your Apple ID password at iforgot.apple.com or your Google password at accounts.google.com/signin/recovery. You'll need access to the email address or phone number associated with the account. Once you've reset that password, use it to unlock your tablet.

Can I unlock a tablet without a computer?

For Android, yes — the recovery mode method works entirely on the tablet itself. For iPad, you need a computer with iTunes or Finder to perform a factory reset. If you don't have access to a computer, you can take the iPad to an Apple Store and they can help you reset it.

What if the factory reset doesn't work?

If your tablet won't boot into recovery mode or the reset fails, the device may have a hardware problem or corrupted firmware. At that point, contact the manufacturer's support line or visit an authorized repair center. Bring proof of ownership in case they ask for it.