You can’t “retrieve” an old Restrictions passcode from the iPad—Apple doesn’t store a copy you can look up, and there’s no recovery email or account reset for it. What you can do is replace it: update to a current iPadOS version and use Screen Time’s “Forgot Passcode?” flow, or restore the device and set restrictions again from scratch. The catch is that a restore erases local data unless you have a backup, and older iOS versions with the separate Restrictions setting have no in-place reset at all.
That distinction—replace versus recover—is the whole answer, and most frustration around this topic comes from expecting the first when only the second exists. The rest of this guide covers which situation you’re in, the exact steps for each, what you’ll lose, and how to confirm the restriction code is actually gone before you hand the iPad to a child or set it up as a locked-down kiosk.
First, identify which kind of restriction code you’re dealing with
Apple has used two different mechanisms, and they behave very differently.
The Screen Time passcode is the modern one, introduced with iOS 12 in 2018. It’s a four-digit code by default (six digits are also allowed), and it protects Screen Time limits, App Limits, Downtime, content and privacy restrictions, and communication limits. It’s tied to the Apple Account signed in on the device but is not the same as the Apple Account password.
The Restrictions passcode is the legacy one, used from iOS 7 through iOS 11 under Settings > General > Restrictions. Apple removed that separate setting in iOS 12 and folded its functions into Screen Time. If your iPad is still on iOS 11 or earlier—which in late 2026 means a pretty old device—the old rules apply.
Why the distinction matters: Screen Time has a built-in “Forgot Passcode?” option that lets you reset the code using the device passcode and Apple Account credentials. The legacy Restrictions screen has no such option. On those older versions, the only reliable route is a full restore, which wipes the device.
A quick check: open Settings and look for Screen Time. If it’s there, you’re on the modern system, even if you think of the code as “restrictions.” If instead you see General > Restrictions, you’re on the legacy path.
What “getting it back” can and cannot mean
It helps to be blunt about the boundaries, because a lot of advice online blurs them:
You cannot look up an existing code. Neither Apple nor anyone else keeps a readable copy tied to your device serial number or Apple Account. You cannot brute-force it casually. iOS enforces escalating delays after repeated wrong entries on the Screen Time passcode screen, and long wait periods make guessing impractical. Tools that claim to crack it generally rely on exploiting unpatched vulnerabilities on specific iOS versions—an unreliable and often risky approach. You can reset it in place on modern iPadOS through the Forgot Passcode flow, provided you know the device passcode and the Apple Account password. You can always remove it by erasing the device and setting it up again, at the cost of local data without a backup. You can remove it via a computer using Finder or Apple Devices on Windows in recovery mode, which also erases the iPad.
So “get it back” realistically means “get past it and set a new one.” Plan around that.
Prerequisites before you start
Gather these first so you don’t get stuck mid-flow:
1: The iPad’s device passcode (the code you use to unlock the screen). The Screen Time reset flow requires it. 2: The Apple Account password for the account signed in on the iPad. You’ll be asked to enter it. 3: A recent backup, if the data matters. Check iCloud backup status under Settings > [your name] > iCloud > iCloud Backup, or make a local backup to a computer. 4: The iPadOS version. Go to Settings > General > About and note the software version. Anything iPadOS 13.4 or later (released in 2020) has the mature Forgot Passcode flow; behavior on earlier iOS 12 versions was more limited. 5: A computer with Finder (macOS Catalina or later) or the Apple Devices app on Windows, in case you end up restoring.
If you don’t know the device passcode either, the in-place reset isn’t available, and you’re in restore territory. That’s a different, more destructive path—covered further down.
Method 1: Reset the Screen Time passcode on a current iPadOS version
This is the least destructive route and the one to try first on any iPad running iPadOS 13.4 or later.
Step 1. Open Settings and tap Screen Time.
Step 2. Tap Change Screen Time Passcode, then tap Change Screen Time Passcode again in the sheet that appears. (On some versions the label reads “Turn Off Screen Time Passcode” or the flow is reached by tapping the passcode entry field directly. The wording shifts between releases, but the entry point is the same screen.)
Step 3. Tap Forgot Passcode? beneath the code entry field.
Step 4. Enter the device passcode when prompted. This is the unlock code, not the Screen Time code.
Step 5. Sign in with your Apple Account credentials. Apple uses this to verify you own the device’s account.
Step 6. Set a new Screen Time passcode, and confirm it. Write it somewhere durable—this is the moment the old code stops existing.
What success looks like: the Screen Time settings screens unlock without a code prompt, and your limits, Downtime, and content restrictions are intact. The new code takes effect immediately.
How to check: lock the iPad, unlock it, and open Settings > Screen Time. Change a restriction (for example, toggle Content & Privacy Restrictions). If it asks for the new code and accepts it, the reset worked.
If the flow fails: you’ll typically see a message that the Apple Account password is wrong, that the device is offline, or that the account can’t be verified. Confirm the iPad has an internet connection, that you’re using the Apple Account actually signed in under Settings > [your name], and that two-factor authentication is reachable on your trusted device or phone number. If the Apple Account itself is locked, resolve that first—the Screen Time reset can’t proceed around it.
Method 2: Remove the code by erasing and restoring the iPad
Use this when you don’t know the device passcode, when the Apple Account credentials are unavailable, or when the iPad is on a legacy iOS version with no in-place reset. It is the guaranteed path, and it costs you local data.
Step 1. Back up if you can. If the iPad is locked but you can still unlock it, make an iCloud or computer backup now. If you can’t unlock it at all, you can’t make a new backup, and anything not already in iCloud or a previous computer backup is gone.
Step 2. Sign out of Find My if you can reach Settings. Go to Settings > [your name] > Find My > Find My iPad and turn it off. This prevents Activation Lock from blocking setup. If you can’t unlock the device, you’ll need the Apple Account credentials during setup to clear Activation Lock instead.
Step 3. Erase the device. The easiest route on a device you can unlock: Settings > General > Transfer or Reset iPad > Erase All Content and Settings.
Step 4. If you can’t unlock the iPad, put it in recovery mode and restore it with a computer. The button combination differs by model: on iPads with a Home button, hold the Home button while connecting to the computer until the recovery screen appears; on modern Face ID or USB-C iPads, press and quickly release the volume button nearest the top, then press and hold the top button until the recovery screen shows. Finder on a Mac (or the Apple Devices app on Windows) will offer Restore, which downloads current iPadOS and wipes the device.
Step 5. Set up the iPad. During setup, choose Restore from iCloud Backup or Restore from Mac or PC if you have one. The Screen Time passcode is not carried over in a way that locks you out—you’ll set a fresh Screen Time passcode when you enable Screen Time again. Your restrictions and limits, however, are typically restored from the backup, so re-check them.
What success looks like: the iPad boots to the setup screen, activation completes with your Apple Account, and Settings > Screen Time lets you set a new code without any old-code prompt.
Verification: after setup, open Screen Time, set a passcode, then test it by toggling a content restriction. If the new code is requested and accepted, you’re clear.
Stop condition: if the iPad shows Activation Lock and you cannot supply the original Apple Account credentials, stop. Activation Lock is an anti-theft measure, and bypassing it isn’t a legitimate self-service operation. Apple Support can discuss proof-of-ownership options, but a third-party “unlock” service is a red flag for scams or worse.
The legacy Restrictions passcode on iOS 11 and earlier
If your iPad genuinely runs iOS 11 or older, the Restrictions screen under General has no Forgot Passcode option, and iOS 11 doesn’t offer the Screen Time reset flow. On these versions the practical options are:
Restore the device through recovery mode as described above. This was the standard remedy for years, and it works, but it wipes data. Restore from a backup made before the restriction code was set, which can sometimes restore the device to a state without the code—though backup behavior here is inconsistent across versions and shouldn’t be relied on as a guarantee. Update the iPad to a current iPadOS version first, if the hardware supports it. That converts Restrictions into Screen Time, and the modern Forgot Passcode flow becomes available. This is worth checking before you erase anything, because it can save you a restore.
One caution: many devices people describe as having a “restrictions code” are actually running a modern iPadOS with Screen Time, and the fix is Method 1. Check Settings > General > About before assuming you’re on the legacy path. The version number settles it.
If you’re dealing with a managed or school iPad
A restriction code on an iPad enrolled in a mobile device management (MDM) system—common with school-issued or employer-issued devices—is not yours to reset. The restrictions profile is controlled remotely by the organization, and the passcode or configuration is pushed from their management console. The Forgot Passcode flow may be disabled by policy, and a restore can re-enroll the device and reapply restrictions automatically.
In that case, contact the IT department or the school’s technology coordinator. They can remove the restriction profile or supply the code. Attempting to circumvent MDM on a device you don’t own can violate acceptable-use agreements and, depending on jurisdiction and circumstances, other rules. This is one of those situations where the correct move is a help-desk ticket, not a workaround.
Why the reset sometimes fails and what to check
Troubleshooting is mostly about separating symptoms from causes. Start with the reversible checks.
Symptom: “Forgot Passcode?” doesn’t appear. Likely cause: the iPadOS version is too old, or the device is supervised/MDM-managed. Check Settings > General > About for the version, and look for a “This iPad is supervised” line under Settings > General > VPN & Device Management. If supervised, go to the organization.
Symptom: Apple Account password rejected. Confirm the account under Settings > [your name]. A common trap is a family member’s account being signed in, or an old Apple ID that’s since been renamed. Also check that the iPad has connectivity; the verification step needs the network.
Symptom: reset completes but restrictions return. Expected. Screen Time settings and restrictions are restored from backup. Reconfigure them deliberately rather than assuming the reset cleared policy.
Symptom: repeated wrong-code lockout with long wait times. This is by design. Powering off and on does not clear the timer. The practical remedy is the erase-and-restore path if you can’t wait out the delay or don’t know the code.
Symptom: Activation Lock after restore. You’ll need the original Apple Account credentials. If those are lost, Apple’s account recovery process is the supported route; there’s no shortcut.
A specific example of how this plays out: a parent sets a four-digit Screen Time code, forgets it months later, and finds the “Forgot Passcode?” prompt asks for the device passcode and Apple Account password—both of which they have. The whole fix takes about two minutes and nothing is lost. Contrast that with a hand-me-down iPad from a relative who set a legacy Restrictions code and never removed it. There, if the device passcode is also unknown, the restore is unavoidable, and any photos not backed up are gone. The difference between a two-minute fix and a data loss event is almost entirely about which code type and which credentials you still hold.
Reducing the chance you’ll need this again
A few habits make the problem rare:
Record the Screen Time passcode somewhere separate from the device—a password manager entry, not a note on the iPad. Use a six-digit code if you’re prone to forgetting; the extra digits make accidental entry less likely and the code easier to distinguish from the device passcode. Keep the device passcode and Apple Account credentials current and known to at least one adult in the household. The reset flow depends on both. Back up before setting restrictions on a device that will be locked down, so a future reset doesn’t cost data. When handing off an iPad, turn off Screen Time restrictions and sign out of Find My before transferring it.
FAQ
Can Apple Support recover my old Screen Time passcode?
No. Apple doesn’t have a readable record of it to give you. Support can help you through the reset or restore process, and can assist with Apple Account recovery, but there’s no code lookup.
Does erasing the iPad remove the Screen Time passcode permanently?
The old code is gone after erase and setup, and you set a new one when you re-enable Screen Time. Restrictions and limits restored from a backup may come back, but the passcode itself is replaced.
Will updating iPadOS let me bypass an old restrictions code?
Updating from a pre-iOS 12 version converts the Restrictions setting into Screen Time, which can make the Forgot Passcode flow available. It doesn’t reveal the old code, but it can give you a reset path you didn’t have. Back up first; major updates carry their own risks.
What if the iPad is supervised by a school or employer?
The code belongs to the organization’s management system. Contact their IT support. Don’t attempt to remove management profiles on a device you don’t own.