Property sale tax in Spain depends primarily not on your passport but on your tax status: residents declare the gain through IRPF, while non-residents are taxed under IRNR. In addition to tax on the profit from selling a property, you will almost always need to check municipal plusvalía (IIVTNU) separately, as well as the costs involved in preparing the sale.

For 2026, there is no single reliable “cost of selling”: the total depends on the property, documented expenses, ownership period and municipal rules. Before signing the escritura, ask a gestor or tax adviser to calculate the figures using your documents, and check the current IRPF rules and municipal ordinance against official sources.

What taxes and mandatory costs arise when selling property in Spain?

Capital gains tax: IRPF or IRNR

The main tax when selling property in Spain is capital gains tax: it applies to the financial result of the transaction, not automatically to the entire price shown in the escritura. A Spanish tax resident reports the gain in their income tax return (IRPF). A non-resident without a permanent establishment is taxed under the non-resident income tax regime (IRNR); the materials provided state a 19% rate for this gain.

Do not confuse the 19% rate with the 3% withholding. The withholding is not the final tax “on the whole price”; it is an advance payment withheld by the buyer from the agreed price when a non-resident sells the property. The final position is calculated later through Modelo 210, and an overpayment may be refundable.

Municipal plusvalía

Plusvalía municipal is the common name for IIVTNU, the municipal tax on the increase in the value of urban land. It is a separate charge: it does not replace IRPF or IRNR and is not calculated using one nationwide rate. The calculation depends on municipal rules and the method selected, so check the details with the relevant town hall.

Notary, agency, mortgage cancellation and other seller’s costs

Taxes and costs are not the same thing. A seller may have to pay estate-agent fees, an energy performance certificate (certificado energético), mortgage repayment and cancellation at the Land Registry, as well as documents confirming payments to the owners’ association (comunidad de propietarios). Include these costs in your financial plan, but do not assume automatically that every payment reduces the taxable gain: its deductibility and documentation must be checked.

ItemWhat it meansWhat it depends on
IRPFResident’s declaration of the gainTax year and applicable progressive scale
IRNRNon-resident tax with the final gain calculationSeller’s status and documented calculation
3% withholdingIRNR advance withheld from the contract priceSale by a non-resident
Plusvalía (IIVTNU)Municipal tax on urban landMunicipal rules and selected method; check the details with the town hall
Transaction costsAgency, certificate, mortgage and comunidad documentsContract terms and the specific circumstances

How do you calculate tax on the profit from selling a property in Spain?

Capital gain formula

In practical terms, deduct allowable selling costs from the transfer value. Then compare the result with the acquisition value, adjusted for documented purchase taxes and costs and for improvements. If the property was rented out, depreciation for the rental period reduces the acquisition tax basis and may therefore increase the taxable gain.

The simplified formula is: capital gain = net transfer value − adjusted acquisition value. This is not a completed tax return and is not a reason to round figures “by eye”: every line should be supported by documentation.

Which costs reduce the taxable profit?

The acquisition value may include documented purchase taxes and costs and improvements. The transfer value may be reduced by allowable selling costs. Keep the purchase and sale escrituras, invoices and proof of payment: without them, it is difficult to support the calculation.

Do not treat ordinary ownership costs as part of the acquisition value. According to the materials provided, IBI, utilities, insurance and routine owner’s expenses do not increase the acquisition value for the gain calculation. Repairs, improvements and ordinary maintenance are different categories; if in doubt, do not include a payment without professional advice.

How to prepare an accurate property calculation

  1. Take the purchase price from the acquisition escritura and the transfer price from the draft or signed sale escritura.
  2. Collect documents for purchase taxes and costs, and for improvements.
  3. Collect documents for allowable selling costs separately.
  4. Check whether the property was rented out and whether depreciation was taken into account.
  5. Exclude IBI, insurance, utility bills and ordinary maintenance.
  6. Establish the seller’s tax status on the transaction date and only then apply the relevant regime.
The contract price is only the starting point. Without documents relating to the purchase, improvements, rental history and sale, you cannot reliably calculate property sale tax in Spain or the profit on the sale.

How much does a Spanish tax resident pay when selling property?

IRPF scale for capital gains

A Spanish tax resident includes the gain from a sale in IRPF, which uses a progressive scale. The exact bands and rates depend on the applicable tax year. For 2026, do not rely on rate tables from old articles or on figures used in an estate agent’s advertising.

Check the current IRPF scale and any regional features in official sources for the year of sale. The supplied facts do not contain a confirmed table of 2026 thresholds, so quoting figures here would be unreliable.

How and when to declare the income

A resident seller declares the gain through IRPF. Check the exact filing calendar and filing method on the Agencia Tributaria website for the relevant year. If reinvestment, habitual residence relief, rental use or co-ownership is involved, calculate the position well before filing the return.

What tax does a non-resident pay when selling a property in Spain?

3% withholding by the buyer

When a non-resident sells Spanish property, the buyer withholds 3% of the contract price and pays it to Agencia Tributaria using Modelo 211. This is an IRNR advance, not confirmation that the non-resident pays 3% or 19% of the entire sale price. According to the supplied materials, the gain of a non-resident without a permanent establishment is taxed under IRNR at 19%.

Modelo 210: additional payment or refund

After the withholding, the seller uses Modelo 210 to calculate the final IRNR due on the sale and credit the 3% withheld. If the withholding exceeds the final amount, the seller can claim a refund of the overpayment through Modelo 210.

