Taxes when selling property in Spain

Selling property in Spain can create several tax obligations. The main taxes are usually capital gains tax and plusvalía municipal. If the seller is a Spanish non-resident, the buyer will normally also withhold 3% of the sale price and pay it to the Spanish Tax Agency as a payment on account of the seller’s final capital gains tax position.

Many sellers focus only on the sale price. However, the more important question is what you will actually receive after taxes, retentions, mortgage cancellation, estate agent fees, legal fees and completion costs.

For this reason, the tax position should be reviewed before signing a reservation agreement or private sale contract. A proper pre-sale calculation can help avoid surprises at completion and ensure the correct post-sale filings are made.

At SEB LEESON LEGAL GROUP, we assist resident and non-resident sellers with the legal steps and taxes when selling property in Spain, including capital gains tax calculations, 3% withholding, Modelo 210 filings, plusvalía municipal estimates and Notary completion.

Taxes when selling property in Spain, which are they?

The taxes and costs depend on the seller’s tax residence, the property location, the purchase history, the sale price, deductible costs, documented improvements and local municipal rules.

The main seller taxes are usually:

  • Plusvalía municipal, a local municipal tax connected to the increase in urban land value.

  • 3% withholding for non-resident sellers, which is not an extra tax but an advance payment towards the final capital gains tax.

  • Capital gains tax on the profit made from the sale.

  • Modelo 210 capital-gains return for non-resident sellers after the sale (normally due within three months after the buyer’s one-month Modelo 211 filing period). This is separate from any annual imputed-income Modelo 210 for the period of non-rental ownership up to the sale date, normally filed in the following calendar year.

Other seller costs may include estate agent commission, legal fees, energy performance certificate, mortgage cancellation costs, bank charges, community adjustments, utility adjustments and power of attorney costs if the sale is completed remotely.

Why calculate seller taxes before completion?

Seller taxes when selling property in Spain should be calculated before the sale is completed, and preferably before the private sale contract is signed.

A pre-sale tax review helps you understand:

  • The estimated capital gains tax.
  • Whether the 3% withholding may be higher or lower than the final tax due.
  • Whether a refund may be possible after completion.
  • The expected plusvalía municipal.
  • Which invoices and documents may reduce the taxable gain.
  • Whether historic purchase documents are missing.
  • What amount you are likely to receive after all costs and retentions.
  • Which post-sale filings will be required.

This is especially important for non-resident sellers, inherited properties, properties with renovation works, properties owned by more than one person, company-owned properties and sales involving mortgage cancellation.

Capital gains tax when selling property in Spain

Capital gains tax is charged on the profit made from selling the property. The gain is generally calculated by comparing the acquisition value with the transfer value.

In simple terms:

Taxable gain = adjusted sale value – adjusted acquisition value

The acquisition value may include the original purchase price and certain purchase costs, such as Notary fees, Land Registry fees, legal fees and purchase taxes, where properly documented. In some cases, documented improvement works may also be relevant.

The transfer value is usually based on the sale price, reduced by certain selling costs, such as estate agent commission and legal fees, where they are properly documented and connected with the sale.

The calculation must be supported by documents. If invoices, deeds or tax receipts are missing, the taxable gain may be higher than necessary because certain costs may not be accepted.

Capital gains tax for Spanish tax residents

Spanish tax residents are also taxed on capital gains, but the tax treatment is different from the non-resident system. Spanish tax residents generally declare the gain through their Spanish personal income tax return.

Depending on the facts, Spanish tax residents may need to consider possible reliefs or special rules, for example where the property sold is the main home and the seller reinvests in another qualifying main home, or where age-related exemptions may apply.

These rules are fact-specific and should be reviewed before completion. Sellers should not assume that an exemption applies automatically.

Capital gains tax for non-resident sellers

Non-resident sellers are subject to Spanish Non-Resident Income Tax on gains made from selling Spanish real estate.

The 3% withholding for non-resident sellers

When a non-resident sells property in Spain, the buyer is normally required to withhold 3% of the agreed sale price at completion and pay this amount to the Spanish Tax Agency.

This is commonly known as the 3% withholding, 3% retention or non-resident seller retention.

For example, if a non-resident sells a property for €300,000, the buyer will retain €9,000 and pay this amount to the Spanish Tax Agency. The seller receives the remaining balance, subject to any other agreed payments, mortgage cancellation, estate agent fees, legal fees or completion adjustments.

