Skip to content

Articles are published in English.

Autofill One-Time Verification Codes on Android

By Alex Carter, Editor at GetVerifyCode · Updated November 5, 2026 · About and standards

Phone sign-in screen with a lime code suggestion chip filling six code boxes beside a lime checkmark badge

By Alex Carter, Editor at GetVerifyCode

To automatically fill in one-time verification codes on Android, turn on SMS code autofill in your Google Account settings and allow it when Chrome or an app first asks. When the text arrives, a prompt appears above the keyboard or in the code field, and you tap it instead of typing the digits yourself.

Key facts

  • GetVerifyCode lists numbers in 190+ countries, and the live catalog covers 1,600+ services.
  • A temporary activation stays live for about 20 minutes.
  • If no SMS arrives before the timeout, the hold returns to your wallet.
  • The number is shown right after you confirm, and you can cancel early from the inbox.

What code autofill actually does

A one-time code is a short number, usually 4 to 8 digits, that a site or app texts you to prove you can receive messages on your phone right now. Our guide to what a verification code is covers where these codes come from, and what OTP means explains the one-time password idea behind them.

Autofill doesn't create or change the code. Your phone spots the code in the incoming text and offers to paste it into the field that is waiting for it. That saves switching apps and retyping digits before the code expires.

  • Android: Google's autofill reads the SMS and shows a prompt in Chrome or in supported apps.
  • iPhone: Apple calls these codes SMS passcodes and shows the code above the keyboard.
  • Authenticator apps: codes from an authenticator app don't arrive by text, so SMS autofill won't fill them.

Turn on SMS code autofill on Android (step by step)

Google's Chrome help page on autofill describes how it works. The first time Chrome finds a one-time SMS code field on a website, it asks for permission to autofill SMS codes. Once you allow it, a prompt is displayed when the code arrives, and tapping it fills the field.

If autofill doesn't work, or you said no to that permission earlier, Google lists this path:

  1. On your Android phone, open the Settings app.
  2. At the top, tap your Google Account.
  3. Under "Google services", tap All services.
  4. Under "Autofill & passwords", tap Verification codes by SMS.
  5. Turn on "Autofill codes in apps and sites".
  6. Turn on "Autofill codes in your default browser".

Menu names can differ a little by phone maker and Android version, so if you don't see the exact words, search the Settings app for "verification codes" or "autofill".

Autofill SMS passcodes on iPhone

Apple's iPhone guide to SMS passcodes explains that when you sign in to some websites and apps, a one-time SMS passcode is sent to your iPhone. iPhone can detect the passcode in Messages and display it above the keyboard. To use it, tap it.

Apple also notes that with Continuity, the SMS and MMS messages you send and receive on iPhone can appear on your other Apple devices, including a Mac or iPad. Keep the code field selected and watch the bar above the keyboard when the text lands.

Autofill not working? Common reasons

When the prompt never shows up, check these causes.

The code went to a different device or number

Autofill only works on the phone that actually received the text. If the account has an old number on file, or the code went to a second SIM or another device, there is nothing for your phone to read. Check the number shown on the sign-in screen. If you are moving to a new number, our guide on how to verify a phone number walks through updating it.

The setting is off or permission was denied

If you tapped "Deny" the first time Chrome asked, or the two toggles above are off, the prompt won't appear. Turn both on and try again with a fresh code.

The app or site field isn't built for it

Some sign-in forms don't mark the box as a one-time code field, so the phone doesn't know where the code belongs. Google's help also says Chrome may not detect certain fields on some websites. In that case, open the text and type the code by hand. Developers who want to support it properly can read our SMS verification API guide.

The code never arrived

No text means nothing to autofill. Wait a minute, check signal and blocked senders, then use our 12 fixes for a missing verification code or the Android-specific checks in not receiving verification code texts on Android.

The autofilled code is rejected

If you asked for several codes, the phone may fill an older one. Google's 2-Step Verification help says only the newest code works when you request more than one. Request one fresh code and use that. If it still fails, see verification code invalid or expired.

Is code autofill safe?

Autofill only fills the code. It doesn't make text-message codes resistant to phishing. A fake sign-in page can still ask for a real code, and your phone may still offer it. Before you tap the prompt, check that the address bar shows the site you meant to sign in to.

  • Never read a verification code out to anyone who calls or messages you, even if they say they are from support.
  • For important accounts, an authenticator app can be a stronger choice than SMS. Our guide to the 6-digit login code from an authentication app explains how those codes differ.

For more on how codes by text work, read SMS OTP explained.

Where GetVerifyCode fits

If you'd rather not give your personal number to every new app, a separate temporary number can receive a sign-up code for low-risk accounts. Our guide to keeping your personal number private explains how. Those codes show in the GetVerifyCode inbox, not in your phone's Messages app, so your phone won't autofill them; copy the code from the inbox instead. Never use a temporary number for banking, payments or any account you will need to recover later.

Top up your wallet from $1. Each number is priced live per service and country, and you see the quote before you confirm. If no SMS arrives in about 20 minutes, the unused credit returns to your wallet.

Some apps reject virtual numbers. Acceptance is decided by the app, not by us.

Using a temporary number to protect your privacy, travel, or test your own app is generally lawful in many places, but laws differ by country and each app sets its own terms. Check both. Never use it for fraud, impersonation, or getting around a ban.

Related guides

Want a separate number for sign-up codes? Start on GetVerifyCode or check pricing.

About the author: Alex Carter is the editor at GetVerifyCode. Alex tests SMS verification routes across services and countries and writes plain-language guides on receiving OTP codes safely.

GetVerifyCode is not affiliated with the apps named in this article. Follow each app's terms and local law.

FAQ

FAQ

  • Open Settings, tap your Google Account, then All services, and under Autofill & passwords tap Verification codes by SMS. Turn on "Autofill codes in apps and sites" and "Autofill codes in your default browser". Menu names can vary by phone maker.

  • It is Apple's name for a one-time code sent to you by text when you sign in to some websites and apps. iPhone can detect it in Messages and show it above the keyboard, so you tap it instead of typing it.

  • Usually the setting is off, the code went to a different number or device, the sign-in field isn't built for autofill, or the text never arrived. Turn the setting on, check the number on the sign-in screen and request one fresh code.

  • Google's help page covers codes sent by SMS. Some apps and password managers can fill codes from email too, but that depends on the app, so don't count on it. If no prompt appears, copy the code from the email yourself.

  • Generally yes, because autofill only fills the code on your own phone. It doesn't protect you from fake sign-in pages, so check the site before you tap the prompt, and never share a code with anyone who asks for it.

GetVerifyCode

Need a number now?

Browse services, pick a country, and confirm a quote. Top up your wallet from $1; each number is priced live. Unused holds return if no SMS arrives.

Services