Learn how to get a Spanish tax residency certificate from AEAT in 2026, online or using Modelo 01, including the con convenio certificate for UK-Spain tax treaty claims.

This is a div block with a Webflow interaction that will be triggered when the heading is in the view.
Many British expats leave Spain but hold on to a Spanish property, assuming that once they are non-resident, Spain can no longer tax them. It can. Spanish assets stay within the Spanish tax net wherever their owner lives, and selling one triggers capital gains tax, a buyer withholding and a municipal charge. This article explains what a non-resident seller actually faces, and how to plan around it.
Most British expats who have left Spain but kept a Spanish property assume the tax relationship is over, because they are:
In practice, that feels reasonable. It is also where the gap starts.
Spain does not tax you only because you live there. It also taxes certain assets because they are there. A Spanish property stays firmly inside the Spanish tax net no matter where its owner has moved, and selling it triggers Spanish tax even years after you left.
This article exists to explain exactly what a non-resident faces when selling a Spanish asset, from the capital gains charge to the buyer withholding and the municipal tax, and how to plan a sale so none of it comes as a shock.
The idea that unlocks everything here is situs, the location of an asset. Spain taxes gains on assets situated in Spain regardless of where the owner is resident.
Residency decides how a country taxes your worldwide income and gains. Situs decides how a country taxes assets physically located within its borders, even when they belong to someone who lives abroad. For a Spanish property, the situs is unarguably Spain, so Spain keeps a taxing right over the gain.
This is why leaving does not cut the cord. Your income tax residency may have moved to the UK, but your Spanish flat has not moved anywhere. It is still Spanish property, and when you sell it, Spain treats the gain as a Spanish gain.
It is worth holding this distinction clearly, because it is the tax that follows the asset, not the owner. Understanding situs is what turns an unpleasant surprise at completion into a cost you saw coming and planned for.
When a non-resident sells a Spanish property, Spain charges capital gains tax on the profit, just as it would for a resident, but under the non-resident rules.
The charge falls on the gain, broadly the difference between what you sell the property for and what it cost you, adjusted for allowable costs. It is settled through Spain's non-resident tax system rather than the ordinary resident return, and it applies whether the property is a former home, a holiday flat or a buy-to-let.
The key mental shift is that this is not a resident charge you have escaped by leaving. It is a separate, standing charge that applies precisely because you are a non-resident selling a Spanish asset. Leaving Spain changes which set of rules applies, not whether Spain can tax the gain at all.
Property is the headline case because it is the Spanish asset most British expats keep after they leave, and because the sums involved are usually large. But the underlying principle, that Spanish-situated gains stay taxable in Spain, is what matters.
That principle is also easy to underestimate precisely because it feels counterintuitive. You have left, you file elsewhere, and every instinct says Spain is behind you. The property, quietly, disagrees. It remains a Spanish asset with a Spanish tax history attached to it, waiting for the day you sell, and that day is when the principle turns into a bill.
{{INSET-CTA-1}}
The rate is more favourable than many sellers fear, thanks to the treaty. For sellers resident in the EU or EEA, the non-resident capital gains rate on the gain is a flat 19%.
Although the UK is now outside the EU and the EEA, the UK-Spain treaty typically brings UK sellers to the same flat 19% rate on the gain, rather than a higher non-resident rate. It is a genuinely helpful position, but because it rests on the treaty rather than on EU membership, it is one to confirm for your specific sale.
A flat 19% is materially better than the top savings-income rates that can apply to residents, but it is still a real charge on what can be a large gain after years of ownership. Knowing the rate in advance lets you work out your true net proceeds rather than being surprised by them.
The 19% applies to the gain, so how that gain is worked out matters as much as the rate itself.
In broad terms, the gain is the difference between your sale proceeds and your acquisition cost, with certain allowable expenses taken into account on both sides. The costs of buying and improving the property, and the costs of selling it, generally reduce the taxable gain, which is why keeping good records over the years of ownership pays off at the point of sale.
For a property held for a long time, the gain can be substantial, because Spanish house prices and the length of ownership both push it up. That is exactly why the calculation deserves care: an accurately computed gain, with all allowable costs captured, can be meaningfully smaller than a rushed one.
Because the detail of what counts as an allowable cost, and how the acquisition value is established, can move the final figure, this is an area where getting the numbers right with proper support is worth far more than the effort it takes. The precise calculation should be confirmed with a specialist.
Here is the feature that catches non-resident sellers off guard more than any other: the buyer does not hand you the full price. They withhold 3% of it and pay it to the Spanish tax authorities on your behalf.
This 3% withholding, the retencion, is an advance payment against your capital gains tax. It exists because you are a non-resident, and Spain wants a guaranteed payment on account before the seller disappears abroad. The buyer is legally required to withhold it and remit it to the tax office.
The important thing to grasp is that the 3% is not a separate cost on top of your capital gains tax. It is a prepayment of it. Whether you end up better or worse off than the 3% withheld depends entirely on how your actual gain compares with it, which is where the reconciliation comes in.
The form that ties it all together is Modelo 210, the Spanish non-resident income tax return, and it comes with a deadline that arrives faster than sellers expect.
After the sale, you file Modelo 210 to declare the actual gain and your actual capital gains liability at 19%. This is where the 3% already withheld is set against what you truly owe. Modelo 210 for the sale is generally due within about four months of the transaction.
That four-month clock is short, and it starts at completion, not whenever you get around to your admin. For a seller who has already moved abroad and mentally closed the Spanish chapter, it is easy to let the deadline slip while dealing with the move, which is exactly how avoidable problems arise.
Treating Modelo 210 as part of the sale itself, rather than as paperwork to sort out later, is the simplest way to stay on the right side of the deadline. The sale is not really finished, in tax terms, until the Modelo 210 is filed and the position is settled.
The capital gains tax is not the only charge on a Spanish property sale. There is also plusvalia municipal, a separate tax levied by the local town hall.
Plusvalia municipal, formally the IIVTNU, is a tax on the increase in the value of the urban land the property sits on, over the period you owned it. It is charged when a property is transferred, and on a sale it is normally the seller who pays it. It sits entirely apart from the national capital gains tax and is calculated on a different basis.
Since a reform in November 2021, there are two ways to calculate plusvalia municipal, an objective method based on the cadastral land value and a real-gain method based on the actual increase, and you may use whichever produces the lower figure. If there has genuinely been no gain in land value, you can be exempt, but you must still file with the town hall and provide the deeds to show it.
The practical warning is that the plusvalia the town hall still charges is easy to forget when you are focused on the capital gains side. Budgeting for both, and filing both, is what keeps a non-resident sale clean.
Because the 3% is only an estimate on account, the Modelo 210 reconciliation can go one of two ways, and both are common.
If your actual capital gains liability at 19% turns out to be less than the 3% withheld, you have overpaid, and you can reclaim the excess through Modelo 210. This happens surprisingly often, particularly where the gain is modest relative to the sale price, or where allowable costs bring the gain down.
If your actual liability is more than the 3% withheld, the withholding does not cover the bill, and you pay the balance when you file. This is the case sellers most need to plan for, because it means finding additional funds after completion, once the 3% has already gone.
The lesson is not to treat the 3% as the end of the story. It is a rough down payment, and the real number, higher or lower, only emerges when the gain is properly calculated and the return is filed.
There is a cash-flow point worth noting here too. The 3% is taken from your proceeds at completion, so you feel it immediately, whereas any reclaim comes back later, after the return is processed. Sellers who have earmarked every euro of the proceeds for their onward plans can be caught short by the gap between money withheld now and money returned later. Building that timing into your budget is part of planning the sale properly rather than being surprised by it.
There is a second country to keep in view. If you have become UK resident again, the UK taxes its residents on their worldwide gains, which can include the gain on a Spanish property.
That raises the spectre of the same gain being taxed twice, once in Spain by situs and once in the UK by residency. This is exactly what the double tax treaty is designed to prevent. In broad terms, the country where the property sits taxes the gain, and your country of residence gives credit relief for the tax already paid, so you are not charged twice on the same profit.
The mechanics of that credit, and how the two calculations interact, are genuinely technical, because the UK and Spain compute gains differently and use different dates and allowances. The headline comfort is that relief exists; the detail is firmly a matter to confirm with a specialist for your particular sale.
The takeaway is not to panic about double taxation, but not to ignore the UK side either. A Spanish property sale by a returned UK resident is a two-country event, and it should be planned as one.
{{INSET-CTA-2}}
When you sell can matter as much as how the sale is taxed, because your residency at the moment of sale shapes the whole picture.
Selling while you are still Spanish resident, selling as a non-resident, and selling after you have become UK resident again are three different tax situations, with different rules, rates and reliefs in play. The Spanish main-home reliefs, for example, apply only to a Spanish habitual residence and only while the relevant conditions are met, so a former home sold years after you leave is treated very differently from one sold while you still live in it.
This is why timing a sale around your residency is a real planning lever rather than a detail. The best moment to sell depends on your circumstances, your residency at the time, and how the Spanish and UK positions interact, and it is rarely obvious without working it through.
None of this means there is a single right answer. It means the sale date is a variable worth thinking about deliberately, ideally before you commit to a buyer, so the tax outcome is one you chose rather than one that happened to you.
Most non-resident sale problems come from assuming that leaving Spain ended the Spanish tax story. It did not, and the mistakes tend to follow a pattern.
None of these are complicated to avoid, but each can cost real money or real stress. They share a single cause, which is treating the sale as an ordinary domestic transaction rather than a cross-border one with two tax authorities potentially involved.
The reassuring part is that a non-resident sale handled with foresight is entirely manageable. The charges are known, the deadlines are fixed, and the treaty protects you from being taxed twice. The trouble only comes when the sale is treated as an afterthought.
Selling a Spanish asset from abroad is a classic cross-border task where advice pays for itself, because the pieces sit in two countries and the deadlines are unforgiving.
The value is not in knowing that Spain taxes Spanish property. It is in turning a two-country sale into a single, well-sequenced event, so the tax is correct, the deadlines are met, and no charge is paid twice or missed.
If you are reading this and thinking:
then the sensible next step is a short, no-pressure conversation before you put the property on the market or accept an offer.
You do not need a buyer lined up first. You need a clear picture of what Spain, and possibly the UK, will take, so you can plan the sale rather than react to it.
Selling a Spanish asset after you have left is not a clean break.
It is a cross-border sale with known, manageable rules:
Leaving Spain does not remove Spanish tax on Spanish gains, but it does not have to be a nasty surprise either. Plan the sale as the two-country event it is, and you keep control of the outcome rather than discovering it at the notary.
Yes. Spain taxes gains on Spanish-situated assets, especially property, regardless of where you are resident. Leaving Spain does not remove Spanish tax on Spanish gains; it simply means you are taxed under the non-resident rules rather than the resident ones.
For sellers resident in the EU or EEA, the rate on the gain is a flat 19%, and the UK-Spain treaty typically brings UK sellers to the same 19% even though the UK is now outside the EU. The exact position should be confirmed with a specialist for your sale.
The buyer is legally required to withhold 3% of the sale price and pay it to the Spanish tax authorities as an advance payment against your capital gains tax. It is not an extra tax, but a prepayment that you reconcile against your actual liability through Modelo 210.
Modelo 210 for a property sale is generally due within about four months of the transaction. That is where you declare the actual gain, apply the 19% rate, and either reclaim any excess withheld or pay any balance owed.
Usually yes. Plusvalia municipal is a separate town-hall tax on the increase in urban land value, normally paid by the seller. Since the 2021 reform you can use whichever of two calculation methods is lower, and you must still file with the town hall even if there is genuinely no gain.
The same gain can fall within both Spanish and UK tax, but the double tax treaty is designed to prevent double taxation. Broadly, Spain taxes the gain where the property sits and the UK gives credit relief for the Spanish tax paid. The detail is technical and should be confirmed with a specialist.
As a Private Wealth Partner at Skybound Wealth, Kevin works with expatriate and internationally mobile clients who want long-term, relationship-led financial planning from someone who understands how decisions play out across countries, market cycles, and life stages.
This article is for information purposes only and does not constitute financial advice. Financial planning outcomes depend on individual circumstances, residency, tax status, and objectives. Professional advice should always be sought before making financial decisions.
Selling Spanish property after moving abroad can create tax obligations you may not have expected.

A Spanish property can remain within the Spanish tax net after you move abroad.

Ordered list
Unordered list
Ordered list
Unordered list
You have left Spain but still own a Spanish property. Before you sell, understand how much tax and other charges could affect your net proceeds.