If your passport is visa exempt, you can stay in Morocco for as long as 90 days per entry without a residence card.
To stay longer you must apply to the police for a carte d’immatriculation before day 90, and if you spend more than 183 days in Morocco in any 365 day period you also become a Moroccan tax resident.
I’m based in Marrakech, I have bought 4 properties in Morocco, and after years in Italy, Hungary and Poland I have learned that the date stamped in your passport matters as much as the date on a sale deed.
This guide is about counting days, not about whether a home gives you residency: for that question, read whether buying property gives you residency.
Quick answer
Visa exempt visitors, including UK and Canadian passport holders, and many others such as US, Australian and most EU passports, can stay up to 90 days per entry. For a planned longer stay, file for a carte d’immatriculation at the police or gendarmerie before day 90, and the receipt stands in for the card while it is processed. Overstaying can lead to a court fine and removal, with legal ranges in the thousands of dirhams rather than a fixed daily rate. More than 183 days in any 365 days makes you a Moroccan tax resident, and a permanent home or your economic interests in Morocco can do the same even below that.
This article is general information based on Moroccan law and official government pages checked on 21 October 2026, not immigration or tax advice. Rules are applied by local offices and can change, so confirm your own situation with the police, your consulate or a qualified adviser.
How long can you stay in Morocco without a visa?
Foreigners staying in Morocco for a maximum of 90 days with a valid travel document do not need to apply for a carte d’immatriculation (Law 02-03 on the entry and stay of foreigners, article 9).
The law says 90 days in article 9 but three months from entry in article 21, so the safe reading is to count your arrival day as day 1 and treat day 90 as your last day (Law 02-03, articles 9 and 21).
Anyone who wants to stay beyond that must apply for the card, and must be able to show it to the authorities within 48 hours (Law 02-03, article 8).
The UK government says British nationals can visit Morocco without a visa for up to 90 days for tourism (GOV.UK, Morocco entry requirements).
Canada says a visa is not required for stays of less than 90 days (Government of Canada, travel advice for Morocco, updated 26 May 2026).
Many other nationalities, including most EU and Gulf passports, are also visa exempt, but check your own government’s page before you travel because these lists change.
If your passport needs a visa or an electronic visa, your stay is limited to what that visa allows, so read the visa itself rather than relying on the 90 day rule.
Does the passport validity rule differ by country?
Yes, and this catches people out at check in.
The UK page asks for a passport with an expiry date at least three months after the date you arrive (GOV.UK), while Canada asks for at least six months beyond the date you expect to leave (Government of Canada).
The simple rule is to travel with at least six months of validity, especially if you might extend your stay.
Can you leave Morocco and come back to restart the 90 days?
The 90 days apply per stay: the law counts the limit from your entry and says nothing about a rolling 90 days in 180.
A visa exempt foreigner who is still in Morocco three months after entering, without a card, can be escorted to the border (Law 02-03, article 21).
But a new entry stamp is not automatic either.
At the border, police can check your means of support and your reasons for coming, and can refuse entry to someone who does not meet the conditions (Law 02-03, article 4).
The law also punishes a foreigner who resides in Morocco without a card (Law 02-03, article 43), so repeated back to back trips can be read as living in Morocco without one.
A short trip out is normal for a genuine visitor, but if Morocco has become the place you actually live, the safer route is to file for the card.

