Fwrd logoFwrdDownload on the App Store

Facebook Sending Code to Your Old Number? How to Log In

By Fwrd ·

Facebook texts its login code to the number in your two-factor authentication settings, so after you change numbers it keeps going to the old one until you add the new one. To get in without it, approve the login from a device where you’re still logged in, use a saved recovery code, or use the help link on the code screen to confirm your identity. If you still have the old SIM, an old iPhone can forward Facebook’s texts to you with Fwrd while you switch.

What you need: your Facebook password, and another logged-in device, a recovery code or a way to confirm your identity. To keep old codes coming, an old iPhone on iOS 26 or later with the old number’s SIM or eSIM.

Why does Facebook send the code to my old number?

Because the old number is still one of your two-factor authentication methods. Changing your number with your carrier doesn’t tell Facebook, or any other account, as codes sent to an old number explains.

How to log in to Facebook without your old number

Facebook’s help page on two-factor problems (Facebook, read November 13, 2026) says to try these in order:

  1. Approve the login from another device. If you’re still logged in on another phone, tablet or browser, check your Facebook notifications there. You may see a prompt to approve the new login without a code.

  2. Use a recovery code. Recovery codes are one-time backup codes from your Security and Login Settings. If you saved or printed them, enter one in place of the code. Each works once.

  3. Confirm your identity. Go as far as the code screen, then use its help link: Need another way to authenticate?, then Other Options and Get more help on a computer; Having trouble? on Android or the mobile web; or Need help? on iPhone and iPad. Facebook may ask for a photo of an ID, questions about your account, or trusted contacts you set up earlier.

  4. Add your new number once you’re in. Facebook suggests updating your methods straight away: add your new mobile number for text codes, or set up an authentication app or a security key.

If the text should be arriving but isn’t, Facebook notes that carriers sometimes delay SMS codes, so wait a few minutes and check you have a signal.

If Facebook texts a code you didn’t ask for

A login code you didn’t request usually means someone typed your number or tried your password. Don’t share the code with anyone, and if you think someone knows your password, change it once you’re logged in.

Keep Facebook’s codes coming while you switch

Fwrd only helps if the old number’s SIM is still in an iPhone. Then that iPhone can forward Facebook’s texts to you until every account has your new number. Fwrd’s setup hands over a ready-made shortcut, so there’s little to build.

On the old iPhone, open Fwrd and tap Set Up Forwarding. Choose a chat you read on your new phone, Telegram, Slack or Discord, and paste its webhook link, or for Telegram your bot token and chat ID. Pick texts with a word in them and type Facebook, then tap Get Shortcut, tap Allow, then Always Allow, and switch on the automation as Fwrd shows. If it stays at home, have someone unlock the iPhone every couple of days.

What forwarding can’t do

  • It needs the old line active. If the number is closed or given to someone else, there’s nothing left to forward, so use Facebook’s options above.
  • It only forwards new texts with your word, not codes from an authenticator app.
  • It doesn’t replace updating Facebook. Adding your new number is the lasting fix.
  • The free plan covers 15 forwards a month. Facebook codes alone rarely come close; Fwrd Pro removes the limit.

Questions about Facebook and your old number

Why does Facebook keep sending a code to my old phone number?

Because the old number is still in your two-factor authentication settings. Log in another way, then add your new number there.

How do I log in to Facebook without my old phone number?

Approve the login from a device where you’re still logged in, enter a saved recovery code, or use the help link on the code screen to confirm your identity.

What if I didn’t save any recovery codes?

Use the help link on the code screen to confirm your identity. Facebook may ask for an ID photo, account questions or your trusted contacts.

How do I stop this happening next time?

Add your new number before you switch, save a fresh set of recovery codes, and consider an authentication app or a security key as a second method.

Still have the old SIM? Keep its codes coming

Keep the old number in an old iPhone, and Fwrd forwards its Facebook texts to a chat you read on your new phone. No account. Start with 15 free forwards each month.

Free for 15 forwards a month. Pro removes the limits on forwards and filters and adds a Never Forward list, with a free trial on the yearly plan for eligible customers.

Download on the App Store

iPhone · iOS 26 or later