A cat sits atop an embroidered pouffe in the Essaouira medina
| | | | | |

Morocco for Digital Nomads: Best Cities for Working Solo

Morocco is rapidly rising in popularity as a favourite destination for digital nomads, solo workers and remote creatives. With fast-developing infrastructure, reliable co-working spaces and affordable living costs, it provides a culturally immersive “home base” on the doorstep of Europe. 

When I first arrived in Morocco back in 2014, it was as a digital nomad and I intended to travel the country for the duration of my visa. After meeting my partner and settling down on the coastline, I soon made this North African gem my home.

In my opinion, Morocco is an inspiring base for both short and long-term stays as a digital nomad. People are welcoming, the internet is generally good and there’s sooooo much to discover beyond the laptop.

Whether you prefer the energy of big cities or the calm of the coastline, Morocco has digital-nomad-friendly spots for every work style. On your weekends, you can head off hiking, surfing or shopping in the souks, all while getting your fill of Moroccan food and mint tea. 

In this guide, I’ll share 7 of the best Moroccan cities for working solo, including internet quality, co-working options and lifestyle perks. 

If you’re an introvert visiting Morocco and want to find calm amidst the chaos, check out my insights and tips here.

Morocco for digital nomads: A cat sits atop an embroidered pouffe in the Essaouira medina
Morocco for digital nomads: A cat sits atop an embroidered pouffe in the Essaouira medina

Disclosure: This article contains affiliate links, meaning I earn a small commission when you make a purchase. Affiliate links cost you nothing and ensure my content stays free!

Why Morocco Is Great for Digital Nomads

Before diving into the 7 cities that are best for digital nomads in Morocco, here’s why I think remote workers (like me!) are choosing Morocco as their home base:

Affordable cost of living

Food, transport, accommodation and co-working fees are generally lower than in Europe or North America. As a digital nomad in Morocco, you can live on less while building your business or take home more of your monthly salary

Strong internet (with improvements every year)

Fibre optic is now common in major Moroccan cities and 4G/5G coverage is expanding. Yes, there are still “black spots”. But these tend to be in really remote parts of the country (where you should be on a digital detox anyway!) 

Easy access to nature and adventure

Surf breaks, hiking trails and desert adventures are all within easy reach, as are historic towns that remain well off the beaten tourist track.

Diverse nomad-friendly communities

Co-working spaces and creative hubs are popping up around the country and expat circles are growing fast. You don’t have to look far to find like-minded digital nomads to motivate you…or join non-work-related adventures. 

Good global connectivity

Morocco has direct flights to Europe, the Middle East, West Africa and the United States. Travel to Europe is particularly cheap, thanks to low-cost carriers such as Air Arabia Maroc, Ryan Air and Easy Jet.

Best cities for digital nomads in Morocco: The towering minaret of Koutoubia Mosque in Marrakech
Best cities for digital nomads in Morocco: The towering minaret of Koutoubia Mosque in Marrakech

1. Marrakech – Best for Digital Nomads Who Want Culture + Convenience

Marrakech is Morocco’s most famous tourist destination…and increasingly a remote-work hotspot. It mixes traditional charm with modern infrastructure and globally inspired restaurants (for those times when you just need a taste of home). 

In Marrakech, you’ll find lots of co-working spaces, most of which are situated in the modern districts of Gueliz and Hivernage. They provide fantastic opportunities to connect with Moroccan entrepreneurs and creatives with all the workspace amenities you need. 

Why Work/Live in Marrakech as a Digital Nomad

  • Strong fibre optic availability in Gueliz and Hivernage
  • Huge selection of cafes with fast Wi-Fi
  • Many co-working spaces and entrepreneurship hubs
  • Easy access to weekend trips (Atlas Mountains, Agafay and Essaouira)
Morocco for digital nomads: A beautiful keyhole door in Marrakech
Morocco for digital nomads: A beautiful keyhole door in Marrakech

Best Co-working Spaces in Marrakech

  • Co-working L’Blassa – modern workspaces + onsite cafe in Gueliz
  • Goworking Marrakech – private offices + fast internet in Gueliz
  • M Tech – ergonomic desks + rooftop terrace in Hivernage (adjacent to M Avenue shopping mall)

Downsides of Digital Nomad Life in Marrakech

  • City can get hectic and noisy
  • Heat in summertime can be intense

Marrakech is best for: Creative freelancers, entrepreneurs, nomads wanting culture, great restaurants + nightlife.

