This article explains how to strengthen your iPhone's passcode. The iPhone's iOS operating system offers robust passcode options that enhance the security of the device. The instructions in this article apply to iPhones running iOS 14 through iOS 7.
Create a Better iPhone Passcode
iPhone gives you the option to enter a six-digit passcode instead of the familiar four-digit passcode for better protection. You can also enter a custom alphanumeric passcode or a longer custom numeric passcode. To set up a stronger passcode through the Settings app:
Tap Settings > Face ID & Passcode. (On iPhone 8 devices or some iPad models, tap Touch ID & Passcode instead.)
Enter your existing passcode. If you don't currently have a passcode, tap Turn Passcode On.