What taxes do you pay when selling a property in Catalonia in 2026?
What taxes do you pay when selling a property in Catalonia in 2026?
Selling a property in Catalonia can look simple from the outside: you find a buyer, agree on a price, sign before a notary and hand over the keys. Anyone who has sold in Spain knows there is more underneath. The number that matters is not only the sale price. The number that matters is what remains after taxes, costs and formalities.
Many owners ask this question too late: do you always have to pay taxes when you sell a property? The short answer is no. Taxes are paid when there is a taxable gain or when the local rules require a formal declaration. But even if you sell without profit, or even at a loss, there may still be filing obligations: declaring the transaction, proving values and submitting documents within the deadline.
As a practical estimate, the total cost of selling a property in Catalonia often falls between 5% and 15% of the sale price. The range is wide because selling a main residence with no mortgage and no gain is not the same as selling a second home bought twenty years ago, with municipal plusvalia, agency fees, a large capital gain and a non-resident seller.
This guide is written for owners planning to sell in Catalonia in 2026, whether they live in Spain or abroad. If you own a property in Barcelona, Sitges, Castelldefels, Girona, Tarragona, Terrassa, Sant Cugat or the Costa Brava, this article gives you a structured overview, practical examples, official sources and the key questions to answer before signing.
Contents
- 1. Capital gains tax and IRPF in Catalonia
- 2. Municipal Plusvalia (IIVTNU) in Catalan municipalities
- 3. Catalan specifics: non-residents and document costs
- Calculation examples
- Conclusion and fiscal simulation
- Official sources
1. Capital gains tax and IRPF in Catalonia
The first major tax when selling a home is the tax on the capital gain. If you are tax resident in Spain, that gain is declared in your Spanish personal income tax return, known as IRPF. It is not a Catalan tax; it is managed by the Spanish Tax Agency and applies throughout Spain. But it directly affects anyone selling in Catalonia because the sale may generate a taxable profit.
The Spanish Tax Agency explains that when you sell a property you must include a capital gain or loss in your tax return. That gain is calculated as the difference between the transfer value and the acquisition value. Source: Spanish Tax Agency: what happens when I sell a property.
How do I know if I have to pay IRPF on the sale?
The basic rule is simple: if you sell for more than the property cost you, there may be a gain. If you sell for less, there may be a loss. But the correct calculation is not only a comparison between sale price and purchase price. What matters is the net taxable gain.
Capital gain = Net transfer value - Adjusted acquisition value
- Net transfer value: sale price minus expenses and taxes paid by the seller that are directly linked to the sale.
- Adjusted acquisition value: purchase price plus eligible purchase costs and documented improvements, where applicable.
Quick example: you bought for 400,000 euros, sell for 520,000 euros and have 25,000 euros in deductible costs linked to purchase, improvements and sale. The gain is not 120,000 euros; it is approximately 95,000 euros. This matters because tax is calculated on the gain, not on the total sale price.
If the final result is negative, there is no IRPF payable on a capital gain. The sale must still be reported correctly. A loss may also be relevant to offset other capital gains, depending on the taxpayer's situation.
Which expenses can reduce my taxable gain?
This is one of the most valuable questions in the entire sale. Many owners pay more tax than necessary because they have not kept invoices, cannot locate purchase expenses or do not distinguish between a deductible improvement and ordinary maintenance.
The Spanish Tax Agency states that, for the capital gain calculation, the transfer value may be reduced by expenses and taxes inherent to the transfer paid by the seller. Source: Spanish Tax Agency: transfer and acquisition values.
In practice, these items may reduce the taxable gain:
- Real estate agency invoice: if paid by the seller and properly documented.
- Notary, registry and management fees from the purchase: these may form part of the acquisition value.
- Taxes paid on purchase: for example transfer tax, VAT or stamp duty, depending on the acquisition.
- Structural improvements with evidence: works that increase value, capacity, habitability or useful life, always with invoices and supporting documents.
- Municipal plusvalia paid by the seller: it may be treated as an expense linked to the transfer.
- Mortgage cancellation costs: where necessary to sell the property free of charges.
The delicate line is renovation. Painting before selling, repairing a blind or replacing an appliance is usually maintenance. Opening spaces, renewing installations, rehabilitating structure, increasing usable area or carrying out an integral refurbishment with project documentation may be different. Keep invoices, proof of payment, licences and technical reports.
Example: IRPF with deductible expenses
- Sale price: 700,000 euros
- Purchase price: 430,000 euros
- Purchase tax, notary and registry: 48,000 euros
- Documented improvement works: 52,000 euros
- Agency fee paid by the seller: 30,000 euros
- Municipal plusvalia paid: 6,500 euros
Adjusted acquisition value: 430,000 + 48,000 + 52,000 = 530,000 euros
Net transfer value: 700,000 - 30,000 - 6,500 = 663,500 euros
Capital gain: 663,500 - 530,000 = 133,500 euros
Without organised invoices, the owner might think the gain is 270,000 euros. With the correct fiscal reading, it falls to 133,500 euros. The difference is not cosmetic; it is money.
IRPF brackets in 2026: how much does the tax office keep?
The capital gain from selling a property generally forms part of the savings tax base. The scale is progressive: not all the gain is taxed at the highest rate. At the time of writing, the savings scale ranges from 19% to 28%. The Spanish Tax Agency publishes the savings tax scale in its income tax manuals. Source: Spanish Tax Agency: savings tax scale.
| Capital gain bracket | Applicable rate |
|---|---|
| Up to 6,000 euros | 19% |
| From 6,000 to 50,000 euros | 21% |
| From 50,000 to 200,000 euros | 23% |
| From 200,000 to 300,000 euros | 27% |
| Over 300,000 euros | 28% |
Confirm the applicable scale with a tax adviser at the time of sale, because the return is filed the following year and rules may change.
Example using the brackets
Assume a capital gain of 133,500 euros:
- First 6,000 euros at 19% = 1,140 euros
- From 6,000 to 50,000 euros: 44,000 euros at 21% = 9,240 euros
- From 50,000 to 133,500 euros: 83,500 euros at 23% = 19,205 euros
Approximate tax: 1,140 + 9,240 + 19,205 = 29,585 euros
Who is exempt from paying IRPF when selling a home?
Three profiles deserve special attention.
Owners over 65 selling their habitual residence
The Spanish Tax Agency states that the gain from selling the habitual residence does not have to be declared if the seller is over 65 or is in a situation of severe or major dependency. Source: Spanish Tax Agency: habitual residence sold by owners over 65.
The important word is habitual. It is not enough to be over 65 and sell any property. A second home, rental apartment or investment property is treated differently.
Reinvestment in another habitual residence
If you sell your habitual residence and reinvest the amount obtained in buying or rehabilitating another habitual residence, the gain may be fully or partially exempt. The Spanish Tax Agency explains that reinvestment must take place within a period not exceeding two years, before or after the sale. Source: Spanish Tax Agency: reinvestment in habitual residence.
Dation in payment of the habitual residence
The Spanish Tax Agency also covers exemption in cases of dation in payment or judicial/notarial foreclosure of the habitual residence, provided the legal requirements are met. Source: Spanish Tax Agency: dation in payment of habitual residence.
2. Municipal Plusvalia (IIVTNU) in Catalan municipalities
The second major tax when selling a property in Catalonia is the municipal plusvalia, formally the Tax on the Increase in Value of Urban Land (IIVTNU). It is local: each town hall manages it. If you sell in Barcelona, you deal with Barcelona. If you sell in Terrassa, Girona or Tarragona, you deal with that municipality.
What exactly does this local tax charge?
Municipal plusvalia does not tax the full value of the apartment. It taxes the increase in value of the urban land on which the property stands during the years you owned it. This distinction is essential. A home may rise in price because of design, refurbishment, foreign demand or limited supply, but this tax focuses on the land component.
Barcelona's Municipal Tax Institute explains that the tax is paid on the increase in value experienced by the land while the seller owned it. Source: Barcelona City Council: municipal plusvalia.
How is plusvalia calculated in Catalonia? Choose the method that benefits you
Since the reform of the tax, the taxpayer may compare two methods and apply the more favourable one. Barcelona states that Royal Decree-Law 26/2021 establishes two calculation methods and that the taxpayer may choose the one that is more favourable.
Objective method
This method is based on the cadastral land value and a coefficient depending on the number of years between purchase and sale.
Simplified formula: cadastral land value x coefficient by holding period x municipal tax rate = approximate tax
Real method
This method is based on the real gain obtained on the transfer. The percentage represented by the cadastral land value over the total cadastral value is applied to that gain.
Simplified formula: (sale price - purchase price) x land percentage over total cadastral value x municipal tax rate = approximate tax
In Barcelona, the IIVTNU tax ordinance includes the applicable coefficients and states that the tax rate is 30%. Source: Barcelona IIVTNU tax ordinance 2025 and following years.
Example comparing objective and real methods
- Municipality: Barcelona
- Years of ownership: 10
- Total cadastral value: 300,000 euros
- Cadastral land value: 150,000 euros
- Purchase price: 600,000 euros
- Sale price: 780,000 euros
- Indicative objective coefficient for 10 years according to the ordinance consulted: 0.12
- Barcelona municipal rate: 30%
Objective method: 150,000 x 0.12 = 18,000 euros; 18,000 x 30% = 5,400 euros.
Real method: real gain: 780,000 - 600,000 = 180,000 euros. Land percentage: 150,000 / 300,000 = 50%. Gain attributable to land: 180,000 x 50% = 90,000 euros. Tax: 90,000 x 30% = 27,000 euros.
Result: in this case, the objective method is much cheaper: 5,400 euros instead of 27,000 euros. In another case, if the real gain were very low, the real method could be preferable. The professional conclusion is simple: compare before paying.
Do I pay plusvalia if I sold at a loss?
No, if you can prove there has been no increase in value. But not paying does not mean doing nothing. The town hall must receive the declaration or non-taxable communication, with the deeds or documents proving acquisition and transfer.
Barcelona states that no tax is due if there has been no increase in value, but the transfer must still be communicated and the acquisition and transfer titles attached. The general deadline for inter vivos transfers is 30 business days from the transfer date. Each Catalan municipality has its own procedure, so always check the local rules.
3. Catalan specifics: non-residents and document costs
The sale feels different when the owner lives outside Spain. It is not necessarily complicated, but it requires more coordination. In Catalonia it is common to find foreign owners who bought as an investment, second residence or family home and later decide to sell from abroad.
What happens if I sell a property in Catalonia but live abroad?
If you are not tax resident in Spain, the gain from selling a Spanish property may be taxed under Non-Resident Income Tax (IRNR). The Spanish Tax Agency states that capital gains from real estate located in Spain are considered income obtained in Spain. Source: Spanish Tax Agency: non-resident capital gains from property sales.
There is also a rule that surprises many foreign sellers: the buyer must withhold 3% of the sale price and pay it to the Spanish Tax Agency on behalf of the non-resident seller. The Spanish Tax Agency explains this in its page on withholding by the purchaser of real estate and in the instructions for form 211.
Example of the 3% non-resident withholding
- Sale price: 900,000 euros
- Mandatory withholding: 3%
- Calculation: 900,000 x 3% = 27,000 euros
At the notary, the non-resident seller does not receive those 27,000 euros. The buyer pays them to the tax office as an advance payment. The seller later calculates the real gain and files the relevant return. If the final tax is lower than the withholding, the excess may be refunded. If it is higher, the difference must be paid.
What additional document costs should I expect in Catalonia?
Although this article is about taxes, two documents should not be forgotten in Catalonia because they can delay a sale:
- Habitability certificate: the Generalitat states that it confirms that a dwelling meets minimum habitability conditions and is used to sell, rent or transfer the use of a property. Source: Generalitat de Catalunya: second occupancy habitability certificate.
- Energy Performance Certificate: Royal Decree 390/2021 regulates energy certification and requires certificate and label in sale transactions. Source: BOE: Royal Decree 390/2021.
Calculation examples: what may remain net
Scenario 1: Spanish tax resident selling with a gain
- Sale: 650,000 euros
- Purchase: 420,000 euros
- Purchase and registry costs: 45,000 euros
- Structural renovation with invoices: 35,000 euros
- Agency fee: 24,000 euros
- Municipal plusvalia: 5,500 euros
Adjusted acquisition value: 420,000 + 45,000 + 35,000 = 500,000 euros
Net transfer value: 650,000 - 24,000 - 5,500 = 620,500 euros
Taxable gain: 620,500 - 500,000 = 120,500 euros
Approximate IRPF by brackets: 6,000 at 19% = 1,140; 44,000 at 21% = 9,240; 70,500 at 23% = 16,215. Total: 26,595 euros.
Scenario 2: sale without real gain
- Purchase: 500,000 euros
- Purchase costs: 55,000 euros
- Sale: 520,000 euros
- Agency and sale costs: 22,000 euros
Adjusted acquisition value: 555,000 euros
Net transfer value: 498,000 euros
Result: fiscal loss of 57,000 euros
In this case there would be no IRPF on a capital gain. If there is also no increase in land value, non-taxation for municipal plusvalia may be defended, with the relevant declaration before the town hall.
Scenario 3: foreign non-resident seller
- Sale price: 1,100,000 euros
- 3% non-resident withholding: 33,000 euros
- Agency fee: 44,000 euros
- Estimated municipal plusvalia: 9,000 euros
Amount withheld by buyer for the tax office: 33,000 euros
Other estimated costs: 53,000 euros
Amount before final IRNR calculation: 1,100,000 - 33,000 - 53,000 = 1,014,000 euros
Conclusion: calculate your numbers before signing the deposit contract
The most expensive mistake when selling a property in Catalonia rarely happens at the notary. It happens earlier: accepting an offer without knowing what will remain after taxes. The sale price seduces; the net result decides.
Before signing a deposit contract, you should be able to answer these questions:
- Do I have a capital gain or a loss?
- Which expenses can I prove to reduce the taxable gain?
- Can I apply an exemption for habitual residence, age, reinvestment or dation in payment?
- How much will municipal plusvalia be in my town hall?
- Is the real method or objective method better?
- Am I tax resident or non-resident?
- If I live abroad, how will the 3% withholding affect my liquidity?
- Do I have the habitability certificate, energy certificate and documentation ready?
How can I avoid surprises with the tax office next year?
By preparing a fiscal simulation before accepting the offer, not after signing. That simulation should include estimated price, deductible costs, acquisition value, renovations, municipal plusvalia, tax residence, mortgage balance, agency fee and possible exemptions.
Who can help me prepare an accurate tax simulation in my municipality?
A real estate team specialised in Catalonia, coordinated with a tax adviser, can prepare a realistic estimate by municipality. Selling in Barcelona is not the same as selling in Girona, Sitges, Terrassa or Castelldefels. Plusvalia is local, documentation can vary and an international buyer needs a transaction that is clearly explained.
Do you want to know how much you will keep net from the sale of your property?
Request a fiscal simulation and free valuation with our team specialised in Catalonia.
Official sources consulted
- Spanish Tax Agency: What happens when I sell a property.
- Spanish Tax Agency: Habitual residence sold by owners over 65.
- Spanish Tax Agency: Reinvestment in habitual residence.
- Spanish Tax Agency: Withholding by purchaser in non-resident property sales.
- Barcelona City Council: Municipal plusvalia, IIVTNU.
- Generalitat de Catalunya: Second occupancy habitability certificate.
- BOE: Royal Decree 390/2021 on energy certification.