Selling a property in Spain without being a resident: taxes explained clearly.

12/11/26

Selling a property in Spain while residing outside the country entails a number of tax obligations that are worth understanding before beginning the process.
Whether the property served as a second home or was purchased as an investment, calculating the taxes associated with the sale in advance provides a clearer picture of the net proceeds you will ultimately receive.

1. 19% tax on capital gains: the Non-Resident Income Tax (IRNR)

If you sell a property in Spain and make a profit, that gain is subject to the Non-Resident Income Tax (known in Spanish as *Impuesto sobre la Renta de No Residentes* or IRNR).
The tax rate is fixed at 19% of the net capital gain, regardless of your country of residence—whether it be France, Germany, the United Kingdom, the United States, or Switzerland.
But how is this "gain" calculated? It is not simply a matter of subtracting the purchase price from the sale price.
From the transfer value—the amount you receive from the sale—you may deduct expenses incurred to complete the transaction, such as real estate agency commissions, the cost of an energy efficiency certificate, or the municipal capital gains tax (*plusvalía municipal*).
To the acquisition value—the amount paid when the property was originally purchased—you may add certain initial acquisition costs, such as notary fees, land registry fees, legal fees, and the Transfer Tax (ITP) or VAT. You may also include the cost of improvements made to the property, provided they meet specific tax requirements.
Two points require particular attention:
Distinguishing between renovations and routine maintenance. General upkeep or painting does not add to the acquisition value. Only work that constitutes a structural improvement or an expansion—such as building a swimming pool, a complete overhaul of the electrical system, increasing the living area, or installing solar panels—will increase the acquisition value. Furthermore, such improvements must be properly documented with invoices (including VAT) and bank records confirming the payments. If the property has been rented out, the Spanish tax authorities (Hacienda) require that the depreciation corresponding to the years it was rented—essentially the theoretical wear and tear of the property, typically calculated at around 3% of the construction value per year—be deducted from the acquisition cost. Reducing the acquisition cost in this way increases the "paper" capital gain, which in turn leads to a higher tax liability.

2. The 3% withholding: a payment on account.

When a property is sold by a non-resident, the buyer does not pay the full agreed-upon price at the time the deed is signed before a notary. By law, the buyer must withhold 3% of the total sale price and remit it directly to the Spanish tax authorities on behalf of the seller, using "Form 211" (Modelo 211).
This amount is not an additional tax, but rather a payment on account—an advance—toward the final tax liability.
How is this settled later?
The seller has approximately four months from the date of the sale to file a final tax return using "Form 210" (Modelo 210).
If the actual tax due (19%) is less than the 3% withheld, or if the transaction results in a demonstrable loss, the seller may request a refund of the difference from the tax authorities.
If the capital gain is significant and the 19% tax exceeds the 3% already withheld, the seller must pay the remaining balance.
Practical example:
Sale price of the property: €500,000.
A 3% withholding is applied at the notary’s office: €15,000.
After deducting allowable expenses (such as agency fees, original purchase costs, and qualifying renovation expenses) and correctly calculating the acquisition cost, your actual capital gain amounts to €40,000.
19% of €40,000 is €7,600.
Result: Since €15,000 was already withheld at the notary’s office, the tax authorities will issue a refund of €7,400.

3. Municipal Capital Gains Tax (local council tax).

In addition to the national tax authority (Agencia Tributaria), the local council of the municipality where the property is located requires the payment of a municipal capital gains tax—known in Spanish as *plusvalía municipal* (or IIVTNU). This tax is levied on the increase in the value of urban land during the period in which the property was owned.
If a property is sold at a loss—that is, for an amount lower than the original purchase price—and this can be substantiated through the title deeds, there is no obligation to pay this municipal capital gains tax (IIVTNU).
In the case of sellers who are not residents of Spain, the law makes the buyer secondarily liable for payment if the seller fails to pay. Consequently, it is standard practice at notary offices for the buyer to withhold an estimated amount for this tax from the final purchase price, ensuring that the buyer can then pay it directly to the relevant local council.

Analyzing the transaction before entering the market.

Claiming expenses that are subsequently rejected by the tax authorities, miscalculating the impact of prior rental income, or rushing to set an asking price without considering the tax burden are common errors. These mistakes can significantly alter the final outcome of the transaction and end up costing thousands of euros.
At Abahana, we have a legal department 

specialized tax expert works in coordination with the Abahana Sales team. We analyze title deeds and invoices before beginning the sales process, calculate the net proceeds of the transaction with precision, handle the filing of tax returns, and—where applicable—manage refund requests.
This service is available both to owners who already work with Abahana and to anyone considering the sale of a property in Spain, even if the property has never been rented out or managed by us.

Comments and practical advice for the reader.

Refund timelines: The Tax Agency is legally allowed 6 months—from the end of the voluntary filing period—to process the 3% tax refund. If this period is exceeded, late-payment interest will accrue. It is best to anticipate that this procedure may take several months, rather than weeks.
Apportioning the IBI (municipal property tax) for the current year: The IBI tax bill is issued by the local council in the name of the person who is the owner as of January 1st. However, under current case law, this cost can be split between the buyer and the seller in proportion to the length of time each party held ownership of the property during that year. It is advisable to include this in writing, starting from the preliminary sales agreement (*contrato de arras*).

Latest news
© 2026 Abahana Sales
Manage consent

We use our own and third-party cookies to personalize the web, analyze our services and show you advertising based on your browsing habits and preferences. For more information visit our Cookies Policy

Accept cookies Configuration Reject cookies