Repatriating Money After Selling Property in Morocco: What I Wish Someone Had Told Me

I sold an apartment in Casablanca in 2021 and spent three months trying to figure out how to get my money back to Europe. Nobody warned me how complicated it would be. Banks gave me conflicting information. One notary told me I didn’t need anything special. He was wrong.

If you’re looking at repatriating money after selling property in Morocco, this guide is the one I needed back then. I’m going to walk you through exactly how it works, what it costs, where people get stuck, and the things most articles completely skip over.

In a few words…

If you’re a foreigner selling property in Morocco, getting your money out is NOT automatic.
Many buyers make mistakes that delay or even block transfers.
Here’s exactly how to repatriate your funds safely and legally.


Why Getting Your Money Out of Morocco Is Not Straightforward

Marrakech

Morocco has exchange controls. That’s the core of everything.

The Office des Changes (Office of Foreign Exchange) governs all cross-border movement of money in and out of the country. Unlike Spain or France, where you sell, you transfer, and you’re done, Morocco requires you to prove that the money you want to take out is legitimately yours and was brought in legally.

This surprises many foreign buyers.

They assume that because they wired money into Morocco to buy the property, wiring it back out is just the reverse process. It isn’t.

The good news is that repatriation is absolutely legal and the Moroccan government actively supports it for non-resident investors. The system exists. It just has rules.

The Office des Changes is Morocco’s official foreign exchange authority, operating under the Ministry of Economy and Finance.

It publishes the legal framework for all cross-border capital movements, including repatriation rights for foreign investors, in its Instruction Générale des Opérations de Change (IGOC).

The most relevant document for property sellers is Circular No. 1723, which governs the transfer of investment proceeds abroad.

You can consult the official regulations at officedeschanges.gov.ma.

Understanding that this is a regulatory framework, not a bank policy, is important because it means the rules are the same across every bank.

What differs is how well individual branches apply them.


Who Can Actually Repatriate Funds?

This is the first thing to get straight.

Non-residents (foreigners and Moroccan nationals living abroad, MRE) have the clearest path to repatriation.

Moroccan law protects their right to take out what they brought in, plus capital gains, provided everything was done through a convertible dirham account.

Residents (foreigners living in Morocco) face a more complex situation. If you’ve been fiscally resident in Morocco, the Office des Changes treats your situation differently, and the process gets more involved.

Moroccan nationals living in Morocco cannot generally repatriate proceeds from property sales as freely. The rules are primarily designed for non-residents and MRE.

So before anything else, clarify your residency status. It determines almost everything that follows.

A quick comparison that often confuses people:

  1. MRE (Marocains Résidant à l’Étranger): Moroccan nationals living abroad have the same repatriation rights as foreign non-residents. Both can repatriate foreign-sourced investment proceeds and capital gains after tax. The convertible dirham account requirement applies equally.
  2. Non-resident foreigners: EU citizens, British nationals, Americans, and others living outside Morocco, follow the same process. Their proof of non-residency typically comes from a tax certificate or residency document from their home country.
  3. Resident foreigners: people with a carte de séjour living and working in Morocco face more scrutiny.

The Office des Changes may treat some of its funds as local assets.

If you live in Morocco full-time and are fiscally resident here, speak to a lawyer before assuming full repatriation rights apply automatically.


The Convertible Dirham Account: The Thing Nobody Explains Properly

Buying Property in Morocco through a Notary

When you originally bought property in Morocco as a non-resident, you should have paid through what’s called a compte en dirhams convertibles, a convertible dirham account held at a Moroccan bank.

This account type exists specifically so that foreign funds coming in can be tracked, and so that future repatriation can be justified.

If you paid correctly through this account at the time of purchase, you have a paper trail. The bank recorded the foreign currency coming in. When you sell, you can point to that record and say: this money originated outside Morocco.

If the original purchase was done through a regular dirham account, a cash payment, or any route that wasn’t clearly documented as a foreign currency transfer, you may have a serious problem proving where the money came from.

I learned this because my seller (when I originally bought) had purchased from someone who hadn’t documented properly. The paperwork chain was messy, and it cost extra weeks to sort out.


Step-by-Step: How Repatriating Money After Selling Property in Morocco Actually Works

Step 1: Get Your Tax Situation Sorted Before the Sale Closes

Morocco charges a capital gains tax called Impôt sur le Revenu, Plus-Value Immobilière. For non-residents, it’s withheld at the source by the notary at the time of sale.

The standard rate is 20% of the net capital gain, with a minimum of 3% of the sale price.

