The most direct route: use your Apple ID to reset the passcode
If you know your Apple ID email and password, you can reset your iPad's passcode without losing your data. On the locked iPad, tap the passcode field several times until you see "iPad Unavailable" and an option to try again. After enough failed attempts, the screen will show "Use Recovery Mode" or "Connect to iTunes" — at that point, you can tap "Use Your Apple ID" if it appears, or you'll need to move to a computer.
On a Mac or Windows computer with iTunes or Finder, connect your iPad with a USB cable. Open Finder (Mac) or iTunes (Windows) and select your iPad when it appears. Choose "Restore" to erase the device and set it up fresh. During setup, you'll be asked to sign in with your Apple ID — use the one associated with that iPad. Once you sign in, your apps, photos, and other data restore from your iCloud backup automatically.
This method works only if you remember your Apple ID credentials. If you've forgotten both your passcode and your Apple ID password, you'll need to reset your Apple ID password first through Apple's account recovery page on another device or computer.
Key Takeaways
- If you know your Apple ID email and password, you can reset the passcode through Finder or iTunes on a computer without erasing your data.
- Connecting to a computer and choosing "Restore" erases the iPad but lets you sign back in with your Apple ID to recover your backup.
- If you don't remember your Apple ID password, you must reset it through Apple's account recovery before you can unlock the iPad.
- Apple's Find My iPad feature can erase and unlock a device remotely if you set it up before losing the passcode.
Using Find My iPad to erase and unlock remotely
If you set up Find My iPad before you forgot the passcode, you can erase the device and regain access from any computer or another Apple device. Go to iCloud.com, sign in with your Apple ID, and open Find My. Select your iPad from the list of devices.
Choose "Erase This Device" to wipe the iPad completely. Once erased, the device will restart and show the setup screen. Sign in with your Apple ID during setup, and your data will restore from iCloud backup. This method works even if you don't have the original passcode, but it requires that Find My was turned on before you locked yourself out.
Find My is turned on automatically when you sign into iCloud on your iPad, so most people have it enabled without realizing it. Check by going to Settings > [Your Name] > Find My on any unlocked Apple device you own.
Recovery Mode on a computer without your Apple ID password
If you don't remember your Apple ID password and don't have access to Find My, you can still erase the iPad using Recovery Mode on a computer. Connect the iPad to a Mac or Windows computer with a USB cable and open Finder (Mac) or iTunes (Windows).
Force the iPad into Recovery Mode by pressing and holding the top button and volume down button together for about 10 seconds, then keep holding until you see the recovery screen. In Finder or iTunes, choose "Restore" to erase the device completely. The iPad will restart and show the setup screen.
At setup, you'll be asked to sign in with an Apple ID. If you don't have one or don't remember the password, you can create a new Apple ID during setup or skip this step temporarily. However, you'll eventually need an Apple ID to use most iPad features — you can set one up later through Settings > [Your Name].
What happens to your data when you reset the passcode
The outcome depends on which method you use. If you reset through your Apple ID without erasing (the first method), your data stays on the device. If you erase the iPad through Restore or Recovery Mode, all data is deleted from the device itself — but it comes back when you sign in with your Apple ID and let iCloud restore your backup.
The restoration process happens automatically after you sign in. Your photos, messages, app data, and settings read from iCloud in the background. Depending on how much data you have and your internet speed, this can take anywhere from a few minutes to several hours.
If you didn't have iCloud backup turned on before you forgot the passcode, you will lose any data that wasn't backed up elsewhere. Check whether backup was enabled by looking at your iCloud settings on another device you own, or by signing into iCloud.com and checking your storage.
Why you need a computer for most passcode resets
Apple requires a computer connection or Find My access to reset a passcode because it's a security measure. Without this requirement, anyone with physical access to an iPad could erase it and set it up as their own. By requiring either a computer connection (which proves you have access to your own devices) or Find My (which requires your Apple ID), Apple ensures that only the actual owner can regain access.
This is why having Find My enabled and knowing your Apple ID password are the easiest paths forward. If neither is available, the computer method works but takes longer because you need to locate a Mac or Windows computer and a USB cable.
Preventing this situation in the future
Write down your Apple ID password and store it somewhere find — a password manager, a locked drawer, or a trusted person. This single piece of information unlocks almost every recovery path on your iPad.
Turn on Find My by going to Settings > [Your Name] > Find My and making sure it's enabled. This gives you a remote way to erase and unlock your iPad from any computer or another Apple device, even if you're away from home.
Set up iCloud backup by going to Settings > [Your Name] > iCloud > iCloud Backup and turning it on. This ensures your data comes back when you restore the device, even if you had to erase it completely.
Frequently Asked Questions
Can I unlock my iPad without a computer or Apple ID?
Not through official Apple methods. If you don't have access to a computer, Find My, or your Apple ID password, you'll need to contact Apple Support or visit an Apple Store with proof of purchase. They can verify ownership and help you regain access.
Will resetting my passcode delete my photos and messages?
Only if you erase the device. If you reset through your Apple ID without erasing, everything stays. If you do erase, your data comes back automatically when you sign in with your Apple ID and restore from backup — but only if backup was turned on before you locked yourself out.
How long does it take to restore an iPad after resetting the passcode?
The erase and setup process takes 10 to 20 minutes. Restoring your data from iCloud backup can take much longer depending on how much data you have and your internet speed — anywhere from a few minutes to several hours for a full backup.
What if I don't remember my Apple ID email address?
Go to iforgot.apple.com on another device and enter your phone number or recovery email. Apple will help you find your Apple ID email. Once you have it, you can reset your password and use it to unlock your iPad.
Can someone else unlock my iPad if they know my Apple ID password?
Yes — that's why protecting your Apple ID password is as important as protecting your passcode. Use a strong, unique password and don't share it. If you think someone else knows it, change it when ready through your Apple ID account settings.