What changes when you reach day 90?
Can you extend a tourist stay?
The national police (DGSN) describe an exceptional stay authorisation for reasons beyond your control, such as force majeure, illness during your stay or other compelling reasons that stopped you leaving on time (DGSN, autorisation de séjour exceptionnel).
You file the request with the local police or Royal Gendarmerie, and the central DGSN services decide.
The UK says that to stay longer than 90 days you must request an extension at a Moroccan police station (GOV.UK), and Canada advises contacting the foreigners’ service at the local police station at least 15 days before the 90 day limit (Government of Canada).
Read together, the message is clear: an extension is for a real reason, not a way to spend the winter.
When should you file for a residence card?
If you know you want to stay longer, the normal route is the carte d’immatriculation, and the receipt for your application provisionally replaces the card (Law 02-03, article 8).
The UK says you must register with the police or gendarmerie before applying, at the foreigners’ office in big cities or the gendarmerie in small towns, and that the receipt is valid for three months while the card is prepared (GOV.UK, Living in Morocco, updated 20 February 2026).
The law also allows the authorities to require a long stay visa of more than three months before issuing the card (Law 02-03, article 15).
Some applicants are asked for one, so check with your local foreigners’ office before you travel if you already know you will stay longer.
There is also a cost: GOV.UK says you pay a fee to the officer who receives your application (GOV.UK, Living in Morocco), and residence titles are subject to stamp duty (Law 02-03, article 7), so ask the office for the current amount because we could not confirm one official figure.
The card itself gives the right to stay for one to ten years (Law 02-03, article 10).
A sensible rule of thumb, and it is only advice, is to treat day 75 as the latest safe moment to file, because the last two weeks fill up fast with appointments, photos and missing copies.
Paperwork also has a way of pulling you back to Morocco at fixed dates.
On my first purchase in Marrakech, the seller lived in America, so I paid a guarantee deposit of about €1,000 and waited roughly a month for him to fly back and sign at the notary.
It worked out, but it was risky, and for a buyer on a 90 day entry, a one month delay like that uses a third of the stay, so build the waiting time into your trip.
| Day or milestone | What it means | Source |
|---|---|---|
| Entry | The 90 day count starts for visa exempt visitors | Law 02-03, art. 21 |
| Around day 75 | Latest comfortable moment to file for a card (our advice, not a legal deadline) | Editorial advice |
| Day 90 | Limit for staying without a card | Law 02-03, arts. 9 and 21 |
| Receipt period | The receipt replaces the card while it is prepared, three months per the UK guidance | GOV.UK |
| 1 to 10 years | Validity of the carte d’immatriculation | Law 02-03, art. 10 |
| After 4 years | Uninterrupted legal residence can open the carte de résidence | Law 02-03, art. 16 |
| More than 2 years abroad | A carte de résidence is considered expired | Law 02-03, art. 18 |
| More than 183 days in any 365 | You are treated as tax resident in Morocco | Tax code, art. 23 |
What happens if you overstay in Morocco?
The law sets ranges, and the court decides the amount.
- Visa exempt and still here after three months without a card: the administration can order you escorted to the border (Law 02-03, article 21).
- Living in Morocco without a card: a fine of 5,000 to 30,000 dirhams and a prison term of one month to one year, or one of the two (Law 02-03, article 43).
- Staying beyond the length of a visa: a fine of 2,000 to 20,000 dirhams and one to six months, or one of the two, except in force majeure or with excuses accepted as valid (Law 02-03, article 42).
- Letting a card expire without asking for renewal in time: a fine of 3,000 to 10,000 dirhams and one to six months, or one of the two, again with a force majeure exception (Law 02-03, article 44).
Canada describes what this looks like in practice: a traveller who stays past 90 days will be made to remain in Morocco until seen by a prosecutor and fined (Government of Canada).
You will find daily fine figures on forums and travel sites, but they do not appear in the law, so do not plan around them.
If illness or a genuine emergency keeps you in Morocco, go to the police before day 90 and keep your medical or travel evidence.
If you are already past day 90 because of illness or force majeure, the DGSN exceptional authorisation is designed for people prevented from leaving on time, so go to the police or gendarmerie with your evidence before you go to the airport.
Already considering a property?
See the 14 Day Buyer Plan: $299 →Get 14 days of personal buyer support, three private calls and WhatsApp support.
Get help reviewing up to three properties before you commit money.
Which residence card fits an owner who wants to stay longer?
For someone who does not work in Morocco, the usual card is the carte d’immatriculation marked visiteur.
It is given to a foreigner who proves they can live on their own resources and commits not to work in a profession that needs authorisation (Law 02-03, article 13).
The UK lists 10 passport photos and 2 legalised copies of the documents, with items such as a UK police certificate, a medical certificate from a local doctor and a statement from a Moroccan bank (GOV.UK, Living in Morocco).
As an owner, your ANCFCC property certificate is a natural proof of address, and a registered lease works if you rent.
Retirees have extra questions about income and pensions, so use our full residence card document checklist for retirees.
And remember that owning the property does not, by itself, give you the card.
Is health insurance mandatory for the visiteur card?
We found no official text making it a legal condition of the visiteur card, but some local offices ask for it, and the UK simply says to make sure you have appropriate health insurance, noting there is no reciprocal health agreement with Morocco (GOV.UK).
In practice, bring a policy that covers you in Morocco: it costs less than a refused file.
When does a long stay make you a Moroccan tax resident?
A person has their tax domicile in Morocco when they have their permanent home there, the centre of their economic interests there, or when their stays, continuous or not, exceed 183 days in any period of 365 days (General Tax Code 2026, article 23).
First, it is any 365 days, not the calendar year, so a stay from October to April counts as one block.
Second, the three tests are alternatives, so an owner who keeps a home available all year may be argued to have a permanent home in Morocco even below 183 days, and that is a question for a tax adviser.
Residents are taxed on their worldwide income, while non residents are taxed on income from Moroccan sources (General Tax Code 2026, article 23).
Rent from a Moroccan property is Moroccan income either way.
The property I bought with a shop already rented for about €400 a month is a good example: that rent comes from Morocco whatever passport the owner holds or wherever they spend the year.
For how that income is taxed, read how rental income from a Moroccan property is taxed.
When two countries both claim you as a resident and a tax treaty exists between them, its tie breaker rules decide, and British readers can see how the UK and Morocco tax treaty treats pensions.
Keep in mind that a residence card and tax residence are separate: you can have one without the other.

