The fastest way back in depends on what you remember
If you know your Apple ID email and password, you can reset your iPad's screen lock code without losing your data. If you don't remember your Apple ID password, you'll need to reset that first through Apple's website, then use it to unlock your device. If you can't access your Apple ID at all, your only path forward is to erase the iPad and set it up fresh — this removes everything on it, but you can restore from a backup afterward if you have one.
The method you use depends on which of these three situations matches yours. Start by checking whether you can still see the Apple ID email address on the device itself — it's usually visible on the lock screen or in Settings, even when the screen lock code is forgotten.
Key Takeaways
- If you remember your Apple ID password, you can reset your screen lock code through Settings without erasing the iPad.
- If you forgot your Apple ID password, you must reset it on Apple's website first, then use the new password to unlock your device.
- If you cannot access your Apple ID email account, erasing the iPad is the only option, but you can restore from a backup afterward.
- The Find My iPad feature can reset your device remotely if you set it up before you got locked out.
- Recovery mode on a computer can erase and restore your iPad if you have access to the device and a Mac or Windows PC.
Reset your screen lock code if you know your Apple ID password
Go to Settings on your iPad and tap General, then tap Transfer or Reset. Look for the option that says "Reset" or "Erase All Content and Settings" — the exact wording depends on your iPad model and iOS version. Tap it, then enter your Apple ID password when prompted. Your iPad will erase and restart, then ask you to set up the device again.
When the setup screen appears, choose "Restore from iCloud Backup" if you have one. Sign in with your Apple ID, and your photos, messages, apps, and settings will come back. If you don't have a backup, you'll set up the iPad as new, and you can read your apps again from the App Store using the same Apple ID.
This method keeps your data intact if a backup exists. It takes 15 to 45 minutes depending on how much data you're restoring and your internet speed.
Reset your Apple ID password on Apple's website first
If you don't remember your Apple ID password, go to iforgot.apple.com on any computer or phone. Enter your Apple ID email address, then follow Apple's steps to verify your identity. You'll usually be asked to answer security questions you set up when you created the account, or to enter a verification code sent to a recovery email or phone number you registered.
Once you've verified your identity, Apple will let you create a new password. Write it down or save it somewhere safe. Then go back to your iPad, go to Settings > General > Transfer or Reset, and choose the erase option. When prompted for your Apple ID password, enter the new one you just created.
This process usually takes 10 to 20 minutes. If you can't remember your security questions or no longer have access to your recovery email or phone number, Apple's website will ask you to wait a few days before trying again — this is a security measure to prevent someone else from taking over your account.
Use Find My iPad if you set it up before getting locked out
If you turned on Find My iPad before you forgot your password, you can reset the device from another device or from iCloud.com. On a computer, go to iCloud.com and sign in with your Apple ID. Click Find My, then select your iPad from the list of devices.
Click the device name, then look for an option to erase it or remove it from your account. Choose "Erase iPad." Apple will wipe the device remotely, and it will restart and show the setup screen. You can then restore from a backup or set it up as new.
This method works even if your iPad is across the country — you don't need the physical device in front of you. The downside is that Find My only works if you enabled it before you got locked out. If you didn't, this option won't be available.
Erase and restore using a computer and recovery mode
If you have a Mac or Windows PC and a USB cable, you can connect your iPad and use recovery mode to erase it. On a Mac with macOS Monterey or newer, open Finder, plug in your iPad, and click the device name in the sidebar. Click "General," then look for a "Restore" button. On older Macs or Windows PCs, use iTunes instead — plug in your iPad, select the device, and click "Restore iPad."
Your computer will read the latest iPad software and erase the device, then install it fresh. This takes 20 to 60 minutes depending on your internet speed. When it's done, your iPad will show the setup screen. Sign in with your Apple ID and restore from a backup, or set it up as new.
You'll need the Apple ID password that's associated with the iPad — if you don't have it, you'll be stuck at the "set up Lock" screen after the erase completes. This is Apple's security feature to prevent someone from stealing and reusing your device.
What to do if you don't have a backup
If you erase your iPad and don't have an iCloud backup or a computer backup, your photos, messages, and documents won't come back. Your apps will still be available to read from the App Store using your Apple ID, but they'll be empty — you'll lose any data saved inside them.
Before you erase, check whether you have an iCloud backup by going to Settings > [Your Name] > iCloud > iCloud Backup on another device, or by signing into iCloud.com on a computer. If you see a recent backup date, you have one. If you don't see any backups, erasing will mean starting fresh with no data recovery.
After you erase and set up your iPad again, you can prevent this in the future by turning on iCloud Backup in Settings > [Your Name] > iCloud > iCloud Backup and toggling it on.
Prevent this from happening again
Once you're back into your iPad, take a few minutes to set up protections so you don't get locked out again. Turn on Find My iPad in Settings > [Your Name] > Find My > Find My iPad. This lets you erase the device remotely if you forget your password in the future.
Set up a recovery email and phone number on your Apple ID account at appleid.apple.com. These are the fastest way to reset your password if you forget it — you'll get a code sent to your email or phone instead of having to answer security questions.
Turn on iCloud Backup so your data is saved automatically. Go to Settings > [Your Name] > iCloud > iCloud Backup and toggle it on. Your iPad will back up every night when it's plugged in and connected to Wi-Fi.
Frequently Asked Questions
Can I reset my iPad password without erasing it?
Yes, if you remember your Apple ID password. Go to Settings > General > Transfer or Reset and choose the erase option, then enter your Apple ID password. You can restore from a backup when ready after, so your data comes back. If you don't remember your Apple ID password, erasing is unavoidable.
How long does it take to reset an iPad?
The erase itself takes 5 to 10 minutes. Restoring from a backup takes an additional 15 to 45 minutes depending on how much data you have and your internet speed. If you set it up as new without a backup, you're done after the erase and initial setup, which takes about 10 minutes.
What happens to my apps and photos when I erase my iPad?
If you restore from an iCloud backup, everything comes back — apps, photos, messages, and settings. If you don't have a backup, apps will be available to read again from the App Store, but they'll be empty. Photos and documents won't come back unless you have them saved elsewhere, like in Google Photos or OneDrive.
Do I need a computer to reset my iPad?
No. If you remember your Apple ID password or can reset it on iforgot.apple.com, you can erase and restore using only the iPad itself through Settings. A computer is only needed if you want to use recovery mode, which is useful if your iPad won't turn on or respond to the Settings menu.
What if I don't remember my Apple ID email address?
Check the lock screen or go to Settings > [Your Name] — your Apple ID email is usually visible even when the screen lock code is forgotten. If you still can't find it, you'll need to erase the iPad and set it up as new with a different Apple ID, since there's no way to recover the old one without that email address.