
You paid a deposit to reserve an apartment or a plot; then the seller backed out because he found a better offer, the bank refused the loan, or you discovered the property was mortgaged. Each side claims the money. The Code of Obligations and Contracts settles the matter in three short articles, and the answer turns on a single question: who caused the contract not to be performed?
Update (November 2026): since Law 41.25 (Official Bulletin of 16 July 2026), article 4 of the Code of Real Rights requires an authentic deed (notary or adouls) for any act transferring ownership of real property or creating, modifying or extinguishing a real right, including a promise of sale and a special power of attorney for such acts; a deed of certain date drawn up by a lawyer is no longer accepted. Acts concluded earlier are assessed under the law in force when they were made.
What a deposit (arrhes) is under Moroccan law
“Arrhes are what one contracting party gives the other to secure the performance of its undertaking” (art. 288 of the Code). It is a security, not a price, and its fate follows three rules:
- If the contract is performed, the deposit is deducted from the price (art. 289).
- If the contract is cancelled by mutual agreement, it must be returned (art. 289).
- If performance becomes impossible, or the contract is terminated, through the fault of the party who paid the deposit, the recipient may keep it, and need only return it after receiving whatever compensation the court awards (art. 290).
In other words, a deposit is lost only by the party at fault. Conversely, if the seller is the one who backs out or defaults, he has no right to keep it.
The most common situations
- The seller backs out. Validly formed contractual obligations have the force of law between the parties and can be revoked only by mutual consent (art. 230). The buyer may demand performance of the sale while it remains possible, or termination with return of the deposit and damages (art. 259). If the agreement is enough for the sale to be complete, an action to complete the sale is available.
- The buyer withdraws without reason. The seller keeps the deposit (art. 290), and may claim further compensation if he proves a greater loss.
- The bank refuses the loan. It all depends on what was written: a condition precedent of obtaining the loan protects a buyer who applied in earnest; without it, the debate turns on the buyer’s fault.
- A defect in the property or its legal status (mortgage, seizure, protective registration, unauthorised construction, property not owned by the seller). Non-performance is not attributable to the buyer and the deposit is returned. If the seller knew and concealed it, the file may become a fraud complaint.
- Cancellation by agreement. Full repayment (art. 289); put the cancellation and the repayment receipt in writing.
Recovering the deposit in practice
- A formal notice served by a bailiff demanding repayment within a set time. Many files end here.
- An action for payment, or for termination with repayment, before the court of first instance, with damages for delay where appropriate (art. 263).
- A protective attachment on the seller’s funds or property if there is a risk they will be dissipated.
Actions arising from an obligation are generally time-barred after fifteen years (art. 387), but waiting weakens the evidence and makes it easier for the property to be sold to someone else.
Wording the deposit clause to avoid a dispute
- Pay by bank transfer or cheque, never in cash.
- Identify the property by its land-title number, the price, and the date for signing the final deed.
- Write down the cases of repayment: loan refusal, mortgage or seizure, failure to hand over documents.
- Insist on a recent certificate of ownership before paying; see checking your land title.
- For an off-plan purchase, advance payments follow special rules; see off-plan purchases.
The firm handles these disputes before the Casablanca courts, and the file can be opened remotely for residents abroad. See the real-estate disputes page.
What to prepare before you consult
- The promise of sale or the receipt recording the deposit.
- Proof of payment: transfer, cheque, signed receipt.
- The date agreed for the final sale.
- The messages showing who withdrew and why.
- The bank’s loan refusal, if that is why the sale fell through.
Clear photos are enough for a first exchange; originals are requested when needed.
Frequently asked questions
The seller backed out after taking the deposit. Do I only get the amount back?
The deposit must be returned where the contract is not performed for a reason not attributable to the person who paid it, and the buyer may also claim performance of the sale if still possible, or damages (articles 259 and 263 of the Code of Obligations and Contracts). Moroccan law has no general rule of returning the deposit "double": that depends on what was agreed in writing.
The bank refused my loan. Do I lose the deposit?
If the promise of sale contains a condition precedent of obtaining the loan, and you applied in earnest and were refused, the sale is not formed and the deposit is returned. Without that clause, the dispute turns on whose fault caused the non-performance, and the seller may keep the deposit under article 290. The loan condition must therefore be written down.
Is a simple receipt enough to prove the deposit?
A receipt proves payment but does not set the conditions for repayment. It is better to pay by transfer or cheque, backed by a written promise of sale specifying the property, price, deadline and cases of repayment. The property sale itself must be made by authentic deed (art. 489 of the Code of Obligations and art. 4 of the Code of Real Rights).
This article is general information, not legal advice. Every matter has its own facts and calls for its own assessment.

