Financing a Moroccan Investment: Security Packages, Guarantees and Enforcement for Foreign Lenders

Korte Law - Morocco

Key takeaways: Security Packages, Guarantees and Enforcement for Foreign Lenders

Morocco’s strategic position at the crossroads of Europe and Africa, its network of free trade agreements, and its ongoing programme of regulatory modernisation have made the Kingdom one of the most attractive investment destinations on the African continent. For foreign lenders, parent companies financing Moroccan subsidiaries, and investors structuring acquisition finance, Morocco offers a well-developed—if distinctive—legal framework for secured lending. This guide provides a concise overview of the principal security instruments, guarantee structures, and enforcement mechanisms available under Moroccan law, together with practical guidance on documentation and exchange-control compliance.

The Lending Landscape

Cross-Border Loans to Moroccan Borrowers

Foreign-currency loans extended by non-resident lenders to Moroccan entities are permitted under the exchange-control regime administered by the Office des Changes, the authority established by the Dahir of 30 August 1949 that regulates all cross-border capital flows. Since the liberalisation reforms of 2007 and subsequent amendments to the Instruction Générale des Opérations de Change (IGOC), Moroccan borrowers may contract foreign-currency debt provided the loan is properly declared to the Office des Changes and the terms comply with the IGOC. Once a loan is duly registered, the borrower may remit interest payments and repay principal to the foreign lender through its Moroccan bank without further authorisation.

Exchange-Control Formalities

Every foreign-currency loan must be declared to the Office des Changes prior to or upon drawdown. The declaration dossier typically includes the signed loan agreement, a bank attestation, and details of the repayment schedule. Compliance with these formalities is a condition precedent for the Moroccan banking system to process outbound remittances of interest and principal. Lenders should ensure that the borrower’s obligations under the IGOC are reflected as conditions precedent in the facility documentation.

Intra-Group Loans and Thin-Capitalisation Rules

Shareholder loans are a common method of financing Moroccan subsidiaries, but lenders must be mindful of thin-capitalisation limits under Moroccan tax law. Article 10(II) of the Code Général des Impôts (CGI) provides that interest on shareholder loans is deductible only to the extent that (i) the aggregate amount of such loans does not exceed the company’s share capital, and (ii) the applicable interest rate does not exceed the ceiling published annually by the Ministry of Finance (arrêté du Ministre des Finances). Interest paid in excess of these thresholds is reclassified as a dividend distribution and becomes subject to withholding tax. Structuring the capital and debt mix to remain within these limits is therefore critical to preserving tax efficiency.

The Security Toolkit Under Moroccan Law

Moroccan law offers a comprehensive range of security instruments covering real property, business assets, shares, receivables, and bank accounts. The 2019 reform enacted through Law 21-18, which amended Book IV of the Dahir of Obligations and Contracts (DOC, Dahir of 12 August 1913), substantially modernised the movable security regime.

Mortgage (Hypothèque) on Titled Real Estate

The mortgage remains the most robust form of security in Morocco. Governed by the Dahir of 12 August 1913 on land registration (as amended) and Articles 157–213 of the Dahir of 2 June 1915 on real property rights, a mortgage over titled property must be registered at the Conservation Foncière (Land Registry) to be opposable to third parties. Registration creates a ranked priority based on the date of inscription, which is essential in multi-creditor scenarios. Lenders should conduct a search at the Conservation Foncière to verify title and identify prior encumbrances before accepting a mortgage.

Pledge of Business (Nantissement de Fonds de Commerce)

Articles 106–133 of Law 15-95 (the Commercial Code) govern the pledge of a going concern. The pledge covers the trade name, clientele, lease rights (droit au bail), movable equipment, patents, and licences. It must be registered at the commercial court registry (greffe du tribunal de commerce). This instrument is particularly useful where the borrower’s principal asset is its operating business rather than real estate.

Pledge of Shares

The formalities differ depending on the corporate form. For a société anonyme (SA), the pledge of shares (actions) is governed by Law 17-95 and requires a pledge agreement plus, for unlisted shares, notification to the issuer and inscription in the shareholder register. For a société à responsabilité limitée (SARL), the pledge of parts sociales is governed by Law 5-96 and requires the prior consent of partners holding at least three-quarters of the share capital, followed by notification to the company and registration. This consent requirement can be a significant structuring consideration in acquisition finance.

Pledge of Receivables and Bank Accounts

