relocation

Taxing occupational pensions in Spain: what Article 17 of the double taxation treaty really says

Responsible for this content: Frank Menze

If you're a German-speaking resident living in Mallorca and receive a German company pension, direct insurance (Direktversicherung), pension fund (Pensionskasse) or a pension fund (Pensionsfonds), sooner or later you'll come across a widespread but incomplete shorthand: "Company pensions are taxed in the country of residence." That's true as a starting point – but it's not the whole story. If you need to pay tax on a German company pension in Spain, you should know Art. 17 of the Double Taxation Agreement (DBA) between Germany and Spain in detail, because paragraph 3 of this article gives Germany, under certain conditions, an additional taxation right that is limited in amount. This guide sets out the basic rule, the exception, and the distinction from civil servant pensions and the statutory pension clearly – without inventing Spanish tax rates that this research doesn't support. It does not replace individual advice, but shows you which questions you need to ask your tax adviser.

Taxing occupational pensions in Spain: DBA Art. 17 explained

Do you receive a German company pension or direct insurance (Direktversicherung) and live in Mallorca?

The relevant instrument is the agreement between the Kingdom of Spain and the Federal Republic of Germany for the avoidance of double taxation, signed on 3 February 2011 in Madrid. It is published in the Spanish Official Gazette under BOE-A-2012-10212, entered into force on 18 October 2012, and has been applied since the 2013 tax year. It replaced the old 1966 agreement, under which company pensions and private pensions were generally taxed only in the country of residence. It is precisely this old, simpler rule that is still passed on unchanged in many guides today – and which has no longer applied in full since 2015.

Milestone Date Significance
Signing of the DBA 3 February 2011 Renegotiation of the 1966 agreement
Entry into force 18 October 2012 Instruments of ratification exchanged
First application Tax year 2013 From this year the new agreement applies
Cut-off date for Art. 17.2/17.3 31 December 2014 Only entitlements arising after this date fall under the additional taxation

The basic rule: Art. 17.1 and the state of residence

Art. 17.1 of the agreement stipulates that pensions, annuities and similar remuneration originating in one contracting state and paid to a person resident in the other contracting state may, in principle, be taxed only in that other state. For you as a resident of Mallorca, this means as a starting point: your German company pension is taxed in Spain, because Spain is your state of residence. Whether you are considered tax resident at all depends on the well-known 183-day rule and the centre of your vital interests – the general principles on tax residence in Spain apply here too.

However, this basic rule applies "subject to Art. 18.2" – the special rule for public service, more on that below – and it is limited by Art. 17.2 and 17.3 for certain types of pension.

The exception that most guides leave out: Art. 17.3

Art. 17.2 gives Germany, as the source state, an additional, limited right of taxation for payments "under social security legislation" – i.e. for the statutory pension from the Deutsche Rentenversicherung. This rule only applies if the event triggering entitlement occurs after 31 December 2014.

Art. 17.3 extends exactly this rule to "other payments" – and this is the paragraph this article is about. For Germany, the exception also applies to company pensions and direct insurance policies (Direktversicherungen) if two conditions are met simultaneously:

  1. The contributions were based on tax relief – they were tax-deductible or otherwise state-subsidised and were not included in taxable employment income.
  2. The contributions were paid over a period of more than twelve years.

If both conditions are met, Germany may levy a limited withholding tax in addition to Spanish taxation. This rule explicitly does not apply if the subsidy was repaid to the German state on account of emigration.

Note:This is typically the case for the classic company pension from salary conversion (Entgeltumwandlung) and for subsidised direct insurance. The widespread claim that "company pensions are taxed exclusively in the state of residence" is therefore incomplete – it is only true if one of the two conditions is not met.

Event triggering entitlement Maximum additional German tax rate Legal basis
Before 1 January 2015 No additional taxation under Art. 17.2/17.3 Temporal scope of application
1 January 2015 – 31 December 2029 a maximum of 5% of the gross amount Art. 17.2 in conjunction with Art. 17.3
From 1 January 2030 a maximum of 10% of the gross amount Art. 17.2 in conjunction with Art. 17.3

Check scheme: Does your company pension meet Art. 17.3?

