Published: July 29, 2026
The fact that a person is a non-resident for tax purposes outside of Spain does not mean that the pension they receive from a Spanish source is exempt from taxation in Spain. Taxation will depend, to a large extent, on the provisions of the Double Taxation Agreement (“DTA”) applicable between Spain and the pensioner’s country of residence. Before determining where a pension should be taxed, whether an exemption applies, or whether a withholding applied in Spain is correct, it is necessary to identify the nature of the benefit.
In particular, it must be determined whether the income constitutes a pension derived from prior employment, how it is classified for purposes of the applicable DTA (private pension or public service pension), and whether that treaty assigns taxing authority exclusively to one of the States or allows for shared taxation, in which case the mechanisms provided to eliminate double taxation must be applied. In this context, the Central Economic-Administrative Court (hereinafter “TEAC”) applies a practical criterion: the public or private nature of the pension depends on the employment from which it derives, not on the pensioner’s status or on who orders the payment.
- Spanish regulations serve as the starting point, but the DTA must also be analyzed
When a nonresident taxpayer receives a pension linked to Spain, the first step is to analyze Spanish domestic tax regulations—in this case, the Nonresident Income Tax (hereinafter “IRNR”), which taxes income earned in Spanish territory by nonresident taxpayers, including pensions and similar benefits.[1]
Once the domestic treatment under the regulations has been determined, it is necessary to examine the applicable DTA, which aims to prevent international double taxation. It may do so by granting exclusive taxing authority to one of the States or by allowing taxation in both, subject to certain limits. In the latter case, the State of residence must eliminate double taxation according to the method provided for in the treaty. Therefore, the process involves two steps. First, determine the category of income (private or public pension), and second, classify it under the corresponding article of the DTA, since that classification determines which country has the right to tax the income and, if applicable, the method for eliminating double taxation.
- Three standard pension categories to be separated
The CDIs signed by Spain distinguish between three categories of pensions based on the nature—private or public—of the employment from which they derive, assigning a different tax regime to each category. First, private pensions—that is, those derived from employment in the private sector—are generally taxed exclusively in the recipient’s country of residence, subject to any specific provisions established by each DTA. Second, pensions for services rendered to the government or a public entity fall under the conventional definition of “public pension” and, as a general rule, are taxed in the paying State, unless the recipient is a resident and national of the other State, in which case the treaties typically grant exclusive taxing authority to the latter. Finally, Social Security pensions do not become “public” simply because they are paid by a public agency: some treaties—including those signed with Germany, Luxembourg, and Sweden—expressly regulate them and may allow for shared taxation.
This distinction has been reinforced by the TEAC, which has clarified that the distinction between a public and private pension[2] does not depend on the entity that actually makes the payment or on the name of the benefit, but rather on the employment from which the right to receive it derives. Consequently, the analysis must focus on determining for whom the services that gave rise to the pension were performed—that is, whether they were performed for the State or a public entity, or for a private-sector employer. The correct classification of the pension for DTA purposes therefore requires reconstructing the employment relationship that gave rise to the entitlement to the benefit and establishing its true nature.
- Proving Residency and Completing the Necessary Formalities When Invoking the DTA for IRNR
When a taxpayer subject to the IRNR seeks to avail themselves of a DTA, they may directly apply the exemptions or limitations provided for in the treaty to their tax return, provided they prove their tax residency by means of the corresponding certificate issued by the tax authority of the other State or, where applicable, by means of the specific form provided for in the DTA itself. Proper proof of residency is an essential requirement for benefiting from the provisions of the treaty.
- Conclusion: Method and Criteria for Avoiding Errors in Cross-Border Pensions
The taxation of a pension from a Spanish source received by a non-resident depends not only on Spanish domestic law but also on the correct application of the relevant DTA. To this end, it is essential to establish the recipient’s tax residency and identify the employment from which the pension derives, since it is the nature of the pension—private pension, pension for government service, or Social Security benefit—that determines the allocation of taxing rights between the states. In this regard, the TEAC’s jurisprudence reinforces a key principle: what matters is not who pays the pension, but rather the employment that gave rise to the right to receive it.
If you receive a Spanish pension and live outside of Spain, the team at Gentile Law can review the applicable treaty and help you correctly classify the benefit to avoid tax errors or double taxation.
This publication is for informational purposes only and should not be construed as legal advice.
Contact us:
Álvaro Díaz Hotz
Corporate Paralegal at Gentile Law
paralegal1@gentile.law
+34 604 510 566
Ana García Ginés
Tax Associate at Gentile Law
anagarcia@gentile.law
+34 604 512 160
Miguel Espinosa García
Associate at Gentile Law
+34 604 510 566
[1] Art. 13.1.d) of Royal Legislative Decree 5/2004, dated March 5, approving the consolidated text of the Nonresident Income Tax Law.
[2] TEAC Ruling of December 18, 2025, Case No. 00/06930/2022, regarding the contractual classification of a pension derived from services rendered at the Spanish Embassy in Germany.