Under the reformed DOC (as amended by Law 21-18), receivables—including future receivables—may be pledged as security. Pledges over bank accounts are also recognised and are a common feature in project and acquisition finance structures. Notification to the account bank or the debtor of the receivable perfects the pledge against third parties.

The 2019 Movable Security Reform (Law 21-18)

Law 21-18 of 2019 represents a landmark reform. It created the Registre National Électronique des Sûretés Mobilières (RNESM), a centralised electronic register for movable security interests, replacing the fragmented registration regime that previously applied. The reform introduced both possessory and non-possessory pledges, permitted pledges over future assets, and modernised the pledge of receivables. Registration on the RNESM establishes priority and provides a single point of reference for due diligence searches.

Security Agent (Agent des Sûretés)

One of the most significant innovations of Law 21-18 is the introduction of the agent des sûretés, a security agent or trustee concept that allows a single designated entity to hold, manage, and enforce security on behalf of multiple creditors. This mechanism is essential for syndicated and club lending arrangements, where requiring each lender to hold and enforce its own security interest would be impractical. The security agent holds the security in its own name but for the collective benefit of the secured parties, significantly simplifying the documentation and enforcement process.

Guarantees

Cautionnement vs Autonomous Guarantee

Moroccan law recognises two principal forms of personal security. The cautionnement (suretyship), governed by Articles 1117–1169 of the DOC, is accessory in nature: the guarantor's obligation mirrors and is extinguished with the principal debt. By contrast, the garantie autonome (also known as a garantie à première demande), now codified under the Law 21-18 amendments to the DOC, is independent of the underlying obligation. A call under an autonomous guarantee triggers payment upon presentation of a compliant demand, without the guarantor being entitled to raise defences based on the underlying transaction. For foreign lenders, autonomous guarantees from creditworthy Moroccan entities provide a significantly stronger credit support mechanism than a traditional suretyship.

Parent-Company Guarantees

In cross-border financing structures, a guarantee from the foreign parent company of the Moroccan borrower is standard practice. Such guarantees are typically governed by the law of the facility agreement (English law or New York law) and are not subject to Moroccan exchange-control requirements, since the guarantor is a non-resident entity. The guarantee should be structured to cover all obligations under the facility, including principal, interest, costs, and enforcement expenses.

Exchange-Control Approval for Guarantees by Moroccan Entities

Where a Moroccan entity grants a guarantee in favour of a non-resident beneficiary, prior authorisation from the Office des Changes is required under the IGOC. This applies to both cautionnement and autonomous guarantees. Failure to obtain the requisite approval may render the guarantee unenforceable in Morocco and could expose the guarantor to regulatory sanctions. Lenders should include the Office des Changes authorisation as a condition precedent in the facility agreement.

Financial Assistance

Article 281 of Law 17-95 prohibits a société anonyme from advancing funds, granting loans, or providing security for the purpose of financing the acquisition of its own shares. A violation of this prohibition renders the offending transaction void. In the context of leveraged acquisitions, this restriction limits the ability of a target SA to upstream guarantees or grant security over its assets to support the acquisition debt, requiring careful structuring—such as the use of a post-closing merger or refinancing—to comply with the law.

Book a free intro call

Enforcement

Judicial vs Out-of-Court Realisation

Moroccan law provides for both judicial and out-of-court enforcement of security interests. Judicial enforcement, the traditional pathway, involves proceedings before the competent commercial court. For mortgage enforcement, this entails a judicial auction (vente aux enchères judiciaire) following a formal demand (commandement) served on the debtor and the expiry of a statutory waiting period.

Pacte Commissoire

The 2019 reform introduced the pacte commissoire (appropriation clause) into Moroccan law, allowing commercial parties to agree that the secured creditor may appropriate the pledged asset upon default in lieu of judicial sale. However, this mechanism is subject to important conditions: (i) it is prohibited where the debtor is a consumer; and (ii) the pledged asset must be valued by an independent expert at the time of appropriation. If the expert valuation exceeds the secured debt, the creditor must pay the surplus to the debtor. The pacte commissoire can significantly accelerate enforcement but must be carefully documented to satisfy the conditions prescribed by Law 21-18.

Practical Timeline and Costs

In practice, enforcing a mortgage through the Moroccan courts typically takes between 12 and 24 months from initiation to realisation, depending on court backlogs, debtor challenges, and the complexity of the case. Costs include court filing fees, bailiff fees, auctioneer fees, and legal costs. Lenders should factor this timeline into their credit analysis and consider the pacte commissoire or consensual realisation as alternatives where available.

