Default post cover image

How to recover an iPhone Restrictions Passcode from an iTunes backup

Andrew Coles

by Andrew Coles

iPhone Backup Extractor can recover or reset your iTunes backup restrictions passcode in just two clicks

We've been covering changes in iOS restriction passcodes since iOS 2. Experience has taught us that Apple changes the mechanism at least a little with every major release of iOS. We've kept up with this, however, and iPhone Backup Extractor is able to recover the restrictions passcode from any Apple device on any version of iOS, through iCloud or iTunes backups.

If you forgot your iPad or iPhone's restrictions pin and need it to prevent accidental in-app purchases, or if you need to remove unwanted apps but can't, we've got you covered!

Our short video tutorial below will guide you how to recover your restrictions passcode for an iPhone or iPad:

How to reset the restrictions passcode in 2 clicks

Forgotten your iPhone "restrictions passcode"?

Forgetting a passcode can happen to anyone, especially if these are settings that you don't change regularly. What to do if you find yourself locked out of the "restrictions" settings?

Fortunately, there ways to retrieve your restrictions settings without the need to restore your iPhone as a new device or jail-breaking it. Anyone that has been told this is difficult or that "you need to restore your iPhone as a new device through iTunes" should read on!

You'll need an iTunes or iCloud backup to retrieve your iPhone’s restrictions passcode. Make sure your backup was created after the phone had the restrictions PIN applied. You can do this by syncing with iTunes, and if you've already synced your iOS device since the "restrictions passcode" was set, you won't need to sync again.

Recover your iPhone restrictions passcode

All you need to do is to load your iTunes or iCloud backup into iPhone Backup Extractor (you can get the free edition here) and click on top left side "Utilities" button and choose "Recover Restrictions PIN".

The Utilities > Recover restrictions PIN menu
The Utilities > Recover restrictions PIN menu

Then press the "Start" button and it'll start recovering your restrictions code.

Press "start" to recover the restrictions passcode
Press "start" to recover the restrictions passcode

It will take a couple of seconds while we try to find your restrictions code.

Restrictions code recovery in progress
Restrictions code recovery in progress

On macOS, the process looks similar:

Restrictions PIN recovery on macOS
Restrictions PIN recovery on macOS

Manual recovery of the restrictions passcode: how to do it manually for free!

If you're tech-savvy and think you could manage to manually hack your way to modifying the restrictions Plist yourself, here's our guide on how to reset the restrictions code using the free edition of iPhone Backup Extractor.

Depending on the version of iOS on your device, restriction passcodes are handled differently and stored in different places. iPhone Backup Extractor bundles all of this in automatically, but it's important to know if you're doing it manually. Let's take a look at the history.

iOS Plist & notes
Bundled into "Screen Time"
7 - 12
5 - 6
Reset only
1 - 4
iOS SHA-1 file hash
12+ 398bc9c2aeeab4cb0c12ada0f52eea12cf14f40b
7 - 12 398bc9c2aeeab4cb0c12ada0f52eea12cf14f40b
5 - 6 662bc19b13aecef58a7e855d0316e4cf61e2642b
1 - 4 662bc19b13aecef58a7e855d0316e4cf61e2642b

Instructions for iOS 1 - 4

Step 1. Extracting the file

Once iPhone Backup Extractor is open, click on the "Expert mode" tab . This will open an explorer window where you can see all the files in your iTunes or iCloud backup. To find the file navigate to Home Domain > Library > Preferences.

Finding springboard.plist in "Expert mode"
Finding springboard.plist in "Expert mode"

The list of files in this folder is alphabetical so it should be easy to find; once you found it, tick the box next to the mentioned file and click the "Extract" button. You'll then be asked to save the file, extract it somewhere easy to find like your desktop.

Step 2. Opening the file

Let's open the Plist using iPhone Backup Extractor's built-in Plist editor. This is available in the menu under File > View / Edit Plist. Click that, and choose the Plist you extracted earlier.

Finding the Plist viewer
Finding the Plist viewer

Step 3. Viewing the "SBParentalControlsPin" aka the "Restrictions Passcode"

Scan down the file until you get to the line saying <key>SBParentalControlsPin</key>: the line under it should read something like <string>1234</string>.

The parental controls PIN! 🎉
The parental controls PIN! 🎉

Make a note of this number and enter it back into your iPhone when the "restrictions passcode" is requested. Voilà, you should now have full access to your lost "restrictions" settings!

Instructions for iOS 7 and up

iOS 7 and up hashes the passcode using PBKDF2, which requires some unscrambling.

You can use the same steps as for earlier versions of iOS, but you'll need to grab

Once you've got it, look for these values:


