To change your iPhone password, go to the “Settings” app, tap on “Touch ID & Passcode” (or “Face ID & Passcode” for iPhones with Face ID), enter your current passcode, scroll down and tap on “Change Passcode,” enter your current passcode again, and then enter and verify your new password.