Flat Spain

Selling a Property in Spain in 2027: The Process, the Costs and the Taxes for Residents and Non-Residents

Updated 7 November 2026 · 8 min read

Quick answer

Flat Spain's guide for sellers: selling a home in Spain runs through an energy certificate before you advertise, a reservation and an arras deposit, then the deed at a notary, and it carries three kinds of cost. The agency fee, usually 3% to 5% plus VAT if you use one; the town's plusvalía tax on the rise in the land's value, worked out by whichever of two methods gives less and not due at all if you sell at a loss; and income tax on the gain. Residents pay 19% to 30% on the gain, but nothing if they reinvest it in a new main home within two years or are over 65 and sell their main home. Non-residents pay 19%, and the buyer must withhold 3% of the price and pay it to the tax agency on the seller's behalf, to be offset or reclaimed.

The steps

  1. 1Get an energy certificate: it is compulsory to advertise and its rating must appear in the advert
  2. 2Gather the deed, a recent nota simple, the last IBI receipt, the community's debt certificate and the cadastral reference
  3. 3Agree a price and sign a reservation, then an arras contract with a deposit, usually 10%
  4. 4If there is a mortgage, ask the bank for the payoff figure; it is repaid from the price at the notary
  5. 5Sign the deed at the notary, receive the balance, hand over the keys
  6. 6Pay the town's plusvalía within 30 working days, and declare the gain: residents in the next annual return, non-residents on Modelo 210

What it costs

Seller's costs on a Spanish home sale, 2027
CostWho paysTypical
Agency feeThe seller, unless agreed otherwise3% to 5% of the price, plus 21% VAT
Energy certificateThe sellerA few hundred euros at most
Plusvalía municipalThe sellerSet by the land's value, the years owned and the town's rate, up to 30%
Mortgage cancellationThe sellerAny early-repayment fee, plus notary and registry to cancel the charge
NotaryThe seller for the original deed, the buyer for the first copy, unless agreedA few hundred euros
Income tax on the gainThe seller19% to 30% for residents, 19% for non-residents

Seller's costs on a Spanish home sale, 2027

Income tax on the gain

The gain is the sale price less the costs of selling, minus what the home cost you: the purchase price, the purchase taxes and fees, and the improvements you can document. Homes bought before 1995 can still get a partial reduction on part of the gain.

Tax on a gain from selling a home in Spain, 2027
SellerRateExemptions
Spanish tax residentSavings scale: 19% up to €6,000, 21% to €50,000, 23% to €200,000, 27% to €300,000, 30% aboveReinvesting in a new main home within two years (in proportion); over 65 selling their main home
Non-resident19%Limited; the 3% withheld is credited

Tax on a gain from selling a home in Spain, 2027

Non-resident sellers: the 3%

When the seller is not resident in Spain, the buyer must withhold 3% of the price at the notary and pay it to the tax agency within a month, on Modelo 211. The seller then declares the gain on Modelo 210 within the following three months: if the tax is less than the 3%, the difference is refunded; if there was no gain, all of it is.

Keep the purchase deed and every invoice for improvements: they are what reduce the gain.

The plusvalía municipal

The town's tax on the increase in the land's value since you bought. Since the 2021 reform it can be worked out two ways, an objective method using the land's cadastral value and a coefficient for the years owned, or the real gain, and you pay whichever is lower. If you sell for less than you paid, there is no plusvalía to pay; keep both deeds to prove it.

Pricing it

Price against what similar homes nearby actually list for, not against what you paid. The Flat Spain Price Benchmark is the measure Flat Spain's investor desk uses to compare a listing with its area, adjusted for size, condition, floor and lift.

Frequently asked questions

How much tax do I pay when I sell a house in Spain?

Residents pay 19% to 30% on the gain, with exemptions for reinvesting in a new main home or for over-65s selling their main home. Non-residents pay 19%. Both pay the town's plusvalía, unless they sell at a loss.

What is the 3% retention when selling property in Spain?

When the seller is non-resident, the buyer withholds 3% of the price and pays it to the tax agency on the seller's account. The seller then files Modelo 210 for the gain and is refunded any excess.

Who pays the plusvalía when selling in Spain?

In a sale, the seller, within 30 working days. It is calculated by the method that gives the lower figure, and it is not due if the home sells for less than it cost.

Do I pay capital gains tax if I reinvest in a new home in Spain?

Not if you are a Spanish tax resident selling your main home and reinvest the proceeds in a new main home within two years; a partial reinvestment exempts the gain in proportion. Over-65s selling their main home are exempt outright.

Let Flat Spain do the searching for you

Describe your ideal home in plain English. Flat Spain automatically searches five platforms at once, puts every listing through the Flat Spain Scam Screen, and delivers a ranked shortlist, usually in minutes.

Start my search