For more info about Marrakech, check out my solo traveller’s guide to the “Red City”, the best things to do in Marrakech and these inspiring places to stay.

Best cities in Morocco for digital nomads: The monumental Hassan II Mosque in Casablanca
Best cities in Morocco for digital nomads: The monumental Hassan II Mosque in Casablanca

2. Casablanca – Best for Business-Minded Digital Nomads and Nightlife

Casablanca may not have the charm of Marrakech, but it has the country’s most stable modern infrastructure. It’s ideal for long-term remote workers who prioritise productivity and want to be in the heart of all the business action.

I would also argue that Casablanca has the best nightlife in Morocco. If partying is high on your list of priorities outside of work, then this modern metropolis is the place to be.

Why Work/Live in Casablanca as a Digital Nomad

  • Best overall internet speed and reliability in Morocco
  • Corporate vibe, great for networking and business services
  • Large modern cafes perfect for working
  • Direct train links to Rabat, Marrakech, Fes, Tangier
  • Best nightlife in Morocco
Morocco for digital nomads: A mural adorns an apartment building in Casablanca
Morocco for digital nomads: A mural adorns an apartment building in Casablanca

Best Co-working Spaces in Casablanca

Downsides of Digital Nomad Life in Casablanca

  • Less tourist appeal
  • Traffic can be a nightmare
  • Bigger-city costs

Casablanca is best for: Full-time remote professionals, long-stay digital nomads, networking.

For more info about visiting Casablanca, check out my detailed travel guide or this collection of inspiring places to stay in the city.

3. Rabat – Best for Digital Nomads Who Want a Low-Stress Lifestyle

As Morocco’s capital, Rabat offers a calmer, greener alternative to Casablanca, but still with excellent infrastructure. It’s ideal for nomads who want to be close to all the business action but without the intensity of living in Morocco’s biggest city (it’s just an hour away by train).

Rabat is a really relaxed and walkable city, with atmospheric historic districts and leafy boulevards lined with French colonial buildings. That being said, it’s still youthful, energised and there are some great museums to explore out of work hours. 

Why Work in Rabat as a Digital Nomad

  • Clean, safe, walkable
  • Good fibre coverage
  • Plenty of co-working spaces and cafes
  • Close to surf beaches, Casablanca nightlife and the historic medina of Salé
Best Moroccan cities for digital nomads: The entrance to a madrasa in whitewashed Salé
Best Moroccan cities for digital nomads: The entrance to a madrasa in whitewashed Salé

Best Co-working Spaces in Rabat

  • La Station – open-plan and private offices in L’Ocean
  • AI Hub – AI workshops and networking near Gare Rabat Ville
  • WorkStudio – artistic space + cafe in Hassan

Downsides of Digital Nomad Life in Rabat

  • Smaller digital nomad community

Rabat is best for: Nomads seeking calm, comfort and reliability.

For more info about Rabat, check out my essential travel guide or these inspiring places to stay.

Morocco for digital nomads: A path leads through the Andalusian Garden in Rabat
Morocco for digital nomads: A path leads through the Andalusian Garden in Rabat

4. Essaouira – Best for Creative Digital Nomads + Coastal Lovers

Essaouira is a favourite for many solo travellers (including me!) It’s relaxed, breezy and artistic. If you’re someone who prefers to be surrounded by creativity (rather than in a high-performance business hub), then Essaouira might be for you. 

A day in the life of an Essaouira-based digital nomad might mean surfing in the morning before working from an eclectic cafe in the afternoon. You can head to the ramparts or beach to watch the sunset over the Atlantic before attending a live music night or exhibition opening.

Why Work in Essaouira as a Digital Nomad

  • Laid-back coastal lifestyle
  • Inspiring cafe scene inside and outside the medina
  • Great wind and kite-surfing conditions
  • Affordable long-stay accommodation
Best Moroccan cities for digital nomads: Blue and white buildings frame a street in Essaouira
Best Moroccan cities for digital nomads: Blue and white buildings frame a street in Essaouira

Best Coworking Spaces in Essaouira

Co-working is still developing in Essaouira, but you’ll find a few options:

  • Noqta Space – multiple spaces + rooftop terrace + cafe in historic riad
  • Mama Lova – boutique hotel with quiet co-working space + restaurant
  • Many cafes cater to remote workers and creatives

Downsides of Digital Nomad Life in Essaouira

  • Windy (some love it, some don’t)
  • Internet can be inconsistent inside the medina

