Investing taxes in Spain

Tax Guide · Spain

Investing Taxes in Spain (2026):
savings tax, Modelo 720 & ETF rules

Updated October 2026 · By Francesco Cipolli · Every tax rule below is tied to an AEAT or BOE document in the source table

How Spain taxes ETF investors, section by section: the savings-base scale and losses, the tax-deferred fund switch (traspaso) and listed funds, tax residence, the return on assets held abroad, the wealth tax, the special regime for people moving to Spain and the exit tax.

Dark wood infographic explaining investing taxes in Spain, with sections on dividend tax, capital gains tax, tax-free allowances, wealth tax, and tax planning considerations, alongside the Spanish flag and finance-themed visuals.

Some of the links on this site are affiliate links, meaning we may earn a commission at no extra cost to you if you sign up through them. This does not affect our reviews or recommendations — we only feature products we genuinely believe are useful for investors. This site provides educational content only, not personalized investment advice. Investments can lose value and past performance does not guarantee future results. You are responsible for your own financial decisions and for confirming the tax and legal rules that apply in your country.


Eight rules that shape ETF investing in Spain

RuleWhat it means for an ETF investor
Savings-base scaleNet gains from selling assets such as ETF units go into the savings base, which is taxed on a combined state and autonomous scale with five bands.
Loss offsetA net loss can offset part of your positive income from movable capital, and what is left carries forward.
Two-month repurchase ruleA loss on listed securities is blocked for the year if you buy the same securities back within two months either side of the sale.
FIFOWhen you sell part of a holding, the units sold are the ones bought first.
TraspasoSwitching between investment funds can defer the gain; listed funds are excluded, apart from a transitional rule for foreign listed funds bought before 2022.
Modelo 720Information return on accounts, securities and real estate held abroad, in three separate blocks.
Wealth taxCharged above an exempt minimum that differs by autonomous community.
Exit taxGains on shares and fund units can be taxed when a long-term resident leaves Spain.

The savings-base scale for 2025

The AEAT practical guide for the 2025 return sets out the savings-base scale in two halves: a state scale (art. 66.1 of the IRPF law) and an autonomous scale (art. 76). Each combined rate is the state rate plus the identical autonomous rate.

Taxable savings baseState rateAutonomous rateCombined rateCombined tax at top of band
€0 – €6,0009.50%9.50%19%€1,140
€6,000 – €50,00010.50%10.50%21%€10,380
€50,000 – €200,00011.50%11.50%23%€44,880
€200,000 – €300,00013.50%13.50%27%€71,880
Above €300,00015%15%30%—

State and autonomous rates: AEAT Practical Guide to Income Tax 2025. Combined rate and combined tax are computed by QuantRoutine as state plus autonomous.

Worked example: an illustrative €22,000 gain

Modelled input, not a source figure: €22,000 of net gains as the whole taxable savings base.

  • First €6,000 at 19% = €1,140
  • Remaining €16,000 at 21% = €3,360

Total tax: €4,500 on the modelled €22,000, an effective rate of 20.45%

Losses

In the savings base, income from movable capital includes income from holdings in the equity of entities and from lending your own capital to third parties (unless the payer is a related entity). If gains and losses net to a negative balance, that balance can offset positive income from movable capital in the savings base, up to 25% of that positive balance. Any negative balance left after that offset is carried forward and offset in the following four years, in the same order.

The two-month repurchase rule

A loss on securities admitted to trading cannot be included in the tax year in which it arises if homogeneous securities are bought in the two months before or after the sale (article 33.5 of the IRPF law). Selling an ETF at a loss and buying the same ETF back inside that window therefore blocks the loss for that year.

Which units you sold

When you hold homogeneous securities and sell only some of them, the units treated as sold are the ones you acquired first (FIFO).

When the gain is taxed

A capital gain or loss is allocated to the tax year in which the change in your assets takes place. An accumulating ETF makes no distribution, so for that fund the taxable event is the sale.


The traspaso rule and listed funds

Spanish tax law has a deferral regime for reinvestment between collective investment institutions (article 94 of the IRPF law). It applies to redemptions of units in collective investment institutions that are investment funds.

The deferral does not apply if the redemption proceeds are made available to you by any means. The deferral does not apply when the units sold or bought are units of listed investment funds (fondos de inversión cotizados). From 1 January 2022 it also does not apply to funds similar to listed investment funds, whatever the regulated market or multilateral trading facility they are listed on. The regime also requires acquisitions, subscriptions, sales and redemptions to go through distributors registered with the CNMV.

A transitional rule keeps the deferral for units of foreign listed funds acquired before 1 January 2022, provided the proceeds are reinvested in collective investment institutions other than listed funds.

