
In short
When a Portuguese tax resident sells property, only 50% of the capital gain counts for income tax (IRS Code, Article 43(2)(b)). There are four legal ways to exclude it: reinvesting in another permanent home between 24 months before and 36 months after the sale (Article 10(5)); reinvesting in residential rental property with rents within the limits of Decree-Law No. 97/2026 (Article 10(7) and (8)); at 65 or in retirement, investing the proceeds in retirement products within six months (Article 10(10)); and, for property acquired before 1 January 1989, the transitional regime of Article 5 of Decree-Law No. 442-A/88. Partial reinvestment excludes the proportional part (Article 10(12)).
Selling your home without paying tax on the gain is possible, and lawful. But each exemption has its own deadlines, conditions and evidence, and the Tax Authority checks them years after the sale. Those who only think about reinvesting after completion often find that the window has closed, or that the new home does not meet a condition they assumed was automatic.
How the capital gain is calculated
The gain is the difference between the sale price and the acquisition value. The acquisition value is adjusted by currency devaluation coefficients, approved by ordinance, where more than 24 months have passed between purchase and sale (IRS Code, Article 50(1)). Improvement costs incurred in the last 12 years and the necessary, actually incurred costs of buying and selling are added to it (Article 51(1)(a)). For residents, the positive balance counts at 50% of its value (Article 43(2)(b)), unless the property received non-repayable public support above 30% of its tax value and is sold within ten years (point (a)).
The four legal exits
| Situation | Key condition | Deadline | Provision |
|---|---|---|---|
| Selling your permanent home and buying another | Reinvest the sale price, net of the mortgage repaid, in another permanent home in Portugal, the EU or the EEA | Between 24 months before and 36 months after the sale | IRS Code, Art. 10(5) and (6) |
| Selling your permanent home or other residential property and buying to let | Reinvest in Portuguese properties let as homes with rents within the DL 97/2026 limits | Between 24 months before and 36 months after; lease signed within 6 months | IRS Code, Art. 10(7) to (9) |
| Seller aged 65 or retired | Invest the proceeds in life insurance, an open pension fund, the public capitalisation scheme or a PEPP | Six months after the sale | IRS Code, Art. 10(10) and (11) |
| Property acquired before 1989 | Gain not subject to the former capital gains tax | — | DL 442-A/88, Art. 5 |
1. Reinvesting in another permanent home
Article 10(5) excludes the gain where the following conditions are all met:
- the sale price, net of the repayment of the loan on the property sold, is reinvested in buying another property, land for construction, or building, extending or improving another property for the same purpose, in Portugal or in another EU or EEA State that exchanges tax information (point (a));
- the reinvestment takes place between 24 months before and 36 months after the sale (point (b));
- the seller declares the intention to reinvest, and the amount, in the income tax return for the year of the sale (point (c));
- the home sold was the seller’s permanent home, proven by the tax address, in the 12 months before the sale or the reinvestment, if earlier, save in exceptional circumstances such as marriage, divorce or an increase in dependants (point (e) and paragraph 26).
The benefit is lost if the new home is not used as a permanent home within 12 months of the reinvestment, if the tax address is not fixed there, or, in the case of construction, if registration in the tax register is not requested within 48 months and the home is not occupied by the end of the fifth year after the sale (Article 10(6)).
When the new purchase falls through without fault of the seller. Article 10(27) suspends the reinvestment period if the seller signed, within the period, a purchase contract, a promissory contract or a construction contract, if the breach of that contract is brought before the courts and if the event is notified to the Tax Authority. With a favourable decision, there are 12 months after the judgment becomes final to reinvest (Article 10(29)). It is not an automatic exemption: it depends on court action and timely notice.
2. Reinvesting in rental property
Since Decree-Law No. 97/2026, Article 10(7) also excludes gains from selling a permanent home or other residential property if the proceeds are reinvested, within the same window of 24 months before to 36 months after, in properties in Portugal let as homes with a monthly rent within the limits of Article 2(2) and (3) of that decree-law. The intention to reinvest must also be declared in the tax return for the year of the sale.
The benefit is lost (Article 10(8)) if:
- no residential lease is signed within six months of the reinvestment or of the sale, if later, save for justified impediments such as urgent works;
- the property is not let for at least 36 months, consecutive or not, in the first five years;
- the rent exceeds the legal limits during those five years;
- the property is disposed of, for consideration or free of charge, within five years.
This regime is explained in more detail in my article on the capital gains exclusion for reinvestment in rental housing.
3. Sellers aged 65 or retired
Article 10(10) allows the gain on the sale of a permanent home to be excluded where the seller, or their spouse or de facto partner, is at least 65 or retired and invests the proceeds, within six months of the sale, in a life insurance contract, an open pension fund, the public capitalisation scheme or a Pan-European Personal Pension Product (PEPP). For insurance and pension funds, the product must pay a regular annuity for at least 10 years, capped at 7.5% of the amount invested per year.
4. Property bought before 1989
The IRS Code entered into force on 1 January 1989 (Decree-Law No. 442-A/88, Article 2). Under Article 5 of that decree-law, gains that were not subject to the former capital gains tax only became subject to IRS if the acquisition took place after that date. The seller bears the burden of proving the acquisition date. Later works, extensions or reconstruction may change the analysis.
Partial reinvestment: an example
If only part of the proceeds is reinvested, the exclusion covers only the proportional part of the gain (Article 10(12)). Example, without monetary adjustment for simplicity: a home bought for EUR 200,000, with EUR 20,000 of deductible costs, is sold for EUR 450,000 with no mortgage. The gain is EUR 230,000. If EUR 300,000 is reinvested in a new permanent home, two thirds of the gain are excluded. EUR 76,666.67 remains, of which half, EUR 38,333.33, counts for income tax.
How to count the reinvestment window. The reference date is the date of the sale deed. Periods in months end on the corresponding day of the final month (Civil Code, Article 279(c)). For a sale on 15 March 2026, reinvestment may take place between 15 March 2024 and 15 March 2029.
Frequently asked questions
How much tax do I pay when I sell a house in Portugal?
For tax residents, only 50% of the capital gain counts for income tax (IRS Code, Article 43(2)(b)). The gain is the sale price minus the purchase price adjusted for inflation, where more than 24 months have passed, and minus improvement works in the last 12 years and the costs of buying and selling (Articles 50 and 51).
How long do I have to reinvest to avoid capital gains tax?
Between 24 months before and 36 months after the date of sale (IRS Code, Article 10(5)(b)). The intention to reinvest must be declared in the tax return for the year of sale (point (c)), and the new home must become the permanent home within 12 months of the reinvestment (Article 10(6)).
Can I reinvest in a property to let instead of a new home for myself?
Yes, since Decree-Law No. 97/2026. The proceeds must be reinvested in Portuguese properties let as homes with rents within that decree-law’s limits, with a lease signed within six months, at least 36 months of letting in the first five years and no sale during that period (IRS Code, Article 10(7) and (8)).
What if the purchase of the new home falls through because of the seller or builder?
The reinvestment period is suspended if you signed the contract within the period, the breach is brought before the courts and you notify the Tax Authority. With a favourable decision, you have 12 months after the judgment becomes final to reinvest (IRS Code, Article 10(27) to (29)).
Do I pay capital gains tax on a home bought before 1989?
As a rule, no: gains that were not subject to the former capital gains tax only became subject to IRS if the property was acquired after 1 January 1989 (Decree-Law No. 442-A/88, Article 5). The seller must prove the acquisition date.
What if I reinvest only part of the sale price?
The exclusion covers only the proportional part of the gain corresponding to the amount reinvested (IRS Code, Article 10(12)). The rest is taxed under the general rules.
The firm structures property sales and reinvestments and coordinates the capital gains analysis with the client’s accountant before completion. Book a meeting.
Read also
Capital gains exclusion: reinvestment in rental housing · Affordable letting (RSAA): landlord tax benefits · Inherited property in Portugal: sell or partition
Sources
- IRS Code — consolidated version (Arts. 10, 43, 50 and 51)
- Decree-Law No. 442-A/88 of 30 November (Arts. 2 and 5)
- Decree-Law No. 97/2026 of 20 May
- Civil Code — consolidated version (Art. 279)
Official Portuguese Gazette (Diário da República), consolidated versions; links checked on 18 October 2026. Always confirm the version in force on the date of your decision.
General information, updated on 18 October 2026. It does not replace an analysis of the specific case and is not legal advice.