Capital gains tax when you sell a house in Portugal (2026): how mais-valias work
Updated 7 November 2026. If you’ve typed “mais-valias” or “capital gains tax Portugal” into a search bar, you’re probably about to sell, or you’ve just been told by an agent that “there’s no tax if you reinvest”. Sometimes true, sometimes not. Here’s how it actually works.
How the gain is calculated
The gain is the sale price minus what you paid, and the purchase price is usually updated with an official inflation coefficient if you owned the property for more than two years. You can also deduct:
- the IMT and stamp duty you paid when you bought
- renovation work done in the last 12 years, with invoices in your name
- the agent’s commission and the energy certificate on the sale
Keep every invoice. People lose real money on this because the paperwork is missing, not because the rules are against them.
For residents, only half of the positive gain is added to your income and taxed at normal IRS rates. How non-residents are taxed has been brought closer to the resident system in recent years, so check which one applies to you before you assume.
You declare the sale even if you pay nothing
Every sale goes on your IRS return for the year it happened, in the capital gains annex (Anexo G). That’s the case with an exemption, with no gain, and even with a loss.
The main exemption: reinvesting in another home
If you sell your own permanent home, the gain can be excluded from tax when the money is reinvested in another permanent home. The conditions that matter:
- the home sold must have been your permanent residence, shown by your tax address, for at least 12 months before the sale (it was 24 months until 2024)
- you reinvest within 24 months before or 36 months after the sale
- if you reinvest only part of the proceeds, only that part is excluded
People over 65, and retirees, can alternatively put the proceeds into certain retirement savings products. The conditions are strict, so ask an accountant first.
What’s new in 2026
A decree-law from May 2026 created an exclusion for gains from selling housing when the money is reinvested in buying property for residential rental, with conditions on the rent charged. It covers sales between 1 January 2026 and the end of 2029, and the tax authority has already said sales made in 2025 don’t qualify. If you’re thinking about this route, read the conditions or have an accountant check them, because the rent limits are the part people miss.
Traps worth knowing
Using part of your home for professional activity can put the exemption at risk, according to the tax authority’s recent positions. A home that wasn’t your tax address for the full period doesn’t qualify either, however long you actually slept there.
Quick answers
Do I pay tax if I sell at a loss? Generally no, but you still declare it.
How much tax will it be? It depends on your total income that year, because the taxable half is stacked on top of it.
Does the agent’s commission count? Yes, it’s a deductible sales cost.
Selling is usually step one of buying again, so it helps to know what the purchase costs on the other side and how the buying process works. Tax rules change often and this is general information, so run your numbers past an accountant before you sign a deed.