The three pension types and which country taxes them
The UK-Spain DTT (2014, in force since 2014) handles pensions across three articles:
- Article 17 - Pensions and similar payments. Covers UK State Pension and private/occupational pensions. Taxed ONLY in the resident country. For Spanish residents: only Spain taxes; UK has no taxing right.
- Article 18 - Government service. Covers pensions paid by reason of past government service: Civil Service, NHS, teachers, armed forces, police, fire service, local government. Taxed ONLY in the UK, regardless of where you live.
- Article 21 - Other income. Catches certain annuities and miscellaneous pension-like payments. Generally taxed in the resident country.
The Article 18 rule for government pensions is the major gotcha for ex-NHS, ex-Civil Service and ex-armed-forces movers. Your government pension stays UK-taxed, and you should NOT include it in your Spanish tax return as Spanish-taxable income.