You are in Morocco, your bank wants to confirm a transfer or a login, and the one-time code it sends by SMS never arrives. This is one of the most common connectivity problems travellers hit, and most of the advice online gets it wrong. This guide explains why the code goes missing, what a data eSIM can and cannot do about it, and the options that actually work.
Why your bank's code stops arriving in Morocco
Bank one-time passwords (OTPs) are ordinary SMS messages sent to the number your bank has on file. Three things commonly break that chain abroad:
- Your home line is off or unreachable. If you disabled your physical SIM to avoid roaming charges, nothing can be delivered to it.
- Short-code senders don't route internationally. Many banks send from a short code (a 4-6 digit sender) that some operators do not forward to a roaming subscriber.
- The bank blocks the login before the SMS stage. Some banks flag a foreign IP address and stop the session entirely, so no code is ever sent.
Important: a data-only eSIM cannot receive SMS
This is where most guides mislead travellers, so we want to be direct about our own product. eSIM Maroc plans are data-only. They do not come with a Moroccan phone number, they cannot receive SMS, and they cannot receive voice calls. No data eSIM can โ an SMS needs a number (an MSISDN) attached to the line, and a data plan does not have one.
So if a page tells you to buy a travel data eSIM in order to receive your bank's SMS code, that advice will not work, whoever is selling it. What our eSIM does do is keep your phone online, which matters for several of the options below.
What actually works
1. Switch your bank to app or email verification (best option)
Almost every major bank now offers in-app approval, a built-in code generator, or a push notification instead of SMS. These run over the internet, so they work anywhere you have data โ including on a data-only eSIM. Set this up before you leave, while you can still receive an SMS at home to complete the change.
2. Keep your home SIM active for SMS, use the eSIM for data
This is the practical setup for most travellers, and it is what a second line is genuinely good for. On a dual-SIM phone you can:
- Leave your physical home SIM switched on so it can still receive SMS and calls;
- Turn data roaming off on that home line, so it cannot run up data charges;
- Set your eSIM Maroc line as the mobile-data line.
Incoming SMS is free on most home plans even while roaming, since you are not sending anything. You get your bank codes on your normal number and your data stays on the local plan.
3. Ask your bank for a voice call instead of an SMS
Many banks can read the code out by automated call. An incoming call to your home number while roaming may cost something, but for a one-off transfer it is usually a few cents and it avoids the short-code routing problem entirely.
4. A Moroccan prepaid SIM with a real number
If you specifically need a Moroccan number that can receive SMS, you need a physical prepaid SIM from Maroc Telecom, Orange Maroc or Inwi. Bring your passport โ registration is mandatory โ and note that you will then have to update the number your bank has on file, which itself usually requires a verification step. This is worth doing for a long stay, rarely for a short trip.
5. Authenticator apps
If your bank supports Google Authenticator, Microsoft Authenticator or a similar TOTP app, the codes are generated on your device with no network at all. Set it up before you travel.
Where eSIM Maroc fits
Our role here is narrow and worth stating plainly: we give you reliable mobile data on the Moroccan networks, which is what your banking app, email, authenticator push notifications and VoIP calls to your bank's helpline all need. We do not give you a number and we cannot deliver your bank's SMS. Anyone claiming otherwise is describing a product that does not exist.
Each day you get 1 GB at full 4G/5G speed; once that is used, the speed drops to 512 Kbps until the next day, when the allowance resets. Banking apps, email and messaging work fine at that speed.
Before you travel: a five-minute checklist
- Log into your bank and switch verification to in-app approval or an authenticator app.
- Confirm the phone number your bank has on file is your current one.
- Check your home plan's roaming terms for incoming SMS and calls in Morocco.
- Turn data roaming off on the home SIM, and keep the line itself enabled.
- Check your phone supports eSIM and install your data plan before departure.
Conclusion
There is no shortcut that makes a data eSIM receive bank SMS. The reliable fix is to move your bank off SMS verification before you travel, and to keep your home line reachable for the cases where SMS is the only option. Use a local data plan for what it is genuinely good at: keeping you online, cheaply, everywhere in Morocco. Browse our plans.