After completion, the seller’s final capital gains tax position must be calculated. Depending on the result, the 3% withholding may be higher than the final tax due, lower than the final tax due, or approximately equal to it.

Modelo 211: buyer filing for the 3% withholding

The buyer is responsible for paying the 3% withholding to the Spanish Tax Agency using Modelo 211.

Although the money is retained from the seller’s sale proceeds, the filing obligation belongs to the buyer. The buyer should pay the withheld amount to the Tax Agency and provide the seller with proof of the filing/payment.

This proof is important because the seller may need it when dealing with the final tax position after the sale.

The Spanish Tax Agency confirms that Modelo 211 is used for the withholding on the acquisition of real estate from non-residents and that the buyer must withhold and pay 3% of the agreed consideration as a payment on account of the non-resident seller’s tax.

Is the 3% withholding refundable?

The 3% withholding may be refundable if the final capital gains tax due is lower than the amount withheld.

This can happen, for example, where the seller has little or no taxable gain after taking into account the acquisition value, purchase costs, documented improvements and selling costs. It may also be relevant where the property is sold at a loss.

If the final capital gains tax is higher than the 3% withheld, the seller may need to pay the difference.

This is why it is important to calculate the expected capital gains tax before completion. Sellers should not assume that the 3% withholding is either the final tax or automatically refundable.

Annual Modelo 210 after selling property in Spain

Non-resident property owners in Spain may have an annual Modelo 210 obligation for the period during which they owned the property.

This is separate from the 3% withholding. It is also separate from the buyer’s Modelo 211 filing.

If a non-resident owned the property for part of the year before selling, they still need to declare the imputed income for that period in the following calendar year. In practical terms, this means that a seller who completes a sale during the year should still check whether a final annual Modelo 210 filing is required for the days of ownership up to the sale date.

For example, if a non-resident sells a Spanish property in June 2026, they may still need to deal with the annual non-resident tax filing for the part of 2026 during which they owned the property. That filing would normally be dealt with in the following year.

The Spanish Tax Agency states that imputed income from urban property is declared with Modelo 210 in the calendar year following the accrual date, and that the amount is reduced proportionally where the taxpayer did not own the property for the whole year or where it was rented for part of the year.

Modelo 210 if the property was rented before sale

If the property was rented before the sale, the seller may also need to review rental income filings.

Non-resident owners who rent out Spanish property may have to declare Spanish rental income through Modelo 210. The position depends on the rental period, the owner’s tax residence, the type of rental activity and whether filings have already been made correctly.

If the property was rented for part of the year and then sold, the seller should check both:

  • The rental income tax position up to the date of sale.
  • The annual non-resident tax position for any period of personal use or non-rental ownership.

This should be reviewed before or shortly after completion, especially where the seller wants to close Spanish bank accounts, transfer funds abroad or finalise their Spanish tax affairs.

Plusvalía municipal when selling property in Spain

With your taxes when selling property in Spain, the plusvalía municipal will also play an important role. This is a local town-hall tax that may apply when selling Spanish property. It is separate from national capital gains tax.

Capital gains tax looks at the seller’s gain for income tax purposes. Plusvalía municipal is a municipal tax connected to the increase in the value of urban land during the period of ownership.

The amount can vary depending on the municipality, the cadastral land value, the number of years the property has been owned and the calculation method used by the town hall.

Sellers often confuse plusvalía municipal with capital gains tax, but they are different taxes. In many sales, both need to be considered.

The plusvalía municipal should be estimated before completion because it affects the seller’s net proceeds. In some transactions, the buyer may ask for a retention at completion to ensure the tax is paid.

Other costs when selling property in Spain

In addition to taxes, sellers should budget for other possible costs and completion adjustments.

Common seller costs may include:

  • Estate agent commission.

  • Legal and tax advisory fees.

  • Energy performance certificate.

  • Mortgage cancellation costs, if the property is mortgaged.

  • Notary or Land Registry costs connected with mortgage cancellation.

  • Bank charges.

  • Community fee adjustments.

  • Utility adjustments.

  • Power of attorney costs if the sale is completed remotely.

  • Translation or document costs where required.

  • Costs to obtain missing certificates or property documents.

Taxes When Selling Property in Spain

The seller should calculate the complete net position, not only the tax position. The key question is not only the sale price, but the amount the seller will actually receive after taxes, retentions, costs and adjustments. We can calculate this beforehand for you, so you have a realistic view on the net amount coming your way after completion.

