Where Google sends your security code
Google sends security codes to the phone number or email address you registered with your account. When you sign in from a new device or location, Google asks for a code to confirm it is really you — this is called two-step verification. The code arrives as a text message, a phone call, or a notification in the Google Authenticator app, depending on which method you set up.
If you have already set up two-step verification, Google will prompt you to enter a code the moment you need one. If you have not set it up yet, you will need to turn it on first before codes can be sent to you. The process takes about five minutes and requires access to a phone or email you control.
Key Takeaways
- Google sends security codes to your registered phone number via text or call, or to your email address, depending on your settings.
- You must turn on two-step verification in your Google Account settings before codes will be sent to you.
- If you do not receive a code, check your spam folder, wait a few minutes for delivery, or request a new code from the sign-in screen.
- You can choose how Google sends codes to you — text message, phone call, or the Authenticator app — and change this choice at any time.
- If you lose access to your phone or email, Google offers backup codes and recovery options to regain access to your account.
Turn on two-step verification to receive codes
Go to myaccount.google.com and sign in with your Google account. On the left side, click Security. Scroll down until you see 2-Step Verification and click it. Google will ask you to confirm your password again, then show you a button that says get your free guide. Click that button.
Google will ask you to enter your phone number. Type the number where you want to receive codes — this is usually a mobile phone. Choose whether you want codes sent by text message or phone call. Text is faster and more common. Click Next, and Google will send a test code to that number right away. Enter the code you receive into the box on the screen, then click Verify. Once verified, two-step verification is on, and codes will arrive whenever you sign in from an unfamiliar device.
Request a new code if you did not receive one
If you are at the sign-in screen and a code did not arrive, look for the text that says Did not get a code? or Try another way to sign in. Click it. Google will offer you options: send the code again to the same number, send it to a different phone number, or use a backup method like your recovery email address.
Wait at least 30 seconds before requesting a new code — text messages sometimes arrive slowly. Check your phone's spam or junk folder in case the message was filtered there. If you still do not receive a code after three attempts, try switching to a different delivery method. For example, if text is not working, request a phone call instead. If neither phone method works, use your recovery email address.
Change how Google sends you codes
You can switch between text message, phone call, and the Google Authenticator app at any time. Go to myaccount.google.com, click Security on the left, then click 2-Step Verification. Under Ways we can send codes to you, you will see each method listed.
To add a new method, click Add a phone number or Set up authenticator. To remove a method, hover over it and click the trash icon. Google requires you to keep at least one method active at all times. When you sign in, Google will offer your primary method first, but you can click Try another way to use a backup method instead.
Use backup codes if you lose your phone
Google gives you ten backup codes when you first turn on two-step verification. These are one-time passwords you can use to sign in if you lose your phone or cannot receive a code. Each code works once, then it is used up. Write them down or save them in a safe place — not on your computer or phone.
To find your backup codes, go to myaccount.google.com, click Security, then 2-Step Verification. Scroll down to Backup codes and click it. You will see your list of unused codes. If you have used all of them, you can generate a new set of ten by clicking Get new codes. The old codes will stop working when ready.
What to do if you cannot access your recovery phone or email
If you set up two-step verification but no longer have access to your phone number or recovery email address, Google has a recovery process. Go to the Google sign-in page and enter your email address. When prompted for a code, click Can't use your phone? or Try another way. Google will ask you security questions about your account — such as when you created it or what devices you use — to confirm you are the owner.
Answer the questions as accurately as you can. If Google confirms your identity, it will let you sign in and update your recovery phone number or email address. If you cannot answer the security questions, you can ask Google to review your account, though this takes longer. Keep your recovery email and phone number current so you do not get locked out.
Understand why Google asks for a code
Security codes protect your account from people who steal your password. Even if someone knows your password, they cannot sign in without the code because they do not have your phone or access to your email. This is why Google calls it two-step verification — you need two things: your password and a code only you can receive.
Codes expire quickly — usually within ten minutes — so they cannot be reused or intercepted and used later. Google also tracks which devices have signed in before. If you sign in from a new device, Google assumes it might be someone else and asks for a code. Once you confirm the device is yours, Google remembers it and may not ask for a code the next time you use that same device.
Frequently Asked Questions
How long does a security code stay valid?
Most security codes expire within 10 minutes of being sent. If you do not enter it within that time, you will need to request a new one. Backup codes do not expire, but each one can only be used once.
Can I use the same code twice?
No. Each code works only once. After you enter it, that code is used up and cannot be used again, even if you sign out and sign back in. You must request a new code for your next sign-in.
What if my phone number changed?
Sign in to your account from a device Google already recognizes, go to myaccount.google.com, click Security, then 2-Step Verification, and update your phone number. If you cannot sign in, use a backup code or answer Google's security questions to regain access.
Does Google charge for two-step verification?
No. Two-step verification is free. Standard text message rates from your phone carrier may explore if you request codes by text, but Google does not charge you.
Can I turn off two-step verification?
Yes. Go to myaccount.google.com, click Security, then 2-Step Verification, and click Turn off. Your account will return to password-only sign-in, which is less find. You can turn it back on at any time.