If you’ve held the property for more than 5 years, you get a reduction on the taxable gain. After 5 years: 10% reduction. After 6 years: 20%. It scales up, and after 10 years you get some meaningful relief.

The notary is legally required to withhold this tax and pay it to the tax authority (DGI) before you receive anything. Don’t try to rush this step or work around it. If there’s any unpaid tax on the property, repatriation will be blocked.

Get a tax clearance certificate (attestation de régularité fiscale) before you try to transfer anything abroad.

Step 2: Gather Your Documentation

This is where most people lose weeks. The Moroccan banking system is document-heavy, and every bank has its own specific checklist. But the core documents are almost always:

  • The title deed (Titer Foncier) is in your name
  • The notarized sale deed (Acte de Vente authentique)
  • Proof of original purchase with foreign funds (the original transfer records or convertible account statements)
  • Tax clearance certificate from DGI
  • Your passport
  • Proof of your non-resident status (this varies; sometimes a tax certificate from your country of residence works)
  • A completed repatriation request form from your Moroccan bank

Some banks also require the original purchase price documentation to verify the capital gain. Have everything ready in both the original and a certified copy.

The attestation de transfert is a document issued by your Moroccan bank at the time of your original property purchase.

It confirms that your purchase funds arrived from abroad in foreign currency through a declared foreign investment channel.

If your bank issued one when you opened your account, and not all banks do this automatically, you should have received it along with your opening account documents.

It looks like a standard bank letter on headed paper, referencing the transfer amount, the currency, the date, and the purpose (investissement immobilier).

If you didn’t receive one at the time, go back to the same bank branch where the purchase funds landed.

Request a retrospective attestation or certified account statement showing the original foreign currency transfer.

Most banks can produce this from their transaction archives going back 10 or more years. Bring your original purchase deed and your passport. Some banks charge a small administrative fee for retrieving historical documents.

Step 3: Work Through Your Moroccan Bank

You cannot just wire money out of Morocco from any account. The transfer has to be processed specifically as a repatriation of foreign investment.

Your bank in Morocco will submit the request to Bank Al-Maghrib (Morocco’s central bank) or process it internally under the Office des Changes rules. Most of the large banks, Attijariwafa, BMCE, CIH, Société Générale Maroc, handle this regularly. Smaller regional branches sometimes don’t have staff experienced with it.

I’d strongly recommend going to a branch in Casablanca, Rabat, or Marrakech that offers a service specifically for non-residents or MRE clients. They deal with this daily.

Expect the bank’s own review to take 2 to 4 weeks if your paperwork is complete. Longer if anything is missing or if there are questions.

Step 4: The Transfer Itself

Once approved, the bank converts your dirhams to your chosen currency (usually euros, dollars, or pounds) and wires the funds to your foreign account.

The conversion rate will be the official interbank rate on the day of transfer, which is set daily by Bank Al-Maghrib. You don’t get to pick the rate or delay for a better one. Whatever the rate is that day, that’s what you get.

This is one area where a small amount of preparation matters. Make sure your receiving account abroad is ready, clearly identified, and in your name. Any discrepancy between the name on the Moroccan sale documents and the name on the receiving account will cause delays.

Here is a realistic week-by-week breakdown based on a clean, well-documented case:

  • Week 1–2: Sale closes, notary withholds and pays TPI tax to DGI. You request your tax clearance certificate (attestation de régularité fiscale).
  • Week 2–3: Tax clearance arrives. You gather and submit your full documentation pack to your Moroccan bank.
  • Week 3–5: Bank’s internal compliance review. They may request additional documents.This is the most unpredictable stage.
  • Week 5–6: Bank submits repatriation request to Bank Al-Maghrib (or processes under its Office des Changes delegated authority).
  • Week 6–8: Transfer approved and executed. Funds are converted to your currency at the interbank rate and wired abroad.
  • Week 8+: Funds arrive in your foreign account. For most people with clean paperwork, the total is 6 to 8 weeks. For anyone with documentation gaps, double that estimate.

Common Mistakes That Derail the Process

rent in marrakech

Assuming the Notary Handles Repatriation

The notary handles the sale and the tax. That’s it. Repatriation is a completely separate process you initiate with your bank. Many sellers finish the sale and then discover they still have weeks of bank work ahead.

Not Having the Original Transfer Records

If you can’t prove the original funds came from outside Morocco, the bank cannot authorize repatriation of those funds. This is the biggest single problem I see come up. People paid in cash years ago, or made payments in a way that wasn’t tracked, and now they’re stuck trying to reconstruct a paper trail from old emails and account statements.