The buyer files Modelo 211 within one month of the transfer. The seller files Modelo 210 within three months after that one-month period ends. Keep proof of the withholding and filing. Before filing, check the current form instructions and electronic procedure on the official Agencia Tributaria portal.

Why Russian or Ukrainian citizenship does not determine the rate

There is no separate property-sale tax rate for Russian or Ukrainian citizens simply because of their nationality. The key issue is tax status: Spanish resident or non-resident, and, for a non-resident, whether a permanent establishment exists. Do not confuse this with taxation of other non-resident income: this section concerns only the gain from selling Spanish property.

How is municipal plusvalía calculated and who pays it?

Municipal calculation rules

IIVTNU concerns urban land, not one nationwide market price for the apartment. The calculation depends on local rules and the method selected; check the details with the municipality where the property is located. You cannot take a coefficient or amount from an article about another city and apply it to your sale.

Objective and actual methods

Following the IIVTNU reform, the objective and actual methods can be compared and the more favourable one selected. If the land has not increased in value, the tax is not charged, although a filing obligation may remain. Selling the whole property for less than its purchase price does not always remove the need to check the land value and municipal requirements.

Municipal filing deadline

For a transaction between living persons, the plusvalía filing deadline is usually 30 working days, but the municipality determines the exact procedure. Check the ordinance, form, recipient and filing method in the city where the property is located. If a non-resident seller does not pay IIVTNU, the buyer may have subsidiary liability; for this reason, the parties sometimes withhold the amount from the price.

How can you legally reduce the tax or obtain an exemption?

Reinvestment in a main home

A resident may qualify for a full or proportional exemption when reinvesting proceeds from a habitual residence in another main home, provided the applicable deadlines and conditions are met. The supplied data do not confirm the deadlines and full conditions for 2026, so check the current IRPF rules before the sale.

Selling a main home after age 65

A resident aged over 65 may qualify for an exemption when selling a habitual residence, subject to the IRPF conditions. The facts are critical: the property must actually have been the main home and the current conditions must be met. Do not extend the relief to a second home or rental property without individual advice.

Loss on sale and supporting documents

If the correct calculation produces a loss, that is not a reason to skip the paperwork. The same evidence is required: escrituras, purchase and selling costs, improvement records and rental information. For IIVTNU, separately check whether the land increased in value and whether a declaration is required.

Do not rely on claims about special relief for properties acquired in 2012 or unverified 2026 coefficient tables without checking the current official rule.

What changes if the property was inherited, gifted or sold under a power of attorney?

Acquisition value and calculation documents

For inherited or gifted property, it is especially important to establish the acquisition value for the gain calculation and collect supporting documents in advance. The supplied facts do not provide the valuation rules, forms or deadlines for these cases, so do not use an asking price or your own estimate. Show the adviser the transfer documents, proof of taxes paid and registered title before signing the sale.

Who is responsible for filing and payment?

A sale under a power of attorney does not remove the seller’s tax obligations. The attorney acts within the authority granted, but the IRPF or IRNR calculation, plusvalía and transaction documents must be prepared in the name of the liable person. Check with the notary and a specialist that the power of attorney covers signing and filing.

What deadlines, forms and documents should you check before and after completion?

Document checklist for the notary and tax calculations

  • purchase escritura and documents for the planned sale;
  • proof of purchase taxes and costs;
  • invoices and proof of improvement costs;
  • documents for allowable selling costs;
  • rental and depreciation records, if the property was rented;
  • energy performance certificate;
  • comunidad de propietarios payment records;
  • mortgage repayment and cancellation documents, if applicable;
  • proof of the 3% withholding and Modelo 211 for a non-resident sale;
  • municipal information needed to check IIVTNU.

Payment and filing calendar

StageActionDeadline
Before the notaryCheck status, documents, costs, IIVTNU and mortgageBefore signing
After transferBuyer files Modelo 211 for a non-resident saleWithin one month of transfer
After the Modelo 211 deadlineNon-resident seller files Modelo 210Within three months after the one-month Modelo 211 period ends
After a sale between living personsFile or arrange IIVTNUUsually 30 working days; check with the municipality
IRPF campaignResident declares the gainCheck the official calendar for the year of sale

When you need a gestor or tax adviser

Professional help is particularly important if the property was rented, depreciation applies, the seller is a non-resident, habitual residence relief may apply, the property was inherited or gifted, there is a mortgage, co-ownership or uncertainty about IIVTNU. The cost of a mistake is not only extra tax, but also a missed form or deadline.

What to check before selling

  • Do not determine the regime from your passport. Citizenship is not the same as Spanish tax residence.
  • Do not confuse 3% with final IRNR. The buyer withholds it as an advance, and the final amount is determined through Modelo 210.
  • Do not include every cost automatically. IBI, insurance, utilities and ordinary ownership costs do not increase the acquisition value.
  • Remember rental depreciation. It may increase the taxable gain.
  • Do not calculate plusvalía using another city. You need the rules of the relevant municipality.
  • Do not rely on old IRPF rates or unverified 2026 coefficients. Check the official rules for the year of sale.
  • Do not expect a refund without documents. Keep Modelo 211 and the Modelo 210 calculation.

If you reduce the issue to one action: before accepting a deposit, collect the documents and order two calculations—the IRPF/IRNR gain and IIVTNU in your municipality. This way, property sale tax in Spain will not come as a surprise at the notary.

Official sources