The residence permit is the least glamorous and the most important piece of moving to Morocco. Without it you are a tourist with a 90-day clock running, and with it you can open a bank account, sign a proper lease and stop counting days. Nobody explains the process clearly before you arrive, so here it is, step by step, as the law and the official procedure describe it.

Two warnings up front. First, this is a guide, not legal advice: the exact document list varies from one prefecture to another, and the only list that counts is the one the foreigners' office in your city hands you. Second, where a fee or a delay varies, I say so — check it at the prefecture before you act on it.

The foreigners' office (Bureau des Étrangers) at the police prefecture — go early, and bring originals and duplicates.


The one rule that matters: 90 days

Moroccan law — Law 02-03 of 11 November 2003, on the entry and residence of foreigners — requires any foreign national who stays in Morocco for more than 90 days to hold a residence permit. Americans, Europeans and most other visitors enter visa-free for 90 days, and the application is made inside Morocco, before those 90 days run out.

Do not leave it to the last week. The guides I checked advise starting at least two to four weeks before your 90 days expire, because gathering the documents takes longer than anyone expects, and an incomplete file is simply returned to you. There is no dedicated digital nomad visa in Morocco as of 2026: remote workers apply under the same rules as everyone else, usually in the visitor category with proof of means.

The two cards, and the receipt in between

Three documents, three different things:

DocumentWho gets itValidity
Registration card (carte d'immatriculation)First permit for a foreigner settling in Morocco: employee, student, retiree, spouse, investor, visitorUsually one year at first, renewable
Residence card (carte de résidence)After four years of regular, uninterrupted residence; spouses of Moroccan citizens can obtain it from the first applicationLong-term, renewable (up to 10 years)
Receipt (récépissé)Given when your file is acceptedProves your legal stay while the card is produced — keep it with your passport

Most people you meet will call all of them a "carte de séjour". The distinction matters at renewal time, not before.

Where you apply

You apply in person at the foreigners' office — the Bureau des Étrangers — of the police prefecture (Préfecture de Police, DGSN) in the city where you live. In smaller towns and rural areas, the same office sits at the gendarmerie. There is no online portal and no central application website: the whole process runs through the police administration, in person, in French or Arabic.

Go early in the morning, bring every document in duplicate, and bring the originals too. The office checks the file on the spot; if anything is missing, the file is handed back and you start again.

The residence permit in five steps.


The document checklist

This is the list published on Morocco's official public-services portal, service-public.ma, and reproduced by the Embassy of Qatar in Rabat and the Digital Platform for Migrants. Every prefecture applies it slightly differently, so confirm the current list at your local office before you gather anything.

  • Passport copies — the pages showing your identity, your entry stamp and your visa, if you needed one. Keep the entry stamp safe: the 90-day clock runs from it.
  • Application form, in duplicate — a white form and a yellow card, given free at the foreigners' office and filled in there.
  • Passport photos — 6 to 8 recent photos on a white background. The official list asks for eight photos of 2.5 × 2.5 cm; some prefectures accept six. Confirm at the prefecture.
  • Proof of address — a rental contract with legalised signatures, a property title, or a utility bill or a written attestation from your landlord confirming where you live.
  • Proof of means — a bank certificate or bank statements showing you can support yourself for the period of your stay. There is no published income floor in the law: approval turns on the file and the prefecture, not on a number. Guides report that bank statements, a pension, a work contract or business registration are accepted case by case.
  • Criminal record — an extract from your home country, apostilled and translated by a sworn translator, issued recently (guides say within the last three months). For renewals, a Moroccan criminal record extract is required instead, from the Central Criminal Records Department in Rabat or online.
  • Medical certificate — from a Moroccan doctor, confirming you carry no contagious disease.
  • Proof of your activity, depending on your situation:
Your situationProof usually requested
EmployeeWork contract approved by the employment authorities
RetireePension certificate and bank statements showing regular income
StudentEnrolment certificate and proof of funds
Spouse of a Moroccan citizenMarriage certificate recognised in Morocco
Business owner or investorCompany registration and tax documents
Visitor / remote workerBank statements proving sufficient means; no local employer needed

All copies must be legalised at the commune first — a stamp that costs a few dirhams and a short queue, and without it your copies are not accepted. Health insurance evidence is also requested by some prefectures, though it is not in the statute: bring proof of cover if you have it.

The money

The filing fee is 100 MAD per year of validity, paid in fiscal stamps (timbres fiscaux) at the prefecture — confirm the current amount at the prefecture, as stamp prices change. On top of that, count the cost of legalised copies, photos, the medical certificate and translations. All-in, guides put the total out-of-pocket cost at roughly $50 to $100 (Settle In Morocco), which matches what I have seen people actually spend.

The timeline

Count about 35 days in total, according to the procedure guides: roughly 20 days until you collect the receipt, then about 15 more days until the card itself is ready (Do It In Morocco). City by city, Settle In Morocco reports 2 to 4 weeks in Casablanca and Rabat, and 3 to 6 weeks in Marrakech and Tangier. These are reported timelines, not guarantees — confirm at the prefecture, and do not book a flight that depends on the card arriving on a particular day.

Renewal

Renew before the card expires, not after. Renewal needs the current card, your passport, recent photos, proof of address, proof that the reason for your stay continues, and a Moroccan criminal record extract. After four years of regular, uninterrupted residence you can apply for the long-term residence card, valid for up to ten years.

What can go wrong

Four things, all avoidable. An incomplete file is returned on the spot — check the list twice and bring duplicates of everything. Prefecture differences are real: one city asks for eight photos, another for six; one wants a bank certificate, another accepts statements. The income question has no published floor, so a thin bank file is the most common reason for a delay — bring more proof than you think you need. And the lease: a verbal arrangement is not proof of address. You need a written, legalised lease, which is also why the renting guide matters — read Renting an Apartment in Morocco: Contract, Deposit, and the Traps Nobody Mentions before you sign.

The short version: Stay longer than 90 days and you need a permit under Law 02-03. Apply in person at the foreigners' office of your city's police prefecture, before the 90 days run out. Bring your passport with its entry stamp, a legalised lease, proof of means, a criminal record from home, a medical certificate and 6–8 photos, and pay 100 MAD a year in fiscal stamps — confirm the fee at the prefecture. Expect about 35 days from filing to card in hand, longer in Marrakech and Tangier. The receipt you get when the file is accepted is your proof of legal stay until the card arrives.

Frequently asked questions

Do I need a visa before I travel?

It depends on your passport. Nationals of visa-exempt countries — including the US, Canada, the UK and most of Europe — enter visa-free for 90 days and apply for the permit inside Morocco. Nationals of countries that need a visa should apply for a long-stay visa (type D) at a Moroccan consulate before travelling, allowing two to four weeks for processing.

Can I work in Morocco on a visitor permit?

No. Working for a Moroccan employer needs the work category, with a contract approved by the employment authorities. Remote work for a foreign employer sits in a grey area: most remote workers apply in the visitor category with proof of means, and there is no remote-worker visa as of 2026. This is a guide, not legal advice — if your situation is unusual, ask a Moroccan immigration lawyer before you file.

What if my 90 days run out before the card arrives?

That is what the receipt is for. Once your file is accepted, the récépissé proves your legal stay while the card is being produced. Keep it with your passport at all times, and do not lose it — replacing it means another visit to the same office.