Zythos Business
News

Double Taxation Treaties in Spain: How to Avoid Paying Tax Twice on the Same Income

Zythos Business

If you live in Spain but still earn money abroad, or live abroad and earn money from Spanish sources, there is a real risk that two countries will try to tax the same income. The good news: Spain has signed a large network of double taxation treaties (known in Spanish as convenios para evitar la doble imposición, or CDI) precisely to stop that from happening. This guide explains, from scratch, how they work and what you need to do in practice in 2026.

What a double taxation treaty actually does

A treaty is an agreement between two countries that decides which of them has the right to tax each type of income. It does not abolish taxes and it does not create a “tax-free” status. What it does is allocate taxing rights and set rules so that the same euro, dollar or pound is not fully taxed twice.

Most Spanish treaties follow the OECD model and work in three steps:

1. Decide where you are resident. Each country has its own internal rules. In Spain, you are generally considered a tax resident if you spend more than 183 days in the country in a calendar year, or if your main centre of economic interests (work, business, investments) is here. Spouses and dependent children can also be a factor. If both countries claim you as a resident, the treaty includes “tie-breaker” rules that look at your permanent home, your personal and economic ties, your habitual abode and, finally, your nationality.

2. Classify the income. Salaries, business profits, dividends, interest, royalties, pensions, property income and capital gains are often treated differently. For example, income from real estate is normally taxable in the country where the property sits, while dividends and interest are often shared: the country of source may charge a limited withholding rate and the country of residence taxes the rest.

3. Apply a relief method. Where both countries still have a right to tax, the country of residence must give relief. That is where “exemption” and “credit” come in.

Exemption vs credit: two ways of relieving the double tax

The exemption method means that the country of residence simply does not tax a given item of income, because the other country has the primary right to do so. Sometimes the exempt income is still taken into account to determine the tax rate applied to your remaining income (this is called “exemption with progression”).

The credit method (método de imputación) is the more common one. Spain taxes your worldwide income if you are a resident, but lets you deduct from your Spanish tax the tax you already paid abroad on that income. The deduction is normally limited: you cannot deduct more than the Spanish tax that corresponds to that same foreign income. If the foreign tax was higher, the excess is not refunded by Spain.

Which method applies depends on the specific treaty and the type of income, so always read the relevant article. Spain also has an internal rule allowing a deduction for foreign tax even where no treaty exists, with similar limits. Separately, there are specific domestic exemptions for certain work performed abroad, subject to strict conditions that should be checked case by case.

The tax residence certificate and other practical steps

To benefit from a treaty, the foreign tax authority will usually ask you to prove where you are resident. The key document is the tax residence certificate (certificado de residencia fiscal), issued by the Spanish tax agency, the AEAT (Agencia Estatal de Administración Tributaria). It states that you are resident in Spain for tax purposes in a given year and is often issued with a reference to the specific treaty. You can request it through the AEAT’s electronic office, normally with a digital certificate or similar identification, or by appointment. Note that the certificate generally refers to a past or current period, so plan ahead if a foreign payer demands it before applying a reduced withholding.

If you are a non-resident earning Spanish income, the reverse applies: Spanish payers (a tenant, a company paying dividends) must withhold tax, and you may claim the reduced treaty rate by providing a certificate of residence from your home country, usually validated by its tax authority. Non-residents file their Spanish tax on income through the non-resident regime, and need a NIE (Número de Identidad de Extranjero, the foreign-national tax identification number) to do so.

Some practical tips:

Keep proof of foreign tax paid (assessments, payment receipts, withholding statements), as Spain will want documents to grant a credit. Check deadlines: foreign tax paid in a later year may require adjusting an earlier Spanish return. And remember that treaties differ: the UK, US, Germany or any other country each have their own text, so never assume that what applies to one applies to another. Also note that treaties generally do not remove your reporting duties, such as informing Spain of certain assets held abroad when thresholds are exceeded.

At Zythos Business we help self-employed professionals and small companies with cross-border situations every day: determining where you are really resident, checking which treaty article applies, requesting residence certificates and making sure foreign taxes are properly credited in your Spanish returns. If you have income in more than one country, a short review before you file can save you from paying twice.

Discussion

There are 0 comments.