Foreign dividends are taxed in two layers: a withholding in the country of origin and then Spanish IRPF as savings income. The key to not overpaying is to reduce the withholding at source where possible (for example, with the W-8BEN in the US) and apply the double-taxation relief in your tax return. This guide explains the mechanism step by step.
If your dividend portfolio includes shares from outside Spain —almost unavoidable if you want diversification— their taxation is more complex than a domestic dividend. The reason is that two tax authorities are involved: the country where the company is based and Spain. Understanding how they fit together avoids paying tax twice and surprises at tax time.
This guide focuses specifically on foreign dividends. For the general framework (rates, savings base, calendar), first read the dividend taxation in Spain guide.
The two layers of taxation
When you collect a dividend from a foreign company, two things happen:
Withholding at source. The country where the company is based withholds a percentage of the dividend before it reaches your account. It is a tax of the source country.
Taxation in Spain. The dividend (gross, before the foreign withholding) is included in your IRPF savings base and taxed on the progressive savings-income scale.
Without any corrective mechanism you would pay tax twice on the same dividend. To avoid this there is the double-taxation relief.
Withholding at source and the W-8BEN
The percentage withheld at source depends on the country and the double-taxation treaty it has signed with Spain. The most common case for dividend investors is the United States:
By default, the US withholds 30% of dividends to non-residents.
By filing the W-8BEN form, you certify you are not a US taxpayer and the withholding drops to 15% (the limit of the Spain-US treaty).
Most brokers file the W-8BEN automatically when you open the account, but it is worth verifying and renewing it when it expires (every three years). The detail is in the W-8BEN form guide.
Other countries apply different percentages under their own treaty with Spain, and some withhold above the treaty limit, forcing you to reclaim the excess. Before investing heavily in a specific market, it is worth checking the effective withholding and whether your broker applies it automatically.
The double-taxation relief
In your tax return, Spain lets you deduct what was withheld at source so you do not pay twice, but with a cap: you can only deduct up to the percentage set by the treaty (in the US, 15%).
With the W-8BEN correctly applied, the system fits: 15% is withheld at source, you deduct it in Spain and only pay the difference up to your savings-income rate in IRPF. The result is that you do not pay more than you would paying only in Spain.
When the withholding exceeds the treaty limit
The problem appears when the source country withholds more than the treaty limit. For example, if 30% is withheld because you did not file the W-8BEN, Spain only lets you deduct 15%: you do not recover the other 15% through IRPF.
In those cases there are only two routes:
Prevent it in advance: file the W-8BEN (or the equivalent form for the country) so that you are withheld the treaty percentage directly.
Reclaim the excess from the tax authority of the source country, a process that is usually slow and bureaucratic.
The practical takeaway: the best tax strategy with foreign dividends is to reduce the withholding at source from the start, not recover it afterwards.
Form 720 and D-6: when they apply
Holding foreign shares can imply additional reporting obligations, depending on where your portfolio is held and the amounts:
Form 720: informational declaration of assets and rights abroad. It may apply if you hold securities at foreign brokers above certain thresholds.
D-6: declaration of investments abroad that historically affected holdings of listed securities outside Spain.
A broker with Spanish custody greatly simplifies this part: withholdings are applied automatically, the data flows into the tax draft and there is usually no Form 720 or D-6 for that portfolio. Compare this factor in the brokers for dividends guide.
How to report foreign dividends, step by step
Gather the broker information: gross dividends, withholding at source and, if applicable, fees.
Convert to euros the dividends collected in another currency, at the exchange rate on the collection date.
Include the gross dividend in the IRPF savings base.
Apply the double-taxation relief, up to the treaty limit.
Review reporting obligations (Form 720, D-6) depending on amounts and portfolio location.
If you use a foreign broker, this responsibility is yours; with Spanish custody, much of it arrives pre-filled in the draft.
The broker's role
The broker affects your foreign-dividend taxation in three ways: whether it files the W-8BEN automatically, whether it applies the treaty withholding instead of the maximum, and whether it gives you a clear tax report with dividends and withholdings. These factors can weigh more than a few basis points of commission. Review them in the broker comparison.
A worked example, end to end
To see how the two layers fit together, let's follow a dividend from a US company. The only real tax figures here are the US withholding (30% by default, 15% with the W-8BEN); the exchange rate and the savings-income rate we use are illustrative examples, not official values.
Let's assume:
Gross dividend: $100.
Withholding at source with W-8BEN (15%): $15. What reaches your account is $85.
Conversion to euros: it is reported at the exchange rate on the collection date. Let's assume an example rate of 1.10 USD/EUR. The $100 gross is about €90.9, and the $15 withholding about €13.6.
Inclusion in the savings base: you report the gross (≈ €90.9), not the net, in the IRPF savings base.
Double-taxation relief: you deduct what was withheld at source up to the treaty limit (15%), that is, those ≈ €13.6.
Net result: IRPF charges you the difference between your savings-income rate and the 15% already withheld. With an example savings-income rate of 19%, you would pay only that remaining slice in Spain; adding both authorities, your total burden is close to your Spanish rate, with no double taxation.
Item
Amount (example)
Gross dividend
$100 ≈ €90.9
Withholding at source (15%, W-8BEN)
$15 ≈ €13.6
Net received
$85 ≈ €77.3
Reported in savings base
the gross (≈ €90.9)
Double-taxation relief
up to 15% (≈ €13.6)
The underlying idea: you report the gross, deduct what was withheld up to the treaty limit and only pay in Spain the slice left up to your savings-income rate.
How withholding varies by country
The example above uses the United States because it is the best-known and most stable case for the dividend investor: 30% by default, 15% with the W-8BEN. But each country applies its own withholding, which depends on the double-taxation treaty it has signed with Spain.
This means the percentage withheld and the procedure to reduce it change from one market to another. Some countries require their own forms or a specific reclaim process for the treaty percentage to apply instead of their general withholding. European markets common in dividend portfolios —such as Switzerland, Germany or France— each have their own rates and procedures, different from the US case.
That is why, before investing heavily in a specific market, it is worth checking the applicable treaty between that country and Spain and confirming whether your broker adjusts the withholding automatically or whether you will have to handle the form or the reclaim yourself. As a general reference for the Spanish framework, review the dividend taxation guide.
The way a fund or ETF distributes its returns changes when you are taxed, something especially relevant when you invest in foreign assets:
Distributing: pays a periodic dividend that is taxed each year as savings income, with its corresponding withholding at source and the double-taxation mechanics we have seen.
Accumulating: reinvests the dividends internally instead of paying them out. It generally does not generate a dividend to declare until you sell the units, at which point the gain surfaces.
For the foreign-dividend investor this is an important tax lever: an accumulating product defers taxation and simplifies the per-country withholding paperwork, while a distributing one gives you the periodic income many people seek. It is not that one pays "less" in absolute terms, but that it changes when and how you are taxed. The general framework of rates is in the dividend taxation guide.
How to reclaim excess withholding
When the source country withholds above the treaty limit —the typical case being the US 30% for not having filed the W-8BEN—, Spain only lets you deduct up to that limit (15% in the US). The excess is not recovered through IRPF: it must be reclaimed from the tax authority of the source country.
Broadly, that process involves:
Identifying the applicable treaty and the maximum percentage that should have been withheld.
Gathering the broker's supporting documents (gross dividends and withholding applied).
Filing the refund request or form with the foreign authority, sometimes proving your tax residence in Spain.
Waiting for a resolution that is usually slow and bureaucratic, with long timelines.
The practical lesson is the same throughout this guide: it is far more efficient to prevent over-withholding from the start —by filing the W-8BEN or the equivalent form— than to try to recover it afterwards.
Common mistakes
Not filing the W-8BEN and suffering 30% US withholding, losing an unrecoverable 15% via IRPF.
Reporting the net dividend instead of the gross, miscalculating the relief.
Forgetting the correct exchange rate on dividends in foreign currency.
Ignoring Form 720 when thresholds are exceeded with a foreign broker.
Frequently asked questions
How are foreign dividends taxed in Spain?
In two layers: a withholding in the country of origin and then Spanish IRPF as savings income on the gross dividend. To avoid paying twice you apply the double-taxation relief, up to the treaty limit.
How much does the United States withhold on dividends?
By default 30% to non-residents. With the W-8BEN form it drops to 15%, which is the limit of the Spain-US treaty and the percentage you can then deduct in your return.
Can I recover the foreign withholding?
You can deduct in IRPF up to the treaty limit. If more was withheld (for example, 30% for not filing the W-8BEN), the excess is only recovered by reclaiming it from the source country's authority, a slow process. That is why it is best to reduce the withholding at source from the start.
Do I have to file Form 720 for my foreign shares?
It depends on where your portfolio is held and the amounts. With a Spanish-custody broker it usually does not apply; with a foreign broker it may apply once certain thresholds are exceeded. Review your specific case.
Does a Spanish broker save me tax paperwork?
Largely yes: it applies withholdings automatically, feeds the data into the draft and usually avoids Form 720 and D-6 for that portfolio, in exchange for sometimes slightly higher costs. Compare the trade-off in the brokers guide.
How do I go from gross to net dividend?
The net is what reaches your account after the withholding at source: the source country's percentage is taken off the gross. In Spain, however, you must report the gross (before that withholding) and include it in the savings base, then apply the double-taxation relief up to the treaty limit.
Do I have to convert dollar dividends to euros?
Yes. Dividends collected in foreign currency are reported in euros, using the exchange rate on the collection date. Both the gross amount and the withholding are converted at that same rate to correctly compute the savings base and the relief.
It depends on your goal. An accumulating one reinvests internally and usually defers taxation until you sell, simplifying the withholding paperwork; a distributing one gives you periodic income taxed each year. It does not pay "less" as such, it changes when and how you are taxed.