Workers in Spain must make at least 15 years of Social Security contributions to qualify for a contributory retirement pension, according to national rules.
Reaching the ordinary retirement age alone does not automatically guarantee a pension payment. At least two of those 15 contribution years must also fall within the 15 years immediately before a worker retires.

The rules drew renewed attention on social media after a TikTok account specialising in employment information published a video explaining how many years workers must contribute in Spain. Retirement often raises questions among workers nearing the end of their careers, particularly over how their contribution history affects both eligibility and the size of their future payments.
Spain's Social Security system is the state institution that administers public pensions and social insurance, funded through mandatory payroll contributions from workers and employers. Under Spanish law, contributory retirement pensions are earned through a worker's contribution record, which determines whether they qualify and how much they receive.
The 15-year minimum contribution rule
Social Security requires at least 15 years of contributions to access a contributory retirement pension. This threshold applies regardless of whether an employee spent their entire working life at one company or moved across several different employers.
Workers who fall short of 15 years of contributions are generally barred from receiving a contributory retirement pension. However, those who do not meet the requirement may still qualify for alternative support, such as a non-contributory pension, provided they satisfy the specific eligibility conditions set for those benefits.
Unlike contributory pensions tied to payroll records, non-contributory pensions serve as a separate form of state protection for people who lack sufficient contributions. Even when a worker reaches the 15-year mark, meeting the minimum period does not guarantee a fixed payout, because final pension amounts depend on both the total number of years contributed and the worker's contribution bases.
The two-year rule before retirement
Alongside the 15-year total, Spanish regulations enforce a second condition that many workers overlook, known as the specific qualifying period, or carencia específica. At least two of the 15 required contribution years must have been completed during the 15 years immediately preceding retirement.
As a result, working for 15 years at an early stage of a career is not always enough on its own to qualify. The timing of those contributions relative to the retirement date also determines eligibility.
The regulations include an exception for workers who apply for retirement from certain registered active statuses, or situations legally treated as equivalent to active registration, where there is no obligation to pay contributions. In those cases, the two required contribution years can fall within the 15 years prior to the date when the obligation to contribute ended.
This provision is particularly important for people who have spent long periods out of work or experienced major interruptions in their careers. Workers approaching retirement are advised to review their contribution history to check that they meet both the total and recent-years criteria before submitting a pension claim.
How much 15 years of contributions pay
Workers who reach retirement age with only the legal minimum of 15 years of contributions are entitled to 50% of their regulatory base, the reference earnings figure used to calculate Spanish state pensions.
This 50% rate does not mean a retiree will receive half of their final salary. Because the regulatory base is calculated from a worker's contribution bases over a legally defined period, the actual pension amount can vary considerably from one person to another.
In general, contributing for more years increases the percentage applied to the regulatory base until a worker reaches the legal maximum. Two employees with different career paths and contribution histories can therefore receive different pensions, and reaching 100% of the regulatory base requires a longer contribution period under current rules.
Wire check
In this story
- Social Security25 headlines this week in 7 outlets ▲ +108%
News quiz
What is the minimum total number of contribution years needed for a contributory retirement pension in Spain?
Under the specific qualifying period rule, when must at least two of the required contribution years normally occur?
What percentage of their regulatory base does a worker receive if they retire with only 15 years of contributions?



