Pursuant to the provisions of the Dahir dated 23 April 1975 relating to the purchase of agricultural land in rural areas, foreign individuals, or entities whose share capital is held at least in part by foreign entities, were not allowed to acquire agricultural land for agricultural purposes. The acquisition of agricultural land located outside urban areas was permitted only for non-agricultural needs. Foreigners couldy lease agricultural land for up to 99 years according to the Moroccan authorities.
Since 2021, following the adoption of the new Law No 62-19 dated 14 July 2021 promulgating special provisions relating to the acquisition of agricultural lands by joint-stock companies (sociétés anonymes) or limited liability partnerships (sociétés en commandite par actions), such companies have been allowed to acquire agricultural lands intended for agricultural purposes, even if they are held by foreigners.
"Chapter I [...]
First article
The provisions of article 1 of the dahir carrying law n°1-73-645 of 11 rebia II 1395 (April 23, 1975) relating to the acquisition of agricultural or agricultural properties outside urban perimeters, as it has been modified and supplemented, are modified and supplemented as follows:
" First article. – The acquisition of agricultural properties “or for agricultural purposes located, in whole or in part, outside the urban perimeters is reserved for the following “Moroccan natural persons or legal persons subject to” Moroccan legislation:
  – the State;
 – ………………………. ;
 – ………………………..;
 – …………………………. ;
 – Soulaliyate communities governed by the provisions of “Law No. 62-17 on administrative supervision of Soulaliyate communities and the management of their property;
– ……………………………..;
– ………………………………;
– public limited companies and partnerships limited by shares, subject to the provisions of article 2 below;
– other legal entities under private law whose associates or members are Moroccan individuals. ".
Section 2
The provisions of article 2 of the Dahir carrying the aforementioned law n° 1-73-645 are repealed and replaced as follows:
“Article 2. – Public limited companies and partnerships limited by shares provided for in Article 1 above, wishing to acquire agricultural or agricultural properties outside urban perimeters, are required to comply with the following:
– that the agricultural or agricultural property, object of the acquisition is eligible for sale and registered or in the process of registration;
 – that the property in question is intended for agricultural investment;
– obtain the prior agreement for the acquisition from the unified regional investment commission provided for by law n° 47-18 on the reform of regional investment centers and the creation of unified regional investment commissions, promulgated by the dahir n° 1-19-18 of 7 joumada II 1440 (February 13, 2019), on the basis of the conditions and formalities provided for in the sales contract and in the specifications, of which their models and the related documents are fixed by regulatory route. The property in question remains subject to the conditions prohibiting assignment, mortgage, seizure and rental, until the beneficiary company has obtained the release certificate, in accordance with the provisions of this law.
However, the unified regional commission of investment can give its authorization to public limited companies and partnerships limited by shares having obtained the prior agreement of the acquisition, to mortgage the property to benefit from a loan intended for the financing of the project. which takes into consideration the value of the property and the cost of the investments to be made above.
[...]
Notwithstanding the provisions of article 2 of the dahir carrying law n°1-73-213 of 26 Moharrem 1393 (March 2, 1973) relating to the transfer to the State of the ownership of agricultural or agricultural buildings belonging to natural persons foreigners or legal persons, the ownership of the property concerned is transferred to the State following its request, according to its situation on the date of the conclusion of the acquisition contract. The land registrar makes public the transfer of the aforementioned property in the land title or in the application for registration of the property concerned, on the basis of the decision of the commission having pronounced the withdrawal of the agreement, and this, after accomplishment of notification. If the State renounces the transfer, on its own account, of the ownership of the property, the property is sold at public auction.
[...]
Chapter II [...]
Section 4
The provisions of article 7 of the dahir carrying law n°1-73-213 of 26 moharrem 1393 (March 2, 1973) relating to the transfer to the State of the ownership of agricultural or agricultural buildings belonging to foreign natural persons or to legal persons, as amended and supplemented, are amended and supplemented as follows:
“Article 7. – The provisions of this dahir do not apply:
1- to public establishments ………… to Soulaliyate communities governed by the provisions of Law No. 62-17 relating to the administrative supervision of Soulaliyate communities and the management of their property
2 -………………………………………;
3 -………………………………………;
4- public limited companies and partnerships limited by shares which have acquired agricultural or agricultural properties in accordance with the conditions provided for by articles 1 and 2 of the dahir laying down law n ° 1-73-645 of 11 rebia II 1395 (23 April 1975) relating to the acquisition of agricultural or agricultural properties outside urban perimeters.[...]" (Dahir No. 1-21-70 of 3 hija 1442 (July 14, 2021) promulgating Law No. 62-19 enacting special provisions relating to the acquisition by public limited companies or partnerships limited by shares, of properties agricultural or with an agricultural vocation outside the urban perimeters [google translation])
----------------------------
Previously up to 2020
----------------------------
"Article 1
The acquisition of agricultural or cultivable real estate located in whole or in part outside urban circles is reserved for the Moroccan natural or legal persons as follows:
The state ;
Local groups ;
public institutions;
The communes in progress are subject to the requirements of the Sharif Decree issued on Rajab 26 1337 (April 27, 1919) regulating the administrative guardianship over the communes and controlling the assignment and management of communal property;
natural persons;
Agricultural cooperative companies, whose members are Moroccans only, as well as their unions;
Legal persons subject to private law, whose partners or members are Moroccan natural persons, with the exception of companies with shares.[...]" (Decree concerning the acquisition of agricultural properties or land for agricultural use outside urban areas (No. 1-73-645  of 23 April 1975), Article 1 [google translation])
Decree No. 1-21-70 of 3 hija 1442 (July 14, 2021) promulgating Law No. 62-19 enacting special provisions relating to the acquisition by public limited companies or partnerships limited by shares, of properties agricultural or with an agricultural vocation outside the urban perimeters [google translation]
Decree concerning the acquisition of agricultural properties or land for agricultural use outside urban areas (No. 1-73-645  of 23 April 1975), Article 1 [google translation]
[<a href="https://faolex.fao.org/docs/pdf/mor206357.pdf">Decree</a>],[<a href="https://adala.justice.gov.ma/reference/html/Fr/115648.htm">Decree</a>],[<a href="https://practiceguides.chambers.com/practice-guides/comparison/664/8754/14000-14005-14017-14028-14036-14042-14065-14073">Other</a>]