Tax planning for foreign investors in Spain: what you need to know before investing

fiscalidad inversores

Spain is an attractive destination for foreign capital — but the tax implications of an investment vary significantly depending on how you structure it, where you are based, and what type of income the investment generates. Getting the tax planning right before you invest is not just about saving money. It is about avoiding structures that look efficient on paper but create compliance problems, unexpected withholding costs, or double taxation issues that are expensive to unwind. This guide covers the essentials every foreign investor needs to understand before committing capital to Spain.

The first question: are you investing as an individual or through a company?

This single decision determines your entire tax framework in Spain. The answer depends on the size of the investment, your long-term plans, and your overall tax position. Here is the general logic:

  • Investing as an individual: simpler to set up, but Spanish wealth tax applies to your Spanish assets, inheritance tax exposure is higher, and the tax rate on capital gains and dividends is your personal rate (19–28% on savings income)
  • Investing through a Spanish company (SL or SA): corporate income tax at 25%, access to the participation exemption (95% of dividends and capital gains from qualifying shareholdings exempt), and EU Directive benefits on intra-group flows
  • Investing through a Spanish ETVE holding: optimal for groups with multiple Spanish or Latin American subsidiaries — combines the participation exemption with zero Spanish withholding on distributions to non-resident shareholders

For investments above a certain threshold, the corporate route almost always produces a better tax outcome than direct personal ownership — particularly when the investment generates regular income or will be sold within a few years.

Key tax considerations for foreign investors in Spain

Corporate income tax (CIT): 25% general, 15% for new companies

Spanish companies pay CIT at 25% on their taxable profits. New companies incorporated in Spain pay a reduced rate of 15% in their first two profitable fiscal years — a meaningful saving during the ramp-up period. R&D tax credits can reduce the effective rate further: up to 42% credit on incremental qualifying R&D expenditure, plus 17% on qualified researcher salary costs.

The participation exemption: 95% on dividends and capital gains

This is the cornerstone of Spain’s attractiveness for holding structures. When a Spanish company holds at least 5% of another company (domestic or foreign) for at least 1 year, 95% of dividends and capital gains from that shareholding are exempt from Spanish CIT. The effective tax on qualifying dividends is therefore 1.25% — making Spain genuinely competitive with the Netherlands, Luxembourg, and Ireland as a holding location.

Requirements: the subsidiary must be subject to a nominal CIT rate of at least 10% in its home country, or benefit from a tax treaty with Spain that includes an exchange of information clause. Most major investment jurisdictions meet this threshold.

Withholding taxes on investment income

When a foreign investor receives income from their Spanish investment, Spanish withholding tax applies at source. The domestic rates — and their reductions under Spain’s treaty network — are:

  • Dividends: 19% domestic → 5–15% under most EU treaties → 0% under the EU Parent-Subsidiary Directive (for EU parent with 5%+ shareholding held 1+ year)
  • Interest: 19% domestic → 10% under most treaties → 0% under the EU Interest and Royalties Directive (for qualifying EU associated companies)
  • Royalties: 24% domestic → 4–10% under most treaties → 0% under the EU Interest and Royalties Directive
  • Capital gains on shares (non-real estate): generally taxed only in the investor’s country of residence under most treaties — 0% Spanish withholding
  • Capital gains on Spanish real estate: always taxable in Spain at 19%, regardless of treaty

To apply treaty rates, the foreign investor must provide a valid tax residency certificate to the Spanish paying entity before payment is made.

Wealth tax exposure for foreign investors

Non-resident individuals who own Spanish assets — real estate, shares in Spanish companies, bank accounts — above €700,000 net are subject to Spain’s wealth tax on those Spanish assets. The rate ranges from 0.2% to 3.5% depending on the asset value. Key regional differences: Madrid applies a 100% rebate (effectively 0%); Andalusia applies a 100% rebate up to €1 million in assets. The Solidarity Tax (Impuesto de Solidaridad de las Grandes Fortunas) applies above €3 million in Spanish net assets and overrides regional rebates.

Structuring investments through a Spanish company rather than as direct personal ownership can reduce wealth tax exposure — shares in a Spanish operating company may benefit from the business assets exemption (exención de empresa familiar) if certain conditions are met.

Capital gains tax on exit

The tax treatment of the eventual sale of the investment depends on the structure:

  • Individual selling shares in a Spanish company: 19–28% Spanish capital gains tax on the gain, unless the applicable treaty allocates exclusive taxing rights to the investor’s country of residence
  • Spanish company selling shares in another company: 95% exemption under the participation exemption — effective rate 1.25%
  • Non-resident selling Spanish real estate: 19% Spanish capital gains tax + 3% buyer withholding + plusvalía municipal
  • Sale of ETVE shares: gains attributable to non-exempt assets are taxable in Spain; gains from exempt income generally benefit from 0% Spanish withholding

Choosing the right investment structure: a decision framework

For a single investment in a Spanish operating company

A direct shareholding (individual or through a foreign holding company) combined with treaty or EU Directive planning on dividends is often sufficient. If the foreign holding company is EU-based, the Parent-Subsidiary Directive eliminates Spanish withholding on qualifying dividends.

For a portfolio of Spanish investments or a Spanish real estate portfolio

A Spanish SL holding company provides the participation exemption on dividends from Spanish subsidiaries, full expense deduction against rental income at 25% CIT, and more efficient succession planning than direct personal ownership.

For a multinational group using Spain as a hub for Europe or Latin America

The ETVE regime is the optimal structure: participation exemption on foreign subsidiaries + zero Spanish withholding on distributions to non-resident shareholders + access to Spain’s 100+ treaty network, including with Latin American countries where other European holding jurisdictions have fewer treaties.

Frequently asked questions

Do I need to set up a Spanish company to invest in Spain?

No. Foreign investors can invest directly in Spain — buying shares in a Spanish company, purchasing real estate, or providing financing — without incorporating a local entity. However, direct investment without a local structure often results in higher withholding taxes, no access to the participation exemption, and greater wealth tax exposure. The right structure depends on the investment size, type, and time horizon.

What is the Golden Visa and how does it interact with investment tax planning?

The Golden Visa provides Spanish residency to non-EU investors who make qualifying investments (historically €500,000 in real estate; €1 million in shares or deposits; €2 million in government bonds). Golden Visa holders who spend more than 183 days in Spain become Spanish tax residents — subject to IRPF on worldwide income. Investors who want the residency benefit without the Spanish tax residency implications must carefully manage their days in Spain and their centre of vital interests.

How does Spain’s transfer pricing affect my investment structure?

If your investment structure involves transactions between related parties — intercompany loans, management fees, IP licences, shared services — these must be priced at arm’s length and documented under Spain’s transfer pricing rules. Failure to document related-party transactions correctly is one of the most common audit triggers for foreign groups with Spanish operations.

Getting the tax structure right before you invest is always cheaper than restructuring after the fact. At Capital Auditors & Consultants, we advise foreign investors on the most efficient legal and tax structures for Spanish market entry — from initial planning to incorporation, treaty analysis, and ongoing compliance. Contact our international team before you commit.

Facebook
Twitter
LinkedIn