SwitchDeferral available?
Units of an investment fund (fondo de inversión) redeemed and reinvested in another fundCan apply
Units of a listed investment fund, or of a similar fund listed on any regulated market or multilateral trading facilityNo
Units of a foreign listed fund acquired before 1 January 2022, reinvested in a fund that is not a listed fundCan apply
Any switch where the proceeds are made available to youNo
The practical impact: When the units sold or bought are units of a listed fund covered by these exclusions, the switch gets no deferral unless the transitional rule above applies. A net gain from the sale then goes into the savings base for the tax year of the sale.

Trade Republic’s Spanish customer agreement states that its Spanish branch handles mutual-fund orders under the traspasos regime.


When you become a Spanish tax resident

The IRPF law makes you a Spanish tax resident if either of the first two tests is met; the third is a presumption.

TestWhat the law says
More than 183 daysYou stay more than 183 days in Spain in the calendar year; sporadic absences count unless you prove tax residence in another country.
Centre of economic interestsThe main core or base of your business activities or economic interests is in Spain, directly or indirectly.
Family presumptionResidence is presumed, unless proven otherwise, when your spouse (not legally separated) and the dependent minor children habitually live in Spain.

A Spanish resident is taxed on income wherever it arises and whatever the residence of the payer.


Modelo 720: reporting assets held abroad

Modelo 720 is an information return on assets and rights located abroad. It covers three blocks, each a separate obligation: accounts at financial institutions located abroad; securities, rights, insurance and income deposited, managed or obtained abroad; and real estate abroad.

DetailWhat the AEAT states
ThresholdIn the AEAT’s own examples, a block is reported when its value on 31 December exceeds €50,000 (for accounts, also the average balance of the last quarter).
Filing windowThe return for 2025 was due between 1 January and 31 March 2026.
Later yearsAfter the first return, Modelo 720 is filed again for a block when its value has risen by more than €20,000 over the value that triggered the last return.
CryptoVirtual currencies are not reported on Modelo 720; Modelo 721 covers virtual currencies located abroad.
Penalties. Ley 5/2022 of 9 March changed the Modelo 720 penalty regime to adapt it to the CJEU judgment of 27 January 2022 in case C-788/19. The regime that now applies is the general one in articles 198 and 199 of the General Tax Law (Ley 58/2003), applied separately to each of the three blocks.
What your broker changes, and what it does not
Trade Republic

Trade Republic serves Spain through Trade Republic Bank GmbH, Sucursal en España, supervised by the Banco de España and the CNMV. DGT binding ruling V2475-25 of 12 December 2025 holds that an account migrated from a German IBAN to a Spanish IBAN at a Spanish branch is no longer an account located abroad under art. 42 bis RGAT, so it falls outside Modelo 720 regardless of balance. The ruling addresses only the cash account: the securities account and Modelo 721 are not addressed. After migration, Trade Republic’s Spanish customer agreement brings a Spanish IBAN and IRPF taxation and reporting obligations. It does not state which income types are withheld. Customers who have not migrated (for example, no NIF provided) stay outside those obligations.

XTB

XTB serves Spain through XTB S.A., Sucursal en España (CNMV no. 40). The branch does not take UCITS ETFs or cash out of Modelo 720 scope. XTB supplies a 31 December portfolio statement for Modelo 720 that lists shares and ETFs not deposited in Spain and uninvested cash held in Germany. XTB does not state whether it reports to the AEAT or withholds IRPF.

Interactive Brokers

Interactive Brokers serves EU and EEA clients through Interactive Brokers Ireland Limited.

Spanish banks and brokers

Spanish providers such as MyInvestor and Renta 4 withhold and report to the AEAT and pre-fill the draft return (borrador).

Crypto tax tools we review: Divly (review) and Koinly (review).


Wealth tax: the exempt minimum depends on where you live

For 2025 the general exempt minimum for wealth tax residents is €700,000, unless the autonomous community has set its own amount. The Balearic Islands set it at €3,000,000, Catalonia at €500,000 and the Valencian Community at €1,000,000.

Autonomous communityExempt minimum for 2025
Illes Balears€3,000,000
Comunitat Valenciana€1,000,000
Aragón€700,000
Canarias€700,000
La Rioja€700,000
Cataluña€500,000
Communities that have not set their own amount€700,000

Exempt minimum only. Regional rates and regional reliefs are not covered by the sources read for this page.

Article 31 of the Wealth Tax Law sets a limit on the full wealth-tax quota. In rulings of 29 October 2025 and 3 November 2025, the Supreme Court held that this limit applies to non-residents as well as residents.

