Budget & MoneyCommon question

Do digital nomads and remote workers have to pay tax in Morocco?

Do Remote Workers Pay Tax in Morocco? The short answer

Our team's answer

It depends on whether Morocco treats you as tax-resident. Under the General Tax Code (2023 edition) you are if you have your permanent home or the centre of your economic interests in Morocco, or if you spend more than 183 days there in any 365-day period. Residents are taxed on worldwide income, so get advice before a long stay.

Serenity Morocco Expert Team

Travel Designer · Staff · November 2026

Ask a planner on WhatsApp

Question

Do Remote Workers Pay Tax in Morocco? The full answer

A common question when planning a trip to Morocco, answered honestly by our travel designers.

Remote workers are assessed under the same income tax rules as everyone else in Morocco’s General Tax Code. The code taxes two groups differently. People with their tax domicile in Morocco are liable to income tax on all their income and gains, from Moroccan and foreign sources. People without a tax domicile there are liable only on income from Moroccan sources. A third rule covers income that a tax treaty gives Morocco the right to tax.

The code gives three separate tests for tax domicile, and meeting any one of them is enough. You are domiciled in Morocco if your permanent home is there, if the centre of your economic interests is there, or if your stays in Morocco add up to more than 183 days in any period of 365 days, whether continuous or broken into several visits. The 365-day window is rolling, not the calendar year, so two long winters back to back can cross the line even if each calendar year looks short.

For a remote worker on a typical visit of a few weeks, paid by a foreign employer or foreign clients, and keeping a home and a life elsewhere, Moroccan income tax is usually not the issue. The questions start when you rent a flat on a long lease, spend most of the year in Morocco, or move your business there. A long-term home in Morocco may be treated as a permanent home, and that test does not depend on counting days.

Tax treaties matter. The code itself says income that a treaty assigns to Morocco is taxable there, and where a treaty exists between Morocco and your home country, it can decide which country counts you as resident if both do, and which country may tax which income. Check whether one applies to you. Your home country may also keep taxing you, in some cases even after you leave, so the answer has two sides, and it depends on your nationality and where your income comes from.

Tax is a separate question from immigration. Being tax-resident does not give you a right to stay, and the right to stay does not decide your tax position. The UK government’s travel advice, for example, says British visitors can stay up to 90 days for tourism and must ask a Moroccan police station for an extension to stay longer; check your own government’s advice and Morocco’s consulate for your nationality.

This answer only sets out the basic rule on who is taxable. It is not tax advice. Rates, deductions, the treatment of foreign pensions, social security and treaty relief all have their own rules, and the Moroccan tax administration (DGI) has published a 2026 edition of the code, organised in three books, so check the current text. Before a long stay, ask a qualified tax adviser who knows both Moroccan rules and those of your home country, and keep a record of your days in and out of Morocco, since your passport stamps may be the evidence that matters.

  • tax
  • digital nomad
  • remote work
  • tax residency
  • 183 days
  • long stay

Serenity Morocco Expert Team — Travel Designers, Serenity Morocco Tours. Answered November 2026.

Keep planning

More questions on this

Is the 183-day rule per calendar year in Morocco?

No. The tax code counts stays of more than 183 days in any period of 365 days, continuous or not, so the window rolls rather than resetting on 1 January.

Can I be tax-resident in Morocco without staying 183 days?

Yes. Having your permanent home or the centre of your economic interests in Morocco is enough on its own. Ask a tax adviser how that applies to you.

After you ask for a quote

What you get within 24 hours

Your proposal contains

  • A day-by-day route, with the driving time between stops
  • Stays matched to your style (riads, kasbahs, desert camps or hotels), named so you can look them up
  • Which moments are private to you, and which are shared, such as a camp’s dining tent
  • An itemised quote: what is included and what is not
  • Who is planning your trip, and how to reach them on WhatsApp
  • Free, with no obligation to book
Before you pay a deposit, we confirm
  • Opening days for the places on your route, including Friday and holiday closures
  • Meal stops along the way, and any dietary needs
  • Prayer or Shabbat timing, if it matters to you
  • Step-free access, wherever you need it
  • The vehicle class for your group and your luggage

Every trip is private and priced to your dates, so there is no fixed price list. Ask, and the proposal shows the full cost before anything is booked.

From the answer to the trip

One price, agreed before you fly

Rather not count dirhams at every stop? Our all-inclusive private trips put the guide, transport, entrance fees and tips into one price, agreed before you travel.

A palace courtyard in Marrakech with a tiled fountain and orange trees, photographed on one of our trips
Ask a planner on WhatsApp

A planner in Casablanca replies with a day-by-day route and a quote within 24 hours.

Free quote · Step 1 of 3

Get a free private trip plan

Who's travelling
How many
When
Free · no obligation · reply within 24 h or WhatsApp +212 701 664 704

Ask a follow-up question

Something this answer does not cover? Send us your question and our travel designers will read it.

0/500

We review every question and publish honest, expert answers — usually within a few days.