This is general information, not tax advice; your situation may differ.

In brief

If you are a tax resident in Spain, the interest, dividends and gains you make from selling investments are taxed under the savings band of your renta, the annual income tax return known as IRPF. Rates for the 2025 tax year range from 19% to 30%. Losses may be offset against gains, though only in part against other savings income. Share awards from an employer are first taxed as salary and then as gains. Funds registered in Spain can be switched without triggering tax, but ETFs cannot. Selling or swapping crypto counts as a taxable event. Assets held abroad worth more than €50,000 within a category must be declared on Modelo 720 (or Modelo 721 in the case of crypto). Catalonia additionally operates its own wealth tax, with an exempt amount of €500,000. Below, we address the questions most frequently asked.

How are investment gains, interest and dividends taxed?

Under Spanish law, interest, dividends and any gain or loss from the sale of shares, funds or crypto are placed in the base del ahorro (savings base). Earnings from employment and self-employment fall within a separate, progressive band. For 2025, the savings band is subject to the following combined state and regional rates:

Part of your savings incomeRate
Up to €6,00019%
€6,000 to €50,00021%
€50,000 to €200,00023%
€200,000 to €300,00027%
Above €300,00030%

The highest rate went up in 2025 (Ley 7/2024), so numbers cited in earlier discussion threads could be two points lower. The same bands apply in Catalonia. What drives the charge is the event itself, not a withdrawal: a sale or a dividend counts even when the money stays inside your platform account.

The decisive test is Spanish tax residence. Under the IRPF law, you are treated as resident if you spend more than 183 days in Spain within a calendar year, or if the core of your activities or economic interests lies in Spain. Residents pay tax on their worldwide income, meaning gains held in a brokerage account abroad remain taxable.

Can I offset a loss on a sale?

Broadly yes, though there are conditions. The rules treat two categories of income separately: gains and losses from disposals sit in one, while interest and dividends fall into the other. Where one category finishes the year in the red, it may offset the other's positive total by as much as 25% of that figure. Any remaining amount can be carried forward for up to four years.

By way of example only: where you have a net loss of €10,000 on sales and €4,000 in dividends, you may offset up to €1,000 of the dividends this year (25%), with the remaining €9,000 loss carried forward for four years to be set against future gains.

A pitfall awaiting active traders: where listed shares are sold at a loss and the same shares are repurchased within two months either side of the sale, that loss is disregarded at the time. In the case of unlisted shares, the window extends to a year.

How are RSUs and share options taxed?

Shares or options you acquire through your employment constitute employment income. Typically, this signifies that their worth is subject to taxation as salary upon receipt (when Restricted Stock Units vest, or when options are exercised), at your standard progressive tax bracket, rather than at savings rates. Subsequent increases or decreases in value after that point are considered a capital gain or loss within the savings category upon sale. Spain offers an annual exemption of €12,000 for shares provided free or at a reduced price, but this is only applicable if the offer is extended uniformly to all employees (with a higher limit for eligible start-ups), meaning many expat benefits packages will not meet the criteria. Consult your payroll provider regarding their withholding procedures, as a foreign vesting schedule can result in a Spanish tax liability without accompanying cash. Refer to our guide on locating an English-speaking gestor (a tax and paperwork adviser) if you possess awards from an employer outside Spain.

Are funds and ETFs treated the same?

No, and Spain's rules catch people out here. A Spanish-registered investment fund (fondo de inversión) may be moved into another fund through a traspaso, with no gain or loss recognised until you finally take your capital out. That treatment falls away if the cash passes through your own hands, and it does not cover exchange-traded funds. The law expressly leaves ETFs and similar listed funds outside this deferral.

EU-domiciled funds can use the rollover only where they are registered with the Spanish securities regulator (CNMV) and traded via a CNMV-registered distributor. Confirm a fund's registration before assuming that one bought on a foreign platform qualifies. Disposing of an ETF, or moving money out of a foreign fund, counts as a taxable sale in the year in which it occurs.

How is crypto taxed, and what is Modelo 721?

Selling cryptocurrency for euros produces a gain or loss within the savings band. Trading one coin for another also counts as a taxable event, and it is valued at whichever is higher: the market value of what you give up or the market value of what you receive. If you sell part of a holding that was bought at different times, the tax agency applies the oldest-first rule (FIFO). Holding crypto on its own does not have to be declared on your IRPF return; only the gains and losses arising from transactions must be reported.

Separately, Modelo 721 is an information return covering crypto held with exchanges or custodians abroad. Filing is required where those balances stood above €50,000 in total on 31st December. Returns can be submitted from 1st January to 31st March, and in later years a fresh return is needed only when the balance has grown by more than €20,000 since the previous one. Crypto is not declared on Modelo 720.

Is gold tax free here?

