14 September 2026
When a non-resident redeems or sells units in a Spanish investment fund, the management company withholds 19 % of the gain. That withholding is often not the final tax. Residents of the European Union or the EEA are generally exempt under article 14.1.c) of the Spanish Non-Resident Income Tax Act, and outside the EU most double tax treaties give the taxing right to the country of residence. Once withheld, a Spanish withholding tax refund is claimed through Form 210, from 1 February of the following year and for four years.
Who counts as a non-resident for Spanish tax purposes?
You are a non-resident if you meet neither of the two tests in article 9 of Act 35/2006 on Personal Income Tax (Ley del IRPF): spending more than 183 days of the calendar year in Spain, or having in Spain the main centre or base of your business activities or economic interests, directly or indirectly.
Two details cause most of the disputes with the Spanish tax authorities. First, occasional absences count towards the 183 days unless you can prove tax residence in another country. Second, Spanish law presumes you are resident if your spouse (not legally separated) and dependent minor children live in Spain. The presumption can be rebutted, but the burden is on you.
Tax residence is not a choice, then. It is something you evidence. Deregistering from the municipal roll (padrón) or holding a Spanish NIE proves nothing. What counts is the certificate of tax residence issued by your own tax authority and, where a treaty is involved, that certificate issued expressly for the purposes of the treaty with Spain.
Why is 19 % withheld when a non-resident sells a Spanish fund?
Because the gain is treated as Spanish-source income. Article 13.1.i).1 of the consolidated Non-Resident Income Tax Act (IRNR, Royal Legislative Decree 5/2004 of 5 March) catches capital gains derived from securities issued by persons or entities resident in Spain, and units in a Spanish fund are exactly that.
What follows is mechanical. Article 31 IRNR requires the management company, or the distributor acting for it, to withhold an amount equal to the tax due, with specific rules for institutions governed by Act 35/2003. Article 25.1.f).3 sets that tax at 19 % of the gain. The rate is the same for a resident of Germany and a resident of Singapore: on this point EU and non-EU investors are treated alike.
The base is the difference between redemption value and acquisition cost, calculated under the personal income tax rules referred to in article 24.4 IRNR. An example: units bought for €80,000 and redeemed for €100,000 produce a €20,000 gain and a €3,800 withholding.
That same article 24.4 hides a harsh rule. The base is determined “for each change in net worth” separately. Redeem two funds on the same day, one with a €20,000 gain and one with a €15,000 loss, and the loss offsets nothing: tax is withheld on the full €20,000. All of the above reflects Spanish legislation in force at 14 September 2026.
Is the gain exempt? Three routes and one warning
It depends on where you live and what you sold. There are three possible routes, best examined in this order, because they do not all work equally well in practice.
Route 1: the article 14.1.c) exemption. Capital gains on movable property obtained by residents of the EU or the EEA with effective exchange of tax information are exempt. Fund units are movable property, so the exemption fits naturally. Two carve-outs apply: funds whose assets consist mainly, directly or indirectly, of real estate located in Spain — think of a Spanish property fund — and individuals who held at least 25 % of the capital at any point in the previous twelve months, which is almost unheard of in a retail fund.
Route 2: the article 14.1.i) exemption. This covers income from transfers of securities or the redemption of fund units “carried out on one of the Spanish official secondary securities markets”, where the recipient is resident in a country whose treaty with Spain contains an exchange-of-information clause. Here is the warning: the Spanish tax authorities apply that market requirement literally. It fits a listed ETF comfortably. For an ordinary redemption of a non-listed fund, settled against the management company rather than on a market, the position is arguable. Do not assume it.
Route 3: the double tax treaty. This is the reliable route outside the EU. The vast majority of Spain’s treaties follow article 13 of the OECD Model and allocate gains on this type of property exclusively to the country of residence. Read the specific treaty, though: some allow Spain to tax gains on entities whose assets are mainly real estate.
One limit applies to all three. Article 14.2 IRNR removes the exemption where the income is obtained through a tax haven, a reference read since July 2021 as meaning non-cooperative jurisdictions.
| Investor’s situation | Applicable route | Outcome |
|---|---|---|
| EU or EEA resident, securities fund | Article 14.1.c) IRNR | Full exemption |
| EU or EEA resident, Spanish property fund | No domestic exemption | Taxed at 19 % |
| Treaty country, non-listed fund | Treaty (article 13 OECD Model) | Normally exempt in Spain |
| Treaty country, Spanish ETF | Article 14.1.i) and/or treaty | Exempt |
| Non-treaty country | None | Taxed at 19 % |
| Non-cooperative jurisdiction | Excluded by article 14.2 | Taxed at 19 % |
How to stop the withholding before it happens
Avoiding the withholding always beats reclaiming it. Article 31.4 IRNR removes the obligation to withhold on income exempt under article 14 or under a treaty, but only if the exemption is evidenced to the management company, before the redemption.
In practice:
- Ask your own tax authority for a certificate of tax residence. If you are relying on a treaty, ask for it for the purposes of the treaty with Spain.
- Check how long it lasts: the certificate is valid for one year from issue.
- Deliver it to the management company or distributor before placing the redemption order, not afterwards.
- Make sure the holder’s details match the unitholder register exactly.
- If the fund is a property fund, or you hold more than 25 %, do not press the point: the withholding is correct.
A realistic caveat. Many institutions will not apply the exemption at source even with the certificate in hand, and simply withhold. There is no argument to win at the counter. Form 210 is then the route.
How to claim a Spanish withholding tax refund with Form 210
The refund of over-withheld tax is claimed through a Form 210 (modelo 210) self-assessment showing a refund due. Article 16 of the Non-Resident Income Tax Regulation (Royal Decree 1776/2004 of 30 July) allows the claim to be made by the taxpayer, by jointly liable parties and also by the withholding agent.
The steps:
- Identify the income type: code 25, “Collective Investment Institutions (Funds)”.
- Work out the tax actually due: nil where an exemption applies or the treaty allocates the gain to your country of residence.
- Assemble the evidence: a valid certificate of tax residence, the withholding certificate — the management company must issue it under article 31.5 IRNR — and proof that the bank account is yours.
- File in time: refund claims may be filed from 1 February of the year following the year the gain arose, and the right lapses four years after the end of the period for declaring and paying the withholding.
- Choose the channel: online with an electronic certificate or Cl@ve, or on paper using the form generated from the tax agency website.
Order HAC/623/2026 of 12 June reorganised the Form 210 deadlines for income arising from 2026 onwards, but left the refund regime untouched: 1 February as the opening date and a four-year long-stop.
If you have no NIE and no digital certificate, the usual answer is to appoint a representative in Spain. It is worth setting this up properly: a refund rejected on a formality costs more time than the shortcut saves.
Deadlines, late-payment interest and administrative silence
The tax authorities have six months to order payment. Once that period passes for reasons attributable to them, article 31.2 of the General Tax Act (Act 58/2003) requires late-payment interest to be paid automatically, without the taxpayer having to ask.
If the claim is refused, expressly or by silence, you can lodge an application for reconsideration (recurso de reposición) or an economic-administrative claim before the competent tribunal. One practical point: requests for information are sent to the address given on the form. If that address is abroad and nobody deals with it, the file is closed and the clock keeps running.
Five recurring mistakes
Assuming a switch between funds is tax-free. The rollover regime in article 94 of the Personal Income Tax Act is written for personal income tax payers. Non-residents fall outside it: they cannot switch with deferral, only redeem — with withholding — and subscribe again.
Filing before 1 February. The claim is rejected and weeks are lost.
Using a generic residence certificate. To rely on a treaty you need the certificate issued for treaty purposes; the ordinary one will not do.
Trying to offset losses on other funds. As above: article 24.4 IRNR blocks it.
Confusing this with the foreign-fund case law. A settled line of Spanish case law grants refunds to non-resident investment funds that suffered withholding on Spanish dividends, on free movement of capital grounds. That is a different problem: there the claimant is the foreign fund; here it is the individual investor selling a Spanish fund. The arguments do not transfer.
Frequently asked questions
How much is withheld when a non-resident sells a Spanish investment fund? 19 % of the capital gain, under article 25.1.f).3 IRNR. The withholding applies to the difference between redemption value and acquisition cost, not to the gross amount redeemed. The rate is identical for EU and non-EU residents.
Can I reclaim all of it or only part? If the gain is exempt under article 14.1.c) IRNR, or the treaty gives the taxing right exclusively to your country of residence, the refund is 100 %. Where no exemption or treaty applies, the withholding equals the tax due and there is nothing to recover.
How long do I have to claim? Four years from the end of the period for declaring and paying the withholding, under article 16 of the Non-Resident Income Tax Regulation. Filing cannot start before 1 February of the year after the gain arose.
Will any certificate of tax residence do? No. It is valid for one year from issue and must cover the year of the redemption. Where a treaty is relied on, it must be issued for the purposes of that treaty.
Will I also be taxed at home? Usually yes. If the treaty allocates the gain to your country of residence, that is where you declare it. The Spanish refund removes double taxation, not taxation itself.
What if my country has no treaty with Spain? With no treaty and outside the EU and EEA, no exemption applies: the gain is taxed at 19 % in Spain and the withholding is final. Any relief for double taxation then depends on your home country rules.
Conclusion: the money is there, but you have to go and get it
The 19 % withheld on a Spanish fund redemption is a collection mechanism, not a decision on the merits. For most non-residents, EU residents and residents of treaty countries alike, the tax actually due is nil, and the money is recoverable. Whether you collect it or lose it usually comes down to a certificate requested correctly and a deadline counted properly.
If you have suffered this withholding in the last four years, at Martínez-Cardós Abogados we can help. We will check whether the gain was exempt, which years remain open and what documentation you need, and file the claim for you.