If you’re planning to buy in Morocco, document everything immaculately from day one. Future you will be grateful.

Underestimating the Timeline

People expect this to take two weeks. A realistic timeline for someone with complete documentation is 4 to 8 weeks from sale closing to money arriving in a foreign account. If there are any complications, three to four months is not unusual.

Plan your finances accordingly. Don’t commit to reinvesting those funds elsewhere until they’re actually in your account.

Using the Wrong Bank Branch

As I mentioned, branch experience matters enormously. A branch that rarely handles non-resident property transactions may apply rules incorrectly, request unnecessary documents, or simply not know the process well. Go to a major branch in a large city with an MRE or non-resident desk.

Forgetting About Local Taxes and Fees

The capital gains tax isn’t the only cost. There are also notary fees (typically 1 to 1.5% of the sale price), registration fees, and various administrative charges. Add these up before you calculate what you’ll actually repatriate.


What It Actually Costs: Realistic Numbers

Let’s say you’re selling an apartment in Marrakech for 2,500,000 MAD (roughly €230,000 at current rates).

Capital gains tax: If you bought it for 1,500,000 MAD ten years ago, your gross gain is 1,000,000 MAD. After the 10-year reduction, taxable gain is around 700,000 MAD. Tax at 20% = 140,000 MAD, but you’d compare this to the 3% minimum (75,000 MAD) and pay whichever is higher. In this case, 140,000 MAD.

Notary fees: Around 25,000 to 37,500 MAD.

Administrative and registration fees: Variable, but budget 5,000 to 10,000 MAD.

Bank transfer fees: Moroccan banks typically charge a fee for international transfers. Expect 0.05% to 0.15% of the transfer amount, with minimums and maximums that vary by bank.

Currency conversion spread: Bank Al-Maghrib sets the dirham rate, but your bank may apply a small spread. This is usually where you lose 0.5% to 1% compared to the mid-market rate.

So on a 2,500,000 MAD sale, you might net closer to 2,300,000 MAD after tax and fees, then lose another 1% or so in the conversion and transfer process.

These aren’t shocking numbers, but they’re real, and people are sometimes surprised by them.


Insider Tips Most Articles Miss

Get your tax clearance before you list the property. Some issues (unpaid local taxes, disputes from the property’s history) take months to resolve. Finding out early gives you time to fix them before a buyer is waiting.

Check if a tax treaty applies. Morocco has double taxation agreements with many countries including France, Spain, Germany, the UK, and others. If your country of residence has one, you may be able to offset Moroccan capital gains tax against your domestic tax liability. This doesn’t reduce what Morocco takes, but it avoids you paying tax twice on the same gain.

Morocco has active double taxation agreements with over 50 countries.

For property sellers, the most relevant treaties include:

  1. France: Under the France-Morocco convention, capital gains on Moroccan immovable property are taxable in Morocco.

French residents declare the gain in France but receive a tax credit equal to the Moroccan TPI paid. Spain: Similar treatment.

  1. Spanish residents pay TPI in Morocco and credit it against their Spanish IRPF liability. Spanish tax residents should file Modelo 210 for non-resident income even if the credit covers the full amount. United Kingdom:
  2. The UK-Morocco treaty assigns taxing rights on real property gains to Morocco. British sellers report the gain to HMRC, but the Moroccan tax paid offsets UK CGT liability. Post-Brexit rules apply to UK nationals.
  3. Germany: The Germany-Morocco treaty similarly allows TPI to be paid to offset German capital gains tax. German residents need a Freistellungsbescheinigung (exemption certificate) confirmation from their Finanzamt.
  4. Belgium, the Netherlands, the UAE, and Saudi Arabia also have treaties in force. Always verify with your home country’s tax authority, as treaty interpretations can shift.

Keep your Moroccan bank account open after the transfer. This sounds counterintuitive, but if there are any follow-up requests from the Office des Changes or questions about the transaction, you’ll need to be able to respond locally. Close it a few months after everything settles.

Consider appointing a local representative (mandataire). If you can’t be in Morocco in person during the process, you can give power of attorney to a trusted local contact, often a lawyer or a family member, who can interface with the notary and bank on your behalf. This is common practice and fully legal.

Currency timing is mostly out of your control, but not entirely. You can request the transfer once you have approval, but you can’t delay indefinitely. However, if you have flexibility of even a few days, watching the EUR/MAD rate for a slight favorable window is worth doing.

