Before You Start
- Basic understanding of how stock investments and capital gains work
- Resident or expat status in Spain (for tax purposes)
- Access to your stock broker account (e.g. DEGIRO, Trade Republic, Interactive Brokers)
- Knowledge of your portfolio’s purchase and sale dates/prices
- Awareness of your country of tax residency if you’re an expat
Time needed: 60–90 minutes to review your portfolio, understand tax rules, and prepare documentation
What you'll need: Broker transaction history, Spanish tax ID (NIF), access to the Agencia Tributaria (Spanish Tax Agency) portal, inheritance documentation for deceased relatives (if applicable)
Understanding inheritance tax stock Spain rules is crucial for any investor or expat with assets in Spain. Both inheritance tax and capital gains tax can significantly affect the value of your stock portfolio—whether you’re planning your legacy or simply selling shares. This guide offers a step-by-step approach for 2026, including Spanish allowances, filing processes, double-taxation avoidance, and practical optimisation strategies, with clear EUR examples and actionable platform instructions.
Step 1: Understand Key Taxes on Stocks in Spain
What to do: Get familiar with the two main taxes affecting stock investors in Spain:
- Inheritance and Gift Tax (Impuesto sobre Sucesiones y Donaciones, ISD): Taxed when stocks are inherited or gifted.
- Capital Gains Tax (Impuesto sobre la Renta de las Personas Físicas, IRPF): Taxed when stocks are sold for a profit.
Why it matters: Each tax applies at different life events. Inheritance tax is due when you receive stocks after someone’s death. Capital gains tax is due when you sell stocks you inherited (or bought yourself), based on the profit between acquisition and sale.
What can go wrong: Confusing the two taxes can lead to underpayment, penalties, or paying tax twice on the same asset. Knowing the definitions ensures you file correctly and don’t overpay.
Pro Tip
Review The Ultimate 2026 Guide to Tax-Efficient Investing in Europe for broader strategies on minimising taxes on your investments.
Step 2: Check Your Tax Residency and Broker Location
What to do: Confirm your tax residency status and where your broker is based. For most, you’re a Spanish tax resident if you spend more than 183 days a year in Spain or have your main economic interests there.
- Log in to your broker (e.g. DEGIRO, Trade Republic, Interactive Brokers) and check your registered address in account settings.
Why it matters: Your residency status determines which country’s tax rules apply. If you’re an expat or have assets in multiple countries, this affects double-taxation and reporting obligations.
What can go wrong: If you declare the wrong residency, you risk audits, double-taxation, or fines. Some brokers may also deduct withholding tax if they believe you’re a non-resident.
Step 3: Calculate Spanish Inheritance Tax on Stocks
What to do: When inheriting stocks, calculate inheritance tax (ISD) based on the value of the shares at the date of inheritance. Spain’s inheritance tax is not national: each autonomous region sets its own allowances and rates, but there are national minimums.
| Relationship to Deceased | Allowance (€) | Typical Tax Rate |
|---|---|---|
| Spouse/Child (Group I & II) | 16,000 | 7.65%–34% |
| Parent/Sibling (Group III) | 7,993 | 7.65%–34% |
| Other (Group IV) | 0 | Up to 34% |
For example, if you inherit €70,000 in stocks from your parent in Madrid (Group II):
- First €16,000 is tax-free.
- The remaining €54,000 is taxed at the progressive rate (approx. 7.65%–11%, depending on the region).
- Expected tax: Roughly €4,500 (Madrid often offers near-full relief for close relatives, but check current local rules).
Why it matters: Not all regions are equal—Andalucía, Madrid, and Valencia offer generous reductions for close relatives, while others like Asturias are stricter.
What can go wrong: Not applying for regional allowances or missing the 6-month reporting deadline (extendable by 6 more months) leads to fines and loss of reductions.
Pro Tip
Always check the Agencia Tributaria’s official inheritance tax page for the latest regional rules.
Step 4: Report and Pay Inheritance Tax
What to do: File Form 650 (“Impuesto sobre Sucesiones y Donaciones”) with the Agencia Tributaria for national cases, or your regional tax authority for local reductions.
- Gather death certificate, will, broker statements showing stock value on date of death, and your Spanish tax ID (NIF).
- Submit online via the Agencia Tributaria portal or in-person at your regional office.
Why it matters: This is required before you can legally transfer inherited stocks into your name.
What can go wrong: If you miss the reporting deadline or underreport asset values, penalties can reach 20% + late interest. Brokers may freeze assets until the tax is resolved.
Step 5: Understand Capital Gains Tax When Selling Inherited Stocks
What to do: When you sell inherited stocks, pay capital gains tax on the difference between their value at inheritance (the “step-up” basis) and the sale price.
For 2026, Spanish capital gains tax bands are:
- €0–6,000: 19%
- €6,000–50,000: 21%
- €50,000–200,000: 23%
- Over €200,000: 27%
Example: You inherit 100 shares of ASML, valued at €400 each (€40,000 total) on the date of inheritance. Two years later, you sell them for €500 each (€50,000). Your capital gain is €10,000.
- Tax on €10,000 gain: €6,000 at 19% (€1,140) + €4,000 at 21% (€840) = €1,980 total.
Why it matters: The “step-up” means you don’t pay tax on gains made before you inherited the shares—only on gains made after. This avoids double-taxation on the same value increase.
What can go wrong: Using the deceased’s original purchase price (instead of value at inheritance) can lead to overpaying tax. Conversely, if you misreport, you risk audits and penalties.
Pro Tip
Always download the official broker valuation statement for the date of inheritance. In DEGIRO: Account → Portfolio → Export → Select date of inheritance.
Step 6: Avoid Double Taxation with Other EU Countries
What to do: If you are an expat, or if the deceased was from another EU country, check for double-taxation agreements (DTAs). Spain has treaties with most EU states to avoid taxing the same inheritance twice.
- Review the list of Spain’s DTAs and consult your home country’s tax office if in doubt.
- File for a foreign tax credit in your home country if you paid Spanish inheritance tax.
Why it matters: Without claiming tax credits, you could pay inheritance or capital gains tax twice on the same stocks.
What can go wrong: Failing to file for a credit or exemption within the required timeframes can result in lost refunds or excess tax paid.
Step 7: Optimise Your Inheritance and Capital Gains Tax Planning
What to do: Use legal strategies to reduce the tax burden on your heirs and yourself:
- Gift stocks during your lifetime if regional gift tax is lower than inheritance tax.
- Choose a broker that supports easy transfer of assets to heirs (e.g. Interactive Brokers: Tools → Account Management → Estate Transfer).
- Keep transaction records and “step-up” valuations for all stock holdings.
- Consider holding stocks in tax-advantaged accounts abroad if you’re a cross-border investor (see discussion of tax wrappers in the investor-friendly tax countries article).
Expected outcome: Your heirs pay less tax, the process is smoother, and you avoid legal disputes or asset freezes.
Pro Tip
Some regions (notably Madrid and Andalucía) offer close to 99% reductions for children and spouses. If you qualify, formalise your residency in that region before succession.
Common Mistakes
- Missing regional allowances: Not checking your autonomous community’s rules can cost thousands in extra tax.
- Incorrect valuation: Using the wrong date or failing to get a broker statement for the date of inheritance.
- Delaying filings: Missing the 6-month inheritance tax deadline (extendable) results in fines and interest.
- Not claiming foreign tax credits: Especially for expats or those with cross-border assets.
- Poor record-keeping: Not keeping transaction histories or inheritance documentation can delay transfers and increase audit risk.
Next Steps
- Download your broker’s full transaction and valuation history for all assets.
- Check your autonomous community’s latest inheritance/gift tax rules and apply for reductions where possible.
- Review your will and consider gifting or restructuring assets to optimise for your heirs.
- For advanced tax strategies, review the Capital Gains Tax on ETFs in Europe guide.
- Consult a Spanish tax advisor if your situation is complex or cross-border.
Disclaimer: This article is for educational purposes only and does not constitute financial advice. Always do your own research and consider consulting a qualified financial advisor before making investment decisions.