If you get a message on your iPhone or iPad that your unlock passcode has expired
Your iOS or iPadOS device likely uses a mobile device management profile that requires you to change your passcode.
Mobile Device Management (MDM) is a set of software development tools used to securely and wirelessly configure Apple devices, whether they’re owned by the user or the organization. MDM capabilities include updating software and device settings, monitoring compliance with organizational policies, and remotely wiping or locking devices.
If you get an alert on your iPhone or iPad that your unlock passcode has expired, this may be an MDM requirement.
Learn more about Mobile Device Management or the difference between passcodes and passwords.
Change your iPhone or iPad unlock passcode
Open the Settings app.
Tap Face ID & Passcode, then enter your passcode or use Face ID to unlock the settings.
Tap Change Passcode.
Enter your current passcode to begin the process.
Enter the new passcode that you want to use.
Enter the new passcode once more to verify the change.
Learn what to do if you forgot your iPhone or iPad passcode
Check if your iPhone or iPad is part of Mobile Device Management
In the Settings app, tap General.
Tap VPN & Device Management and look for installed profiles under Mobile Device Management.
Tap a profile under Mobile Device Management.
Tap More Details.
Tap Mobile Device Management, then look at the list of device rights to learn whether there are passcode requirements.
If the list of rights includes a passcode policy, you can contact your organization for more information on its Mobile Device Management approach.