Documents needed to calculate seller taxes

The documents needed depend on the property and the seller’s circumstances, but the following are commonly useful:

  • Purchase title deed.

  • Expected sale price or draft sale contract.

  • Passport or identity document.

  • NIE number.

  • Latest IBI receipt.

  • Land Registry information.

  • Original purchase tax proof.

  • Purchase Notary and Land Registry invoices.

  • Legal invoices from the purchase.

  • Estate agent invoice for the sale.

  • Legal invoice for the sale.

  • Invoices for documented improvement works.

  • Mortgage cancellation information, if applicable.

  • Community certificate.

  • Modelo 211 proof after completion, where the seller is non-resident and 3% has been withheld.

  • Previous Modelo 210 filings, especially for non-resident sellers.

The more complete the document file, the more accurate the tax calculation can be.

Selling an inherited property in Spain

Selling an inherited property can create additional tax and documentation issues.

The acquisition value for capital gains tax purposes may depend on the inheritance deed, the declared inheritance value and the inheritance tax documentation. Before selling, it is important to check whether the inheritance has been fully completed, whether the heirs are correctly registered as owners and whether any inheritance tax or plusvalía municipal issues were dealt with at the time of inheritance.

Inherited property sales should be reviewed carefully because missing inheritance documents can delay the sale or affect the tax calculation. We will fully assist you in case the inheritance hasn’t been done, as this will have a big impact on your taxes when selling property in Spain.

Selling property owned by a company

If the property is owned by a company, the seller tax analysis may be different from a personal sale.

The company’s tax residence, accounting treatment, corporate tax position, possible VAT or IGIC issues and beneficial-owner structure may all be relevant. The Notary and buyer’s lawyer may also request corporate documents, proof of authority to sell and beneficial ownership information.

Company-owned property sales should be reviewed before signing a contract because the tax and documentation requirements can be more complex.

Selling property in Tenerife or the Canary Islands

If the property is in Tenerife, Gran Canaria, Lanzarote, Fuerteventura or another Canary Island, the general Spanish seller-tax framework applies, but local and regional practice should also be considered.

Plusvalía municipal is handled by the local town hall. Property documentation, completion practice, municipal tax records and local requirements may differ from mainland Spain.

For sellers in the Canary Islands, it is particularly important to prepare the documentation early, calculate the expected tax position and check whether any local retentions or completion adjustments are likely before the Notary appointment.

Can seller taxes be deducted from the sale proceeds?

Some amounts may be retained or paid directly at completion, depending on the transaction with your taxes when selling property in Spain.

For example, the 3% withholding for non-resident sellers is normally retained from the price and paid by the buyer to the Spanish Tax Agency. Mortgage cancellation amounts may also be paid from sale proceeds. Estate agent fees may be paid at or around completion depending on the agency agreement.

However, not every tax or filing is automatically settled at completion. Non-resident sellers should pay particular attention to any final annual Modelo 210 obligation for the year of sale, because this may need to be dealt with in the following calendar year.

Common mistakes sellers make

How SEB LEESON LEGAL GROUP can help

SEB LEESON LEGAL GROUP assists Spanish property sellers with the legal steps and taxes when selling property in Spain before, during and after completion.

Our service can include:

  • Reviewing the sale structure and seller tax position.
  • Calculating expected capital gains tax.
  • Estimating the 3% withholding impact for non-resident sellers.
  • Checking whether a final annual Modelo 210 filing is required after the sale.
  • Estimating plusvalía municipal.
  • Reviewing reservation agreements and private sale contracts.
  • Preparing seller documentation.
  • Coordinating with estate agents, buyers, banks and Notaries.
  • Checking retentions and completion payments.
  • Assisting with mortgage cancellation.
  • Completing the sale remotely by power of attorney where appropriate.
  • Advising on post-sale tax and compliance steps.

Our aim is to help you understand the true net result of your sale before you commit, so you can complete the transaction with clarity and avoid unnecessary tax surprises.

Tell us about your property sale:

English-speaking legal consultation for selling property in Spain
Sophie S.
3 days ago
Zeer professionele, vlotte en correcte service !
Response from the owner:Dankjewel Sophie voor de leuke feedback!

Selling your Spanish property should not leave you with tax surprises, legal uncertainty or delays at completion. Contact us and let our team guide you from preparation to post-sale tax filing.

Frequently asked questions about taxes when selling property in Spain