Insolvency and the Automatic Stay

Law 73-17 on insolvency procedures (procédures de traitement des difficultés de l'entreprise), effective since April 2018, establishes three principal proceedings: (i) procédure de sauvegarde (safeguard), a preventive procedure for viable companies facing difficulties; (ii) redressement judiciaire (judicial reorganisation) for companies in cessation of payments; and (iii) liquidation judiciaire for companies whose recovery is manifestly impossible. Upon the opening of a safeguard or redressement procedure, an automatic stay (suspension des poursuites individuelles) is imposed. During the observation period, secured creditors cannot enforce their security interests individually. Lenders should assess insolvency risk at the outset and ensure their security package is perfected before any proceedings are commenced.

Documentation Practice

Structuring the Transaction Documents

In cross-border Moroccan financings, it is standard practice to structure the facility agreement under a foreign law—typically English law or New York law—while the security documents are governed by Moroccan law, as required for the creation and perfection of security interests over Moroccan assets. The facility agreement will contain the representations, covenants, events of default, and intercreditor provisions, while each Moroccan-law security document addresses the creation, perfection, and enforcement of a specific security interest.

Language and Notarial Formalities

Moroccan courts require Arabic, and French is commonly used in commercial practice. Security documents are typically prepared as bilingual instruments (Arabic and French) or in French with certified Arabic translations. Any document to be submitted to a Moroccan court or public registry must be accompanied by a sworn translation (traduction assermentée). Certain security documents—most notably the mortgage—must be executed before a Moroccan notary (notaire). Documents executed abroad require legalisation or apostille; Morocco has been a party to the Hague Apostille Convention since 2016, simplifying the authentication of foreign-executed documents.

Registration Duties and Stamp Taxes

Loan agreements are subject to proportional registration duty (droit d'enregistrement) under the Code de l'Enregistrement et du Timbre. The standard rate for loan agreements is typically 1.5% of the loan amount (subject to periodic revision). Security documents may also attract fixed or proportional duties depending on their nature. These costs should be factored into the transaction budget and allocated between the parties in the facility agreement.

Lender Term Sheet Checklist

Foreign lenders structuring a Moroccan financing should address the following items at the term sheet stage:

  • Office des Changes declaration: confirm borrower's obligation to register the loan and ensure conditions precedent cover exchange-control compliance.
  • Governing law: designate the facility agreement law (English/New York) and confirm Moroccan law for all security documents.
  • Security package: specify each security interest (mortgage, nantissement de fonds de commerce, share pledge, receivables pledge, bank account pledge) and the relevant perfection steps.
  • Agent des sûretés: for syndicated facilities, appoint a security agent under Law 21-18 to hold and enforce security on behalf of all lenders.
  • Guarantees: identify parent-company guarantees (foreign-law governed) and any Moroccan-entity guarantees requiring Office des Changes approval.
  • Financial assistance: confirm that the security and guarantee structure does not breach the financial assistance prohibition under Article 281 of Law 17-95.
  • Thin-capitalisation: verify that any intra-group loan complies with the limits under Article 10(II) of the CGI.
  • Notarial and language formalities: budget for notarisation, sworn translation, and apostille/legalisation of foreign-executed documents.
  • Registration duties: estimate proportional and fixed duties under the Code de l'Enregistrement et du Timbre and allocate costs.
  • Enforcement strategy: consider the availability of the pacte commissoire for commercial assets and the expected timeline for judicial enforcement.
  • Insolvency risk: assess the borrower's financial position and the impact of an automatic stay under Law 73-17 on the enforcement timeline.

Conclusion

Morocco's legal framework provides foreign lenders with a robust—though technical—set of tools for structuring and enforcing security packages. The 2019 reforms under Law 21-18, including the national register of movable securities and the security agent mechanism, represent a significant step towards international best practice. However, the interplay between exchange-control requirements, corporate law restrictions, notarial formalities, and enforcement timelines demands careful planning and experienced local counsel. A well-structured security package, supported by specialist Moroccan legal advice from the term sheet stage, remains the cornerstone of any successful cross-border financing in the Kingdom.

This guide is for general informational purposes only and does not constitute legal advice. It reflects the state of Moroccan law as of September 2026. Readers should seek qualified legal counsel before acting on any matter discussed herein.

Book a free intro call