Key points
- Foreigners can buy titled residential and commercial property in Morocco with the same ownership rights as Moroccans. No residency or local partner is needed.
- The main restriction is agricultural land outside urban areas, which foreigners can only acquire for a non-agricultural project with a special certificate.
- Budget roughly 6% to 8% of the price for taxes and fees, plus 2% to 3% if you use an estate agent.
- Pay with money transferred from abroad through a convertible dirham account. This is what protects your right to take the sale proceeds out of Morocco later.
- When you sell, capital gains are taxed at 20% of the net gain, with a minimum of 3% of the sale price.
Whether it is a riad in Marrakech, a sea-view flat in Tangier or an apartment in Casablanca, “can foreigners buy property in Morocco?” is one of the most common questions Europeans and North Americans ask about the kingdom. The short answer is yes, and the process is more familiar than many expect: a notary handles the sale, a national land registry records ownership, and the taxes are published in advance. The traps lie in the details, from untitled land to currency rules. This guide walks through them, based on the rules in force in 2026.
Can foreigners legally buy property in Morocco?
Yes. Moroccan law allows foreign individuals and foreign-owned companies to buy apartments, villas, riads, offices, shops and urban building plots. You do not need a residence permit, a visa beyond your normal entry rights, or a Moroccan co-owner, and the tax rates are the same whatever your nationality.
Ownership does not, however, give you a right to live in Morocco. Most Western visitors can stay up to 90 days without a visa; longer stays require a residence card (carte de séjour), which is a separate procedure.
The exception: agricultural land
Since the 1970s, Moroccan law has barred foreigners from buying agricultural land located wholly or partly outside urban areas. The legal route around this is a certificate of non-agricultural vocation (often called VNA or AVNA), issued by the regional governor on the advice of the regional investment commission. It is tied to a specific project, such as a guesthouse, an eco-lodge or a factory, and is not granted for land with high farming potential. In practice, a foreigner cannot simply buy a farm or an olive grove to own it as farmland. If a rural plot is offered to you, check its status before anything else.
Titled or untitled? The most important check
Moroccan property comes in two broad legal forms:
- Titled property (titre foncier): registered with the national land registry, the Conservation Foncière, run by the ANCFCC. The title shows the owner, the surface area and any mortgages or claims. Most new-build apartments and urban villas are titled. This is the safest form of ownership.
- Untitled property (melkia): ownership is proven by traditional deeds drawn up by adouls (traditional notaries) and witnesses, without registration in the land registry. Melkia is common in old medinas and rural areas, including many riads. It can be legitimate, but disputes over inheritance and boundaries are more likely.
For a foreign buyer, the safest approach is to buy titled property, or to make titling of a melkia property a condition of the sale before you pay the balance. Ask the notary for a recent certificate from the land registry (certificat de propriété) showing that the seller owns the property free of mortgages and claims.
The buying process step by step
1. Open a convertible dirham account
Before you send any money, open a convertible dirham account (or a foreign-currency account) with a Moroccan bank. Morocco controls capital movements through the Office des Changes. Money that arrives from abroad in foreign currency, through this kind of account, can later be transferred back out. Money paid in local cash, or through an ordinary resident account, may not.
2. Choose a notary and check the property
Titled property is sold before a notaire, a state-regulated legal professional who drafts the deed, checks the title, collects the taxes and registers the sale. The notary acts for the transaction rather than for you alone, so many foreign buyers also hire an independent lawyer. Check planning and building permits, any co-ownership (syndic) charges and unpaid local taxes, and, for older houses, have a surveyor inspect the structure.
3. Sign the preliminary agreement
Buyer and seller usually sign a preliminary sale agreement (compromis de vente) and the buyer pays a deposit, commonly around 10%, held by the notary. The agreement should set the price, the completion date and conditions such as obtaining a mortgage or a clean title certificate.
4. Sign the final deed and pay
At completion, both parties sign the final deed (acte de vente) before the notary, and the buyer pays the balance and the purchase costs. The notary registers the investment with the Office des Changes using the bank’s proof that the money came from abroad. Keep every transfer confirmation for as long as you own the property.
5. Registration in your name
The notary pays the registration duty to the tax authority (DGI) and files the deed with the land registry. You become the legal owner once the transfer is recorded on the title. From first offer to registration, the process often takes two to four months.
If you cannot travel, you can sign through a power of attorney drawn up in your home country and legalised by a Moroccan consulate. Make it specific to the property and the price.
How much does it cost to buy property in Morocco?
On top of the price, buyers of existing residential property typically pay:
- Registration duty (droits d’enregistrement): 4% of the price for most residential property, paid to the DGI. Different rates apply to some other categories, such as land.
- Land registry fee: 1.5% of the price plus small fixed charges, paid to the ANCFCC.
- Notary fees: roughly 0.5% to 1.5% of the price on a regulated scale, plus VAT.
- Stamps and administrative costs: usually a small fraction of a percent.
- Estate agent: commonly 2% to 3% plus VAT, depending on who pays under the agreement.
As a rule of thumb, expect total buying costs of about 6% to 8% without an agent and 8% to 10% with one. On a MAD 2 million apartment, that means roughly MAD 120,000 to 200,000. For new builds bought from a developer, VAT is included in the sale price.
Owners also pay annual local taxes on the property (housing and municipal services taxes), and rental income from Moroccan property is taxable in Morocco.
Can you get a mortgage?
Several Moroccan banks lend to foreign buyers, including non-residents, usually for part of the price and against proof of income. Rates and conditions vary widely between banks. Be aware that the part of the purchase financed by a Moroccan dirham loan does not count as money brought from abroad, which can affect how much of the sale proceeds you can later transfer out freely. Discuss this with your bank and notary before signing.
Selling and repatriating your money
When you sell, the gain is subject to the real estate profits tax (TPI) at 20% of the net gain, with a minimum of 3% of the sale price even if you make no profit. The net gain is calculated after adjusting the purchase price and deducting purchase costs and qualifying improvement work, so keep all invoices. A main home occupied for more than five years can be exempt, within limits set by the tax code. Depending on your country of residence, a tax treaty may also apply.
If you bought with foreign currency registered with the Office des Changes, you benefit from a repatriation guarantee: after paying tax, you can transfer the sale proceeds, including the gain, back abroad. If the purchase was not financed this way, non-resident sellers generally face a slower, staggered transfer over several years. This is why the convertible account in step one matters so much.
Where foreigners buy
Marrakech remains the first choice for many European buyers, for riads in the medina and villas in the palm grove, a market driven by tourism, as we explain in our guide to what makes Marrakech exceptional. Tangier attracts buyers looking for a Mediterranean base close to Spain, Casablanca and Rabat suit those working in Morocco, and Essaouira, Agadir and Taghazout appeal to sea and surf lovers. For the latest price trends, read our analysis of Morocco’s property market in 2026, and for wider context on living and travelling in the country, our look at safety in Morocco.
FAQ
Can a foreigner buy a house in Morocco without living there?
Yes. Non-residents can buy titled residential property. Residency is not required, but owning property does not give you the right to stay longer than your visa rules allow.
Can foreigners buy land in Morocco?
Foreigners can buy urban building plots. Agricultural land outside urban areas can only be acquired for a non-agricultural project with a certificate of non-agricultural vocation.
What are the total costs of buying property in Morocco?
Usually about 6% to 8% of the price in taxes and fees: 4% registration duty, 1.5% land registry fee, notary fees and small charges. Add 2% to 3% if you pay an estate agent.
Do I need a lawyer as well as a notary?
It is not compulsory for titled property, but many foreign buyers hire an independent lawyer, especially for medina riads, untitled property or complex deals.
Can I take my money out when I sell?
Yes, if you bought with foreign currency transferred from abroad and the investment was registered with the Office des Changes. Keep all bank and notary documents to prove it.
This guide reflects the rules in force in November 2026. Tax rates, fees and exchange-control rules change; confirm your situation with a Moroccan notary, lawyer or tax adviser before you buy.
Photo: Ty Terrasso / Wikimedia Commons (CC BY 2.0)