Check point Consequence
Contributions were tax-deductible or state-subsidised Condition (i) met
Contributions were paid for more than 12 years Condition (ii) met
Both conditions met AND payment begins after 31.12.2014 Germany may levy additional tax (max. 5%/10%)
Funding was repaid to the German state upon emigration Art. 17.3 does not apply, Art. 17.1 remains applicable
Contributions were not tax-favoured or the term was ≤ 12 years Only Art. 17.1, exclusively Spain

Whether your specific implementation route – direct pension commitment, Pensionskasse, pension fund, support fund (Unterstützungskasse) or direct insurance – meets these conditions depends on the tax-favoured nature of the contributions and the actual contribution period. This assessment can only be made on the basis of your insurance documents and payslips – for this, you need a tax advisor familiar with both tax systems, for example a tax firm or gestoría based in Mallorca with experience in German-Spanish cases.

Distinction: which type of pension falls under which article?

The most common source of error is lumping all types of pension together. The agreement clearly distinguishes:

Type of pension Relevant article Right of taxation
Statutory pension (German pension insurance) Art. 17.2 Generally Spain, Germany additionally max. 5%/10%
Occupational pension / direct insurance, tax-favoured, > 12 years term Art. 17.3 in conjunction with 17.2 Spain as country of residence, Germany additionally limited
Occupational pension / direct insurance without tax relief or ≤ 12 years Art. 17.1 Exclusively Spain
Civil servant pension from public service Art. 18.2 Generally Germany, exception in case of Spanish nationality
Private pension insurance without state funding Art. 17.1 Exclusively Spain
Compensation for political persecution, war, terror Art. 17.4 Exclusively the paying state

For the statutory pension and other tax-favoured pension schemes with similar twelve-year and funding logic – such as Riester contracts – the same fundamental questions apply as described here; the specific classification also depends on the individual case there.

Special case civil servant pension: Art. 18.2

It's important to draw a clear distinction from a civil servant's pension. Under Art. 18.2, pensions paid by a contracting state, its subdivisions, local authorities or another legal entity under public law, either directly or from a special fund, for services rendered to that state, may in principle only be taxed in that state. For a German civil servant's pension, this normally means: taxation in Germany, not in Spain. An exception applies only if the person is resident in Spain and simultaneously holds Spanish nationality – in that case, only Spain may tax it.

Note: This rule does not apply to occupational pensions from private employers. Anyone receiving an occupational pension as a former employee of a private company falls under Art. 17, not Art. 18.2. Art. 18.3 draws the line explicitly: for payments arising from services rendered in connection with an economic activity of a state or one of its authorities, Art. 14 to 17 apply again – not the special rule for public service.

How does the Spanish tax authority find out about your occupational pension?

According to Protocol VIII to the agreement, the application of Art. 17 paragraphs 2 and 3 presupposes an exchange of information on pensions between the two states. Among other things, tax number, name, date of birth, place of residence, the amounts paid and the designation of the pension scheme are exchanged. In practical terms, this means: both administrations exchange structured data on your pension income. Exactly how and at what intervals this exchange takes place in individual cases is not documented in detail here – but the fact of the exchange itself is, and it is a good reason to declare pension income correctly and completely in both countries.

What this overview deliberately leaves open

This guide is not a tax opinion and deliberately does not answer every question that may arise regarding the payment of an occupational pension or direct insurance policy:

  • Spanish tax rates and allowances (IRPF) are not stated here – these depend on your autonomous region and your total income, and belong in your individual tax return.
  • How Spain classifies a lump-sum payment from a direct insurance policy – as earned income or as investment income – and whether a reduction applies, is the most complex point of this topic and cannot be answered in general terms. This is precisely where you need individual advice from someone familiar with both tax systems.
  • The credit or exemption method is not assessed in the specific individual case – the agreement contains its own rules for this, which are applied in the tax return.
  • German taxation under § 22 EStG or a possible limited tax liability in Germany has not been examined here.

