SwissExpatTax
Double Taxation: Switzerland–Spain Guide

Double Taxation: Switzerland–Spain Guide

12 min
SwissExpatTax Team

If you are an EU expat living in Switzerland with income ties to Spain — or a Spanish national who has relocated within Europe — understanding the Switzerland–Spain double taxation treaty is essential. Without it, the same income could be taxed twice: once in the country where it is earned, and again where you live. The treaty eliminates this risk, but only if you know how it applies to your situation.

This guide covers every major income type, explains which country has taxing rights in each case, and walks through the credit mechanism that prevents double taxation.

What the Switzerland–Spain Tax Treaty Covers

The Switzerland–Spain double taxation agreement (formally, the Convention between the Swiss Confederation and the Kingdom of Spain for the Avoidance of Double Taxation) was signed in 1966 and has been updated several times since. It is one of Switzerland’s most comprehensive bilateral tax treaties and covers:

  • Employment income (salaries and wages)
  • Director and board member fees
  • Dividends
  • Interest
  • Royalties and licensing fees
  • Capital gains and real estate income
  • Pensions and annuities

The treaty applies to anyone who is a tax resident in one or both countries and has income crossing the border. That includes Spanish citizens working in Switzerland, EU nationals living in Switzerland with Spanish investment income, and retirees who have spent part of their careers in Spain.

Spain hosts approximately 75,000 Swiss residents and Switzerland is home to roughly 90,000 Spanish nationals — making this one of the most practically relevant bilateral tax treaties in both countries.

Employment Income: Where Your Salary Is Taxed

If you are employed in Switzerland, the treaty is clear: your salary is taxed where you actually work — in Switzerland. Your Swiss employer withholds federal, cantonal, and municipal taxes. Spain has no right to tax that employment income.

This is typically favourable for expats, since Swiss salaries are among the highest in Europe. There is one important exception, and it’s a three-part test, not just a day count: under Article 15, if you’re a Spain tax resident physically working in Switzerland for fewer than 183 days in the fiscal year, AND your employer is not Swiss-resident, AND the cost isn’t borne by a Swiss permanent establishment of that employer, Spain (your residence country) keeps exclusive taxing rights instead of Switzerland. If your employer IS the Swiss company you’re physically working for, that second condition typically fails, and Switzerland gets taxing rights regardless of how short the stay is.

For self-employed professionals and freelancers, the country where you actually carry out the economic activity has taxing rights. If you have a permanent establishment in Switzerland — an office, studio, or regular place of business — Switzerland taxes that income. Mixed situations (e.g., Swiss-based with Spanish clients) often require individual tax advice.

Director and Board Member Fees

Article 16 of the treaty has a specific rule for director fees and board remuneration: they may be taxed in the country where the company is tax-resident (not necessarily the same as where the company is physically headquartered, though in practice they usually coincide).

If you sit on the board of a Swiss company, Switzerland has exclusive taxing rights over those fees — even if you are a Spanish tax resident. Conversely, if you are a director of a Spanish company and reside in Switzerland, Spain taxes those fees.

This rule matters because director fees can be substantial and the tax treatment differs significantly between the two countries.

Dividends: Withholding Tax Limits

The treaty caps withholding tax on dividends at 15% in the source country for individual investors — this is the rate that applies to a typical expat’s personal share portfolio, regardless of the size of the stake. There’s also a full exemption (0%) under Art. 10.2.b, but it’s much narrower than a simple “big stake” rule: it requires the recipient itself to be a qualifying company (not an individual) that has directly held at least 10% of the paying company’s capital for at least one year, plus anti-abuse conditions added by the 2006 Protocol. In practice, that exemption is for corporate parent-subsidiary structures, not for an individual expat’s shareholding, however large.

Practical example: You are a Swiss tax resident and own 10% of a Spanish company that pays a dividend. Spain withholds 15% — the individual-investor rate applies regardless of your stake size. When you declare that dividend income in Switzerland, you can apply the taxes paid in Spain as a credit against your Swiss tax liability.

Most Swiss cantons have mechanisms to prevent double taxation on dividends, though the exact treatment varies. Always verify the specific rules of your canton of residence, since intercantonal differences can be material.

Interest and Royalties

Interest from loans, bonds, and savings accounts is capped at a maximum 10% withholding in the source country.

Royalties — payments for patents, trademarks, software licences, and copyright — are capped at a maximum 5% withholding.

Both limits are more favourable than what many countries apply unilaterally. The treaty therefore provides real protection for expats with cross-border passive income from intellectual property or lending.

