Using a travel eSIM alongside your home SIM is one of the best ways to stay connected abroad. You can keep your regular number active for calls, texts, and banking codes while using a cheaper travel eSIM for mobile data.
However, some travelers notice that their iPhone 17 suddenly switches back to the home SIM for data, causing slow connections or unexpected roaming charges.
In most cases, the problem is caused by one setting: Allow Cellular Data Switching.
During our testing with a UK home SIM and a Thailand travel eSIM on the iPhone 17 Pro, we noticed the phone occasionally switched back to the home line whenever the travel signal weakened inside buildings. Disabling automatic data switching immediately stopped the problem.
Quick Fix
If your iPhone keeps using the wrong SIM for mobile data:
• Set your travel eSIM as your Cellular Data line.
• Turn OFF Allow Cellular Data Switching.
• Disable Data Roaming on your home SIM.
• Keep your home SIM active for calls and texts.
• Reset Network Settings if the issue continues.
👉 Compare Top Travel eSIM Plans
Why Does My iPhone Keep Switching Between SIMs?
The iPhone 17 can keep two SIMs active at the same time using Dual SIM Dual Standby technology.
When Allow Cellular Data Switching is enabled, iOS may temporarily switch to another line if it believes that line has a better connection.
This can happen:
• Inside airports and train stations.
• In areas with weak signal.
• When moving between cellular towers.
• When one network becomes congested.
For travelers, this can be expensive because your phone may start using your home SIM's roaming data without you realizing it.
How to Stop iPhone 17 from Switching Data SIMs
Step 1: Set Your Travel eSIM as the Data Line
Open Settings.
Tap Cellular.
Tap Cellular Data.
Select your travel eSIM.
This tells your iPhone which line should handle all mobile data.
Step 2: Turn Off Allow Cellular Data Switching
Stay inside the Cellular Data menu.
Find Allow Cellular Data Switching.
Turn the switch OFF.
This is usually the most important fix.
Once disabled, your iPhone will stop automatically switching data connections between your two lines.
Step 3: Disable Data Roaming on Your Home SIM
Return to Settings > Cellular.
Select your home SIM.
Tap Data Roaming.
Turn it OFF.
This helps prevent expensive roaming charges if your phone accidentally tries to use the home line for data.
Step 4: Keep Your Home SIM Active
You can still receive:
• Banking security codes.
• Two-factor authentication texts.
• Calls from family and friends.
• Important account notifications.
Simply leave Turn On This Line enabled.
Your home number stays active without using it for mobile data.
Step 5: Reset Network Settings
If your iPhone still switches data lines unexpectedly:
Open Settings.
Tap General.
Select Transfer or Reset iPhone.
Tap Reset.
Select Reset Network Settings.
Your iPhone will restart and reconnect to the network.
This won't delete your eSIMs, but it will remove saved Wi-Fi passwords and Bluetooth connections.
Why Does This Problem Happen While Traveling?
During our testing, automatic switching happened most often in:
• Airports.
• Hotels with poor signal.
• Underground stations.
• Large shopping centers.
Whenever the travel eSIM signal briefly weakened, the iPhone sometimes attempted to use the home SIM instead.
Turning off automatic switching solved the issue immediately.
Can I Use Two eSIMs at the Same Time?
Yes.
The iPhone 17 supports two active eSIMs at the same time in many regions.
A common setup for travelers is:
• Home SIM for calls and texts.
• Travel eSIM for mobile data.
This setup works extremely well once the correct data settings are configured.
Will Turning Off Data Switching Affect Calls?
No.
Disabling Allow Cellular Data Switching only affects which SIM is used for mobile data.
You can still:
• Receive calls.
• Send and receive text messages.
• Use your regular phone number.
• Receive security verification codes.
Should I Leave Cellular Data Switching Turned On?
For everyday use at home, many people leave it enabled.
For international travel, we generally recommend turning it OFF.
This gives you full control over which line uses mobile data and greatly reduces the risk of accidental roaming charges.
Final Verdict
If your iPhone 17 keeps switching between SIMs for mobile data, the fix is usually simple.
Set your travel eSIM as your data line, turn off Allow Cellular Data Switching, and disable roaming on your home SIM.
During our testing, these settings completely stopped unwanted data switching and kept the travel eSIM handling all internet traffic as intended.
A few minutes spent adjusting your settings can prevent expensive roaming charges and make using Dual SIM on the iPhone 17 much more reliable.

