CBRE SP Z O.O.

Warszawa

+48 22 544 9309

Selling a home is one of the most important financial transactions in many people’s lives. This process, alongside emotions and logistical challenges, also entails significant tax obligations. Often perceived as a complex maze of regulations, the issue of income tax on real estate sales raises numerous questions and concerns. Is it always necessary to pay tax? How can you calculate it correctly? What can you do to legally optimize your liability? Understanding these rules is absolutely crucial to ensuring that the entire transaction ends with financial success, rather than an unpleasant surprise from the tax office.

The purpose of this article is to systematically and comprehensively explain how the residential sales tax works , what its rates are and what conditions must be met to benefit from the available exemptions.


Real estate sales tax, i.e. the 5-year rule

The main rule governing the taxation of real estate sales is the so-called 5-year rule . It states that income derived from the sale of real estate or part thereof is exempt from income tax if the sale occurs more than five years after its acquisition. However, the method of calculating this period is crucial here, and it can often be a source of costly errors.

The five-year period isn’t counted from day to day. According to the regulations, the period is counted from the end of the calendar year in which the property was acquired . This is a subtle but crucial difference that directly impacts tax obligations.

Example: If an apartment was purchased in March 2020, the five-year tax period ends on December 31, 2025. This means that to sell it tax-free, the transaction must be finalized no earlier than January 1, 2026. A sale made even in the last week of December 2025 will still be subject to tax.

This rule applies to paid disposals, i.e. primarily sales or exchanges, and covers not only apartments, but also houses, land and shares in real estate.


The moment of acquisition – the key to correctly counting years

To properly apply the five-year rule, the moment of “acquisition” must be precisely determined. While this may seem simple, different forms of acquiring real estate generate different starting points for the tax period.

Acquisition by purchase, inheritance or gift

In the case of real estate acquired through inheritance or gift, an extremely favorable rule applies. The five-year period runs from the date the property was acquired or built by the testator or donor . This is an exception to the general rule and a common trap for unsuspecting taxpayers who mistakenly assume that the period runs from the date of receipt of the inheritance or gift.

Example: Mr. John received an apartment as a gift from his father in 2024. His father purchased the apartment in 2017. Even though Mr. John has only owned the apartment for a short time, he can sell it in 2024 without paying income tax because more than five years have passed since the original owner (his father) acquired the property.

Acquisition as a result of building a house

An increasingly common scenario is the sale of a home built using a self-construction system. In such cases, the question arises: when should the 5-year period be counted? From the purchase of the plot, obtaining a building permit, or perhaps from the date of occupation? The regulations clearly indicate that for self-built properties, the five-year period is counted from the end of the calendar year in which they were built . In practice, tax authorities and courts most often equate this date with the date of obtaining an occupancy permit or, in the case of simpler construction projects, effective notification of construction completion . It’s important to remember that the land on which the house stands is treated separately – for it, the period is counted from the date of its acquisition.

Real estate sale, divorce and division of property

The division of property after divorce is another situation that raises tax dilemmas. How should the five-year period be calculated when property acquired during the marriage as community property is inherited by one spouse after the divorce? Fortunately, the interpretation is favorable. It is generally accepted that for property acquired as community property, the five-year period is calculated from the date of its initial acquisition by the spouses , not from the date of the division of property after the termination of the community property. The date of the divorce decree or the signing of the property division agreement is neutral in this context.


How do we calculate tax when selling early?

If the apartment is sold before the required five-year period has elapsed, the seller is obligated to pay tax. It’s important to understand that tax is not charged on the entire sale proceeds. The tax base is income, not revenue.

The tax rate is fixed at 19% of the income earned.

Income is calculated according to a simple formula: Income = Sales Revenue – Costs of obtaining income

  • The proceeds from the sale are the price for which the property was sold, specified in the notarial deed.
  • Tax-deductible costs include all documented expenses incurred to acquire and improve real estate. These include:
    • The purchase price of the apartment.
    • Notary fees, court fees and civil law transaction tax (PCC) paid upon purchase.
    • Real estate brokerage costs.
    • Documented expenditures that increased the value of the property, such as the costs of general renovation, modernization, window replacement, installations or finishing of the premises in developer’s standard.

The key word here is ” documented .” Tax authorities require reliable proof of expenditure. While named VAT invoices are the most reliable document, other evidence, such as contracts with contractors and payment confirmations, is also acceptable. It is crucial that the document clearly identifies the buyer, seller, the subject of the transaction, and its value.

It is worth dispelling a common doubt: mortgage interest paid while owning the property is not a tax-deductible expense and cannot be deducted from income at this stage.

What if I sell at a loss?