I spoke with a Casablanca-based lawyer who specializes in Moroccan exchange control law.

Three things she said that I hadn’t seen written anywhere else: First, the convertible dirham account is not optional for non-residents; it’s legally required for the investment to qualify for repatriation protection.

If you didn’t use one, you’re not automatically blocked, but you will need to provide alternative proof of foreign-origin funds, and the bank has discretion to refuse.

Second, if your property was in an SCI (société civile immobilière, a common structure for holding Moroccan real estate), the repatriation process is more complex.

The funds first move through the company. Dissolving the SCI before sale, if timed correctly, can significantly simplify things. Third, the 90-day rule is real but poorly understood.

Once your repatriation request is approved, you generally have 90 days to execute the transfer.

After that, the authorization can lapse, and you may need to reapply. Don’t let approved paperwork sit in a drawer.


Advanced: What If Only Part of Your Investment Was Foreign?

This comes up more than you’d think. Someone buys in Morocco, pays part from foreign funds, part from a Moroccan bank account they’d been funding locally.

In this case, only the portion that originated as foreign funds is eligible for repatriation in the traditional sense. The rest is treated as local funds and faces restrictions on leaving Morocco.

This is a messy situation to be in, and it requires a specialist, ideally a lawyer experienced in Moroccan exchange control law, not just a generalist or a notary.

If you’re at the buying stage, make absolutely sure the entire purchase price is funded from your foreign account as a declared foreign investment.

The complexity and cost of untangling a mixed-source purchase later are significant.

Many foreigners buy Moroccan property through an SCI (société civile immobilière), particularly when buying with a spouse or partner.

When you sell, the money lands in the SCI’s bank account, not yours personally.

To repatriate it, you need to distribute the SCI proceeds to the shareholders, and each shareholder separately initiates the repatriation process for their share. This adds a layer of tax complexity as well.

The SCI itself may be subject to corporate tax on the gain if it’s structured as an IS (impôt sur les sociétés) entity rather than a transparent IR (impôt sur le revenu) entity.

Get legal advice on your SCI’s tax status before you sell, not after. The cost of that advice is always less than discovering a surprise tax bill at closing.


A Note on Using Currency Specialists

Marrakech Riad

Once the money is released by the Moroccan bank and arrives in your foreign account in euros or dollars, you’re out of Moroccan jurisdiction. At that point, if you want to convert further (say, euros to pounds), you can use a currency broker like Wise, OFX, or Currencies Direct to get better rates than a retail bank.

But don’t confuse this stage with the earlier conversion. The initial conversion from dirhams to your currency has to go through your Moroccan bank. Currency brokers cannot operate within the Moroccan exchange control system.


Pre-sale repatriation checklist

Before your property sale is finalized, make sure you have all the required documents ready to avoid delays when transferring your money abroad.


 From the Original Purchase

  • Original Acte de Vente (notarized purchase deed + title deed)
  • Attestation de transfert or certified bank statement proving foreign-origin funds
  • Convertible dirham account details (account number + bank branch)

 Tax & Regulatory Requirements

  • Attestation de régularité fiscale (tax clearance from DGI)
  • Proof that all taxe d’habitation and taxe de services communaux are paid
  • Official receipts for renovations (if claiming deductions on capital gains)

 Bank Requirements

  • Valid passport (plus copy)
  • Proof of non-resident status (tax certificate or equivalent)
  • Foreign receiving bank account details (must match your name exactly)
  • Completed the repatriation request form from your Moroccan bank

Optional (But Strongly Recommended)

  • Power of attorney (procuration) if you cannot be present in Morocco
  • Confirmation of applicable double taxation treaty with your home country
  • Legal advice if the property was held through an SCI or company structure

 Pro Tip

Having this checklist fully prepared before closing the sale can save you weeks (or even months) when dealing with banks and authorities like the Office des Changes.

Conclusion

Repatriating money after selling property in Morocco is genuinely doable, and the Moroccan legal framework supports it for foreign investors. But it requires patience, documentation, and ideally some professional help, at minimum a good notary and ideally a lawyer who knows the Office des Changes rules.

The process is slower than people expect. The paperwork is heavier than people expect. And the few things that can go wrong (undocumented original purchase, unpaid taxes, missing transfer records) can really go wrong.

Start gathering your documentation early. Use a bank branch that regularly handles non-resident transactions. Get your tax clearance before you assume everything is fine. And build a timeline that gives you four to eight weeks minimum after the sale closes.

