I spend a lot of time helping foreign owners think through the tax side of selling homes in Morocco, especially apartments and riads they bought years ago with a holiday plan in mind. By the time they are ready to sell, most already know there will be transfer paperwork, bank questions, and notary fees. What catches them off guard is the capital gains piece, because the headline rate sounds simple until you start looking at the actual file. I have learned that the cleanest sales are usually the ones where I work through the numbers early, before the buyer and seller get emotionally attached to a net amount that may not survive first contact with the tax calculation.
Why foreign sellers get surprised by the basic rule
The first thing I tell people is that Morocco does not usually give foreigners a special capital gains tax regime just because they live abroad. In the property sales I review, the starting point is the same framework I would expect for an individual seller in Morocco, which means the gain on a real estate sale is generally taxed at 20%. That sounds manageable on paper. Then I explain the part many people miss, which is the minimum tax floor tied to the selling price itself.
That 3% floor changes the whole conversation. I have seen owners assume that if they barely made a profit, or even feel like they lost money after years of repairs, the tax should be tiny or zero. In practice, the file can still produce a painful result because the minimum tax is linked to the gross sale price rather than the seller’s own sense of how the investment turned out. Numbers matter here.
A seller last spring had mentally set aside agency costs, a few renovation bills, and exchange rate losses from moving funds in and out over several years. None of that changed the emotional fact that he felt squeezed. The legal calculation was colder than that. Once I showed him how a 3% minimum on a multi million dirham price works, his negotiating position with the buyer changed within one meeting.
How I look at the calculation before anyone signs too quickly
Before I let myself feel confident about the tax bill, I want the purchase deed, proof of major works, financing records if interest may matter, and a realistic view of selling expenses. Morocco’s property profit tax is not just a quick subtraction of old purchase price from new sale price. The acquisition side may be adjusted, and some costs can matter a lot once the file is reviewed carefully. Missing paperwork can be expensive.
When clients want a plain language starting point, I usually tell them to read a practical resource on capital gains tax in Morocco for foreigners before they start arguing over the final sale number. I say that because the broad rule is easy enough to grasp, but the difference between a rough estimate and a supportable tax position often sits inside the documents. A seller who bought 8 or 10 years ago may have more room in the calculation than he remembers, especially if the purchase file was kept properly. That is where preparation pays off.
I also remind people that the tax office does not care much about the story they tell over coffee. It cares about the deed, the declared price, the dates, the supporting invoices, and whether the file holds together. I have watched very smart buyers and sellers spend hours debating market timing while ignoring a missing bank document or an unregistered improvement that mattered more. The work is not glamorous, but it saves arguments later at the notary’s office.
Where exemptions help, and where foreign owners misread them
The exemption I discuss most often is the principal residence rule. In broad terms, if the property has truly been your main home for at least 6 years, there may be an exemption from the usual tax on the gain. That sounds generous. It is also where foreign owners can drift into wishful thinking, because a holiday apartment in Marrakech that saw a few long winter stays is rarely the same thing as a principal residence in the eyes of the administration.
I have had clients tell me, very sincerely, that they “lived there every year,” and then hand me utility records showing light seasonal use and months of vacancy. That kind of file makes me cautious. A second home is still a second home, even if the owner loves it and spent four good summers there. Residency evidence has to look like real life, not nostalgia.
There are other details that can affect the outcome, and this is where I urge people not to work from a friend’s story from 2021 or a half remembered message in a WhatsApp group. Rules can be nuanced around value thresholds, reinvestment situations, and the way specific property categories are treated. I have seen one overlooked fact, such as how the property was occupied or how title was structured, change the entire tax discussion. Small details decide big numbers.
What I tell sellers about timing, banking, and the money they actually keep
Foreign owners often focus on the tax rate and forget that the real question is how much cash reaches their account after the sale is complete. I try to map the transaction in the order it happens: agreed price, agency commission, notarial process, tax payment, and then the banking side of moving funds out if repatriation is planned. Even a seller who understands the 20% rule can stumble if the supporting banking trail from the original investment is weak. I have seen that issue do more damage than the tax itself.
Timing matters more than people expect. If a seller waits until the buyer is already pressing for a quick closing, nobody wants to hear that old invoices are missing or that proof of the original inbound transfer needs to be located. Pressure makes people sloppy. Sloppy files cost money.
I also tell clients not to anchor on round numbers too early. A property marketed at 3,000,000 MAD can feel like a clean result until you strip out the minimum tax risk, the commission, and a few sale related costs that looked minor on their own. More than once, I have watched a seller reject a fair offer because the gross figure offended him, only to accept a later offer that felt better emotionally but left less net money in hand. Net proceeds are the adult number.
How I approach a sale when the tax position is not obvious
When I sense that the file is messy, I slow the whole process down and stop pretending the tax answer will sort itself out at the end. I ask for a simple chronology first. When was the property bought, for how much, how was it paid for, what money went into improvements, who occupied it, and what proof still exists. Five questions can save five weeks.
If I do not have those answers, I treat any early estimate as a working draft rather than a promise. That keeps everyone honest. A buyer may still get a firm purchase price, but I want the seller to understand that the tax exposure could move if the documents do not support the optimistic version of events. I would rather sound cautious on day 1 than apologetic on signing day.
My practical rule is simple: before agreeing to a sale strategy, I want the seller to be comfortable with the likely tax at 20% of gain and with the possibility that the 3% minimum on the sale price may be the number that bites. If the principal residence exemption might apply, I want proof lined up early and not assembled in panic after the fact. Morocco can be straightforward for foreign sellers who respect the paperwork. It gets expensive for the ones who treat tax as a footnote.
I never tell a foreign owner that capital gains tax in Morocco is mysterious or impossible to plan for, because that is not my experience. What I do say is that the margin for lazy assumptions is smaller than people think, especially once the sale price rises above the level where a bad estimate can cost several thousand in the seller’s home currency. If I were selling my own property there tomorrow, I would start with the deeds, the evidence, and the net figure I can defend, then build the deal from that point instead of from hope.
