You cannot view the Screen Time passcode directly on the device
If you forgot it, use the Apple ID used to set up Screen Time to reset it
On iPhone or iPad, go to Settings
Tap Screen Time
Tap Change Screen Time Passcode
Tap Forgot Passcode?
Enter the Apple ID and password
Set a new Screen Time passcode
If you are in Family Sharing, use the organizer’s device to change it
If you cannot reset it, erase the device and set it up again
Contact Apple Support if you need help recovering access
