The Double Taxation Agreement between Germany and Spain is, for the growing community of German citizens living and working in Mallorca, the Costa del Sol, Madrid or Barcelona, the most important tax law document. It determines who may tax their income — Germany, Spain or both — and under what conditions tax already paid in the other country may be credited.
This guide explains the 2011 DTA in a systematic and practice-oriented manner for the 2026 tax year: not as an abstract commentary, but based on the concrete situations that German expatriates face daily.
The 2011 DTA at a Glance
The current Double Taxation Agreement between Germany and Spain was signed on 3 February 2011 in Madrid. In Germany it was published in the Bundesgesetzblatt 2011 II p. 974; in Spain, publication took place in the BOE No. 182 of 30 July 2012. It entered into force on 18 October 2012.
The treaty replaced the previous DTA, in force since 1966, and closely follows the OECD Model Tax Convention 2010. It consists of 31 articles and a protocol containing important interpretive rules that are frequently overlooked in daily practice.
The central structure of the treaty follows a straightforward principle: for each category of income, the treaty determines which state holds the taxing right. This right may be exclusive (one state only) or shared (both states may tax, but the source state is limited). The state of residence then eliminates double taxation through exemption (Art. 22 para. 1) or credit (Art. 22 para. 2) of the tax paid in the other state.
Important: the DTA does not create new taxable events. It can only restrict tax liabilities, not generate them. It is therefore necessary to check first under the domestic law of each state whether a tax liability exists — only then does the DTA operate as a corrective mechanism.
Tax Residence under the DTA (Art. 4) — Centre of Vital Interests
Before analysing the taxation of individual income categories, tax residence must be established. It determines who is the “state of residence” and who is the “source state” for the purposes of the treaty.
Article 4 of the DTA defines residence by reference to domestic law: anyone who is fully liable to tax in Spain under Spanish law (Art. 9 LIRPF) — generally by spending more than 183 days or having the centre of economic interests in Spain — is treated as a resident in Spain. The same applies for Germany (§ 1 EStG).
If a person is resident in both states under domestic law (dual residence), the treaty definition with its tie-breaker clause (Art. 4 para. 2) comes into play:
- Permanent home: in which state does the person have a permanent home available? If only available in one state, that state prevails.
- Centre of vital interests: where are the closest personal and economic ties — family, employer, bank accounts, social contacts?
- Habitual abode: in which state does the person habitually reside?
- Nationality: is the person a citizen of only one of the two states?
- Mutual agreement: if no criterion can be determined clearly, the competent authorities resolve the matter through a mutual agreement procedure.
In practice, establishing residence is the most frequent point of conflict — particularly for German citizens who have formally moved to Spain but retain a home in Germany, keep their children in school there, or regularly spend weekends in Germany.
Practical tip: anyone wishing to relocate their centre of life to Spain must relinquish the German home, update their registered address, transfer bank accounts and memberships, and bring the family along. A half-hearted relocation will not withstand a tax audit.
Salaries from German Employment (Art. 14) — The 183-Day Rule
Article 14 of the DTA governs the taxation of employment income. The principle: salaries are taxed in the state in which the activity is actually performed.
This has an important consequence: an employee resident in Spain who works in Spain is taxed on their salaries in Spain — regardless of who the employer is.
The exception (the “183-day rule”) applies to activities performed in Germany. If an employee resident in Spain does not spend more than 183 days in the calendar year in Germany and the following conditions are cumulatively met, Germany retains the taxing right:
- The salary is paid by a German employer or on its behalf.
- The salary is not borne by a German permanent establishment in Spain.
If even one of these conditions is not met — for example because the employee spends more than 183 days in Germany, or because the salary is attributable to a German permanent establishment in Spain — the taxing right belongs to Spain.
Computing the 183 days: days of stay in the calendar year (1 January to 31 December) are counted, not a rolling twelve-month period. Days of arrival and departure each count as a full day. Weekends and holiday periods in Germany during a prolonged work assignment also count.
Remote Work from Spain (Art. 15) — Typical Scenarios
The rise of remote work has placed Article 15 of the DTA at the centre of numerous enquiries. The protocol to the 2011 DTA contains additional interpretive rules on this point which, since 2023, must also be read in light of the OECD guidelines on teleworking.
Scenario 1: Fully remote from Spain
Someone who moves to Spain and works entirely from their Spanish home for a German employer performs the activity in Spain. The taxing right belongs to Spain. The German employer should not withhold German Lohnsteuer and must issue the employee with the appropriate exemption certificate.
Scenario 2: Partly in Germany, partly in Spain
Someone who works partly in Germany and partly in Spain must apportion their salary: the portion attributable to activity in Germany is taxed in Germany, and the Spanish portion in Spain. The decisive criterion is the proportion of working days, not the split of remuneration components.
Scenario 3: Permanent establishment risk for executives
The critical scenario arises when the remotely working executive in Spain holds signing authority on behalf of the German employer or habitually concludes contracts in the name of the company. In that case, a permanent establishment in Spain may arise under Article 5 para. 5 of the DTA — with the consequence that a portion of business profits would become subject to Spanish Corporate Income Tax. Both employers and employees should seek legal clarification on this point before any relocation.
Pensions — Private vs. Public (Art. 17, 18) — A Fundamental Distinction
The taxation of pensions is, for many German pensioners in Spain, the most pressing DTA question. The treaty draws a clear distinction that is frequently confused in practice:
Art. 17 — Private-sector pensions (German Social Security)
Pensions and similar remuneration paid by the DRV (Deutsche Rentenversicherung), as well as benefits from private occupational pension schemes, are taxed under Article 17 of the DTA exclusively in the state of residence. For a recipient resident in Spain, this means that the DRV pension is taxed in Spain under the IRPF rules. Germany cannot tax it.
Spain taxes the taxable portion of the pension (under the age-bracket rules of Article 17 LIRPF: between 25% and 100% depending on retirement age) within the ordinary IRPF assessment.
Art. 18 — Public-sector pensions (civil servants, Bundeswehr, public employers)
Retirement pensions paid in respect of services rendered in the public sector — including civil servant pensions, Bundeswehr retirement benefits, and pensions from municipal public bodies — fall under Article 18 (Government service). The paying-party principle applies here: the state whose public funds make the payment retains the taxing right. A civil servant’s pension from the Federal Republic of Germany is therefore taxed in Germany, even if the recipient lives in Spain.
However, Spain may take the German pension portion into account for progression purposes: the German pension increases the Spanish rate applicable to other income taxable in Spain (for example, rental income from Spanish real estate).
Important: anyone receiving both a DRV pension and a civil servant pension must account for both rules and file returns in both countries.
Dividends and Interest (Art. 10, 11) — 15% Withholding, Credit Method
Dividends (Art. 10)
Dividends distributed by a German-resident company to a Spanish-resident shareholder may, under Article 10 of the DTA, be taxed by Germany, albeit on a limited basis:
- 15% withholding (general rule for individual investors)
- 5% withholding where the recipient is a company directly holding at least 10% of the voting rights of the distributing company
In Spain, dividends are included as investment income (savings tax base) at the following rates: 19% (up to €6,000), 21% (€6,000–€50,000), 23% (€50,000–€200,000), 27% (€200,000–€300,000) and 28% (above €300,000).
The German withholding tax is credited under Article 22 para. 2 of the DTA against the Spanish tax liability, but only up to the Spanish tax attributable to the same income. If the German withholding exceeds the Spanish tax liability, the excess is not refunded, though in certain cases a reduction of the German withholding may be requested.
Interest (Art. 11)
Interest income from German sources (e.g. a fixed-term deposit at a German bank, German government bonds) is also subject under Article 11 of the DTA to a limited German withholding of 10%. In Spain it is likewise included as investment income in the savings tax base, and the German withholding is credited.
Practical note: German banks frequently do not know that a customer is resident in Spain and automatically apply the full Abgeltungsteuer (25% plus Solidaritätszuschlag) instead of the treaty rate (15% for dividends, 10% for interest). Holders of a Spanish tax identification number (NIE) must submit to their German bank a tax residency certificate (certificado de residencia fiscal) so that the withholding is limited to the treaty rate.
Real Estate in Spain (Art. 6, 13) — Rental Income, Capital Gains
Art. 6 — Income from immovable property
Rental income from Spanish real estate is taxed under Article 6 of the DTA exclusively in Spain. This applies to both German-resident and Spanish-resident owners. A German-resident owner of a holiday home in Mallorca declares their rental income in Spain — as a non-resident they are subject to IRNR and must file Modelo 210.
For owners of Spanish real estate who are resident in Spain, the same applies: rental income is subject to IRPF.
Art. 13 — Capital gains
Capital gains from the disposal of Spanish real estate are taxed under Article 13 para. 1 of the DTA likewise exclusively in Spain. Germany has no taxing right over the capital gain from the sale of a Spanish property — even if the seller is a German tax resident.
For sellers resident in Spain: capital gains are included in the savings tax base and taxed at 19–28%. The gain is calculated as the difference between the transfer value and the updated acquisition cost (purchase price plus capitalisable improvements, less depreciation).
Important: non-residents selling a Spanish property should be aware that the buyer will withhold 3% of the purchase price as a retention (retención) and remit it to the Spanish tax authority. This withholding is credited against the IRNR liability; any excess may be claimed as a refund.
Self-Employed (Art. 7) — When Does a Permanent Establishment Arise in Spain?
Article 7 of the DTA governs the taxation of business profits. The principle: the profits of a German enterprise are taxed in Germany, unless the enterprise maintains in Spain a fixed place of business (permanent establishment).
A permanent establishment within the meaning of Article 5 of the DTA exists in the following cases:
- An office, workshop, branch or similar fixed installation
- A construction site with a duration of more than 12 months
- A dependent agent — a person who in Spain habitually concludes contracts in the name of the German enterprise
For German self-employed individuals and liberal professionals who have moved to Spain and continue providing services to clients in Germany, the permanent establishment question is central. A mere residence without independent business activity in Spain does not generally constitute a permanent establishment. The situation differs when:
- Clients are acquired or served in Spain
- Employees are engaged in Spain
- Fixed rented office space is used
If a permanent establishment exists, the profits attributable to it are subject to Corporate Income Tax in Spain; Germany retains the taxing right over the remaining profits.
Elimination of Double Taxation — Credit vs. Exemption (Art. 22)
Article 22 of the DTA contains the treaty’s true “disarmament mechanism” — the methods for eliminating double taxation:
Method 1: Exemption with progression (para. 1 for Germany)
For income in respect of which the DTA assigns the exclusive taxing right to Spain (e.g. salaries for work performed in Spain, rental income from Spanish real estate), Germany exempts that income from German income tax. However, it is taken into account for calculating the German tax rate (progression clause, § 32b EStG). This means that the exempt income raises the rate applicable to the remaining income taxable in Germany.
Method 2: Credit (para. 2)
For income in respect of which the DTA provides for shared taxing rights (e.g. dividends, interest), Spain, as state of residence, taxes that income within the IRPF but credits the tax withheld at source in Germany. The credit is capped at the proportionate Spanish tax on the same income.
Method 3: Exemption in Spain (para. 3)
For certain income in respect of which Germany holds the exclusive taxing right (e.g. civil servant pensions under Article 18), Spain exempts that income from IRPF but takes it into account for progression purposes under Spanish law (Article 33 LIRNR in conjunction with Article 25 LIRPF).
Common Mistakes
Mistake 1: Forgetting Modelo 720
Modelo 720 is Spain’s reporting obligation for foreign assets exceeding €50,000 per category (bank accounts, securities, real estate). It has no connection with the allocation of taxing rights under the DTA — it is a purely informational obligation. Many German expatriates overlook it because they incorrectly assume that the DTA covers everything. The originally severe penalties were considerably reduced by the Court of Justice of the European Union (C-788/19, 27 January 2022) and the subsequent legislative reform, but the reporting obligation itself remains.
Mistake 2: Failing to deregister from German church tax on leaving Germany
Germany continues to collect church tax from individuals who are members of a church — regardless of their tax domicile, as long as they earn income in Germany. Anyone still receiving income from a German employer should consider deregistering from church tax if they have not already done so.
Mistake 3: Exit taxation (§ 6 AStG)
Anyone holding a significant stake (at least 1% of the share capital in the last five years) in a German or foreign company and leaving Germany may be subject to exit taxation under § 6 of the Foreign Tax Act (AStG). This provision deems the stake to be disposed of at fair value and taxes the resulting notional gain. The DTA does not modify this, as it is a domestic German tax event arising before the relocation.
Mistake 4: Assuming German pensions are tax-exempt
The widespread belief that German pensions are “tax-free” for Spanish residents is incorrect. The DRV pension is exempt from German tax (exemption method), but is fully taxable in Spain — under the IRPF rules for pension income, which depending on retirement age tax between 25% and 100% of the gross amount.
Mistake 5: Failing to submit the tax residency certificate to German banks and custodians
Without submitting an up-to-date Spanish tax residency certificate (certificado de residencia fiscal), German financial institutions apply the full Abgeltungsteuer (25% plus Solidaritätszuschlag) instead of the treaty rate (15% for dividends, 10% for interest). Annual submission of the certificate results in direct savings.
The Germany-Spain DTA 2011 is an effective instrument for avoiding effective double taxation — but it requires precise knowledge of its structure. The most common mistakes are not driven by any intent to evade, but by the complexity of the interaction between the domestic law of both countries and treaty law. Professional tax advice with expertise in both legal systems is not an option for German expatriates in Spain — it is a necessity.
Our tax experts at BMC advise on all matters relating to the Germany-Spain DTA — from establishing residence to optimising the structuring of your income. Request a free initial consultation.