What to do right now if you cannot remember your iPad passcode
If you cannot remember your iPad passcode, you have three main paths: use a computer to reset it through Apple's recovery tools, use your Apple ID to reset it remotely, or erase the device and set it up again. Which one works depends on whether you remember your Apple ID password, whether you have a computer nearby, and how much data you want to keep.
The fastest route for most people is using a Mac or Windows computer with iTunes or Finder. If you do not have a computer, you can use iCloud.com from any web browser. If you have forgotten both your passcode and your Apple ID password, you will need to erase the device — this is the only way forward, but you can restore your data afterward if you have a backup.
Key Takeaways
- You can reset your passcode using a computer with Finder (Mac) or iTunes (Windows) without erasing your data, as long as you know your Apple ID password.
- If you do not have a computer, go to iCloud.com on any web browser, sign in with your Apple ID, and use Find My iPad to reset the device remotely.
- If you have forgotten both your passcode and your Apple ID password, you must erase the iPad, but you can restore photos, messages, and other data from a backup afterward.
- Two-factor authentication on your Apple ID makes recovery slower because you need to verify your identity on a trusted device, but it also prevents someone else from resetting your device.
Using a Mac with Finder to reset your passcode
On a Mac running macOS Monterey or newer, connect your iPad with a USB cable. Open Finder and click on your iPad's name in the sidebar. Click General, then look for the message about a locked device. Click Restore, and macOS will read the current iPad software and install it — this erases the passcode but keeps your data intact if you have a backup.
When the restore finishes, you will see the setup screen. Choose Restore from Backup and sign in with your Apple ID. Select the backup you want to restore from — usually the most recent one — and your photos, messages, apps, and settings will return to the iPad. The whole process takes 20 to 45 minutes depending on your internet speed and how much data you have.
If you are running macOS Monterey or older, use iTunes instead of Finder. The steps are the same: connect the iPad, click the device icon, click Restore, and then restore from backup when prompted.
Using a Windows computer with iTunes
On Windows, read iTunes from the Microsoft Store or from Apple's website. Connect your iPad with a USB cable, open iTunes, and click the device icon. Click Restore in the Summary tab. iTunes will read the current iPad software and install it, erasing your passcode but keeping your data if you restore from backup.
When the restore finishes, you will see the setup screen on your iPad. Choose Restore from Backup and sign in with your Apple ID. Select the backup you want — usually the most recent one — and your data will return. This process takes 20 to 45 minutes depending on your internet speed.
Resetting your passcode through iCloud.com without a computer
If you do not have a Mac or Windows computer, go to iCloud.com in any web browser on a phone, tablet, or another computer. Sign in with your Apple ID and password. Click Find My, then click Find My iPad.
Select your iPad from the list of devices. Click Erase This Device. This will erase your passcode and all data on the iPad. When it finishes, you will see the setup screen. Choose Restore from Backup and sign in with your Apple ID to bring back your photos, messages, apps, and settings from a previous backup.
This method erases the device, so you lose any data created after your last backup. If you have not backed up recently, you may lose photos or messages. Before you erase, check when your last backup was created by going to Settings > [Your Name] > iCloud > iCloud Backup on another Apple device, or by signing into iCloud.com and checking your account settings.
What happens if you have two-factor authentication turned on
Two-factor authentication is a security feature that requires you to verify your identity on a trusted device when you sign in to your Apple ID from a new location. If you have it turned on, resetting your passcode takes longer because Apple needs to confirm it is really you.
When you try to restore your iPad through a computer or iCloud, you will be asked to enter a verification code. Apple will send this code to another device you own — usually your iPhone, Mac, or another iPad. You must have access to that device to complete the reset. If you do not have access to any trusted device, you will need to contact Apple Support to verify your identity through other means, such as answering security questions or providing a receipt for your device.
If you have forgotten your Apple ID password too
If you cannot remember both your passcode and your Apple ID password, you cannot use any of the methods above. Your only option is to erase the iPad completely through Settings, then set it up as a new device and recover your data later.
Go to Settings > General > Reset > Erase All Content and Settings. You will be asked to enter your passcode — but since you do not remember it, you cannot proceed this way. Instead, you must use a computer or iCloud to erase the device remotely, as described in the sections above. When you reach the setup screen, do not sign in with your Apple ID yet. Instead, choose Set Up Later and complete the setup as a new iPad.
Once the iPad is set up, go to iCloud.com on a computer and reset your Apple ID password. Then sign in to your iPad with your new password. You can then restore your data from a backup by going to Settings > [Your Name] > iCloud > iCloud Backup and choosing Restore from Backup.
Recovering data from a backup after you reset
After you reset your passcode and set up your iPad again, your data is restored automatically if you choose Restore from Backup during setup. Photos, messages, notes, contacts, calendar events, and app data all come back. Apps themselves are downloaded fresh from the App Store, so you may need to wait a few minutes for them all to install.
If you did not restore from backup during setup and want to do it now, go to Settings > [Your Name] > iCloud > iCloud Backup. Make sure iCloud Backup is turned on. Then go to Settings > General > Reset > Erase All Content and Settings, and choose Restore from Backup when you set up the iPad again. This erases everything on the device and restores from your backup, so only do this if you are sure you want to lose any data created after the backup was made.
Frequently Asked Questions
Can I reset my passcode without erasing my data?
Yes, if you have a Mac or Windows computer and you remember your Apple ID password. Use Finder (Mac) or iTunes (Windows) to restore your iPad — this erases the passcode but keeps your data intact when you restore from backup. If you do not have a computer or do not remember your Apple ID password, you must erase the device.
How long does it take to reset my passcode?
Using a computer takes 20 to 45 minutes depending on your internet speed and how much data you have. Using iCloud.com takes about the same time. If you have two-factor authentication turned on, add 5 to 10 minutes for the verification step.
What if I do not have a backup?
If you do not have a backup, resetting your passcode will erase all your data on the iPad. You can still set up the iPad as a new device and sign in with your Apple ID to restore contacts, calendars, and photos that are stored in iCloud, but any data that was only on the iPad will be gone.
Will I lose my apps when I reset my passcode?
Apps are downloaded fresh from the App Store during restore, so you will have them back, but you may need to wait a few minutes for them all to install. App data like game progress or login information is restored from your backup if you have one.
What if I do not remember my Apple ID password and do not have a trusted device?
Contact Apple Support. You will need to verify your identity by answering security questions, providing a receipt for your device, or other means. Apple can then help you reset your Apple ID password and recover your iPad. This process takes longer than a standard reset, usually one to three business days.