Jacob Salama Tax Lawyer
Jacob SalamaInternational Tax Lawyer · Spain
Legal disclaimer: This article is for information only and does not constitute legal or tax advice. Spanish DGT consultations bind the Spanish tax authority only on identical facts (Art. 89 LGT). Always consult a qualified tax professional before acting.
Topic 9 · DGT 2023-2026

Other International Capital Gains Issues

English-language tax analysis in Spain of DGT binding rulings 2023-2026 on Other International Capital Gains Issues. Each cited ruling links to the original Spanish text on the DGT consultation database. Catch-all of DGT positions on international capital gains not fitting a more specific subtopic.

By Jacob Salama · International Tax Lawyer · ICAMálaga 11.294 10 May 2026

International capital gains outside the standard PE/no-PE binary include cryptoasset disposals, derivative instruments, foreign-listed shares, and the perpetual question of where exactly the gain is sourced.

Topics » International Capital Gains, Cross-Border Reinvestment and Exit Tax » Other International Capital Gains Issues

1. Why this topic matters

This subtopic groups 39 DGT rulings on the general treatment of international capital gains: treaty allocation, source-based withholding (3% on real-estate sales by non-residents), interaction with the foreign tax credit, and the Article 95 bis exit tax for emigrating Spanish residents with substantial portfolios.

2. Key concepts

Before turning to doctrine and worked examples, fix the technical terms that recur throughout the topic. Each has a precise meaning in Spanish tax law and EU jurisprudence; mastering the differences between them is the first line of defence vis-à-vis the AEAT:

Treaty allocation

Generally residence-State; real estate gains allocated to source (situs) State.

3% withholding

On Spanish real estate sales by non-residents (Art. 25.2 IRNR).

Article 95 bis exit tax

Spanish residents emigrating with portfolio over €4M (or €1M) face deemed disposal.

Foreign tax credit

Available for foreign tax on the same gain.

3. Typical scenarios

Theory makes more sense alongside real-world fact patterns. The cases below — built from DGT doctrine — show where the system grants relief and where it denies it:

📌 Case 1: Non-resident sells Spanish villa

3% withholding by buyer; net gain at 19% (EU/EEA) or 24% (third countries). Refund possible if 3% withheld exceeds final liability.

📌 Case 2: Spanish resident emigrating to Andorra with €5M portfolio

Article 95 bis exit tax: deemed disposal of substantial holdings; tax due on unrealised gains.

4. Decision matrix

A visual summary of the doctrine. This table does not replace case-by-case analysis, but it allows the reader to identify quickly the general rule applicable to each situation:

SituationRuleNotes
Non-resident sells Spanish real estate3% withholding + gain taxForm 211 + 210
Resident emigrates with >€4M portfolioExit tax under Art. 95 bisPlan in advance

5. DGT doctrine — literal text and plain-English commentary

The cards below summarise representative DGT binding rulings on this topic in English from a practical tax perspective in Spain. Each card links to the original Spanish text of the consulta on the DGT consultation database.

Further DGT rulings on this topic (literal text)

📚 DGT binding ruling V0235-23 13/02/2023

A taxpayer writes to the DGT on how the habitual-residence reinvestment doctrine applies to their facts as it affects habitual residence.

→ View original (Spanish) on the DGT consultation database

📖 DGT doctrine in plain English

DGT positions on international capital gains consistently apply the Spanish-source rules of Article 13 TRLIRNR, treaty-allocation rules under DTT Article 13, and the residence-vs-source distinction.

📚 DGT binding ruling V0936-23 20/04/2023

A taxpayer writes to the DGT on whether habitual-residence reinvestment reach their situation as it affects habitual residence.

→ View original (Spanish) on the DGT consultation database

📖 DGT doctrine in plain English

DGT positions on international capital gains consistently apply the Spanish-source rules of Article 13 TRLIRNR, treaty-allocation rules under DTT Article 13, and the residence-vs-source distinction.

📚 DGT binding ruling V1952-23 05/07/2023

An individual consults the DGT on the proper handling of habitual-residence reinvestment specifically regarding habitual residence.

→ View original (Spanish) on the DGT consultation database

📖 DGT doctrine in plain English

DGT positions on international capital gains consistently apply the Spanish-source rules of Article 13 TRLIRNR, treaty-allocation rules under DTT Article 13, and the residence-vs-source distinction.