If you do all of that, the money will get to you. It just takes time.

Official Sources and Legal References

The information in this guide is based on current Moroccan regulations governing property sales, taxation, and the transfer of funds abroad. If you’re dealing with large amounts or a complex situation, it’s worth reviewing the official sources directly or speaking with a qualified Moroccan lawyer (avocat) or tax advisor (conseiller fiscal).


Key Moroccan Authorities

  • Office des Changes
    Publishes the Instruction Générale des Opérations de Change (IGOC), which sets the rules for all cross-border money transfers, including repatriation of property sale proceeds.
  • Direction Générale des Impôts (DGI)
    Responsible for administering property capital gains tax (TPI) and issuing tax clearance certificates (attestation de régularité fiscale), which are required before funds can be transferred abroad.
  • Bank Al-Maghrib
    Morocco’s central bank. It sets the official dirham exchange rate and oversees the banking system through which repatriation transfers are processed.
  • Ordre des Notaires du Maroc
    Regulates notaries in Morocco. Your acte de vente must be prepared by a registered notaire for the transaction to be legally valid and accepted for repatriation.

 International Tax References

If you want to understand how Moroccan taxes interact with your home country, check the relevant tax authority:

  • UK: HMRC
  • France: Direction Générale des Finances Publiques
  • Spain: Agencia Tributaria

These authorities publish the official double taxation treaties, which can help you avoid being taxed twice on the same capital gain.


FAQ

Can I repatriate 100% of my sale proceeds? You can repatriate the foreign-sourced portion of your original investment plus any documented capital gain, after taxes. If your entire purchase was funded from abroad through proper channels, yes, essentially 100% (minus taxes and fees) is repatriable.

Do I need to be in Morocco in person? Not necessarily. A power of attorney (procuration) allows someone to act on your behalf locally. Many non-residents complete the entire process remotely this way.

How long does the whole process take? With complete paperwork, expect 4 to 8 weeks from sale closing to money arriving in your foreign account. Complex cases can take 3 to 4 months.

What if the property was jointly owned? Each owner’s share is handled separately. Both owners need to individually authorize the repatriation of their respective portions.

Does Morocco tax non-residents on the sale? Yes. Capital gains tax applies regardless of residency. The notary withholds it at closing. The rate is 20% on net gain, with a 3% minimum on total sale price.

Can I repatriate in any currency? The main convertible currencies are euros, US dollars, and British pounds. Other currencies may be possible but are less common and can involve additional steps.

What happens if I don’t repatriate and just leave the money in Morocco? Nothing illegal about that. You can keep the funds in a Moroccan bank account. But if you later want to repatriate them, you’ll need the same documentation then as you would now. The rules don’t get easier with time.

Can I use a currency broker like Wise or OFX to transfer money out of Morocco? No. Currency brokers cannot operate within Morocco’s exchange control system. The initial conversion from dirhams to a foreign currency must be handled by a licensed Moroccan bank, in line with rules set by Office des Changes.

Once the funds arrive in your foreign account, you’re free to use brokers like Wise or OFX for further currency conversions if needed.


What happens if I sell my Moroccan property at a loss? If there is no capital gain, no TPI (capital gains tax) is due.

However, in some cases, a minimum tax of 3% on the gross sale price may still apply, so it’s important to confirm your situation with a tax advisor or the Direction Générale des Impôts.

Even if you sell at a loss, the repatriation process remains the same — you must still prove that the original funds came from abroad.


Can a non-resident open a Moroccan bank account just for repatriation?

Yes, non-residents can open a convertible dirham account (compte en dirhams convertibles).

That said, opening a new account can take time and may require being physically present in Morocco or granting power of attorney. In practice, it’s much easier to handle repatriation through the same bank used for the original purchase, where your transaction history is already documented.


Do I need a Moroccan tax number (Identifiant Fiscal)?

Yes. The Moroccan tax authority requires an Identifiant Fiscal (IF) to issue your tax clearance certificate (attestation de régularité fiscale).

If you don’t already have one, you’ll need to register with the Direction Générale des Impôts before the process can move forward. A notary or local lawyer can usually assist with this step.


Is there a maximum amount I can repatriate from Morocco?

There is no fixed cap on how much you can repatriate, as long as the funds were legally brought into Morocco and properly documented as a foreign investment.

However, large transfers may trigger additional compliance checks from Bank Al-Maghrib. For transfers involving several million dirhams, it’s strongly recommended to work with a lawyer or experienced advisor to avoid delays.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *