Background
A non-resident, whether an individual or a company, remains taxable in Morocco on the rents and gains from its Moroccan real estate (Art. 23-I-2° and 5-I). The Finance Act (loi de finances, LF) 2026 changed a single point: how a non-resident company files and pays tax on the gain from a property. It changed nothing for rents.
What the law says
Real estate gain of an individual (Art. 61-II and 65). The net real estate gain (profit foncier) is the sale price, less selling costs, less the purchase price plus acquisition costs (15% of the price, unless higher costs are proven), works and loan interest, this cost being revalued by the coefficient for the year of acquisition. Income tax (impôt sur le revenu, IR) is 20%, in full discharge (Art. 73-II-F-6°), with a minimum of 3% of the price (Art. 144-II-1°). Being non-resident changes neither the rate nor the calculation.
Exemptions (Art. 63-II-A and B). Sales in a calendar year that do not exceed 140,000 dirhams in total are exempt. So is the home that a Moroccan resident abroad (Marocain résidant à l'étranger, MRE) keeps as a residence in Morocco, or that close relatives in the first degree occupy free of charge, for at least 5 years. This home must not have been let or used for business. The exemption applies once per period of 5 years; the sale takes place no later than one year after the home becomes vacant. Above 4,000,000 dirhams, 3% remains due on the excess (Art. 144-II-2°).
Return and payment (Art. 83-I and 173-I). The seller files and pays within 30 days of the sale, electronically (Art. 155-III and 169-III). Without a prior ruling or a tax assessment certificate, the seller makes a provisional payment of the difference between the declared tax and 5% of the price, refunded automatically if there is no reassessment (Art. 241 bis-II-C). The prior ruling (avis préalable) is requested within 30 days of the preliminary sale agreement; the answer, given within 60 days, serves as a certificate for 6 months (Art. 234 quinquies). The General Tax Code (Code général des impôts, CGI) does not require the notary to withhold this tax (Art. 139).
Non-resident company: what changed (Art. 20-III and 170-VIII). For sales made since 1 January 2026, a non-resident company with no establishment in Morocco files a return for the gain and pays corporate income tax (impôt sur les sociétés, IS) within 30 days after the month of the sale. Before, the real estate gain was included in the annual return, filed within 3 months of the year-end (Art. 20-I). The rate is 20%, or 35% if the net gains of the month reach 100,000,000 dirhams (Art. 19-I; circular note No. 737). A capital loss must also be declared.
Rents (Art. 61-I and 64). A non-resident individual is taxed like a resident: a 40% allowance, then the IR scale, or an option for 20% in full discharge (Art. 64-IV). A corporate tenant withholds 10% of the annual gross rent, or 15% from 120,000 dirhams, unless the rent is 40,000 dirhams or less (Art. 160 bis).
Tax treaties (Art. 23-I-3°). The France-Morocco treaty reserves to Morocco the income from real estate located in Morocco (Article 9); France may take it into account for the rate of its other taxes (Article 25). For another country, read its treaty, with support from a tax adviser, before the sale.
Worked example
MRE individual. A resident of France sells in June 2026, for 2,000,000 dirhams, an apartment in Casablanca bought for 1,100,000 dirhams in 2014 and let since then: no exemption. Selling costs: 40,000 dirhams. The revaluation coefficient is assumed to be 1.15.
- Acquisition costs: 1,100,000 × 15% = 165,000 dirhams (Art. 65-II).
- Revalued cost: (1,100,000 + 165,000) × 1.15 = 1,454,750 dirhams.
- Net gain: 2,000,000 − 40,000 − 1,454,750 = 505,250 dirhams.
- IR: 505,250 × 20% = 101,050 dirhams, higher than the minimum of 60,000 dirhams (3%).
The tax exceeds 5% of the price (100,000 dirhams): no provisional payment is added.
Non-resident company. A Paris company sells on 12 March 2026 a commercial unit in Rabat for 6,000,000 dirhams, bought for 3,500,000 dirhams with 250,000 dirhams of costs and 150,000 dirhams of works. Selling costs: 60,000 dirhams.
- Gain: (6,000,000 − 60,000) − (3,500,000 + 250,000 + 150,000) = 2,040,000 dirhams.
- IS: 2,040,000 × 20% = 408,000 dirhams (Art. 19-I-A), payable no later than 30 April 2026.
Penalties and risks
- Late return (Art. 184). Surcharge of 5% up to 30 days, 15% beyond, 20% for an assessment by default; minimum of 500 dirhams.
- Late payment (Art. 208-I). Penalty of 10%, or 5% up to 30 days, and surcharge of 5% for the first month then 0.50% per month or part of a month.
- Reassessment (Art. 186). Surcharge of 20%, raised to 100% for concealment in the price (minimum of 1,000 dirhams); a buyer who acknowledges the concealment is jointly liable (Art. 181-I).
- Time limit for reassessment (Art. 232-I). Until 31 December of the fourth year following the disclosure of the sale.
Key takeaways
- 20% on the real estate gain, with a minimum of 3% of the price.
- 30 days after the sale to file and pay.
- 30 days after the month of sale for a non-resident company, since 1 January 2026.
- 5 years of occupation to exempt the home kept by an MRE.
- No withholding by the notary: the seller remains liable.
Frequently asked questions
Does a non-resident pay tax on a real estate gain in Morocco? Yes. The gain on a property located in Morocco bears IR at 20%, with a minimum of 3% of the price (Art. 23-I-2°, 73-II-F-6° and 144-II-1°). The seller files and pays within 30 days of the sale (Art. 83-I and 173-I).
Is an MRE exempt when selling a home in Morocco? Yes, if the MRE keeps that home as a residence in Morocco, or close relatives in the first degree occupy it free of charge, for at least 5 years, without letting or business use (Art. 63-II-B). The exemption applies once per period of 5 years; above 4,000,000 dirhams, 3% remains due on the excess (Art. 144-II-2°).
Does the notary withhold the tax on the real estate gain of a non-resident seller? No. The seller files and pays within 30 days of the sale (Art. 83-I and 173-I). The notary reads the rules to the parties and requires the certificate of payment of the taxes on the property (Art. 139-IV and VI). Withholding at source only applies to expropriation and court-ordered transfers (Art. 160 quater).
What is the deadline for a foreign company selling property in Morocco? A non-resident company with no establishment in Morocco files and pays the tax within 30 days after the month of the sale, for sales made since 1 January 2026 (Art. 20-III and 170-VIII). The rate is 20%, or 35% from 100,000,000 dirhams of net gains in the month (Art. 19-I).
CM2A advice
Before the preliminary agreement, the seller gathers the purchase deed, invoices for works and interest statements: without supporting documents, these deductions are lost. To secure the calculation, the seller requests a prior ruling. CM2A Consulting assists non-resident sellers with calculating the real estate gains tax and filing returns.
Sources: CGI 2026, Art. 5, 19, 20, 23, 61, 63, 64, 65, 73, 83, 139, 144, 155, 160 bis, 160 quater, 169, 170, 173, 181, 184, 186, 208, 232, 234 quinquies and 241 bis; CGI 2025, Art. 20; DGI circular note No. 737; France-Morocco tax treaty, Articles 9 and 25. General information up to date as at 22 November 2026; it does not replace advice tailored to your situation.
