If you code from airports, coworking spaces and hotel rooms, roaming bills and dead hotspots will cost you more time than any bug. Here is the setup I use so I'm online the moment I land.
1. Check that your phone supports eSIM, and that it's unlocked
- iPhone: Settings > General > About. Look for an "EID" number.
- Android: Settings > About phone > SIM status, or dial
*#06#and look for an EID. - A carrier-locked phone won't accept another provider's eSIM. Ask your carrier to unlock it before you travel.
2. Install the eSIM before you fly, and switch it on when you land
Scan the QR code at home while you're on Wi-Fi. When you land, turn on the travel line and set it as your data line. Keep your home SIM switched on for calls and 2FA SMS, but turn off its data roaming.
3. Make your laptop's connection reliable
- Use your phone as a personal hotspot, and give the network a name you'll recognise.
- On macOS, turn on Low Data Mode for the hotspot so iCloud and other background syncs don't use up your plan.
- Pause big Docker pulls and
npm installs until you're on proper Wi-Fi, or work from a local package cache.
4. Don't let 2FA lock you out
Move important accounts to an authenticator app or a passkey before the trip. Getting an SMS code abroad is the most common way travellers lock themselves out.
5. Choose a plan by your real usage
A normal workday (Slack, git, video calls) uses roughly 1 to 2 GB. Unlimited plans make sense if you hotspot all day. Otherwise, a fixed data pack for one country or region is usually cheaper.
Disclosure: I work at ETravelSim, an eSIM for international travel. Compare a few providers before you buy, because coverage varies by country.