No. Profits made from the sale of gold bars or coins constitute a capital gain, just like any other, and should be reported within the savings base. Part of the misunderstanding arises from VAT: transactions involving "investment gold" (bars with a fineness of at least 995 thousandths, and specific coins minted after 1800 with a fineness of at least 900 thousandths that are or were legal tender) are not subject to VAT, but this concerns a separate tax.

The Catalan entry in the BES questions concerns a transfer tax. If an individual sells gold or precious metals to a dealer in Catalonia, it falls to the buyer to file Modelo 600 and pay transfer tax at 5%. Because the obligation rests with the buyer, it has no bearing on your own IRPF calculation, though it is useful to know about should a dealer raise the subject.

Do I need to declare an account abroad if I withdraw nothing?

With Modelo 720, what counts is the balance, not withdrawals. Residents are required to declare overseas assets when the total held in any one of three categories stands above €50,000 on 31st December: bank accounts, securities and insurance, and real estate. The categories are assessed individually. Filings run from 1st January to 31st March of the year that follows (assets held in 2025, for instance, are due by 31st March 2026), and in later years a fresh return is needed only where a category has grown by more than €20,000.

Two frequently overlooked matters. Firstly, individuals subject to taxation under the Beckham regime (the specific system for employees moving to Spain) are not obliged to submit Modelo 720, as stated by the tax agency, due to their taxation status as non-residents; they submit an alternative declaration. Secondly, the penalties have been amended. In its 27th January 2022 ruling (case C-788/19), the EU Court of Justice determined that the penalty framework for Modelo 720 violated the free movement of capital. Spain revised the legislation with Ley 5/2022, and the agency now implements the standard penalty regulations for delayed or erroneous submissions. The reporting obligation itself remains in effect, thus a belated filing is still most effectively addressed with a gestor before Hacienda contacts you.

Is there wealth tax in Catalonia?

Yes. In Catalonia, the Impuesto sobre el Patrimonio becomes payable for the 2025 tax year when your net wealth exceeds the exempt threshold of €500,000 (the general figure across Spain is €700,000). The Catalan rate scale starts at 0.21% and rises to 3.48%, the latter applying to amounts above €20 million. Returns for 2025 had to be submitted between 8th April and 30th June 2026. Certain assets benefit from exemptions or reductions, so it is advisable to go through the rules with a gestor instead of estimating.

In addition, the Impuesto Temporal de Solidaridad de las Grandes Fortunas (temporary solidarity tax on large fortunes) is a state levy on net wealth exceeding €3 million. It applies rates of 1.7% on the band up to roughly €5.35 million, 2.1% up to around €10.7 million, and 3.5% above that level. Returns are made on Modelo 718, with the filing period opening on 1st July, and any wealth tax paid is offset against it. In December 2023 the government extended the tax by decree until the regional financing reform is resolved.

What about inheritance and gift tax in Catalonia?

Catalonia operates its own Impost sobre Successions i Donacions, and who stands to inherit makes a substantial difference to the result. The Catalan tax agency makes the following points: a spouse or stable partner may claim a 99% rebate on the tax owed; the value of the deceased's main home benefits from a 95% reduction, subject to a €500,000 cap across all heirs; and a spouse or partner receives a €100,000 reduction on the taxable amount. Gifts are governed by separate rules. Where a death or a substantial gift is concerned, consult an English-speaking lawyer or a gestor before accepting anything.

Why does a platform ask where I am tax resident?

Opening an investment or savings account means the provider must obtain a self-certification of your tax residence, as required by international reporting rules (CRS and, for US persons, FATCA). Under Spanish rules, the account is blocked if that form is not provided within 90 days of the account request, and the provider passes account details to the tax authority of whichever country you name. Choose the country where you are genuinely tax resident, and supply a tax identification number from that country where one is issued. An incorrect answer is difficult to correct afterwards: it may result in a foreign platform reporting you to the wrong authority, or in an account being restricted.

US citizens should make their status known to the platform. Wherever they reside, the US treats its citizens as US persons, and a question on a form asking whether someone is a "US tax resident" is not simply about time spent in America. A cross-border adviser can confirm precisely how the question should be answered.

US and UK readers

To US citizens. US tax law may consider Spanish funds and other funds and ETFs not from the US as passive foreign investment companies, necessitating additional IRS reporting using Form 8621. The IRS advises reviewing this requirement if you possess a mutual fund or ETF not based in the United States: refer to IRS Form 8621 and Publication 54.

UK residents. A UK ISA retains its UK tax relief even if you relocate outside the UK, however, you are prohibited from contributing to it once you are no longer a UK resident (GOV.UK). Such relief is specifically a UK benefit. We located no stipulation within Spanish legislation that exempts income or profits from an ISA, therefore, as a Spanish tax resident, you should anticipate reporting dividends, interest, and capital gains originating from an ISA on your Spanish tax declaration. Consult a gestor who deals with UK situations to verify this for your specific investments.

Sources

Related: becoming an autónomo in Barcelona.