Essaouira is best for: Creatives, writers and slow-travel nomads.

For more info about Essaouira, check out my essential travel guide, best things to do in the city or these inspiring places to stay.

Medicinal plants and herbs for sale in the Essaouira medina
Working remotely in Morocco: Medicinal plants and herbs for sale in the Essaouira medina

5. Taghazout – Best for Surf-Loving Digital Nomads

A globally recognised surf-meets-work hub, Taghazout has become Morocco’s digital nomad enclave. It’s here that I first lived when I settled in Morocco, before moving down the coast to quieter Tamraght (that’s also worth considering). 

In Taghazout, you’ll find an abundance of surf schools, health-conscious cafes and oceanfront apartments, all of which make it a dream base. There’s also an increasing number of yoga studios for morning stretch sessions, not to mention a plethora of surf breaks – it’s why Taghazout is famous in the first place!

Why Work in Taghazout as a Digital Nomad

Morocco digital nomad communities: Colourful buildings along Taghazout's waterfront
Morocco digital nomad communities: Colourful buildings along Taghazout’s waterfront

Best Co-working Spots in Taghazout

  • SunDesk – co-working space + apartments overlooking the water
  • Manzili Surf House – boutique hotel with several co-working spaces in Tamraght
  • Many cafes cater to remote workers and creatives

Downsides of Digital Nomad Life in Taghazout

  • It’s getting very busy, in and out of the water
  • Limited grocery options in the village (stock up at the Aourir market or head into Agadir)

Taghazout is best for: Surf nomads, adventure travellers, community seekers

For more info about Taghazout, check out my essential travel guide or these inspiring places to stay.

Best cities in Morocco for digital nomads: Colourful beach apartments in Taghazout
Best cities in Morocco for digital nomads: Colourful beach apartments in Taghazout

6. Agadir – Best for Long-Term Comfort + Beach Living

With modern neighbourhoods, palm-lined boulevards and sunny weather, Agadir is a great base for digital nomads who want a relaxed lifestyle. It’s within easy access to the surf breaks of Taghazout but with modern, big-city infrastructure. 

In Agadir, you’ll find one of Morocco’s largest undercover markets, Souk El Had, plus sprawling supermarkets where you can find all of your favourite foods. The sweeping stretch of sand at Plage d’Agadir is a big draw, whether you like ocean swimming, sunset walks or waterfront dining. 

Why Work in Agadir as a Digital Nomad

Best Co-working Spaces in Agadir

Agadir is best for: Nomads who want sunshine, beaches and a stable base.

For more info about Agadir, check out my solo traveller’s guide or these inspiring places to stay.

Working remotely in Morocco: An art-adorned cafe in Tangier
Working remotely in Morocco: An art-adorned cafe in Tangier

7. Tangier – Best for Digital Nomads Who Want Creative + International Vibes

Tangier’s blend of European and Moroccan influences, flourishing creative scene and inviting cafe culture make it an exciting hub for remote workers. This cosmopolitan city at the northwestern tip of Africa is no stranger to “expats”, with literary legends and artistic masters all calling Tangier “home”. 

Being a digital nomad in Tangier means straddling historic and modern worlds – there’s the centuries-old kasbah and medina, as well as a breezy beachfront district. I love that there are concept stores popping up across the city, not to mention lots of inviting (and digital nomad-friendly) cafes.

Morocco for digital nomads: The leafy interior courtyard of Dar Niaba in Tangier
Morocco for digital nomads: The leafy interior courtyard of Dar Niaba in Tangier

Why Work in Tangier as a Digital Nomad

  • Excellent fibre coverage
  • Modern cafes (many laptop-friendly)
  • Growing expat and artist community
  • Quick ferry to Spain for visa runs

Best Co-working Spaces in Tangier 

Tangier is best for: Writers, artists and nomads wanting a Mediterranean vibe.

For more info about Tangier, check out my solo traveller’s guide or these inspiring places to stay.

Tips for Digital Nomads Working Solo in Morocco

1. Choose fibre-equipped accommodation

If your riad/hotel/guesthouse is doubling as your workspace, check that it’s going to meet your needs before committing. 

Ask for:

  • Fibre optic?
  • Expected speed?
  • Backup 4G?
The interior courtyard of Riad Livia - an adults-only hotel in Marrakech that's ideal for digital nomads
The interior courtyard of Riad Livia – an adults-only hotel in Marrakech that’s ideal for digital nomads (photo courtesy of Expedia)

