Modifying this control will update this page automatically
Automatically fill in SMS passcodes on iPhone
When you sign in to some apps and websites, a one-time SMS passcode is sent to your iPhone. As a security measure, you are required to enter the code into the app or website. iPhone can detect the passcode in Messages and display it above the keyboard.
To use the passcode, tap it.
![An iPhone screen for an app requesting a 6-digit code. The app screen includes a message that the code was sent. A notification from the Messages app appears at the top of the screen with the message “Your Mint Code is 882093.” The keyboard appears at the bottom of the screen. The top of the keyboard displays the characters “882093.”](https://help.apple.com/assets/5C913108094622D50F674514/5C91310A094622D50F67451E/en_US/5cd8f3b2d92a349e1181f96b838b2d4d.png)
Note: With Continuity, all the SMS/MMS messages you send and receive on iPhone can also appear on your other iOS devices and your Mac. See the Apple Support article Use Continuity to connect your Mac, iPhone, iPad, iPod touch, and Apple Watch.