Capital Gains and Real Estate

Real estate gains are taxed in the country where the property is located. If you sell an apartment in Barcelona, Spain taxes the gain. If you sell a property in Geneva or Zurich, Switzerland taxes it.

Tax rates vary considerably between cantons in Switzerland and depend on the holding period in Spain (Spanish CGT rates: 19–28% progressive). Some Swiss cantons have historically not taxed capital gains on securities, while Spain applies progressive rates.

For movable property — shares, bonds, and fund units — the treaty assigns taxing rights to the country of residence of the owner. If you are a Swiss tax resident, gains on Spanish shares are taxed in Switzerland, not Spain.

Pensions and Annuities

Private-sector and general social-security pensions are taxed in the country where you live, not where you worked or where the pension scheme is based.

  • If you are a Spanish retiree living in Switzerland, your Spanish Social Security pension (Seguridad Social) is taxed in Switzerland, not Spain.
  • If you are a Swiss retiree living in Spain, your Swiss AHV/AVS pension or a private-sector Pillar 2 pension is taxed in Spain.

Public-service (government) pensions are a separate, different rule — and the condition that triggers it is easy to get backwards. Article 19 of this specific treaty (unlike the standard OECD model, it has a single paragraph with no separate residence-country carve-out) says: pensions paid by a state, one of its political subdivisions, or a public-law entity, to a natural person who holds the nationality of that same paying state, in consideration of past government service, can only be taxed in the paying (source) country. The nationality condition is about the payer’s state, not the residence state — there’s no explicit exception in this article for someone who happens to be a national of their country of residence.

The practical consequence: if the pensioner does not hold the nationality of the state paying the pension, Article 19 simply doesn’t apply to them at all — the pension then falls back to the general pension rule (taxed where the pensioner resides), not to some automatic flip described directly in Article 19. In practice: a Swiss national who is a former Swiss federal or cantonal civil servant and retires to Spain has that occupational pension (e.g. from PUBLICA) taxed only by Switzerland under Article 19. But a former Swiss civil servant who holds Spanish nationality (not Swiss) doesn’t meet Article 19’s own condition, so that pension is governed by the general residence-based pension rule instead — taxed in Spain, their country of residence. This is a genuinely separate mechanism from AHV/AVS or a private-sector Pillar 2, and worth double-checking against your own nationality (and any dual-nationality situation) rather than assuming residence status alone decides it.

For the pensions that do follow the residence rule, the residence country has exclusive taxing rights, which can be significantly advantageous depending on your canton of residence in Switzerland, since cantonal income tax rates on pensions vary widely.

Summary: Income Types and Taxing Rights

Income typeTaxing countryMax withholding at source
Employment salaryCountry where work is performed— (standard income tax)
Director feesCountry where company is based—
Dividends (individual investor, any stake size)Country of residence15%
Dividends (qualifying corporate parent-subsidiary, ≥10% held ≥1 year)Country of residence0%
InterestCountry of residence10%
Royalties / licencesCountry of residence5%
Real estate gainsCountry where property is locatedLocal rules apply
Pensions / annuities (private, AHV/AVS, general social security)Country of residence— (standard income tax)
Pensions (government/public-service, recipient holds nationality of the paying state)Paying (source) country— (standard income tax)
Pensions (government/public-service, recipient does NOT hold nationality of the paying state)Falls back to the general pension rule: country of residence— (standard income tax)

How the Treaty Eliminates Double Taxation

For most income types, the treaty’s core mechanism is the foreign tax credit: if you pay tax on a specific income item in one country, the other country grants you a credit equal to the taxes already paid, eliminating the double burden. But it isn’t the only method used throughout the treaty. For income that the treaty assigns exclusively to one country — such as a government-service pension taxed only by the paying country under Article 19 — Spain (when it’s the residence country) instead applies exemption with progression (exención con progresividad): the income itself isn’t taxed again in Spain, but if you’re otherwise required to file an IRPF return, Spain still counts that exempt income when determining the tax rate applied to your other, taxable income. Which method applies depends on the specific income article, not a single uniform rule — don’t assume every income type works exactly like the rental-income credit example below.

Example: You are a Swiss resident with rental income from Spanish property — €10,000 per year. Spain withholds €1,900 at the 19% non-resident rate. When you declare that rental income in Switzerland, you deduct the €1,900 paid to Spain from your Swiss tax bill.

Switzerland and Spain maintain a relatively high level of administrative coordination, but the credit mechanism requires that you declare correctly in both countries. One of the most common and costly mistakes among expats is filing in only one jurisdiction, which can generate tax contingencies, interest charges, and avoidable penalties.