The temporary solidarity tax on large fortunes (ITSGF) was extended by Royal Decree-Law 8/2023. Wealth tax returns for 2025 were due between 8 April and 30 June 2026.


The special regime for people moving to Spain (Beckham Law)

People who acquire Spanish tax residence as a result of moving to Spain can opt to be taxed under non-resident income tax rules while remaining IRPF taxpayers, for the year of the change of residence and the five following tax years.

FeatureUnder the special regime
General taxable base up to €600,00024%
General taxable base above €600,00047%
DurationThe year of the change of residence and the five following tax years
How to opt inModelo 149
Deadline to opt inSix months from the start date of the activity shown in the Spanish Social Security registration

Under the regime, the general taxable base is taxed at 24% up to €600,000 and 47% above it. The option is made on Modelo 149, within six months of the start date of the activity shown in the Spanish Social Security registration.

The documents read for this page set out only the rates, duration, form and deadline above. They are not a full statement of who can use the regime or which income it covers.

Exit tax: gains on shares and fund units when you leave

When a taxpayer loses Spanish tax residence by moving abroad, gains on shares and fund units can be taxed even though nothing was sold, if the taxpayer was resident for at least ten of the previous fifteen tax periods.

ConditionThreshold
Market value of all shares and fund unitsAbove €4,000,000 combined
Otherwise: holding in a single entityAbove 25%, with a market value above €1,000,000
Moving to another EU or EEA stateSpecial options for taxing the gain are available

The rule applies when the market value of the shares and units exceeds €4,000,000 combined or, failing that, when a holding in one entity is above 25% with a market value above €1,000,000.


Source documents

Tax-law statements on this page trace to these documents. Broker statements trace to QuantRoutine’s verified broker fee files. Dates are the dates each document was read.

SourceWhat it coversRead on
BOE: consolidated text of the IRPF law (Ley de IRPF)Tax residency tests; worldwide income; tax year in which a gain is allocated6 Oct 2026
AEAT: Manual práctico de Renta 2024, habitual residence in SpainResidence when any one of the tests is met6 Oct 2026
AEAT: Renta 2025 filing help, savings taxable baseComponents of the savings base; netting of losses against income from movable capital; carry-forward of losses6 Oct 2026
AEAT: Practical Guide to Income Tax 2025, state savings scaleState half of the savings-base scale6 Oct 2026
AEAT: Practical Guide to Income Tax 2025, autonomous savings scaleAutonomous half of the savings-base scale6 Oct 2026
AEAT: Manual práctico de Renta 2023, losses not computedTwo-month repurchase rule for listed securities6 Oct 2026
AEAT: Manual práctico de Renta 2024, transfers of fund unitsFirst-in, first-out identification of units sold6 Oct 2026
AEAT: Renta 2017 filing help, collective investment institutionsFund-switch deferral (traspaso) and the listed-fund exclusion6 Oct 2026
AEAT: Manual práctico de Renta 2023, special deferral regimeListed-fund exclusion extended from 2022; transitional rule for foreign listed funds6 Oct 2026
AEAT: Modelo 720 procedure pageWhat Modelo 720 is; virtual currencies go on Modelo 7216 Oct 2026
AEAT: Modelo 720 FAQ, one form for three obligationsThe three reporting blocks6 Oct 2026
AEAT: Modelo 720 FAQ, calculating the thresholdReporting threshold per block6 Oct 2026
AEAT: Modelo 720 FAQ, filing frequencyWhen a later return is needed6 Oct 2026
AEAT: Modelo 720 filing periodFiling window for the 2025 return6 Oct 2026
AEAT: Modelo 720 FAQ, penalties and effectsCurrent penalty regime after the CJEU judgment6 Oct 2026
AEAT: Manual práctico de Renta 2025, posted-workers regime scaleRates and duration of the special regime6 Oct 2026
AEAT: Modelo 151 completion instructions (to fiscal year 2022)Deadline and form for opting into the special regime6 Oct 2026
AEAT: Renta 2025 filing help, gains on change of residenceExit tax conditions and thresholds6 Oct 2026
AEAT: Practical Wealth Tax Manual 2025, exempt minimum by communityExempt minimum by autonomous community6 Oct 2026
AEAT: Practical Wealth Tax Manual 2025, main newsValencian minimum; Supreme Court rulings on the joint limit; ITSGF extension; filing window6 Oct 2026

Brokers with a Spanish branch

Trade Republic and XTB both serve Spain through a Spanish branch. The foreign-asset reporting section above sets out what each branch changes and what it does not. Confirm which entity covers your residence on each broker’s own site before opening an account. Investing involves risk of loss.



