One of the handy, under-the-radar features with iOS 15 is an integrated 2FA code generator that makes it more seamless to log in to your accounts with enhanced security. Let’s look at how to use the native iOS 15 2FA code generator that comes with autofill on iPhone and iPad.

You’re probably used to using a third-party app to generate 2FA codes like 1Password, Authy, Google Authenticator, etc. (or using the less-secure SMS 2FA option). But in iOS 15, there’s native integration to generate 2FA codes as well as autofill them when logging into accounts.

Whether you want to simplify your setup by eliminating a third-party 2FA app or just want to give the iOS 15 native 2FA experience a try, we’ll cover how to set it up and use it with iPhone and iPad.

The feature is also available with macOS Monterey.

  • How to use the new password manager and 2FA features in macOS Monterey

How to use the iOS 15 2FA code generator + autofill

Quick option

  • When viewing a website/service’s QR code for 2FA setup, long-press on it in iOS 15 and pick Set Up Verification Code
  • In our testing, we didn’t always see this option available, so follow the manual steps below for a guaranteed way to set up iOS 15 2FA codes and autofill

Manual option

  • Running iOS 15 on iPhone or iPad, open the Settings app
  • Swipe down and tap Passwords
  • Create a new login/password or choose an existing one
  • At the bottom, tap Set Up Verification Code
  • Choose to Enter a Setup Key or Scan QR Code to complete the setup
  • To find the QR code to setup 2FA for any given account, look in the settings for that service/website (e.g. Twitter’s settings > security > 2FA)
  • Now you’ll see the 30-second regenerating 2FA codes appear for each login item in iOS Settings > Passwords but they’ll be autofilled anytime you need to use them going forward.

Pro tip: For any accounts you already have 2FA set up, you’ll likely need to turn it off, then turn it back on to set it up with iOS 15’s native 2FA and autofill integration.

  • To find the QR code to setup 2FA for any given account, look in the settings for that service/website (e.g. Twitter’s settings > security > 2FA)

Here’s how the setup process looks:

When you’re all set up with 2FA through a website/service in iOS 15, you can view the constantly regenerating 6-digit codes in the Settings app > Passwords > choose a login.

But the best part is the next time you need to login and enter your 2FA code, iOS 15 will autofill it for you 😎.

  • Here’s how Background Sounds work in iOS 15
  • Best USB-C and Thunderbolt displays for Mac
  • iPhone: How to set a custom Safari background in iOS 15
  • Here’s how the iPhone Focus mode works in iOS 15