If you are traveling between Morocco and Spain, mobile data is useful for maps, WhatsApp, ferry tickets, airport transfers, hotel messages, train routes, taxi coordination, translation and travel updates.
Morocco and Spain use different mobile networks and different roaming zones. Spain is part of the European Union roaming area, while Morocco is not. This means your regular European roaming plan may work differently in Spain and Morocco.
Quick answer: the easiest option for a Morocco and Spain trip is to use an eSIM plan that includes both countries, or use separate eSIM plans for Morocco and Spain. Install before departure, enable Data Roaming on the travel eSIM and keep your primary SIM roaming data turned off.
Top Morocco eSIMs
Best eSIM Options for Morocco and Spain
| Option | Best For |
|---|---|
| Regional eSIM covering Morocco and Spain | One plan for both countries if available |
| Separate Morocco eSIM and Spain eSIM | Better control by country and data needs |
| Europe eSIM plus Morocco eSIM | Spain and EU travel plus Morocco add-on |
| Local SIM cards | Longer stays, but less convenient |
| International roaming | Emergency use, often expensive in Morocco |
Why Morocco and Spain Need Careful Roaming Setup
Spain and Morocco are close geographically, but they are not in the same roaming zone. If you travel from Spain to Morocco, your EU roaming allowance may stop applying when you enter Morocco.
This is especially important on routes such as Spain to Tangier, Tarifa to Tangier, Algeciras to Tangier Med, Malaga to Morocco, Barcelona to Morocco and Madrid to Marrakech.
Morocco and Spain eSIM vs Local SIM Cards
| Feature | Travel eSIM | Local SIM Cards |
|---|---|---|
| Buy before travel | Yes | No |
| Physical SIM needed | No | Yes |
| Works in both countries | Yes, if plan includes both | Usually country-specific |
| Airport or shop visit | No | Often yes |
| Keep home SIM active | Yes | Depends on phone |
| Best for tourists | Excellent convenience | Good for longer stays |
Traveling from Spain to Morocco
If you start in Spain and continue to Morocco, check whether your eSIM plan includes Morocco before crossing the border or boarding a ferry. A Spain-only or Europe-only eSIM may not include Morocco.
Before leaving Spain, download offline maps, save ferry or flight details, save hotel addresses and make sure your Morocco eSIM is installed if you use a separate plan.
Traveling from Morocco to Spain
If you start in Morocco and continue to Spain, check whether your Morocco eSIM also covers Spain. If not, install a Spain eSIM or Europe eSIM before departure while you still have WiFi.
After arriving in Spain, select the Spain or regional eSIM for Mobile Data and keep Data Roaming enabled on the travel eSIM if required by the plan.
Popular Morocco and Spain Travel Routes
| Route | Connectivity Tip |
|---|---|
| Tarifa to Tangier | Check Morocco coverage before ferry departure |
| Algeciras to Tangier Med | Install Morocco eSIM before crossing |
| Malaga to Marrakech | Use Spain data before flight, Morocco data after arrival |
| Madrid to Casablanca | Separate or regional eSIM may be needed |
| Barcelona to Marrakech | Check if plan includes both Spain and Morocco |
| Tangier to Seville | Use Morocco data before crossing, Spain data after arrival |
| Marrakech to Madrid | Install Spain or Europe eSIM before departure |
Does One eSIM Work in Morocco and Spain?
Yes, one eSIM can work in both Morocco and Spain if the plan includes both countries. Always check the coverage list before purchase.
If your plan only covers Spain or Europe, it may not work in Morocco. If your plan only covers Morocco, it may not work in Spain.
Recommended Phone Settings for Morocco and Spain eSIM
| Setting | Recommended Value |
|---|---|
| Mobile Data | Travel eSIM covering current country |
| Calls | Primary SIM |
| SMS | Primary SIM |
| Data Roaming on travel eSIM | ON |
| Data Roaming on primary SIM | OFF |
| Automatic Data Switching | OFF |
| Network Selection | Automatic |
| APN for Morocco eSIM | data.esim if required |
APN Settings for Morocco and Spain eSIM
Most phones configure APN settings automatically. If mobile data does not work in Morocco after arrival, use the Morocco APN below if manual setup is required.
| Field | Morocco eSIM Value |
|---|---|
| APN | data.esim |
| Username | Leave blank |
| Password | Leave blank |
| Authentication | None |
For Spain, APN settings are usually configured automatically by the eSIM profile. If Spain mobile data does not work, check your plan instructions or support details.
Can You Keep Your Main SIM Active?
Yes. Most Dual SIM phones allow you to keep your main SIM active for calls and SMS while using a travel eSIM for mobile data.
- Use the travel eSIM for internet.
- Keep your primary SIM for calls and SMS.
- Use WhatsApp with your existing number.
- Receive verification codes if supported by your home carrier.
- Turn off roaming data on your primary SIM.
Does WhatsApp Work in Morocco and Spain?
Yes. WhatsApp works in both Morocco and Spain with WiFi or mobile data. Your WhatsApp account can stay linked to your existing phone number, even if your eSIM is data-only.
If WhatsApp asks whether you want to change your number, do not change it unless you intentionally want to move your WhatsApp account to another number.
How Much Data Do You Need for Morocco and Spain?
| Trip Type | Recommended Data |
|---|---|
| Weekend Spain and Morocco trip | 3–5 GB |
| One-week Morocco and Spain trip | 5–10 GB |
| Two-week trip | 10–20 GB |
| Road trip plus ferry crossing | 10–20 GB |
| Hotspot sharing | 20 GB+ |
| Remote work or video calls | 20 GB+ with WiFi backup |
Typical Data Usage While Traveling
| Activity | Approximate Usage |
|---|---|
| WhatsApp messages | Very Low |
| Google Maps navigation | 5–10 MB per hour |
| WhatsApp voice calls | 30–50 MB per hour |
| WhatsApp video calls | 250–500 MB per hour |
| Email and browsing | 50–150 MB per hour |
| Instagram or TikTok | 100 MB–1 GB per hour |
| YouTube or streaming | 500 MB–3 GB per hour |
| Hotspot for laptop | Moderate to High |
Can You Use Hotspot in Morocco and Spain?
Yes. Most smartphones allow hotspot sharing with an eSIM where mobile coverage is available. This can be useful for another phone, tablet or laptop.
Hotspot can use data quickly, especially with laptops, streaming, cloud sync, video calls and multiple connected devices.
Common Problems on Morocco and Spain Trips
- Your plan covers Spain but not Morocco.
- Your plan covers Morocco but not Spain.
- Data Roaming is off on the travel eSIM.
- The wrong eSIM is selected for Mobile Data.
- Automatic Data Switching is turned on.
- APN settings are missing in Morocco.
- Network Selection is set manually.
- Coverage is weak during ferry crossings or remote routes.
What to Do If Mobile Data Does Not Work
- Check that your eSIM plan includes your current country.
- Select the correct travel eSIM for Mobile Data.
- Enable Data Roaming on the travel eSIM.
- Turn off Data Roaming on your primary SIM.
- Turn off Automatic Data Switching.
- Restart your phone.
- Turn Airplane Mode ON for 30 seconds, then OFF.
- Keep Network Selection on Automatic.
- Use APN data.esim in Morocco if manual setup is required.
- Use WiFi if you are between networks during ferry or border travel.
Offline Preparation Before Crossing Countries
- Install your eSIM before departure while connected to WiFi.
- Check whether your plan includes both Morocco and Spain.
- Download offline maps for both countries.
- Save ferry, train, flight and hotel details offline.
- Screenshot QR codes, booking confirmations and addresses.
- Save emergency contacts and transport details.
- Charge your phone before ferry or flight routes.
- Carry a power bank for long travel days.
Related Morocco and Spain eSIM Guides
- Morocco eSIM
- Spain eSIM
- Europe eSIM
- Best eSIM for Morocco
- Best eSIM for Spain
- Local SIM vs eSIM Morocco
- Internet in Morocco for Tourists
- Internet in Spain for Tourists
- Morocco eSIM APN Settings
FAQ
Does one eSIM work in Morocco and Spain?
Yes, one eSIM can work in both Morocco and Spain if the plan includes both countries. Always check the coverage list before buying.
Does a Europe eSIM work in Morocco?
Not always. Morocco is not part of the EU roaming area, so some Europe eSIM plans may not include Morocco. Check the plan coverage before travel.
Do I need Data Roaming for Morocco and Spain eSIM?
Yes. Data Roaming should usually be enabled on the travel eSIM. Keep roaming data off on your primary SIM to avoid unwanted charges.
Can I use WhatsApp in Morocco and Spain with eSIM?
Yes. WhatsApp works with mobile data or WiFi in both countries, and your account can stay linked to your existing phone number.
What APN should I use in Morocco?
If manual APN setup is required for a NoveSIM Morocco eSIM, use data.esim.
Will mobile data work on the ferry between Morocco and Spain?
Mobile data may be weak or unavailable during ferry crossings because you may be between networks or away from stable land coverage. Use offline maps and save travel details before boarding.
Final Recommendation
For most tourists visiting Morocco and Spain, the best setup is a travel eSIM that includes both countries or separate eSIM plans for Morocco and Spain. This helps you avoid roaming surprises and stay connected for maps, WhatsApp, hotels, transport and travel updates.
Install your eSIM before departure, confirm that both countries are included, enable Data Roaming on the travel eSIM, keep your primary SIM roaming data off and use data.esim as the APN in Morocco if manual setup is required.