The key and salt are derived from your PIN with PBKDF2, and are relatively easy to unscramble with brute force. There's only 10,000 combinations!

We're looking forward to hearing your restrictions passcode story, and to see if we can help you. If you have any other helpful iPhone hints you would like to share, please let us know or leave a comment below. If you get stuck, please reach out and we'll make it easy. 👋

Andrew Coles

by Andrew Coles on , last updated

We've helped over 3,000,000 people recover their lost iPhone data. Let us help you too.

Comments (52)

OMG!! I have been trying for months to find my code that if didn't know I set... got a new phone and realized that it automatically put it in the new phone! Thanks you so much for solving this problem that not even Verizon could help with!!!


Hey Beji, it sure does. Please drop us a note directly via the live chat or on email and we'll do our best to help. 🙏

The free edition will not recover the restriction passcode. One must buy the Home pr Pro edition to do so.

thnx alot man ... i could restore because putting all jailbreak data is hard

Pingback icon Trackback - 01/02/2014

Beperkingscode IPad kwijt - iCulture forum | i...

Worked perfectly ... easy to follow ... many thanks :-)

Is there a way without backing it up or restoring it ? Because personally id rather not download anything. Apple isnt helping me either ?

Hi Julianna, thanks for writing. We're afraid not. Sorry!

thanks guys really work,, muchas gracias

Thanks it worked!

Yes! You are my savior! Bless the heavens for this article!

Has anyone figured out where the restrictions passcode is in newer versions? I have iphone 5 running 6.1.3. I never set the pin, but it asks at the restrictions "tab".

Hi AR, please send us a message on live chat and we'll help you out.

doesn't work on iOS 6.1.2

Any suggestions?

I too cannot find the control pin. I've looked and tried several times and there is no 4 digit number to be found anywhere. I am currently running 6.1.3

The application worked as explained....but there was no "SBParentalControlsPIN" I have 8 failed attempt. Running iPhone 5 6.1.3 version. Any suggestions how I can get this passcode for restrictions

@David, here is our new blog on how to reset the code on iOS5 and iOS6.

Thanks for saving me and my data on the iphone. Appreciate


THANKS Andy ... worked just as described .. worked just great ...kudos

I'm using IOS 6.1.2 and it wont work do you have any tips?

The application worked as explained....but there was no "SBParentalControlsPIN" anywhere. I looked at every "SBParentalControls****" but was not able to find the "PIN" or any 4 digit string of numbers. Any suggestions would be greatly appreciated.

I found SBParentalControlsPin but instead of showing the code it just sais false.

I don't have SBParentalControlsPin though i have set it on my iphone.

Trying to get it to work on an I Touch running 6.0.1 and dont see the code in the "list" all it says is deleted or blocked...any help?

John -- please reach out to us on live chat or through our support page, and we'll lend you a hand.

I cant find the pin I have iOS 6.0.1 I only have 1 backup in my new computor and in the old I only have before I enabled the f-ckin restriction

How do I do now?

Mia, sorry to read that! Get in touch with us directly and we'll help you fix this.

Thank you sooo much!!!!!

extremely confused :/ instructions work better with my iPod, select iPhone to back up and everything changes which doesnt let me follow the above instructions ! any ideas? many thanks!

Kay -- no problem. Ping us on live chat and we'll sort you out. 😃

perfect!! thanks for this!!

tahnk you so much you saved my life!

thanks a lot, im able to unlock without any issues.

thanx it really worked after 2yrs trying to find the answer now to find it today you the man

this worked amazing i was up to nine failed attempts i was scared i would lock the phone for good and doing the steps took me a minute to figure out how to get the plist to open or save right but i got it thank you so much

I can not seem to get it to work with mine either. Has anyone figured out how to find the password with the iOS 5.1.1, this is really frustrating. I really need help.

Great dude, thnx a loads! u saved me trouble! genuine! u should make it more accessible, cuz I saw millions of others just choosing to restore by losing some data

Awesome! Worked great, thanks!

Thank you!!! Like a dummy I set a different restriction code than the passcode to unlock the phone. Your solution worked great!

