Skip to content
EN

Moroccans living abroad: tax on selling a property in Morocco

A Moroccan living abroad who sells an apartment, a house or a plot of land located in Morocco is taxed in Morocco on the gain made. The rules are those of the General Tax Code, supplemented where appropriate by the tax treaty concluded with the country of residence.

A tax due in Morocco, even without living there

A person whose tax domicile is not in Morocco remains taxable there on Moroccan-source income (Article 23). The sale of a property located in Morocco falls under real estate gains (Article 61). The treaty between France and Morocco, for example, allocates this gain to the State in which the property is located.

Calculating the tax

The gain is the difference between the sale price, net of selling costs, and the acquisition price increased by costs — a flat 15% or actual costs if higher —, capital expenditure and, where applicable, loan interest, then revalued (Article 65). It is taxed at 20% (Article 73), with a minimum of 3% of the sale price provided for by Article 144, subject to the exceptions in the text.

Exemptions to examine

The exemptions in Article 63 should be examined, in particular the sale of a dwelling occupied as a main residence for at least five years and sales whose annual total does not exceed 140,000 dirhams. For an MRE who occupies the dwelling only during stays in Morocco, the main residence condition is a question of fact to be checked carefully: see the article on the main residence exemption.

Filing, payment and the notary's role

The seller declares the sale and pays the tax within thirty days of the sale (Articles 83 and 173). Notaries, adouls and other public officers are jointly liable with the taxpayer for taxes encumbering the property: they require a certificate of payment before drawing up the deed (Debt Collection Code, Article 95).

Where the seller lives abroad, it is advisable to appoint in advance the person who will represent them and to gather evidence of the acquisition and works before setting the price.

And in the country of residence?

The country of residence may also take the gain into account, under its own law and the applicable tax treaty, which provides ways to avoid double taxation. This aspect falls under that country's tax law and should be checked with an adviser established there.

Getting advice on your situation

This article presents general rules. For a specific case, see the real estate taxation page or consult the firm.

Published on 23 November 2026. Texts cited: General Tax Code, 2026 edition published by the Directorate General of Taxes (Articles 23, 61, 63, 65, 73, 83, 144 and 173); Law No. 15-97 enacting the Public Debt Collection Code, consolidated version of 25 December 2023 (Article 95).

A question about your case?

Present your request using the form below or write to the firm on WhatsApp to arrange a meeting at the firm, in central Casablanca. No documents are sent through the form.

Contact the firm on WhatsApp

Contact and appointments

Your request

This form needs JavaScript to be sent. You can contact the firm directly on WhatsApp.

Contact the firm on WhatsApp
WhatsApp Appointment