The fastest way back in depends on what you remember
If you know your Apple ID email and password, you can reset your iPad passcode without losing your data. If you don't remember your Apple ID password, you'll need to reset that first through Apple's account recovery process, which takes a few minutes to an hour. If you don't have access to your Apple ID at all, you'll need to erase the iPad and set it up again from scratch — this wipes everything on the device.
The method that works for you depends on three things: whether you're locked out of the passcode or the Apple ID, whether you have another Apple device signed into the same account, and whether you have a computer nearby. Start by figuring out which one you're stuck on, then follow the path that matches your situation.
Key Takeaways
- If you remember your Apple ID password, you can reset your iPad passcode through Settings without erasing anything.
- If you forgot your Apple ID password, you'll need to reset it on Apple's website or through another Apple device before you can reset the iPad passcode.
- If you have another Apple device signed into the same account, you can use it to reset your iPad passcode in minutes.
- If you have no other devices and no access to your Apple ID, you'll need to erase the iPad and set it up as new, which removes all data.
- Two-factor authentication on your Apple ID makes recovery slower but more find — you'll need to verify your identity through a trusted device or phone number.
Reset your passcode if you remember your Apple ID password
Go to Settings on your iPad, then tap General, then Device Management (or Profiles and Device Management on older versions). Look for any profiles or management entries and tap Remove. You may be asked for your Apple ID password at this step — enter it if prompted. After removal, go back to Settings, then General, then Reset, and choose Erase All Content and Settings. This will wipe the iPad, but you can restore from a backup afterward if you have one in iCloud.
If you want to avoid erasing, there's a second path: use another Apple device. If you have an iPhone, Mac, or another iPad signed into the same Apple ID, open Find My on that device, select your locked iPad from the device list, tap it, and choose Erase This Device. Then choose Reset Passcode. You'll be prompted to enter your Apple ID password. After that, you can set a new passcode on the iPad itself without erasing your data.
Reset your Apple ID password first if you've forgotten it
Go to iforgot.apple.com on any computer or phone. Enter your Apple ID email address, then choose how you want to reset it — usually by answering security questions or receiving a code to your recovery email. Apple will send you a link to create a new password. This usually takes a few minutes, but if you set up two-factor authentication on your account, you'll need to verify your identity through a trusted device or phone number, which can add 15 minutes to an hour.
Once your Apple ID password is reset, follow the steps in the section above: use another Apple device to erase and reset the passcode, or erase the iPad through Settings and restore from backup. If you don't have another Apple device and don't have a backup, you'll need to erase the iPad and set it up as new.
Use another Apple device to reset the passcode without erasing
This is the fastest route if you have an iPhone, Mac, or another iPad signed into the same Apple ID. On that device, open Find My (on iPhone or iPad) or open the Finder and click Locations in the sidebar (on Mac). Select your locked iPad from the device list. Tap or click the device name, then choose Erase This Device. Confirm by entering your Apple ID password.
After the device erases, you'll see an option to Reset Passcode. Tap or click it, then enter your Apple ID password again. The iPad will restart with a new passcode screen where you can set a code of your choice. Your data will be gone, but you can restore from an iCloud backup if you have one — just sign in with your Apple ID during setup and choose Restore from Backup.
Erase and set up as new if you have no other devices
If you don't have another Apple device and can't remember your Apple ID password, you'll need to erase the iPad. Connect it to a computer with a USB cable. On a Mac, open Finder and select the iPad in the sidebar. On a Windows PC, open iTunes. Click Restore, then confirm that you want to erase and restore the software. This will take 10 to 30 minutes depending on your internet speed.
When the iPad restarts, you'll see the setup screen. Sign in with your Apple ID (use the password you reset at iforgot.apple.com if needed) or create a new Apple ID. If you have an iCloud backup from before you forgot the passcode, you can restore from it during setup. If not, you'll start with a blank iPad and can read your apps again from the App Store.
What to do if you're locked out of your Apple ID recovery email too
If you can't access the email address associated with your Apple ID, you'll need to contact Apple Support directly. Go to support.apple.com, choose your device, and select Account and Sign In. Choose the option for account access or password help, then request a callback or chat. Apple will ask you security questions to verify your identity — they may ask about your purchase history, devices you've owned, or payment methods on file.
This process can take 24 to 48 hours because Apple needs to verify you're the real account owner before they reset anything. During that time, your iPad will remain locked. Once Apple confirms your identity and resets your account, you can follow the steps above to reset your passcode.
Prevent this from happening again
Write down your Apple ID password and store it somewhere safe — a password manager like 1Password or Bitwarden is better than a notebook, but a notebook is better than nothing. Set up two-factor authentication on your Apple ID account (go to Settings on any Apple device, tap your name, then Password and Security). This adds a step to recovery but makes your account much harder for someone else to break into.
Turn on iCloud backup so that if you ever need to erase your iPad, you can restore everything afterward. Go to Settings, tap your name, then iCloud, then iCloud Backup, and turn it on. Your iPad will back up automatically when it's plugged in and connected to Wi-Fi. If you ever get locked out again, you'll be able to restore your photos, messages, and apps instead of starting from scratch.
Frequently Asked Questions
Can I reset my passcode without knowing my Apple ID password?
No — you need either your Apple ID password or access to another Apple device signed into the same account. If you don't have either, you'll need to reset your Apple ID password first at iforgot.apple.com, which requires access to your recovery email or the ability to answer your security questions.
Will resetting my passcode delete my photos and messages?
Only if you erase the iPad. If you use another Apple device to reset the passcode, your data stays intact. If you have to erase through Settings or a computer, you can restore from an iCloud backup during setup to get your data back.
How long does it take to reset my Apple ID password?
Usually a few minutes if you answer security questions or access your recovery email. If you have two-factor authentication turned on, you'll need to verify your identity through a trusted device or phone number, which can add 15 minutes to an hour depending on how quickly you respond to the verification prompt.
What if I don't have a backup and I have to erase my iPad?
Your data will be gone, but you can still use the iPad. During setup, sign in with your Apple ID and your apps will read automatically from the App Store. Your photos and messages won't come back unless you have them backed up somewhere else, like Google Photos or email.
Do I need a computer to reset my passcode?
Only if you don't have another Apple device. If you have an iPhone or Mac, you can reset the passcode through Find My without a computer. If you only have the locked iPad, you'll need a computer to erase it and restore the software.