Filing Obligations for Expats with Spain Connections

Moving to Switzerland does not automatically end your Spanish tax obligations. Spain considers you a tax resident if any of the following apply:

  • Your primary home is in Spain
  • Your main economic interests are in Spain
  • Your spouse and children remain in Spain (unless legally separated)

If you work in Switzerland but maintain a family, property, or business in Spain, you may still be a Spanish tax resident — meaning you must declare your worldwide income in Spain. The treaty and the credit system ensure you do not pay twice, but only if you file correctly in both countries.

Key compliance checklist for expats:

  • Determine your tax residency from your first year abroad — do not assume it resolves itself
  • File Modelo 720 in Spain if you have foreign assets exceeding €50,000 (declared per asset category, not total)
  • Keep documentation of all taxes paid in each jurisdiction
  • Declare the year of departure correctly — Spain requires a final IRPF return for the year you left
  • If you have income in both countries, verify credit eligibility for each income type separately

Many expats find it worthwhile to engage a tax advisor with dual expertise in Spanish and Swiss tax law, particularly in the first year of their move. Given the stakes — and the complexity of cross-border situations — the cost is usually recovered many times over.

Practical Scenarios

Scenario 1 — Employee relocated to Zurich: A German-Spanish dual national employed by a Swiss company in Zurich. All employment income taxed in Switzerland. Any Spanish rental income declared in Spain; Swiss credit applied. Result: no double taxation.

Scenario 2 — Spanish entrepreneur with Swiss residency: Self-employed consultant with a registered office in Basel, serving Spanish and international clients. Swiss income taxed in Switzerland. Spanish-source income may create Spain nexus; requires analysis of where services are genuinely delivered.

Scenario 3 — EU retiree with pensions from Spain and Switzerland: Retired EU national living in Spain. Spanish Seguridad Social pension taxed in Spain. Swiss Pillar 2 pension also taxed in Spain (country of residence). Credit applied if Switzerland withheld tax at source.


The Switzerland–Spain double taxation agreement is a well-crafted instrument that effectively protects expats from paying tax twice. Its effectiveness depends entirely on knowing how it applies to your specific income mix and complying correctly with obligations in both countries. Define your tax residency early, document your cross-border income carefully, and seek specialist advice when your situation crosses multiple income categories.

Official sources

Frequently Asked Questions

Does Switzerland have a double taxation agreement with Spain?
Yes. The Convention between Switzerland and Spain for the Avoidance of Double Taxation (signed 1966, updated multiple times) establishes which country has taxing rights over each type of income. Employment income is generally taxed where you work; pensions where you are resident.
If I live in Switzerland but have rental income in Spain, where do I pay tax?
Spain has primary taxing rights over rental income from Spanish property under the treaty. You declare it in Spain and pay Spanish income tax on it. Switzerland may also include it in your worldwide income calculation but grants a credit or exemption to avoid double taxation.
I moved from Spain to Switzerland — what do I do about my Spanish bank accounts?
Modelo 720 does not apply to you here: it's an obligation for Spanish tax residents to declare assets located abroad (outside Spain) — it never applies to non-residents, and never covers assets located inside Spain. As a Spanish fiscal non-resident, you instead pay Spanish non-resident income tax (IRNR) on Spanish-source income, including a withholding on Spanish bank interest (rate depends on whether you're an EU/EEA resident with an exchange-of-information agreement, or not). You should also file a final IRPF return in Spain for the year you left, covering income up to your departure date.
My Swiss employer wants to send me to work in Spain for 3 months — am I taxed in Spain?
Article 15 of the treaty makes this depend on three cumulative conditions, not day-count alone: (a) you don't spend more than 183 days in Spain in the fiscal year, (b) your remuneration is paid by, or on behalf of, an employer who is NOT a resident of Spain, and (c) the cost isn't borne by a permanent establishment your employer has in Spain. If all three hold — a genuine short-term assignment, Swiss-resident employer, no Spanish PE bearing the cost — Switzerland keeps exclusive taxing rights. If any one fails (for example, your Swiss employer opens a Spanish branch that pays or bears the cost of your assignment), Spain gets taxing rights regardless of how short the assignment is.
Does the treaty protect my Swiss bank privacy?
No. Switzerland has signed automatic information exchange agreements (CRS/FATCA) with Spain. Swiss banks report account details of Spanish tax residents to the Spanish tax authorities. Swiss banking secrecy no longer applies to residents of countries with information exchange agreements.
Share X LinkedIn

You may also like