Facebook sends far more codes than most people realise. One finishes a new sign-up, another confirms a phone number you just added, another lets you in from a new laptop, and some arrive when you never touched the app. They all look alike in your messages, so the hardest part is often working out which one you are holding and where it should be typed. This guide sorts every Facebook code by job and sender, then walks through the settings behind each one.
Six different codes Facebook sends, and how to tell them apart
Read the wording around the digits before you do anything with them. The sentence that comes with the code tells you which job it does:
| The message says something like | What the code does | Where you enter it |
|---|---|---|
| “… is your Facebook confirmation code” (new account) | Finishes creating a new account | The Confirm box shown right after sign-up |
| A code after you add a phone number in settings | Confirms that the new number reaches you | The Accounts Center screen you were on |
| A login or security code on a new device | Second step of two-factor authentication | The login screen, after your password |
| A code to reset your password | Account recovery | The “Find your account” flow you started |
| A 6-character password, sent after you text “otp” | One-time password valid for 20 minutes | The password field on the login screen |
| A code you didn’t ask for | Someone typed your number or email into Facebook | Nowhere. Leave it alone |
Finishing sign-up: the confirm box, the email link and a wrong number
When you create an account, Facebook asks you to confirm the mobile number or email you signed up with (Facebook Help Center). With a phone number, enter the code from the text in the confirmation box. With an email, use the code or tap the link in the message. If you typed the wrong number, you can change it from the confirmation screen instead of waiting for a text that will never come.
Adding, swapping or deleting the phone number in Accounts Center
Contact details now live in Meta’s Accounts Center, the same place that manages Instagram and other Meta accounts (Meta Help Center). Facebook says some people will see “Meta Account settings” instead while it moves everyone over, so the labels may differ slightly. On the app or the web:
If your Facebook and Instagram profiles share an Accounts Center, the same contact list can serve both. Our Instagram phone verification guide covers the Instagram side.
Texting 32665: Facebook’s SMS commands, from OTP to STOP
32665 (it spells FBOOK) is Facebook’s US short code. Most people only receive from it, but it also takes commands. Facebook doesn’t charge for these texts, though your normal carrier messaging rates apply (Facebook texts help).
| Text this to 32665 | What happens | Catch |
|---|---|---|
| otp | If the number is on your account, Facebook replies with a 6-character one-time password (Facebook) | Valid for 20 minutes, single use, and not offered if two-factor authentication is on |
| START | Turns Facebook text notifications on | Only for a number already added to the account |
| STOP | Stops Facebook texts to that phone | Also stops notifications you might still want |
| On or Fb | Facebook’s suggested fix when a texts-setup code doesn’t arrive (Facebook) | Wait up to 24 hours for delayed delivery |
The one-time password is for logging in on a computer you don’t trust, like a library PC, without typing your real password. If you text “otp” from a number that isn’t on any account, Facebook emails you instructions to add it instead of sending a code.
Login codes after two-factor is on: SMS, authenticator app, security key or recovery codes
With two-factor authentication turned on, Facebook asks for a code, or for approval of the login, whenever someone signs in from a browser or device it doesn’t recognise (Facebook). You manage it under Accounts Center → Password and security → Two-factor authentication, and you pick one main method:
| Method | Where the code comes from | Best for |
|---|---|---|
| Text message (SMS) | A text to the number on your account | Simple setup; depends on that number staying yours |
| Authentication app | Google Authenticator or a similar app makes the code (Facebook) | Travel, weak signal, number changes |
| Security key | A physical U2F or FIDO2 key you tap or plug in (Facebook) | Strongest protection against phishing |
| Recovery codes | A list of 10 single-use codes you save in advance | Backup when your phone is lost |
Get your recovery codes the day you turn on two-factor: Two-factor authentication → your account → Additional methods → Recovery codes. Each code works once. Requesting a new set gives you ten fresh codes, so keep only the latest list, in a password manager or on paper.
Is that code email really from Facebook? The Recent emails check
Fake “Facebook security” emails are a common phishing trick, so check before you click. Facebook says its mail only comes from these domains and their subdomains: fb.com, facebook.com, facebookmail.com, instagram.com, meta.com, metamail.com and global.metamail.com (Facebook). Watch for look-alike spellings.
Facebook also says it never asks for your password in an email and never sends a password as an attachment. Any message that does is fake.
A Facebook code you never requested: what someone did with your number
An unexpected code usually means someone typed your phone number or email into Facebook, either by mistake or to try to get into your account. Facebook says this can happen when someone tries to add your contact details to an account or create one with them (Facebook). The code is harmless as long as it stays on your phone.
Numbers that used to belong to someone else get these too, since the old owner’s accounts may still list them. Our guide to what someone can do with your phone number explains SIM swaps and how to protect yours. Unrequested codes from other companies follow the same pattern; see our Amazon OTP guide for an example.
Getting a late or missing Facebook code back on track
Codes are usually quick, but carriers sometimes delay them. These are the fixes Facebook itself suggests (Facebook, Facebook):
| Situation | What to try |
|---|---|
| Waiting on a text | Give it a few minutes. Check you have signal and that your message inbox isn’t full |
| Logged in on another phone or browser | Look there for a prompt to approve the new login without a code |
| Two-factor on, phone lost | Use one of your saved recovery codes |
| Recently moved your number to a new carrier | Facebook warns the code may not arrive. Ask the carrier, or wait 24 hours |
| Your texts end with an automatic signature | Remove it. Facebook says signatures can stop it reading your replies to 32665 |
Picking a number to keep on a Facebook account for years
A Facebook account usually lasts for years, and its number is how you get back in after a lost password. So the number needs to stay yours. A free shared inbox is the wrong place for Facebook codes, because anyone can read them. Our guide to receiving SMS online explains the difference in one page.
Facebook expects accurate details on your account, so use a number that is yours alone, not a shared or borrowed one.
Facebook confirmation code: FAQ
More guides
Instagram phone number verification · Amazon OTP explained · What someone can do with your phone number · How to buy a private US phone number · Receive SMS online