Frequently asked questions

What are the savings-base tax rates in Spain for 2025?

Combining the state scale and the autonomous scale in the AEAT practical guide for 2025 gives 19% on the first €6,000 of taxable savings base, 21% from €6,000 to €50,000, 23% from €50,000 to €200,000, 27% from €200,000 to €300,000 and 30% above €300,000. Each combined rate is the state rate plus the identical autonomous rate.

Can ETF losses offset other savings income in Spain?

If gains and losses net to a negative balance, that balance can offset positive income from movable capital in the savings base, up to 25% of that positive balance. Any negative balance left after that offset is carried forward and offset in the following four years, in the same order.

Does Spain have a wash-sale rule?

A loss on securities admitted to trading cannot be included in the tax year in which it arises if homogeneous securities are bought in the two months before or after the sale (article 33.5 of the IRPF law). Selling an ETF at a loss and buying the same ETF back inside that window therefore blocks the loss for that year.

Does the traspaso rule apply to ETFs?

Spanish tax law has a deferral regime for reinvestment between collective investment institutions (article 94 of the IRPF law). The deferral does not apply when the units sold or bought are units of listed investment funds (fondos de inversión cotizados). From 1 January 2022 it also does not apply to funds similar to listed investment funds, whatever the regulated market or multilateral trading facility they are listed on. A transitional rule keeps the deferral for units of foreign listed funds acquired before 1 January 2022, provided the proceeds are reinvested in collective investment institutions other than listed funds.

Who has to file Modelo 720, and when?

Modelo 720 is an information return on assets and rights located abroad. It covers three blocks, each a separate obligation: accounts at financial institutions located abroad; securities, rights, insurance and income deposited, managed or obtained abroad; and real estate abroad. In the AEAT’s own examples, a block is reported when its value on 31 December exceeds €50,000 (for accounts, also the average balance of the last quarter). The return for 2025 was due between 1 January and 31 March 2026. After the first return, Modelo 720 is filed again for a block when its value has risen by more than €20,000 over the value that triggered the last return.

What are the Modelo 720 penalties now?

Ley 5/2022 of 9 March changed the Modelo 720 penalty regime to adapt it to the CJEU judgment of 27 January 2022 in case C-788/19. The regime that now applies is the general one in articles 198 and 199 of the General Tax Law (Ley 58/2003), applied separately to each of the three blocks.

Does Trade Republic’s Spanish branch take me out of Modelo 720?

DGT binding ruling V2475-25 of 12 December 2025 holds that an account migrated from a German IBAN to a Spanish IBAN at a Spanish branch is no longer an account located abroad under art. 42 bis RGAT, so it falls outside Modelo 720 regardless of balance. The ruling addresses only the cash account: the securities account and Modelo 721 are not addressed. After migration, Trade Republic’s Spanish customer agreement brings a Spanish IBAN and IRPF taxation and reporting obligations. It does not state which income types are withheld.

When do I become a Spanish tax resident?

Under the IRPF law you are resident if either test is met. You stay more than 183 days in Spain in the calendar year; sporadic absences count unless you prove tax residence in another country. The main core or base of your business activities or economic interests is in Spain, directly or indirectly. Residence is presumed, unless proven otherwise, when your spouse (not legally separated) and the dependent minor children habitually live in Spain. A Spanish resident is taxed on income wherever it arises and whatever the residence of the payer.

What is the wealth tax exempt minimum in Spain?

For 2025 the general exempt minimum for wealth tax residents is €700,000, unless the autonomous community has set its own amount. The Balearic Islands set it at €3,000,000, Catalonia at €500,000 and the Valencian Community at €1,000,000.

When does Spain’s exit tax apply?

When a taxpayer loses Spanish tax residence by moving abroad, gains on shares and fund units can be taxed even though nothing was sold, if the taxpayer was resident for at least ten of the previous fifteen tax periods. The rule applies when the market value of the shares and units exceeds €4,000,000 combined or, failing that, when a holding in one entity is above 25% with a market value above €1,000,000.

Get the free toolkit sample

A working broker cost calculator — IBKR vs DEGIRO vs Trading 212, with verified fees. You’ll also get 4 short emails on cutting your investing costs. Unsubscribe anytime.

Some of the links on this site are affiliate links, meaning we may earn a commission at no extra cost to you if you sign up through them. This does not affect our reviews or recommendations — we only feature products we genuinely believe are useful for investors. This site provides educational content only, not personalized investment advice. Investments can lose value and past performance does not guarantee future results. You are responsible for your own financial decisions and for confirming the tax and legal rules that apply in your country.