Most common mistakes in classification

  1. Confusing company pension and civil servant pension. Both follow different articles (17.3 versus 18.2) with opposite basic outcomes.
  2. Assuming the old 1966 agreement still applies. Since 2013, only the new 2012 agreement is applicable – and this contains the additional taxation that did not exist in 1966.
  3. Ignoring the twelve-year threshold. Anyone who only paid into a Direktversicherung for a few years before switching to another employer may not even meet the requirements of Art. 17.3.
  4. Overlooking the repayment clause. If the state subsidy was repaid upon emigration, the additional taxation no longer applies – it's worth checking this before automatically assuming 5% or 10%.
  5. Treating lump-sum payments like regular pensions. A one-off lump-sum payment raises different questions than a monthly pension – advice is especially important here.
  6. Underestimating the exchange of information. Anyone who believes a company pension paid abroad remains "invisible" overlooks the contractually agreed data exchange under Protocol VIII.

Checklist: What you should clarify before your tax return

  • Obtain the policy document and contribution summary for your Direktversicherung or Pensionskasse
  • Check whether the contributions were tax-subsidised (e.g. via the employer, through salary conversion)
  • Determine the exact contribution period – more or less than twelve years?
  • Clarify whether the subsidy was repaid upon emigration
  • Establish the date of the first pension payment or lump-sum payout (before/after 31.12.2014)
  • Document your tax residence in Spain under the 183-day rule
  • Consult a tax advisor familiar with both countries and both tax systems

What comes next?

Once the classification under Art. 17.1, 17.3 or 18.2 has been clarified, the practical implementation follows: the annual Spanish income tax return as a resident, in which you declare your worldwide income – including the German company pension. You can find out more about the process in the guide Taxes as a resident in Spain (IRPF). At the same time, you should clarify whether and to what extent withholding tax is deducted in Germany and how this is credited in the Spanish tax return – this is regulated in detail by the double taxation agreement, explained in the foundational article on the Double Taxation Agreement Germany–Spain. For the legal and tax-related fine-tuning, it is advisable to contact a tax advisor specialised in both countries or a local gestoría.

Conclusion

As a rule, the German company pension or Direktversicherung is taxed in Spain when you are a resident on Mallorca – that is Art. 17.1 of the DBA. However, Art. 17.3 overrides this basic rule for exactly the situation that applies to many company pensions and subsidised Direktversicherungen: tax-subsidised contributions paid for more than twelve years. In this case, Germany may also tax the amount, but limited to a maximum of 5 percent (until 2029) or 10 percent (from 2030) of the gross amount. Anyone who overlooks this nuance risks an incorrect tax return in both directions. Because the classification depends on the type of pension scheme, the nature of the subsidy and the contribution period, and because lump-sum payments in particular are complex to assess for tax purposes, the final classification should be left to advisors familiar with both countries.

Official Sources

Do I have to pay tax on my German occupational pension in Spain?
Yes, in principle under Art. 17.1 of the DTA in the state of residence – so in Spain, if you are tax-resident there.
Can Germany still tax part of the occupational pension?
Yes, if the contributions were tax-privileged and were paid over more than twelve years (Art. 17.3), limited to a maximum of 5% (for events 2015–2029) or 10% (from 2030) of the gross amount.
Does the additional taxation also apply to Direktversicherungen (direct insurance pension schemes)?
Yes, provided the contributions were tax-privileged and the twelve-year threshold is met. Otherwise, exclusive taxation in Spain under Art. 17.1 continues to apply.
What applies to a civil servant's pension from the public sector?
Art. 18.2 applies here, not Art. 17: taxation generally takes place in Germany, unless the person is resident in Spain and holds Spanish nationality.
What happens if I repaid the state subsidy when emigrating?
Then the additional taxation under Art. 17.3 no longer applies, and exclusive taxation in the state of residence, Spain, under Art. 17.1 remains in effect.
Does the Spanish tax authority automatically find out about my German occupational pension?
According to Protocol VIII to the agreement, Germany and Spain exchange pension information in a structured manner, including tax number, name and amounts paid.
How is a lump-sum payment from a Direktversicherung taxed?
This is the most complex point of this topic and is not conclusively clarified here – seek individual advice from a tax adviser experienced in bilateral matters.
Since when has the current double taxation agreement between Germany and Spain been in force?
It was signed in 2011, came into force on 18 October 2012, and has been applied since the 2013 tax year.