It is not who pays you: it is why they pay you
The confusion is born out of a single phrase. In everyday English a «state pension» means a pension the state pays, and in Spain almost all pensions are of that kind: they are paid by the social security system, which is a public body. But in double tax treaties the equivalent expression means something very specific: a pension paid in respect of services rendered to the state, to a political subdivision or to a local authority. That is, the pension of someone who worked for the state, not of someone who is paid by the state.
Which country charges tax depends on that distinction, and the difference between one reading and the other can run to thousands of euros a year for the rest of your life.
The two articles
The OECD model convention, which almost every treaty signed by Spain follows with variations, splits it like this:
| Article 18 · Pensions | Article 19 · Government service | |
|---|---|---|
| What it covers | Pensions paid in respect of past private employment | Pensions paid by a state for services rendered to that state |
| Where it is taxed | Only in the pensioner's country of residence | Only in the paying state |
| Exception | Whatever the particular treaty provides | Taxed in the country of residence if the recipient is both resident and a national of that other state |
| The rule that switches it off | If the pension is paid out of a social security scheme, it normally returns to article 18 even where the services were rendered to the state | |
That last row settles most cases, and it is the one almost nobody reads. Having worked for a public administration is not enough: what has to be looked at is which scheme the pension is paid out of.
Three examples we see every week
- A career civil servant on a Clases Pasivas pension — the separate Spanish scheme for established civil servants — living in Portugal. This is a pension for services rendered to the state, paid by the state: article 19. It is taxed in Spain, with Spanish withholding, and Portugal will apply whatever method its treaty provides to relieve double taxation, normally exempting it with progression.
- A retired serviceman in the same position: the same result, with the particularities of each treaty.
- A teacher from a state school: here the case has to be looked at. If the pension is paid out of the general social security scheme, even after a lifetime in public education, it normally falls under article 18 and is taxed where the person lives. If it comes from Clases Pasivas, article 19. Two teachers from the same school, retiring on the same day, can end up with different answers depending on when they entered public service.
And the most numerous case of all: the retiree from private employment with a contributory social security pension. Article 18: taxed only where they live, and Spain should not be withholding anything at all.
The certificate that unlocks it
The Spanish paying institution cannot guess where anyone lives. By default, if it has you recorded as non-resident it applies non-resident income tax withholding; if it has you recorded as resident it applies ordinary income tax withholding. What changes that is the certificate of tax residence for treaty purposes, issued by the tax authority of the country you live in, expressly referring to the treaty with Spain.
An ordinary residence certificate will not do, nor will a municipal registration, nor the other country's health card. It is a specific document, with a limited life, that has to be renewed. We deal with it separately on ordinary certificate or treaty certificate, because it is the piece that makes everything else work.
The most frequent mistake we correct: someone drawing a Clases Pasivas pension for their civil service years and a social security pension for years contributed in private employment has to treat them separately. Each goes under its own article, with its own taxing rights and its own withholding. Declaring them together in a single country — either country — produces double taxation that then has to be unwound, or an under-declaration that sooner or later surfaces through the automatic exchange of information between tax administrations.
The OECD text is a model, not the law. Several treaties signed by Spain depart from it on pensions, and some split the taxing rights or set particular rules for social security payments. Before giving an answer, the actual treaty with your country of residence has to be read article by article. Anyone who answers without asking where you live is answering from memory.
Four years to reclaim what was over-withheld
If Spain has been withholding on a pension that, under the treaty, should only have been taxed in your country of residence, a refund is claimed. It is done year by year, with the residence certificate corresponding to each of those years, and the limit is the four-year limitation period. Anything older is gone, which is why this should not be left for next year: every first of January, one year drops off.
The refund is neither automatic nor quick, and the certificate for each year has to exist and be obtainable: some foreign administrations take months to issue one. That is usually the real bottleneck, rather than the Spanish side of it.
When A government service pension or a social security pension fits neither column
The two articles cover most cases, but there are payments everybody calls a pension in conversation which fit neither of them without some work first:
- The widow's or orphan's pension. It is not earned by the work of the person receiving it but by the work of the person who died. The sensible reading — and the one treaties usually produce — is that it follows the employment that generated it, so the widow of a civil servant on a government service pension is examined under one article and the widow of an employee of a private company under the other. That said, the wording of each treaty governs, and some texts do not resolve it cleanly.
- The private pension plan and the occupational scheme. Neither a government service pension nor a social security one: it is a savings product. Several treaties deal with it under the pensions article, others send it to the residual article on other income, and some distinguish according to who made the contributions. Much of the argument, moreover, is not about where it is taxed but about how much: taking it as a lump sum attracts, in Spain, a transitional reduction that depends on the dates of the contributions and is lost if the money is drawn at the wrong moment.
- A lump sum against regular payments. Not every treaty treats them alike, and some reserve rules of their own for amounts paid in one go. Taking in a single payment what was going to arrive in instalments can change which country charges you, not merely the year in which you are taxed.
- Pensions from international organisations. European Union institutions, the United Nations and bodies treated like them have their own protocols on privileges and immunities, which apply in preference to the bilateral treaty and not always in the same direction. Anyone paid from there should not reason by analogy with a national civil service scheme.
And the situation that generates the most letters: the pensioner who owns property in Spain. Even where the pension is taxable only in the country of residence, the flat on the coast continues to generate obligations here — imputed income, or rental profit — and the tax demanded afterwards is not the tax on the pension but the tax on the property. The two get mixed into the same conversation and they are two separate files.
What to look at before deciding on A government service pension or a social security pension
This question cannot be answered without documents. These are the ones we ask for, and the order matters:
- The annual certificate from the paying body, showing the gross amount, the tax withheld and, above all, the scheme out of which the pension is paid. That last item is what decides it.
- The decision awarding the pension and your full contribution record, which is where years as a civil servant and years in the general scheme, and the dates of each, become visible.
- Your nationality or nationalities, because under the government service article the rule changes when the recipient is resident in, and also a national of, the other State.
- Your country of tax residence and the exact date you moved, with whatever proves it: tenancy agreement or deed, registration with the local authority, health cover.
- The particular treaty with that country, with its protocols and later amendments. Not the OECD model: the text that was signed, which on pensions departs from it frequently.
- A certificate of tax residence for treaty purposes for each year you want to reclaim, not one covering them all. It is the real bottleneck and they are worth requesting early.
- The withholding certificates for the last four years, which are the concrete measure of what can be asked back before the limitation period closes.
What we do with A government service pension or a social security pension
We ask for the pension certificate and look at which scheme it is paid out of, which is the fact that decides. Then we read the treaty with your country of residence, not the model. Those two things together tell us where each pension is taxed, what withholding should be applied and whether there are years that can be reclaimed.
We also warn about what does not depend on us: the other country's response, its administration's timescales and the positions each state takes on borderline cases. We do not guarantee a refund; we do undertake that the claim is properly built and filed in time. The line is on pensions paid abroad and the form asks which body pays you and which country you live in, which are the two keys.