What does this look like for a winter owner?
Here are three illustrative calendars, counting both the arrival and the departure day, since the tax code does not say how days are counted.
- Owner A: arrives on 1 November and leaves on 25 January (86 days), then returns from 10 March to 31 May (83 days), about six weeks later. That makes 169 days: neither stay reaches the 90 day limit and the 183 day test is not crossed, although the permanent home test and border questions remain possible.
- Owner B: arrives on 1 October and stays until 30 April (212 days). Owner B needs a card filed before day 90 and is over 183 days, so is likely to be a Moroccan tax resident.
- Owner C: stays from 1 October to 20 December (81 days), 15 January to 5 April (81 days) and 1 June to 15 August (76 days). No single stay goes over 90 days, but the total is 238 days in less than 365, so Owner C is likely a Moroccan tax resident, and the pattern also looks like living in Morocco without a card. Owner C should file for a card and speak to a tax adviser.
The difference between these three owners is not their property, but their calendar, and Owner C shows that you can cross 183 days without any single stay reaching 90.
Already considering a property?
See the 14 Day Buyer Plan: $299 →Get 14 days of personal buyer support, three private calls and WhatsApp support.
Get help reviewing up to three properties before you commit money.
How should owners keep track of their days?
A simple routine prevents almost every problem described above.
- Photograph every entry and exit stamp the day you get it.
- Keep a spreadsheet with a rolling 365 day total, not a calendar year total.
- Keep boarding passes and travel receipts as backup evidence.
- Set calendar reminders at day 60 and day 75 of each stay.
- If you have filed for a card, keep the receipt with your passport.
- Declare any change of address to the authorities (Law 02-03, articles 10 and 18).
- Keep income statements and your property certificate ready for any renewal.
- Decide your yearly pattern before choosing a property, not after.
If you are not sure yet how many months a year you will really spend here, consider renting first before you buy.
Frequently asked questions
Can I stay in Morocco for 6 months as a tourist?
Not on one entry. Visa exempt visitors can stay up to 90 days per entry. For a longer stay, file for a carte d’immatriculation before day 90, or split your time into separate genuine visits and accept that border police can question repeated trips.
Is there a 90 days in 180 rule in Morocco?
Moroccan law does not contain one. The limit is counted per entry under Law 02-03. However, border police can check your means and the reasons for your visit, and someone who effectively lives in Morocco without a card can be penalised.
What happens at the airport if I overstay?
You may have to stay in Morocco until you have seen a prosecutor and been fined, according to Canada’s official advice. For living in Morocco without a card, Law 02-03 sets a fine of 5,000 to 30,000 dirhams and possible prison, and the court decides the amount.
Do I become a tax resident just because I own a home in Morocco?
Not automatically. You are tax resident if you stay more than 183 days in any 365 days, or if your permanent home or the centre of your economic interests is in Morocco. A home kept available all year may matter, so ask a tax adviser.
Is health insurance mandatory for a carte de séjour?
No official text we checked makes it a legal condition of the visiteur card, but some offices ask for it and the UK advises appropriate cover. Bring a policy that covers you in Morocco, and see our retiree checklist for the full file.
Does my spouse need a separate card?
Yes. Every foreigner over 18 who stays beyond 90 days needs their own residence title, so each adult in the household files their own application.
What is the safest next step before you buy?
Decide how many days a year you will really spend in Morocco.
Then check whether that pattern needs a card, crosses 183 days or creates a permanent home, and choose the property that fits that life.
Buying first and counting later is how owners end up with a fine, a tax surprise or a home in the wrong place.
Already considering a property?
See the 14 Day Buyer Plan: $299 →Get 14 days of personal buyer support, three private calls and WhatsApp support.
Get help reviewing up to three properties before you commit money.
Anis is the founder of Buy Property Morocco, a research-based resource created to help foreign buyers understand the real process of buying property in Morocco safely.
He focuses on the practical details most buyers only discover too late: title deed checks, notary steps, compromis de vente risks, transfer taxes, foreign banking rules, repatriating money after a sale, and avoiding common mistakes when dealing with agents or sellers.
Anis has personally bought 4 properties in Morocco and shares practical guidance based on real experience, not theory.
If you are seriously considering buying property in Morocco and want private guidance before you send money, pay a deposit, or sign anything, you can book a buyer safety call here:
