Capital gains tax on shares in Spain
Rule
19% to 30%, rising with the size of the gain
- In Spain, gains on shares: 19% to 30%, rising with the size of the gain.
- The calculator below applies this rule to the gain you enter.
- The rule for shares is verified for 9 of the other nine countries here.
- The figures were last checked against their sources on Nov 23, 2026.
Figures are taken from the official sources linked on this page; they have not been reviewed by a tax adviser. This is general information, not tax advice: for your own situation, ask a tax adviser.
Rule for shares in Spain
| Item | Value |
|---|---|
| Gains up to €6,000 | 19% |
| Gains up to €50,000 | 21% |
| Gains up to €200,000 | 23% |
| Gains up to €300,000 | 27% |
| Gains above €300,000 | 30% |
Official sources
Capital gains tax calculator: shares in Spain
What this calculation leaves out
- Losses, losses carried forward and other gains or losses of the same year.
- Joint or married filing, local or church taxes and special regimes for traders.
- Costs of buying and selling; enter the gain after costs.
- Changes of residence and the treatment of income the asset paid while you held it.
shares: capital gains tax in other countries
| Country | Rule |
|---|---|
| United States | 0% to 20% if held over 12 months; income tax rates otherwise |
| United Kingdom | 18% or 24% after an allowance of £3,000 |
| Germany | 25% flat plus a 5.5% surcharge on the tax, after an allowance of €1,000 |
| France | 31.4% flat |
| Italy | 26% flat |
| Netherlands | Gains not taxed; wealth taxed on a deemed return at 36% |
| Switzerland | Tax-free for private investors |
| Canada | 50% of the gain taxed at income tax rates |
| Australia | Income tax rates on the gain, with a 50% discount if held at least 12 months |
Capital gains tax in Spain on other assets
| Asset | Rule |
|---|---|
| ETFs | 19% to 30%, rising with the size of the gain |
| Crypto | 19% to 30%, rising with the size of the gain |
| Gold | 19% to 30%, rising with the size of the gain |
| Foreign currency | 19% to 30%, rising with the size of the gain |
About capital gains tax on shares in Spain
This page covers the tax on gains from shares for people resident in Spain. In short: 19% to 30%, rising with the size of the gain. The rule table lists every figure with its source, and the comparison tables show the same asset in the other countries covered and the other asset types in Spain.
How a gain is taxed depends on the country's treatment of the asset type. Shares and funds are often taxed under the rules for capital income, while gold, crypto and foreign currency can fall under rules for private sales or other assets. A holding period can matter: in some countries a gain is tax-free after a set time, in others a long holding only lowers the rate. Enter your gain, and where asked the months held and your income, to estimate the tax.
The estimate is simplified on purpose. It does not offset losses, does not handle joint filing or local and church taxes, and assumes the gain is the only one of its kind in the year. The rule for shares is verified for 9 of the other nine countries on this site. For a tax return or a decision, check the official source or ask a tax adviser.
Questions and answers
How is a capital gain on shares worked out in Spain?
A gain is the sale price minus the purchase price and the costs of buying and selling. Whether and how that gain is taxed in Spain depends on the rule for the asset type, which can set a rate, an allowance or a holding period. Losses and other gains of the year can change the result.
How are gains on shares taxed in Spain?
For a resident individual investing privately, the rule is: 19% to 30%, rising with the size of the gain. The rule table on this page lists each figure with the official source it comes from, and the calculator applies the figures to a gain you enter. Rules for companies, funds, traders and tax-free accounts are different and are not covered here.
What does the calculator leave out?
It applies the rule for Spain to one gain. It does not offset losses or carried-forward losses, does not handle joint filing, local or church taxes, and assumes the gain is your only one of this kind in the year. For a return, use the official guidance or a tax adviser.
How does Spain compare with other countries for shares?
The comparison table lists the rule for shares in the other nine countries covered here; 9 of them are verified. Countries differ in rates, allowances and holding periods, so a gain of the same size can be taxed very differently from one country to the next.