Capital gains tax in Spain for expats catches many British arrivals off guard. Once you are Spanish tax resident, Spain generally taxes gains on your worldwide assets, including shares, funds and property you bought long before you moved, and it measures the gain from what you originally paid, not from what the asset was worth when you arrived. Gains are taxed in the savings base at rates from 19% to 30%, and the UK tax wrappers and reliefs you are used to, such as ISAs and UK main residence relief, do not carry across. This guide explains how Spanish capital gains tax works for residents, how UK assets are treated under the UK to Spain double taxation convention, the reliefs for your main home, how losses can be used, the exit tax on leaving, and why the timing of a sale around your move matters so much. It is general information, not personal tax advice. Spanish figures are for the 2025 and 2026 tax years (Spain's tax year is the calendar year) and UK figures for 2026 to 2027; recheck them before you rely on them.
Spanish tax residents pay personal income tax (IRPF) on worldwide income and gains. Gains and losses arising from the transfer of assets, such as shares, investment funds and property, generally fall into the savings base (base liquidable del ahorro). Interest and dividends sit in the same base as a separate component, and the two are netted under statutory ordering rules explained below. For 2025, and unchanged for 2026 at the time of writing, the combined state and regional savings scale is 19% on the first 6,000 euros, 21% from 6,000 to 50,000 euros, 23% from 50,000 to 200,000 euros, 27% from 200,000 to 300,000 euros and 30% above 300,000 euros. The top rate rose from 28% to 30% from 1 January 2025 under Ley 7/2024, which amended both the state scale in article 66 and the autonomous scale in article 76 of the IRPF law, as shown in the Spanish tax authority's 2025 income tax manual. Unlike the general scale for earnings and pensions, the savings scale is the same across most of Spain, so your region does not change the rate on a typical gain, although the separate foral systems of the Basque Country and Navarre have their own rules. There is no general annual exempt amount for gains equivalent to the UK one, although specific exemptions and transitional rules exist, some of which are covered below. Our guide to tax in Spain for expats covers residency, the wider income tax position and wealth tax.
This is the point that surprises most British arrivals. Spain does not give you a fresh base cost when you become resident. The gain is broadly the transfer value less the acquisition value, which includes the original price plus qualifying purchase costs and improvements, under Spanish rules. If you bought shares for 100,000 euros ten years ago, they are worth 250,000 euros when you move, and you sell them a year after arriving for 260,000 euros, the Spanish gain, ignoring costs, is broadly 160,000 euros, not the 10,000 euros of growth since you arrived. Spain does not operate the UK statutory split-year regime: residence is generally decided for the whole calendar year, so depending on the residence analysis for that year, a gain realised earlier in the year you arrive can fall within Spanish tax, although the treaty residence tie-breaker can change the position and the facts of your move need case-specific advice. Assets held in a foreign currency add a further layer, because the gain has to be expressed in euros and the Spanish tax authority's published rulings on the conversion method should be checked for your situation. The practical lesson is that the gain built up during your UK years can end up being taxed in Spain if you sell after you move, which is why the order of selling and moving deserves attention before you go.
The timing of a disposal can affect both the UK and the Spanish calculation, but selling investments can create immediate tax, market, cost, reporting and suitability consequences, and should not be undertaken solely to pursue a particular tax result. A gain realised while you are still UK resident is taxed under UK rules instead, at 18% or 24% for most individual gains in 2026 to 2027 depending on your taxable income and the asset, after the 3,000 pound annual exempt amount. Any sale brings forward a definite UK tax bill, UK share identification rules (same day, then the following 30 days, then the pooled holding) affect how any sale and repurchase is matched for UK purposes, dealing costs and time out of the market apply, investment risk does not go away, investments can fall as well as rise, and any benefit depends on how long you will stay in Spain and what you will eventually sell. Tax is only one consideration, and no action is necessarily appropriate. If you might return to the UK after a period of non-residence of five years or less (the test in section 10A of the Taxation of Chargeable Gains Act 1992 for departures since 6 April 2013, which also depends on your UK residence history before leaving), the UK temporary non-residence rules can bring certain gains realised while abroad back into UK tax in the year you return, so the plan for leaving Spain matters as much as the plan for arriving; our guide to returning to the UK explains how. These questions are easier to consider with professional advice before the residency date than after it.
A short, complimentary call with a cross-border planning specialist can clarify your options, with no obligation.
The UK to Spain double taxation convention, signed on 14 March 2013, in force since 12 June 2014 and effective for capital gains from 6 April 2015 in the UK and 1 January 2015 in Spain, decides which country may tax a gain. Under Article 13, subject to its exact wording, gains on UK land and property, and on shares or comparable interests (other than those substantially and regularly traded on a stock exchange) deriving more than 50% of their value directly or indirectly from UK property, may be taxed in both countries, with each country's domestic law then deciding the actual charge. Under the residual rule in Article 13, gains on other assets, such as listed shares and investment funds, are generally taxable only in Spain while you are Spanish resident, subject to the treaty's specific provisions and your facts; the treatment of a fund holding can also depend on the type of fund. For UK property, this generally means a UK property disposal return within 60 days of completion and UK tax on the UK gain, then Spanish tax on the same sale with a credit for the UK tax under the treaty's elimination of double taxation article and Spanish domestic rules, generally limited to the Spanish tax on that gain and subject to documentation. The two calculations often differ: the UK non-resident rules have changed over time, and for many people the UK charge on residential property can be based on growth since April 2015 (April 2019 for non-residential property), with other calculation methods available in some cases, and UK private residence relief may reduce the UK gain, while Spain measures the gain from the original purchase price and does not apply UK reliefs, so the Spanish tax can exceed the UK credit. Our guide to selling UK property as a non-resident covers the UK side. ISAs are a UK wrapper: Spain does not provide an exemption equivalent to the UK ISA exemption, so income and gains arising inside an ISA may be taxable to a Spanish resident under normal Spanish rules, and Spanish foreign asset reporting may be relevant depending on the assets, values and reporting thresholds.
Spain has two main reliefs for your main residence (vivienda habitual). First, a gain on selling your main home can be exempt to the extent the proceeds are reinvested in a new main residence, generally within two years before or after the sale, with the exempt proportion depending on the amount reinvested under the statutory calculation; where the old home had a mortgage, the calculation generally works from the proceeds net of the loan repaid. Second, a gain on selling your main home is exempt for taxpayers over 65. In both cases the property must meet the Spanish definition of a main residence, which broadly means you have lived in it continuously for at least three years, with limited exceptions where circumstances such as marriage, separation or a change of job require an earlier move. The over-65 exemption generally requires that you held full ownership during the qualifying period, with specific rules for selling the bare ownership while keeping a lifetime usufruct, and applies where the property is your main residence at the time of sale or was at any time in the two years before. Both reliefs are subject to statutory conditions and need to be declared correctly. Separately, taxpayers over 65 can exempt a gain on selling other assets if the proceeds are reinvested within six months in a qualifying lifetime annuity with an insurer, up to a total of 240,000 euros per person, subject to detailed conditions on the annuity contract, and early withdrawal can reverse the exemption. These are Spanish reliefs with Spanish definitions: a former home in the UK will not necessarily qualify, and spending fewer than three years in a Spanish home before selling can mean the relief is not available. Selling Spanish property can also trigger the municipal tax on the increase in urban land value (plusvalía municipal), which is separate from income tax and may produce no liability where no increase in land value can be shown.
Within each year, gains and losses on transfers are netted against each other. Under the statutory ordering rules, a net loss can then reduce the positive balance of interest and dividends in the savings base by up to 25% of that balance, and any remaining loss is carried forward for the next four years. A loss on selling securities is deferred if you acquire homogeneous securities within two months before or after the sale (one year for unlisted holdings). Gifting an asset during your lifetime is treated as a transfer, so the donor can face Spanish capital gains tax on the growth, while the recipient may face Spanish gift tax, which varies widely by autonomous community and relationship, and losses on gifts are not allowed; by contrast, no income tax gain arises for the deceased on death, although that does not make the transfer tax-free, as inheritance tax rules then apply, as our guide to estate planning for Brits in Spain and Portugal explains. Finally, Spain has an exit tax: if you leave after being resident in at least 10 of the previous 15 tax years and your shares or holdings in entities are worth more than 4 million euros, or more than 1 million euros where you hold over 25% of an entity, the unrealised gains can be taxed on departure. Years under the Beckham regime do not count towards the 10. The rules also contain valuation, deferral and reporting conditions, special rules apply to temporary moves for work and to moves within the EU and EEA, and the UK is no longer in the EU, so a move back to the UK needs to be checked against the general rules.
The question I am asked most by people moving to Spain is whether Spain will tax gains they made before they arrived. In most cases the answer is yes if they sell after becoming resident, because Spain works from the original cost. It makes sense to understand that before the residency date, alongside the UK position, although for some people the answer will be to make no changes at all.
Take this guide with you
Get the full guide as a PDF to read later or share, plus occasional updates when the rules covered here change.
No spam, just this guide and relevant updates. Unsubscribe any time.
Spain taxes the full gain from your original acquisition cost. Growth built up while you lived in the UK can be taxed in Spain if you sell after becoming resident, so the timing of disposals around the move matters.
Spain does not provide an exemption equivalent to the UK ISA exemption. Interest, dividends and gains arising inside an ISA may be taxable in Spain once you are resident, and they need to be reported.
UK private residence relief and the UK 2015 rebasing for non-residents reduce the UK gain only. Spain calculates its own gain from the original cost, so selling a former UK home can produce Spanish tax even where the UK charge is small or nil.
Non-residents selling UK property generally have to report to HMRC within 60 days of completion, in many cases even when no UK tax is due, so check HMRC's current rules and exceptions. Spain then needs the sale reported on the Spanish return with any credit claimed.
The Spanish main residence reliefs generally need at least three years of continuous occupation. Selling earlier, or failing to reinvest within the time limits, can mean the full gain is taxed.
A lifetime gift in Spain is treated as a disposal for the donor, and the recipient may pay gift tax. A gift that looks generous can create two tax bills and a disallowed loss if the asset has fallen in value.
A portfolio set up for a UK resident can have quite different tax consequences once Spanish residence begins. ISAs lose their shelter, the savings rates go up to 30%, and a switch between holdings can be a taxable event. Whether any changes are appropriate depends on the individual, but it is worth understanding the position as part of the move itself, rather than at the first Spanish tax return.
Illustrative example only, not a real client. This example is simplified and fictional, applies the 2026 Spanish savings rates purely as a stated assumption (2027 rates may differ), and 2026 to 2027 UK rates, ignores currency movements and dealing costs, and is not a guarantee of any outcome. Helen plans to move to Valencia and become Spanish tax resident from the start of 2027. She holds a portfolio of listed shares and funds in a UK general investment account bought for the equivalent of 120,000 euros and now worth about 200,000 euros, plus an ISA. She assumed Spain would only tax growth after she arrived, and planned to sell part of the portfolio in her first year to buy a home.
A review with a regulated financial adviser, working alongside a Spanish tax specialist, first explained that, on these assumptions, Spain could tax the whole 80,000 euro gain if she sold after becoming resident. On these assumptions, before any losses, costs, currency effects or treaty points, the Spanish tax would be about 17,280 euros: 19% on the first 6,000 euros (1,140), 21% on the next 44,000 euros (9,240) and 23% on the remaining 30,000 euros (6,900). The review then compared selling some holdings before leaving the UK, using her annual exempt amount and paying UK capital gains tax at the rate set by her income position, against selling after the move, and looked at how long she intended to stay in Spain and whether she might return to the UK within five years. It also flagged that her ISA would not generally receive an equivalent tax exemption in Spain, and that a Spanish home would normally need three years of occupation before the main residence reliefs could apply, unless a recognised exception applied.
The outcome is specific to these assumed figures and is not a tax calculation, forecast or recommendation for anyone else. Helen understood that the timing of her sales, not just the amount, would drive the tax, and that whether any changes to how her investments were held would be appropriate was a separate question, needing its own suitability assessment and tax advice. She made her decisions knowing the position on both sides of the border; advice in a case like this may equally conclude that no changes are suitable, and it cannot guarantee a tax treatment or investment outcome. Different facts, rates or timing could produce a different or worse result, and the figures above are not a likely outcome for any reader.
Illustrative example, not a real client.
Clarity Global Wealth helps people moving to Spain, or already living there, understand how capital gains tax will affect their investments and property before they act. That includes which assets carry gains Spain would tax, the questions to raise about selling before or after the move, how UK property and ISAs are treated, and how the main residence reliefs, losses and the exit tax could apply to you. We can arrange a free introduction to regulated financial planning, so you can review your position with a regulated financial adviser before making changes to savings or investments, where advice is appropriate. Any charges for advice would be explained to you before you proceed. Filing Spanish and UK returns is tax-compliance work, so where that is needed we coordinate with qualified tax specialists.
Related guides: Tax in Spain for Expats in 2026, Moving From the UK: The Statutory Residence Test, Selling a UK Property as a Non-Resident, Investing a Lump Sum as a British Expat, Expat Estate Planning for Brits in Spain and Portugal and Returning to the UK After Years Abroad.
This guide is provided for general information only and reflects our understanding of the rules as at the date of publication. It is not personal financial, investment, pension or tax advice, and should not be relied upon as such. Rules and tax treatment can change and depend on your individual circumstances and country of residence. You should always seek regulated advice specific to your situation before taking action.
Gains are taxed in the savings base at 19% on the first 6,000 euros, 21% from 6,000 to 50,000 euros, 23% from 50,000 to 200,000 euros, 27% from 200,000 to 300,000 euros and 30% above 300,000 euros. These are the combined state and regional rates for 2025, unchanged for 2026 at the time of writing, outside the Basque Country and Navarre, and should be rechecked each year.
Generally yes, if you sell after becoming Spanish tax resident. Spain measures the gain from your original acquisition cost and does not give a step-up to market value on arrival, so growth built up while you lived in the UK can be taxed in Spain.
Generally not. Spain does not provide an exemption equivalent to the UK ISA exemption, so interest, dividends and gains arising inside an ISA may be taxable to a Spanish resident under normal Spanish rules.
Both countries can. Under Article 13 of the UK to Spain treaty the UK can tax gains on UK property, and a UK property disposal return is generally required within 60 days of completion. Spain also taxes the gain and gives a credit for the UK tax, limited to the Spanish tax on that gain. Because the two countries calculate the gain differently, Spanish tax can still be due.
Possibly not. A gain on your main residence can be exempt if you reinvest the proceeds in a new main residence, generally within two years, or if you are over 65. The property usually needs to have been your main residence for at least three continuous years, and the municipal plusvalía tax may still apply.
There can be. If you have been resident for at least 10 of the previous 15 tax years and your shares or holdings in entities are worth more than 4 million euros, or more than 1 million euros where you hold over 25% of an entity, unrealised gains can be taxed when you leave. Special rules apply to temporary work moves and moves within the EU and EEA.
Book a complimentary consultation to discuss your pensions, investments and cross-border financial planning.
A short call to understand your situation and discuss the planning options available to you.
Complimentary 30-minute consultation
Schedule a ConsultationUK income tax for expats abroad in 2026: who keeps the personal allowance, how the disregarded income rule limits tax on UK savings, and how to claim.
InvestmentsIf you have life, TPD or income protection insurance inside your Australian super, it can quietly lapse or fail to pay once you move overseas. What to check before you go.
Relocation & Residency TaxPortugal’s tax haven blacklist in 2026: how an aggravated 35% rate can apply to certain income connected with a listed jurisdiction, why the UAE is still listed, and the five-year rule for Portuguese nationals.