How-to · Passwords · Last checked November 2026
How to keep getting 2FA codes while abroad
Move your important accounts from text-message codes to an authenticator app before you leave, and save every backup code in your password manager. For a bank that only sends texts, keep your home SIM switched on for calls and texts and use a travel eSIM for data.
Takes an evening
Works without signal
Do it before you leave
What you need
Before you start
An authenticator. It can be a separate app, or the one built into 1Password, Proton Pass Plus or Bitwarden Premium.
A list of the accounts that still send codes by text, usually banks.
Your home SIM in the phone, even if a travel eSIM carries your data.
Before you go
Move away from text codes
01
List the accounts that matter
Email, phone account, bank, password manager and airline. Losing access to any of these abroad turns a small problem into a long one.
02
Switch them to an authenticator
In each account's security settings, choose an authenticator app instead of text messages and scan the QR code. In 1Password, open the login, choose Edit, then Add More, then One-Time Password, and scan the code.
03
Save every backup code
Most accounts give you one-time backup codes when you turn on two-step login. Store them in your password manager and on paper at home. Bitwarden shows its own recovery code under Settings, Security, Two-step login, View recovery code.
04
Test one login
Sign out of one account and back in using the authenticator. Better to find a mistake at home than at a hotel desk.
With a travel eSIM
Keep texts arriving
01
Set data to the travel line
On iPhone, go to Settings, Cellular, Cellular Data and choose the travel eSIM. On a Pixel, go to Network & internet, SIMs, and set Mobile data to the travel eSIM.
02
Keep the home line on for texts
Leave your home line switched on. On a Pixel, keep it as the SIM for Texts. Ask your carrier whether receiving texts abroad costs anything.
In detail
Why text-message codes fail abroad
A text-message code needs a chain of things to work at once: your home line switched on, your carrier allowing texts while roaming, and a local network that passes them along. Break any link and the code never arrives, usually at the worst moment.
An authenticator app removes that chain. It works out each code on the phone itself from a secret shared when you set it up and the current time, so it needs neither signal nor data. All it needs is a correct clock, which phones set automatically.
A data-only travel eSIM cannot help with text codes because it has no phone number. Texts keep going to your home number, which is why the home line stays on even when the travel eSIM carries all your data.
Backup codes are the safety net. Each one works once, and they are what you use when the phone with your authenticator is lost or broken. Some, like Bitwarden's recovery code, switch off two-step login entirely, so you set it up again and save the new code afterwards.
Common mistakes
What tends to go wrong
Changing phones the week before
Moving to a new phone without moving the authenticator codes leaves you with nothing on the road. Transfer them and test a login first.
Keeping backup codes only on the phone
If the phone goes, so do the codes. Keep them in your password manager and on paper.
Switching off the home line to save money
Bank texts and account recovery messages still go to that number. Keep the line on and its data roaming off.
Assuming the bank has moved on from texts
Many banks still rely on them. Check each bank's options before you go.
Good to know
Allow Cellular Data Switching on iPhone
With this setting on, the iPhone can use data from both lines depending on coverage. Leave it off if you want only the travel eSIM to carry data.
Good to know
Why a data-only eSIM cannot help here
Most travel eSIMs have no phone number, so a text code can never arrive on them. Texts keep going to your home number, which is why that line stays on.
Questions
Quick answers
Will I get SMS codes abroad?
Usually, on your home SIM, if the line is switched on and your carrier supports texts while roaming. An authenticator app avoids the question.
Do authenticator apps need signal?
No. They create codes on the phone itself, with no data or signal needed, as long as the phone's clock is right.
Where should I keep my backup codes?
In your password manager, and on paper somewhere other than your luggage.
What if I lose the phone with my authenticator app?
Sign in with a backup code, then set up the authenticator again on the new phone. That is why backup codes must be kept away from the phone.
Is an authenticator inside a password manager a good idea?
It is convenient and works on every device you sign in to. The trade-off is that your password and second factor sit together, so protect that account with a strong master password and its own two-step login.
Read next
A password manager that holds the codes
The password manager reviews compare built-in 2FA codes, free plans and recovery options.

