Retirement in Spain: Required Age and Years of Contributions
Planning for retirement in Spain has become a complex process due to successive legislative reforms aimed at ensuring the sustainability of the pension system. Understanding the exact relationship between your age and the years you have contributed to the Social Security system is essential to avoid last-minute surprises and to secure the maximum return on a lifetime of hard work. In this article, we will analyze in depth the current legal framework, the transitional calendar leading up to 2027, the necessary administrative steps, and the practical keys so you can take this step with complete legal certainty.
The Legal Framework of Retirement in Spain
The pension system in Spain finds its fundamental regulation in the _Real Decreto Legislativo 8/2015, de 30 de octubre, por el que se aprueba el texto refundido de la Ley General de la Seguridad Social_ (LGSS) (Royal Legislative Decree 8/2015, of October 30, approving the recast text of the General Social Security Law). Specifically, Chapter XIV of this law details the conditions, requirements, and calculation formulas for the retirement pension under its contributory modality.
Likewise, the _Estatuto de los Trabajadores_ (Workers' Statute), approved by _Real Decreto Legislativo 2/2015, de 23 de octubre_ (Royal Legislative Decree 2/2015, of October 23), impacts this matter by regulating aspects such as the termination of employment contracts due to reaching retirement age or forced retirement clauses under certain collective bargaining agreements.
The reform introduced by Law 27/2011 established a transitional period (which began in 2013 and will end in 2027) to progressively raise the ordinary retirement age from 65 years to 67 years, as well as the number of years required to access 100% of the regulatory base.
Age and Years of Contributions: The Calendar Towards 2027
Currently, to access the ordinary contributory retirement pension in Spain, there are two pathways or age requirements, which depend directly on the worker's contribution history.
The Dual System of Ordinary Retirement
During the year 2024, the requirements are as follows:
- If you have contributed 38 years or more, you can retire at 65 years of age and receive 100% of the pension that corresponds to you.
- If you have contributed less than 38 years, the legal retirement age is set at 66 years and 6 months.
This scale will become progressively stricter over the coming years. Below, we detail the official transitional calendar:
- Year 2025: 38 years and 3 months or more of contributions will be required to retire at 65 years. If that figure is not reached, the retirement age will be 66 years and 8 months.
- Year 2026: 38 years and 3 months or more of contributions will be required to retire at 65 years. Otherwise, the legal age will be 66 years and 10 months.
- Year 2027 and subsequent years: To retire at 65 years, it will be necessary to have contributed a minimum of 38 years and 6 months. If you have contributed less than that period, the mandatory retirement age to collect the ordinary pension will be 67 years.
The Minimum Qualifying Period
Regardless of the worker's age, the LGSS requires a minimum contribution period to access a contributory retirement pension (known as the general and specific carencia [qualifying period]):
- General qualifying period: It is mandatory to have contributed a minimum of 15 years (5,475 days) throughout your entire working life.
- Specific qualifying period: Of those 15 years, at least 2 years must have been contributed within the 15 years immediately preceding the moment of triggering the right (the hecho causante [triggering event]).
How the Pension Amount is Calculated
Reaching the retirement age and meeting the minimum contribution period entitles you to a pension, but not necessarily to 100% of the base reguladora (regulatory base used to calculate the pension). The final amount depends on the total years contributed and the bases on which contributions were made.
1. The Regulatory Base
To calculate the base reguladora in 2024, the contribution bases of the last 25 years (a total of 300 months of contributions) are taken and divided by 350. The contribution bases of the last 2 years are calculated at their nominal value, while the previous ones are updated in accordance with the Índice de Precios al Consumo (IPC) (Consumer Price Index) so they do not lose purchasing power.
2. The Applicable Percentage According to Years Contributed
With the minimum of 15 years of contributions, the worker is entitled to 50% of their base reguladora. From there, the percentage increases for each additional month of contributions:
- For each of the next 49 additional months, 0.21% per month is added.
- For each of the remaining 209 months, 0.19% per month is added.
To reach 100% of the base reguladora in 2024, a total of 36 years and 6 months of contributions is required. From 2027 onwards, this requirement will increase to 37 years of contributions.
Practical Calculation Examples
To better understand how age, years of contributions, and the pension amount interact, we analyze two realistic scenarios.
Example 1: The Case of Carlos (Ordinary retirement with a long career)
Carlos turns 65 years old in 2024. Upon reviewing his vida laboral (work history report), he confirms that he has accumulated 39 years of effective contributions to Social Security.
- Age analysis: Since he has contributed more than 38 years, Carlos can retire at 65 years (the ordinary age for his profile).
- Amount analysis: By exceeding the 36 years and 6 months of contributions required in 2024, Carlos is entitled to 100% of his base reguladora. If his calculated base reguladora is €2,100 per month, his gross retirement pension will be exactly €2,100 per month (distributed in 14 payments).
Example 2: The Case of Elena (Retirement with a short career)
Elena turns 65 years old in 2024, but throughout her professional life, she has contributed a total of 17 years due to periods of family care and non-homologated work abroad.
- Age analysis: Having less than 38 years of contributions, Elena cannot retire under the ordinary scheme at 65 years. She must wait until she turns 66 years and 6 months to apply for her ordinary retirement.
- Amount analysis: Elena meets the minimum of 15 years of contributions (general qualifying period) and has her last 2 years of contributions within the last 15 (specific qualifying period). With 17 years of contributions:
- For the first 15 years, she obtains 50% of the base reguladora.
- For the 2 additional years (24 months), she adds an additional 5.04% (24 months x 0.21%).
- In total, Elena will receive 55.04% of her base reguladora. If her base reguladora is €1,200, her pension will be €660.48 per month. If this amount is lower than the minimum pension set by law for her family situation, she may request the complemento a mínimos (minimum pension supplement), provided she meets the income-limit requirements.
Step-by-Step Practical Procedures to Apply for Retirement
The application process for the retirement pension is digitized, although the in-person route remains available for those who require it. Follow these steps to process your benefit before the Instituto Nacional de la Seguridad Social (INSS) (National Social Security Institute):
- Obtain the Work History Report and Contribution Bases: Access the Social Security electronic office (the "Importass" portal) using Cl@ve PIN, digital certificate, or SMS. Download your updated vida laboral (work history report) to verify that all worked periods are correctly recorded.
- Simulate Your Retirement: Use the "Retirement Simulator" tool within the "Tu Seguridad Social" portal. This official simulator will indicate the exact date you can retire and a very close estimate of your future pension amount.
- Prepare the Documentation: Gather your identity document (DNI, NIE, or passport), the libro de familia (family record book, for potential increases or gender-gap supplements), and the bank account number where you wish to receive the payments.
- Submit the Application:
- Online: Through the Social Security Electronic Office, by filling out the online form "Solicitud de jubilación" (Retirement Application).
- In-person: Request an appointment for "Prestaciones" (Benefits) at a Centro de Atención e Información de la Seguridad Social (CAISS) (Social Security Attention and Information Center) by phone or through the official website.
- Resolution Period: The INSS has a maximum legal period of 90 days to resolve and notify the decision, although the procedure is usually resolved within an average period of 10 to 19 days. The financial effects of the pension are backdated to the day following the cessation of work (for employees) or to the first day of the month following the triggering event (for self-employed workers/autónomos).
Errors You Should Avoid
- Not reviewing your work history in advance: Waiting until the moment of application to check your history can be disastrous if you detect missing contribution periods from companies that have already closed. Request corrections to your affiliation data years in advance.
- Confusing early retirement with ordinary retirement: Requesting retirement before the legal age without meeting the specific requirements for early retirement (which requires at least 33 years of contributions for involuntary retirement and 35 years for voluntary retirement) will lead to the rejection of the application or the application of very severe permanent reducing coefficients on your pension amount.
- Ignoring special agreements: If you become unemployed in the final years of your working career, failing to sign a Convenio Especial (Special Agreement) with the Social Security to continue contributing on your own can drag down your base reguladora and delay your retirement age.
- Not counting military service or alternative social service: Many workers are unaware that compulsory military service ("la mili") or alternative social service (female/male) can count for up to a maximum of 1 year to reach the minimum contribution required in cases of early retirement.
Frequently Asked Questions (FAQ)
What happens if I do not reach the 15 years of minimum contributions?
If, upon reaching retirement age, you do not have 15 years of contributions, you will not be entitled to the contributory retirement pension from the Social Security. However, if you are in a situation of economic vulnerability and meet the residence requirements in Spain (having resided for at least 10 years in Spanish territory since the age of 16, of which 2 years must be immediately prior to the application), you can apply for a Non-Contributory Retirement Pension, managed by the competent bodies of each Autonomous Community (such as IMSERSO).
Can I continue working after reaching retirement age?
Yes, Spanish legislation encourages the extension of active working life through several modalities:
- Delayed retirement: If you decide to voluntarily delay your retirement beyond the ordinary age, you will receive an incentive of an additional 4% on your base reguladora for each extra full year contributed, or a one-off lump-sum payment.
- Active retirement: This allows you to combine receiving 50% of your retirement pension with employment or self-employment (this amount can rise to 100% if you are an autónomo [self-employed worker] and have hired at least one employee).
- Partial retirement: This allows you to reduce your working hours (and salary) by between 25% and 50% (or even 75% in certain cases with a hand-over contract), combining it with receiving the proportional part of the pension.
How does part-time work affect the calculation of contributed years?
Thanks to Real Decreto-ley 2/2023, since October 1, 2023, part-time work is equated with full-time work for the purposes of calculating contribution periods. This means that a day worked part-time counts as a full day of contributions to prove the minimum qualifying periods required (the 15 years for ordinary retirement, or 33/35 years for early retirement), eliminating the old "part-time coefficient" that severely penalized women and workers in precarious sectors.
Are years contributed abroad taken into account?
Yes, Spain has international Social Security agreements. If you have worked in countries of the European Union, the European Economic Area, or Switzerland, the principle of aggregation of periods under the EU Social Security Regulations applies. Likewise, Spain has signed bilateral agreements with numerous countries (such as Argentina, the United States, Morocco, among others). The periods contributed abroad will be added together to reach the minimum number of years required in Spain, and the Spanish Social Security will pay the corresponding proportional part (a prorrata temporis pension).
In Summary
- The ordinary retirement age in Spain is in a progressive increase process that will culminate in the year 2027, setting the retirement age at 67 years, or 65 years if you have a long contribution career of at least 38 years and 6 months.
- The absolute minimum period to access a contributory retirement pension is 15 years of contributions, with at least 2 years falling within the last 15 years prior to retirement.
- The base reguladora of the pension is currently calculated on the contribution bases of the last 25 years prior to the triggering event.
- To be entitled to receive 100% of the base reguladora in 2024, it is necessary to have contributed a minimum of 36 years and 6 months.
- There are compatibility mechanisms between work and pension, such as active, delayed, and partial retirement, which allow for a more flexible withdrawal from the labor market.
General legal information, not personalised legal advice. For your specific situation, ask your question for free at AbogadoAI — answers grounded in Spanish law (BOE), in English.
Have a specific legal question?
Ask AbogadoAI and get an answer based on Spanish law (BOE), with sources — in English.
Ask for freeThis is general information, not legal advice. Verify on the BOE or consult a lawyer for your specific case.