How to AutoFill 2FA Codes From an Authenticator App on iPhone
An authenticator app on iPhone can offer its 2FA codes above the keyboard, so you do not have to switch apps and copy them. The app has to support it, and you turn it on in Settings, under General, then AutoFill & Passwords. Apple Passwords fills the 2FA codes it holds in the same place.
How Do You Turn On AutoFill for an Authenticator App?
The short codes used for two factor authentication, or 2FA, can be filled in for you. Apple gives this path on its support pages.
- Open Settings on your iPhone.
- Tap General.
- Tap AutoFill & Passwords.
- Check that AutoFill Passwords and Passkeys is turned on.
- Turn on your authenticator app on the same screen.
Apple confirms the path and the first switch, and says you can fill from up to three passwords apps. Its support pages do not describe the last step, so if your app is not on that screen, its maker has the answer. The next section shows what some makers say.
This is the path on the Apple pages for iOS 18, iOS 26 and iOS 27. For an older iPhone, choose your iOS version in the menu at the top of the Apple page.
On a Mac the same screen is in System Settings, under General. If you want your 2FA codes there too, see using an authenticator app on a Mac.
Which Apps Say They Fill 2FA Codes on iPhone?
Apple tells developers that an app can supply one time codes to AutoFill, so that people can fill them in apps and on websites without typing. The Apple reference page lists the feature as available from iOS 18 and macOS 15, and it is up to each app to build it.
| App | What its maker says |
|---|---|
| Apple Passwords | Fills the verification codes it holds, from iOS 18 |
| 1Password | Fills one time passwords with AutoFill on iOS 18 or later |
| Bitwarden Password Manager | Fills 2FA codes on iOS 18.0 or later. Making them needs a paid plan |
| AuthSome, coming soon | Fills 2FA codes on iOS 26 or later |
The first three in the table are password managers that also hold 2FA codes. Apple says you can set up more than one app in Settings, so one app can supply your passwords and another your 2FA codes.
The makers of Google Authenticator, Microsoft Authenticator, 2FAS, Ente Auth, Proton Authenticator and Bitwarden Authenticator do not say whether those apps fill 2FA codes this way, on the App Store and help pages listed under Sources. That does not prove an app cannot do it. Look for yours on the settings screen above, which is the real test. Bitwarden Authenticator is a separate app from Bitwarden Password Manager, free on the App Store and with no Bitwarden account needed.
How Does Apple Passwords Fill 2FA Codes?
When you turn on 2FA, a service gives your authenticator app a secret key, which Apple calls a setup key. Passwords can hold that secret key and make the 2FA codes itself, so you need no extra app. Apple calls them verification codes, and attaches each one to a login you have saved in Passwords. These are the steps on the Apple page, as read on 19 November 2026.
If the service shows its QR code on another device, such as a computer, scan it with the Camera on your iPhone and select your saved login for that service. Apple also says that where a website offers a QR code you can touch and hold it, then choose Add Verification in Passwords. Or use the setup key.
- At the service, turn on 2FA, choose the authenticator app option, then the option to use a setup key, and copy the key.
- Open Passwords, tap All, then tap your saved login for the service.
- Tap Edit, then tap Set Up Code.
- Enter the setup key, then tap Use Setup Key.
To use a 2FA code, sign in as normal. When the service asks for it, tap the suggestion above the keyboard. If no suggestion appears, Apple says to open Passwords, select your saved login, tap the verification code, then tap Copy Verification Code and paste it.
If you want your 2FA codes kept apart from your passwords, or sorted your own way, a separate authenticator app does that. Several authenticator apps are free.
How Does AuthSome Fill 2FA Codes?
AuthSome is our own authenticator app, coming soon to the App Store for iOS 26, iPadOS 26 and macOS 26 or later. It fills 2FA codes through AutoFill on all three.
- In AuthSome, open Settings, then AutoFill, then tap Open Settings. This opens Settings on your device.
- Turn on AuthSome.
- Under Set Up Codes In, choose AuthSome.
From then on, when a sign in page asks for your 2FA code, AuthSome offers it above the keyboard. It matches by the Website saved with the Account, and it offers Accounts from every Profile. You confirm with Face ID or Touch ID each time, whatever lock settings you use in the app. A 2FA code with fewer than five seconds left is not filled. AuthSome waits and fills the next one as soon as it starts.
AuthSome fills 2FA codes only. It is not a password manager, so your passwords stay in Passwords or the app you already use.
Why Is My 2FA Code Not Offered Above the Keyboard?
- The app is not turned on. Go back to Settings, General, AutoFill & Passwords and check both the main switch and your app.
- The app does not support it. Not every authenticator app has built this. Its help pages will say.
- The app has no website to match. AuthSome matches by the Website saved with the Account. Open the Account details and check that Website is the address you sign in at, for example example.com. Other apps may match in their own way, so check their help.
- The field is not marked for one time codes. Apple gives websites and apps a way to mark the box where the code goes as a one time code field, and says a custom made code box cannot show AutoFill at all. Apple does not say what happens when the mark is missing, but a suggestion may not appear, and nothing in your settings can change how a site is built.
In every case the 2FA code still works. Open your authenticator app, copy the 2FA code and paste it in.
Common Questions
Why Is My Apple Passwords Verification Code Not Working?
If no suggestion appears above the keyboard, Apple says to open Passwords, select your saved login, copy the verification code and paste it into the sign in page. If the service rejects the code, check that it belongs to the login you are using and that the date and time on your iPhone are right, because each code is worked out from the time.
Can You AutoFill 2FA Codes on a Mac?
Yes. Apple puts the same AutoFill settings in System Settings on a Mac, under General, and the Passwords app fills verification codes there. AuthSome fills 2FA codes on macOS 26 or later.
Which iOS Version Do You Need to AutoFill 2FA Codes From a Third Party App?
The Apple reference page for developers lists the feature as available from iOS 18. Each app sets its own minimum on top of that. AuthSome needs iOS 26 or later.
Does iPhone Delete 2FA Codes After Filling Them?
Not the ones an authenticator app makes. Delete After Use, a switch in the AutoFill & Passwords settings, is about codes that were sent to you. Apple describes it as deleting verification codes in Messages or Mail once AutoFill has used them.
About AuthSome
A free authenticator app for iPhone, iPad and Mac, coming soon to the App Store.
More Guides
Sources
- Apple Developer, Providing One Time Passcodes to AutoFill
- Apple Developer, ASOneTimeCodeCredentialIdentity
- Apple iPhone User Guide, Automatically Fill In Verification Codes
- Apple iPhone User Guide, Automatically Fill In Strong Passwords
- Apple Support, Use the Passwords App Across Apple Devices
- Apple Support, Use Messages on Your iPhone or iPad
- Apple Developer, Enabling Password AutoFill on an HTML Input Element
- Apple Developer, Enabling Password AutoFill on a Text Input View
- 1Password Support, Use 1Password as an Authenticator
- Bitwarden Help, Integrated Authenticator
- App Store, Google Authenticator
- App Store, Microsoft Authenticator
- App Store, 2FA Authenticator, 2FAS
- App Store, Ente Auth
- App Store, Proton Authenticator
- Google Account Help, Get Verification Codes With Google Authenticator
- Microsoft Support, Download Microsoft Authenticator
- 2FAS Support, 2FAS Auth Mobile App
- Ente Help, Ente Auth FAQ
- Ente Help, Ente Auth Features
- Proton Authenticator
- Bitwarden Help, Bitwarden Authenticator
- App Store, Bitwarden Authenticator