I was facing this issue on my iPhone 14 Pro for the past couple of days, and I finally managed to fix it today without permanently losing my data or setting up my phone from scratch.
The problem
My iPhone had a 4-digit Screen Time passcode that I genuinely don't remember ever setting.
Whenever I tried to change or disable Screen Time, it asked me for the passcode. The problem was that there was no "Forgot Passcode?" option anywhere.
I contacted Apple Support multiple times. I was told that if a recovery Apple Account wasn't configured when the Screen Time passcode was originally set, the recovery option might not appear, and erasing the iPhone would be the only solution.
I searched Reddit and other websites and tried a couple of solutions, but none worked for me.
I eventually found a workaround that worked on my iPhone 14 Pro running iOS 27.2. I'm sharing the exact steps in case someone else is stuck in the same situation.
What worked for me
1. Create an encrypted backup of your iPhone
I connected my iPhone to my Mac and created a full encrypted local backup using Finder. Make sure you have a backup before proceeding.
2. Erase the iPhone using Find My
I erased the affected iPhone through the Find My app. It may ask for your Apple Account password. Enter your credentials and proceed.
After the erase, the device may also ask for your Apple Account credentials again during activation. That's normal.
3. Set up the iPhone as a completely new device
This is important. I set up the iPhone as new without transferring any data from another device, without restoring a backup, and without signing into my Apple Account during the initial setup.
4. Check Screen Time on the fresh setup
Once the iPhone was fully set up, I went to:
Settings → Screen Time → Passcode & Management
I double-checked that everything related to the Screen Time passcode was turned off.
5. Connect the iPhone to your Mac and restore your backup
I then connected the iPhone to my Mac and restored the encrypted backup I had created in Step 1.
6. Wait for the restoration to complete
Depending on the size of your backup and your iPhone's storage, this process can take a while. Let it finish completely.
7. Check Screen Time again
After the restore was completed, I immediately went to:
Settings → Screen Time → Passcode & Management
To my surprise, the Screen Time passcode was already turned off. I was finally able to access Screen Time settings without being asked for the forgotten passcode.
Result
The forgotten Screen Time passcode was gone, and my data was restored from my backup. I didn't have to permanently lose my data or manually set up my iPhone again.
This worked for me on an iPhone 14 Pro running iOS 27.2.
I can't confirm whether it will work on every iPhone or iOS version, but if you're stuck with a forgotten Screen Time passcode and no "Forgot Passcode?" option, this might be worth trying — just make sure you have a proper backup before erasing your device.
Hope this helps someone who has been stuck with this frustrating issue.