The real estate market is volatile, and it’s possible that the selling price will be lower than the sum of the acquisition costs and the expenses incurred. In such a situation, the taxpayer incurs a loss. This means that the income is zero, and therefore the tax due is zero. However, two important points must be kept in mind. First, the loss incurred from the sale of real estate cannot be deducted from other income (e.g., from an employment contract or business activity). Second, despite the lack of tax, a transaction that occurred within five years must still be reported in the PIT-39 tax return.


Sales price and tax office inspection

The proceeds from the sale are the price specified in the notarial deed, but it cannot significantly deviate from the property’s market value. The tax office has the right to verify whether the price agreed upon by the parties was not intentionally underestimated, for example, to avoid or reduce tax. Market value is defined as the average price applied to property of the same type and quality, taking into account its condition and degree of wear, as well as the time and place of sale.

If the tax office deems the price to be outside the market range, it will request that the parties to the transaction increase it. In the absence of an agreement, the tax authority may appoint an expert appraiser to determine the market value. If the expert’s opinion indicates a value at least 33% higher than the declared price, the seller will bear the costs of the expert opinion.


Housing relief – a legal way to avoid tax

Even if you sell your apartment before five years have passed and you earn a profit, you still have a chance to avoid tax. The most popular and effective tool is the so-called housing tax relief . It allows you to exempt your income from taxation provided that the proceeds from the sale are used for personal housing purposes.

To benefit from the relief, two basic conditions must be met:

  1. Deadline: The entire proceeds from the sale must be spent on housing purposes within three years from the end of the calendar year in which the sale occurred.
  2. Purpose: The funds must be allocated to the housing purposes strictly defined in the Act .

This catalogue includes, among others:

  • Acquisition of a new building, residential premises (apartment) or land for the construction of a house.
  • Construction, extension, superstructure or adaptation of one’s own building or premises for residential purposes.
  • Renovation or modernization of your own residential property.
  • Repayment of the mortgage loan (with interest) that was taken out to finance the property being sold.

Importantly, the housing relief also covers the purchase of real estate located in the countries of the European Union, the European Economic Area and the Swiss Confederation .

The relief is granted on a pro rata basis. If you allocate only a portion of your income for housing purposes, only the corresponding portion of your income will be exempt from tax. To receive the full exemption, you must spend the entire amount from the sale.

What if we fail to spend the funds within 3 years?

Life can be unpredictable. If a taxpayer declared their intention to take advantage of the tax relief but ultimately fails to spend the funds within three years (or spends only a portion of them), they lose their right to the exemption. In such a case, they must submit an amended PIT-39 tax return for the year in which the property was sold, reporting the tax due, and paying it, along with default interest . This interest is calculated from the day following the tax payment deadline, i.e., from May 1st of the year following the sale.


Formal obligations – what and when to report?

The sale of real estate gives rise to specific reporting obligations towards the tax authorities.

When is it NOT necessary to file a PIT-39? Let’s start with some information that will reassure many sellers. If the property is sold after five years (counted from the end of the calendar year of purchase), the transaction is completely tax-neutral. It doesn’t result in any tax payments or tax returns.

PIT-39 Declaration: However, if the sale occurred within five years, you must file a tax return on the PIT- 39 form . The deadline for filing is April 30th of the year following the year in which the sale occurred . This return reports both taxable income and income exempt under the housing tax relief. If you plan to use the relief, you must declare this intention in the PIT-39 form. The tax due must be paid by the same deadline.

The role of a notary

A notary plays a key role in the real estate sale process. However, it’s important to understand the scope of their responsibilities. As a tax remitter, the notary is obligated to collect and remit the civil law transaction tax (PCC) , but this tax is borne by the buyer . The notary is not responsible for the seller’s income tax (PIT) . Their role is limited to sending a copy of the notarial deed to the appropriate tax office, which notifies the office that the transaction has been completed and allows for its possible verification.


Summary – Key Principles in a Nutshell

The tax on the sale of a home, although seemingly complicated at first glance, rests on several logical pillars. The most important thing is to remember the five-year rule , counted from the end of the calendar year in which the purchase occurred. Correctly identifying this point – whether through the date of purchase by the deceased, the date of construction of the home, or the initial acquisition by the spouses – is the foundation of the entire settlement.

If we sell the property early, it’s crucial to accurately calculate the income and consciously take advantage of housing tax relief . Spending the income on your own housing needs within three years is the surest and fully legal way to avoid tax. Regardless of the situation, the key to success is carefully documenting all costs and completing all formalities on time, including submitting the PIT-39 form when required. Consciously navigating the maze of regulations allows you not only to avoid problems but also to optimize the financial outcome of one of life’s most important transactions.

Signature Estates editorial team

Signature Estates is a company with extensive experience in the premium residential real estate sector. We specialize in delivering top-quality real estate services for both individual clients and investors. Thanks to our expertise and dedication, we support our clients through...

See the Author’s Page
© 2026 All rights reserved | Real estate agency software - asaricrm.com