Capital Gains on the Sale of a Primary Residence: Rules on How to Secure the Tax Exemption

Home | Real Estate | Capital Gains on the Sale of a Primary Residence: Rules on How to Secure the Tax Exemption

Capital Gains on the Sale of a Primary Residence: Rules on How to Secure the Tax Exemption

by | Tuesday, 20 January 2026 | Real Estate

Capital Gains on the Sale of a Primary Residence Portugal

The personal income tax (IRS) exemption on capital gains arising from the sale of a primary and permanent residence remains one of the most relevant tax reliefs available to individuals in Portugal. However, recent legislative and administrative developments have introduced necessary clarifications, particularly regarding how taxpayers must evidence the effective use of the property as their habitual residence.

This article explains what has changed, the conditions currently required to benefit from the reinvestment regime, and the practical steps taxpayers should take to avoid adverse tax outcomes.

The legal framework of the reinvestment regime

When a taxpayer sells a property used as their primary and permanent residence and reinvests the sale proceeds in the acquisition, construction, extension, or improvement of another primary and permanent residence, the resulting capital gain may be fully or partially excluded from taxation.

This regime is set out in Article 10(5) of the Portuguese Personal Income Tax Code (CIRS) and is subject to the cumulative fulfilment of several substantive and formal requirements. Over time, the Tax Authority has issued binding rulings to increase legal certainty and prevent the improper use of the exemption.

Tax residence address as a key criterion: from 24 to 12 months

One of the most significant developments concerns the proof that the sold property was indeed the taxpayer’s primary and permanent residence.

Under the current framework, the Portuguese Tax Authority requires that the taxpayer’s registered tax address correspond to the property sold for a minimum period before the sale. While this period was initially set at 24 months, it has since been reduced to 12 months, introducing greater flexibility and better alignment with real-life family situations.

As a general rule, the property must have been registered as the taxpayer’s tax residence for at least 12 months before the date of sale or, if earlier, the date of reinvestment.

Cumulative requirements for capital gains exemption

Access to the exemption depends on meeting all legal conditions simultaneously. In particular, the taxpayer must ensure that:

  • The sale proceeds, net of any outstanding mortgage related to the property, are reinvested in another primary and permanent residence located in Portugal, another EU Member State, or an EEA country with effective tax information exchange.
  • The reinvestment occurs within the legally defined timeframe, which allows reinvestment up to 24 months before the sale or up to 36 months after the disposal.
  • The intention to reinvest is expressly declared in the personal income tax return for the year in which the property is sold, including the amount to be reinvested.
  • The property sold qualifies as a primary and permanent residence, evidenced in particular by maintaining the tax residence address at that property for at least 12 months, subject to statutory exceptions.

A common practical issue: donation followed by sale

A recurring source of uncertainty arises in situations where a property is donated, typically from parents to children, and then sold shortly thereafter, with the proceeds fully reinvested.

Two critical points must be considered. First, the exemption can only be applied by the individual who holds ownership of the property at the time of sale. Any prior ownership by the donor does not confer on the donee an entitlement to the exemption.

Second, following the donation, the new owner must independently satisfy all conditions of the regime. This includes using the property as their primary and permanent residence and maintaining their tax address there for at least 12 months before sale or reinvestment. The fact that the property was acquired by donation does not waive these requirements.

Exceptional situations and changes in family circumstances

The law provides exceptions to the 12-month tax residence requirement for significant changes to the household, such as marriage, registered partnership, separation, divorce, or the addition of dependants.

These exceptions are not automatic. Each case must be assessed individually and supported by appropriate documentation; failing which, the Tax Authority may deny the application of the exemption.

Best practices when planning a sale and reinvestment

Taxpayers intending to sell their primary residence and reinvest should adopt a proactive approach. It is essential to confirm in advance that the tax residence address is correctly registered and corresponds to the property to be sold.

Reinvestment should be carefully planned within the statutory deadlines, and all eligible expenses must be adequately documented. The intention to reinvest must always be declared in the tax return for the year of sale, even if the reinvestment has not yet occurred.

In scenarios involving a donation followed by a sale, particular care must be taken in structuring the timing of ownership, residence, and reinvestment to preserve access to the exemption.

Conclusion

The capital gains exemption on the sale of a primary and permanent residence remains a powerful tax planning tool in Portugal. Still, it now requires stricter compliance with formal and temporal requirements.

Reducing the minimum tax residence period to 12 months has increased flexibility while preserving the regime’s core objective: ensuring the exemption applies only to properties genuinely used as habitual residences. In more complex situations, such as donations followed by sales, careful planning and proper documentation are essential to secure the benefit and avoid future tax reassessments.

Source: Binding Ruling issued by the Portuguese Tax and Customs Authority, Case no. 29240 (decision of January 19, 2026), concerning Article 10 of the Personal Income Tax Code and the capital gains exemption through reinvestment.

This article is provided for general informational purposes only and does not constitute legal, tax, or financial advice. The information herein is based on Portuguese legislation and administrative practice in force at the time of writing, including published binding rulings of the Portuguese Tax and Customs Authority, which may be subject to change or differing interpretation.

The application of the rules described depends on the specific facts and circumstances of each case. No action should be taken or refrained from based on this article without obtaining professional advice tailored to the reader’s particular situation.

No liability is accepted for any loss arising from reliance on the information contained in this article. Professional advice should be sought before implementing any transaction or tax planning strategy.

Other Articles

Our Newsletter

Join our mailing list and get the latest information about incorporating in Madeira (Portugal), Expat Services and Vessel Registration.

Need Help?

Should you have any questions about us and our services, please do not hesitate to contact us.

Contact Us

Other Articles

Want to talk with us?

Should you have any questions about us and our services, please do not hesitate to contact us.