Morocco's real estate sector is attracting growing interest from foreign investors and individuals seeking to purchase property or invest in its dynamic market. The Kingdom's economic stability, strategic location, and diverse real estate opportunities — spanning residential, tourism, and commercial segments — make it an increasingly appealing destination. Moroccan legislation provides a comprehensive legal framework that safeguards property rights and secures transactions for all parties involved.
What Every Foreigner Must Know Before Buying Property in Morocco
I. Can Foreigners Own Property in Morocco?
Moroccan law generally permits foreigners to own real estate within the Kingdom, whether for residential, investment, or commercial purposes, unless a specific legal provision restricts this right in relation to certain types of property or land. Foreign owners enjoy the same legal protection afforded to Moroccan citizens under the rules governing real rights and property ownership.
Properties that foreigners are typically permitted to acquire include:
Residential apartments, villas, and houses
Commercial premises and offices
Building plots within urban development zones
⚠ Key Exception — Agricultural Land
Moroccan legislation imposes restrictions on foreign ownership of land classified as agricultural. It is therefore essential to verify the legal classification of any property — urban or agricultural — before completing any purchase transaction.
II. The Legal Framework Governing Property Ownership
Code of Real Rights — Law No. 39.08
The Primary Reference for Property Ownership
The Code of Real Rights serves as the foundational legislative reference for property ownership and real rights in Morocco. It governs the acquisition, transfer, creation, and termination of ownership, and regulates the right of ownership, usufruct, use and habitation rights, property easements, mortgages, and ancillary and original real rights.
Land Registration Law — No. 14.07
Securing the Legal Status of Property
The Dahir of 12 August 1913, as amended and supplemented by Law No. 14.07, governs Morocco's land registration system and its legal effects. Its purpose is to grant property a stable legal status and officially and definitively establish its owner and associated rights. The Land Title (Rasm Aqari) is the official document recognised as proof of ownership for registered properties.
Law of Obligations and Contracts
The Contractual Framework for Sale and Purchase
This law governs the contractual aspects of property transactions, defining the conditions for contract validity, their effects, and the mutual obligations of buyer and seller. It also addresses civil liability and compensation in cases of breach of contractual obligations.
III. The Importance of Land Registration Prior to Purchase
Land registration represents one of the most important legal safeguards for the foreign investor, as it subjects the property to a stable legal regime that guarantees clarity of ownership and associated rights. Before proceeding with any purchase, buyers should confirm:
The existence of a valid and current Land Title (Rasm Aqari)
Consistency between the property's actual description and the Land Title records
The absence of mortgages, attachments, or encumbrances registered against the property
The accuracy of the property's legal boundaries and area
IV. Legal Form Requirements for Property Sale Contracts
Moroccan legislation attaches considerable importance to formality in property transactions. Article 4 of the Code of Real Rights stipulates that acts involving the transfer of property ownership, or the creation, modification, or extinguishment of real rights, must be drawn up in an official deed or in the legally prescribed form — failing which they shall be void. This requirement extends to promises of sale and special powers of attorney relating thereto.
⚠ Legal Warning
Informal contracts that fail to meet the prescribed legal requirements may expose the parties to serious legal risks, including nullification of the contract and loss of rights. Signing a preliminary sale agreement alone is insufficient without completing the remaining legally mandated procedures.
V. Registration on the Land Title and Its Legal Effect
For registered properties, executing a sale contract alone is insufficient to transfer ownership. The right must be registered and annotated on the Land Title at the Land Registry (Conservation Foncière). This registration is one of the most important legal safeguards, as it renders the right enforceable against third parties and protects the new owner from future disputes.
VI. The Practical Steps for Purchasing Property in Morocco
A property purchase transaction typically involves the following stages, all of which are essential to ensure the validity of the transaction and the protection of the buyer's rights:
01
Examine the Legal Status of the Property
Verify the property's nature, classification, and administrative and urban planning status before undertaking any commitment.
02
Obtain the Ownership Certificate or Land Title
Request an up-to-date copy of the Land Title to confirm the identity of the rightful owner and ensure the property is free from disputes.
03
Verify Encumbrances, Mortgages, and Charges
Review the land registry records to confirm the property is free from any registered mortgages, attachments, or encumbrances.
04
Agree on the Price and Terms of Sale
Clearly define all terms of the transaction before proceeding to draft the formal contract.
05
Draft the Contract in the Legally Prescribed Form
Execute the sale contract in official form before a licensed notary, in compliance with the requirements of the Code of Real Rights.
06
Pay the Required Fees and Legal Duties
Settle all registration fees, taxes, and legal duties prescribed by law to complete the ownership transfer process.
07
Submit the Contract for Registration
File the contract with the competent authorities for official endorsement and registration.
08
Annotate Ownership on the Land Title
The final and most critical step to legally transfer ownership and render the right enforceable against all third parties.
VII. Special Restrictions on Agricultural Land
Certain categories of land in Morocco are subject to special legal regimes that restrict foreign ownership, most notably land of an agricultural nature. Foreign investors are therefore required to verify in advance:
The precise legal nature and classification of the property
Its designated purpose according to official urban planning documents
Its full legal and administrative status
Whether it may be acquired by a foreigner under applicable regulations
VIII. Legal Guidance for the Foreign Investor
Never Rely on Verbal Agreements
Any agreement not formally documented carries no legal weight. Informal contracts may be subject to nullification under Moroccan law.
Request an Up-to-Date Land Title
Ensure that the property's actual description matches the data recorded in the official Land Title (Rasm Aqari).
Verify the Property Is Free from Disputes
Review land registry records to confirm there are no pending legal proceedings, mortgages, or attachments registered against the property.
Review Urban Planning Documents for Land
Confirm the urban or agricultural classification of the land prior to purchase, particularly if you intend to build on it.
Engage a Specialist Notary or Lawyer
Retaining professionals with expertise in Moroccan property law is a fundamental safeguard against legal risks and a key protection for your investment.
Follow Through on Registration and Annotation
Do not stop at signing the contract. Ensure that the registration and annotation of ownership on the Land Title are fully completed.
Retain All Documents and Records
Keep copies of all contracts, documents, and proof of financial transfers throughout every stage of the transaction.
IX. Frequently Asked Questions
Can a foreigner purchase an apartment or villa in Morocco?
Yes. Moroccan law permits foreigners to acquire residential and commercial properties in accordance with the applicable legal procedures. Foreign owners enjoy the same legal protection as Moroccan citizens in matters of property ownership, provided the legally prescribed contractual form is observed.
Is signing a sale contract sufficient to transfer ownership?
No. For registered properties, the right must be annotated on the Land Title at the Land Registry (Conservation Foncière) in order to take full legal effect and become enforceable against third parties. Signing the contract alone does not legally transfer ownership.
Why are registered properties preferable?
Registered properties afford the highest degree of legal protection, providing clarity of ownership and associated rights. The Land Title officially establishes the owner, boundaries, area, and rights pertaining to the property, significantly reducing the risk of future disputes.
Can a foreigner purchase land to build a villa or residential project?
Yes, provided the land is designated for construction and complies with applicable urban planning documents and regulations, and is not subject to agricultural land restrictions. Legal confirmation of the land's classification is strongly advised before completing the transaction.
What are the legal risks of informal, non-official contracts?
Under Article 4 of the Code of Real Rights, contracts that fail to comply with the prescribed legal form are subject to nullity, which may result in the loss of rights and financial resources expended. Property sale contracts must always be executed in official form before a licensed notary.
Are agricultural lands subject to special restrictions for foreign buyers?
Yes. Moroccan legislation imposes specific restrictions on foreign ownership of land classified as agricultural. Prior verification of the property's legal classification and its designated purpose according to official urban planning documents is mandatory before completing any purchase.
Specialised Legal Consultation
Considering buying property in Morocco and need legal guidance?
Cross-border real estate transactions involve legal complexities that require careful analysis and specialist oversight. The team at Awad Al Mehiri Law Office is ready to advise and guide you every step of the way.
✓
Reviewing the legal status of the property and assessing associated risks
✓
Providing legal advice prior to signing any contract or agreement
✓
Managing registration, notarisation, and land title annotation procedures
✓
Protecting your rights and securing the integrity of your real estate investment
Contact Awad Al Mehiri Law Office for expert legal counsel and to take the necessary steps to safeguard your rights.
Disclaimer
The information contained in this article is of a general legal and informational nature, and is based on the Moroccan Code of Real Rights (Law No. 39.08), the Land Registration Law (Law No. 14.07), and the Law of Obligations and Contracts. It does not constitute specialised legal advice and should not be relied upon as the sole basis for any legal decision. Legal situations vary according to their specific circumstances and facts. Readers are advised to consult a qualified legal specialist to obtain advice tailored to their individual situation.