📚 DGT binding ruling V2618-23 27/09/2023

An individual consults the DGT on the proper handling of habitual-residence reinvestment specifically regarding habitual residence.

→ View original (Spanish) on the DGT consultation database

📖 DGT doctrine in plain English

DGT positions on international capital gains consistently apply the Spanish-source rules of Article 13 TRLIRNR, treaty-allocation rules under DTT Article 13, and the residence-vs-source distinction.

📚 DGT binding ruling V2770-23 10/10/2023

The taxpayer asks the DGT on the treatment of habitual-residence reinvestment concerning habitual residence.

→ View original (Spanish) on the DGT consultation database

📖 DGT doctrine in plain English

DGT positions on international capital gains consistently apply the Spanish-source rules of Article 13 TRLIRNR, treaty-allocation rules under DTT Article 13, and the residence-vs-source distinction.

📚 DGT binding ruling V2779-23 10/10/2023

An individual consults the DGT on how the habitual-residence reinvestment doctrine applies to their facts specifically regarding habitual residence.

→ View original (Spanish) on the DGT consultation database

📖 DGT doctrine in plain English

DGT positions on international capital gains consistently apply the Spanish-source rules of Article 13 TRLIRNR, treaty-allocation rules under DTT Article 13, and the residence-vs-source distinction.

📚 DGT binding ruling V0542-24 09/04/2024

The taxpayer asks the DGT on the proper handling of habitual-residence reinvestment concerning habitual residence.

→ View original (Spanish) on the DGT consultation database

📖 DGT doctrine in plain English

DGT positions on international capital gains consistently apply the Spanish-source rules of Article 13 TRLIRNR, treaty-allocation rules under DTT Article 13, and the residence-vs-source distinction.

📚 DGT binding ruling V0815-24 22/04/2024

The consultation brings to the DGT on how the habitual-residence reinvestment doctrine applies to their facts in respect of habitual residence.

→ View original (Spanish) on the DGT consultation database

📖 DGT doctrine in plain English

DGT positions on international capital gains consistently apply the Spanish-source rules of Article 13 TRLIRNR, treaty-allocation rules under DTT Article 13, and the residence-vs-source distinction.

The topic comprises a total of 39 DGT binding rulings 2023-2026. The above are the most representative; the rest follows the same line and can be retrieved from the official DGT search at Petete.

6. Common mistakes

The errors below are those we most often see in practice. Most are avoided with up-front planning and contemporaneous documentation:

❌ Ignoring exit tax when leaving Spain

Consequence: Liability arises automatically

How to avoid it: Plan emigration with tax adviser

7. Strategic conclusion

International capital gains require dual analysis: domestic + treaty. The exit tax adds a further dimension for high-net-worth emigrants. Plan early.

From the practice

Notes from real cases · Jacob Salama, ICAMálaga 11.294

Spanish source taxation of capital gains generally follows the asset's situs (real estate) or the residence of the issuer (securities). Treaty allocation typically gives the gain to the residence state of the seller. The exceptions — most notably real estate gains — are jurisdictional traps.

Common pitfall: Cryptoasset disposals by Spanish-resident sellers are taxed in Spain on a worldwide basis, with the typical traps being basis tracking across many disposals, FIFO ordering, and the Form 720 / 721 reporting overlay.

Build the cost-basis and disposal records at the time of each transaction, not at the year-end IRPF preparation. Reconstruction across thousands of crypto trades is the most painful task in any tax season.

Disclaimer and limitations

⚠️ Tax disclaimer: This content reflects Spanish DGT doctrine and Spanish/EU jurisprudence in force at the date of publication. DGT binding rulings only bind the Spanish tax authority on facts substantially identical to those of the consultation (Article 89 LGT); their application by analogy requires care. Treaty positions, the MLI, EU case-law and OECD MC Commentary may have evolved. Before filing any return, refund claim, appeal or position paper with the AEAT, please obtain individualised advice from a Spanish-licensed tax lawyer or registered tax adviser. SALAMA LEGAL SLP does not assume responsibility for decisions taken solely on the basis of this content.

Does this topic apply to your situation?

Cross-border tax facts in Spain are fact-sensitive. We help US, UK, German, Israeli and other international clients structure operations, file returns and respond to AEAT enquiries.

Book a consultation

← Back to topics  ·  ← International Capital Gains, Cross-Border Reinvestment and Exit Tax