Country rules

Morocco tax residency: the 183-day rule

How many days you can spend in Morocco before you may become tax resident, how a day is counted, and where the rule comes from — with the date we last checked it.

ThresholdMore than 183 days (maximum)
PeriodAny rolling 12-month period
How a day countsAny day you are present for any part of it counts as a whole day, including the days you arrive and leave.
Last reviewed2 June 2026

Source: the tax authority's published guidance · last reviewed 2 June 2026

Count your daysHow Sojourn keeps the count

Sojourn is a record-keeping tool, not tax advice. This page summarises public guidance and does not cover every case. Confirm your position with a qualified tax advisor in Morocco.

How Morocco counts your days

You become tax resident in Morocco once you are present for more than 183 days in any rolling 12-month period. Any day on which you are physically present in Morocco for any part of the day counts as a full day (arrival and departure days included).

What the day count does not tell you

You are tax resident in Morocco if you spend more than 183 days in any 365 days, or have a permanent home there, or the centre of your economic interests is there (CGI Art.23). Summarised from the official source linked on this page. Confirm with a tax advisor in Morocco before relying on it.

Proving residency

Morocco issues a Tax Residency Certificate through its tax authority. Request it from the official service.

Other day-count rules for Morocco

Common questions

How many days can I spend in Morocco before I become tax resident?

More than 183 (rolling 12 months), counted over any rolling 12-month period.

How does Morocco count a day?

Any day you are present for any part of it counts as a whole day, including the days you arrive and leave.