2. Buy a local SIM card

If you want to stay connected outside Wi-Fi zones, you’ll need to get yourself a local SIM card. These can be purchased at airports, ferry terminals, mini markets and official phone provider stores. 

Plans and pricing vary, depending on the amount of data you need, and most can be recharged online. At the time of writing, 4G is widespread throughout Morocco and 5G is emerging in big cities.

Best SIM providers in Morocco:

  • Orange
  • Maroc Telecom
  • Inwi

Top tip:

If you want an eSIM, I recommend Airalo – they use the Maroc Telecom network!

3. Avoid working inside medinas

While Morocco’s medinas are often the most atmospheric part of the city, they’re not the best place for digital nomads to work. The centuries-old walls are thick and the Wi-Fi signals are often weak.

Instead, I recommend staying in modern districts if you want stable internet – many are within walking distance of medinas. That way, you have the best of both worlds – fast Wi-Fi and easy access to historic sites. 

Best Moroccan cities for digital nomads: A mural on a building in a modern district of Rabat
Best Moroccan cities for digital nomads: A mural on a building in a modern district of Rabat

4. Use trains and buses to explore

Morocco is extremely well-connected and it’s easy to get around the country using public transport. On those days when you’re not in the office, there’s no excuse not to get out and about to discover everything the country has to offer. 

For weekend adventures, take advantage of:

5. Expect a cafe-working culture

Moroccan cafes are usually laptop-friendly, especially in cities, and you’ll see lots of locals busy at work. Cafe culture is BIG in the country – they are places to socialise and network.

That being said, some cafes transform into screening hubs when football matches are on…and things can get loud!

If you’re settling into a cafe to work, check that it has power points where you can charge your laptop. And if there are TVs on the walls, ask if a game is about to be aired. If the answer is “Yes” (and you need peace and quiet), consider going somewhere else.

Moroccans flock to cafes to watch not only the Botola Pro but also the English Premier League, LaLiga, the Champions Leagues. If you’re a football fan, it’s probably best to put the laptop away and simply enjoy the atmosphere!

Morocco for digital nomads: A sign along a coastal trail near Agadir
Morocco for digital nomads: A sign along a coastal trail near Agadir

Conclusion: Which Moroccan City Is Best for Digital Nomads?

Each Moroccan city offers something unique and deciding which is right for you is a highly personal decision. 

  • Marrakech – Best overall mix of culture, cosmopolitan vibe + co-working
  • Casablanca – Most reliable for long-term productivity, business connections + nightlife
  • Rabat – Calm capital city base + Casa is only an hour away
  • Essaouira – Best for creatives + coastal lovers
  • Taghazout – Best for surfers + digital nomad community
  • Agadir – Sun-drenched, modern beachside base
  • Tangier – Vibrant, international Mediterranean hub

Whether you’re a seasoned digital nomad or just establishing yourself as a remote worker, Morocco offers an inspiring, affordable and diverse place to live and work. It’s ideal for solo travellers who want a balance of adventure and cultural immersion, all while being productive in their chosen career field. 

When deciding where to base yourself, consider the lifestyle you want to lead and what the city offers in terms of networking/career growth. And remember, if you realise that a city isn’t meeting your needs, you can easily up and move to another.

PLAN YOUR TRIP WITH MY FAVOURITE RESOURCES:

Find hotels via Booking

Book tours and attractions via Viator or GetYourGuide

Find a rental car via Discover Cars

Book flights via Kiwi or Booking

Search for buses and trains via 12Go or Omio

Get travel insurance via SafetyWing

Buy a digital eSIM with Airalo

By purchasing through my links, you’ll be supporting my website at no additional cost to you

About Me

I’m Malika, an Australian-born travel writer with an intense love for Morocco. I first travelled here solo in 2014 and after meeting (and marrying) a local, I made this North African gem my home. Since that time, I have explored the country extensively, travelling to all corners with my partner, friends and on my own. 

Morocco is an incredible destination and one that I think everyone who has the “travel bug” should experience. The scenery is spectacular, the medinas are enchanting and the locals are among the friendliest (and funniest) people I’ve ever met. 

It’s no secret, however, that there a lot of questions and concerns voiced online about solo travel to Morocco, particularly from female travellers. So I wanted to create this resource filled with honest and up-to-date information. It’s designed to help solo travellers explore the country safely and have an amazing time along the way.

Similar Posts