Hi, I`m trying with the new iOS version and it doesn´t work... I get "SBParentalControlsBlockTimeIntervalSinceReferenceDate" , "SBParentalControlsFailedAttempts 7" , "SBParentalControlsMCContentRestrictions" , Enabled and Blocked but nothing like PIN... help!

I figured how to do it for IOS 5.1 But it is kind of complicated and takes a couple restores

This is definitely not working for IOS5.1, the SBParentalControlsPin is not inside the

It doesn't word situ iOS 5.1 Would be great to have à new solution

Plz Help!! I have updated IOS 5. And have a restrictions code on the iPhone. I got to the doc but I cannot find the SBParentalControlsPin in the springboard plist file after upgrading to iOS 5!! Plz help!! Is it not available any more? @Andy plz help you sound smart!!

Looking forward to your findings Andy. The above solution is not working for IOS 5. Thanks in anticipation

fantastically easy tks

Hmmm, I cannot find the SBParentalControlsPin in the springboard plist file after upgrading to iOS 5. It seems Apple have removed it for better security.

Anybody have a clue on what to do then?


We have tested whether the SBParentalControlsPin is still stored in file on iOS 5 and found it still is if you had updated iOS 5 then restored data from a previous backup (non-iOS 5). Once removed/re-added iOS 5 no longer stores the Restrictions Passcode in the file.

Remember that the SBParentalControlsPin is not present if the backup you are looking at had no SBParentalControlsPin enabled.

Do not confuse this with the Passcode to access your iPhone when locked.

We have notice during the iOS 5 update that the general Passcode becomes set to 'disabled' and the Restriction Passcode is 'enabled' in some instances? It is a bug in iOS 5 or the process, if you have added the Restriction Passcode in the past (even if turned off pre-update) it could turn on. We haven't confirmed this happens if you have never set your Restriction Passcode.

It is unlikely the Restrictions Passcode is accessible in iOS 5 beyond the update. It will most likely be key-chained else where, we will add any findings here. Feel free to contribute.

It works on iOS 5. Thanks God, finally I know my restriction code...and does not need to restore to factory setting and enter contact one by one again!! Thanks so much professionals!

I am using 4.3.5 and followed the guide exactly and I only see <key> locked unlocked can anyone help

@Greg: The instructions will work on iOS 4.3.5, you should see your restrictions pin a few tags above the <locked-unlocked> tags as something like:


Unless you haven't added a restrictions PIN and you are referring to the phone PIN. This something entirely different and not available to view in the same way.


Great!! Thanks!

awesome, works great, thanks alot!

Worked a charm. It took me a while though to figure it all out, here are some thoughts:

>You don't need to connect your device to the computer, the program searches and uses your computer's iphone/ipod/ipad backup folder.

>You don't necessarily need the computer which you normally sync your iPhone/iPod with. Any one with iTunes will do, although you'll have to back up your device to this "new" computer first (just connect it, open iTunes, right click, backup - You won't lose any data)

> Do the above if you don't see your iPhone on the list in the Extractor Program. You need to have a backup present on this computer, that's what the Extractor Program searches.

>There are multiple springboard files though, so for those like me who couldn't find it first time, I followed this path:

  • Select your Iphone/Ipod
  • Choose Expert Mode.
  • Expand the Library folder
  • Expand the Preferences SubFolder
  • Tickbox the ''
  • Extract to the Desktop (for convenience).
  • Follow the rest of the instructions in the article (Go to the IPBE program again, and now click file, locate the springboard plist file. I had trouble locating it till I realised that it actually lived in the freshly appearing "library" folder on the desktop)
  • View the file, it's near the bottom.

Great guide, no downloads, no nothing needed, plain and simple.

thanks a lot buddy need to know how to transfer movies to iphone 4 from pc!! if anybody helps a would be hearty thankful..

Thanks this worked great. Helped me a lot. Thanks a ton!!

This was neat! worked perfctly! Thanks a lot!


Tried this, worked BRILLIANTLY. For some reason when I saved it in desktop, the plist wouldnt open, just went to system32. After saving to my documents, tried again, the list came up and there was my code. Thank you. Really, thank you. You've saved me a restore.

thanks it worked like charm After getting the file i tried to view it in notepad but everything was scarammbled and this tool let me view all things clearly thanks dmax

Submit a comment

© 2008 - 2018 Reincubate Ltd. Registered in England and Wales: #5189175, VAT GB151788978. Built with ❤️ in London.

Reincubate is a registered trademark. All rights reserved. Terms & conditions. Privacy Policy. It's your data, not ours. We recommend 2FA.


For personal users

For businesses and pro users

Scroll down for business and pro plans



iTunes support

Works with Windows and Mac

Customer support

Preview iCloud device list




iCloud and iTunes support

Works with Windows and Mac

Customer support

5 iCloud devices


This is iPhone Backup Extractor, think of it as a "personal forensics" utility. It's pretty awesome.

Jonathan Zdziarski

Forensics and iOS expert

For business and pro users



25 iCloud devices

High priority customer support

Commercial license

All benefits of our premium plan

Demo our APIs for enterprise

Need iCloud access, forensic tooling, bulk recovery of deleted SQLite data?

Learn about our APIs at