Social Security in Spain (Seguridad Social): Complete Guide for Foreigners (2026)
How Spanish Social Security works — healthcare, unemployment benefits, sick leave, retirement pension, autónomo contributions, and how to register as an employee or self-employed worker.
Need Personalized Help?
Get expert guidance for your Spain immigration journey
Spain’s Social Security system (Seguridad Social) is one of the pillars of Spanish life — it funds public healthcare, unemployment benefits, sick pay, retirement pensions, disability support, and maternity/paternity leave. Understanding it matters whether you’re an employee, a self-employed worker (autónomo), or a student who works part-time.
Your Social Security number (número de afiliación)
The número de afiliación (NAF) is your lifetime Social Security identifier in Spain. Think of it as the Social Security equivalent of the NIE.
How to get it:
- If employed: your employer obtains it for you automatically when they register your contract
- If self-employed: you obtain it when you register as autónomo at the Tesorería General de la Seguridad Social (TGSS)
- If not yet working: you can request it at any INSS or Tesorería office with your NIE/TIE
Where to use it: healthcare registration, benefits applications, pension queries, employer administration.
How Social Security is funded: contributions
Both employees and employers contribute. The main rates in 2026:
For employees (contingencias comunes — general contribution)
| Contributor | Rate | On what |
|---|---|---|
| Employer | ~23.6% | Employee’s gross salary |
| Employee | ~6.35% | Employee’s gross salary |
In addition, there are unemployment, vocational training, and FOGASA contributions (small additional percentages). Total employer cost is approximately 30% above the agreed salary.
Your payslip: every payslip shows your Social Security deduction (the employee portion). Your employer handles the rest.
For autónomos (self-employed)
Since January 2023, autónomo contributions are linked to actual net income:
| Monthly net income | Monthly contribution (approx.) |
|---|---|
| Under €670 | €230 |
| €670–900 | €260 |
| €900–1,166 | €294 |
| €1,166–1,300 | €325 |
| €1,300–1,500 | €350 |
| €1,500–1,700 | €370 |
| €1,700–1,900 | €390 |
| €1,900–2,330 | €415 |
| Over €6,000 | €590 |
These contributions are paid monthly and cover healthcare, minimum sick pay, and minimum pension rights.
Important: The 2023 reform introduced a system where autónomos declare expected income at the start of the year and adjust at the end. If your actual income differs significantly from your declaration, you’ll receive a refund or owe the difference.
Healthcare coverage
Employees and autónomos
Contributing to Social Security gives you access to the public health system (Sistema Nacional de Salud / SNS):
- Assigned a médico de cabecera (GP) at your local centro de salud
- Access to specialists, tests, and hospital care through referrals
- Prescriptions at subsidized rates (patients pay a percentage based on income)
- Emergency care at urgencias without co-pay
Non-workers
Many autonomous communities provide universal healthcare coverage based on empadronamiento (padron registration), regardless of Social Security status. In Catalonia, register with CatSalut. Other communities have similar programs.
Emergency care (urgencias) is provided to everyone regardless of Social Security status — hospitals cannot refuse it.
Unemployment benefit (prestación por desempleo)
Eligibility
- You must have worked and contributed for at least 360 days in the 6 years prior to becoming unemployed
- You must be involuntarily unemployed — fired, made redundant, or end of contract (not resigned voluntarily)
- You must be registered as seeking employment at the SEPE (Servicio Público de Empleo Estatal)
- You must not refuse suitable job offers
Amount
- First 6 months: 70% of your regulatory base (approximately your average monthly salary over the past 6 months)
- From month 7 onwards: 50% of regulatory base
- Minimum: €591/month (approximately 80% of IPREM 2026)
- Maximum: €1,575/month (175% IPREM) — higher with children
Duration
| Years contributed | Benefit duration |
|---|---|
| 1–2 years | 4 months |
| 2–3 years | 8 months |
| 3–4 years | 12 months |
| 4–5 years | 16 months |
| 5–6 years | 20 months |
| 6+ years | 24 months |
How to apply
Apply at the SEPE (sepe.es) — online or in person at your local SEPE office — within 15 working days of ending employment. Missing this deadline results in reduced benefit period.
Sick leave (baja médica)
When you’re ill and unable to work, the baja médica system provides:
Temporary Incapacity (IT) benefit:
- Days 1–3: no payment (waiting period — unless your company’s collective agreement provides for it)
- Days 4–15: employer pays 60% of your regulatory base
- From day 16: Social Security pays 60% (rising to 75% from day 21)
- Maximum duration: 12 months (extendable to 18 months in some cases)
How it works:
- Visit your médico de cabecera and get a sick note (parte de baja)
- Give the sick note to your employer within 3 days
- Renew every 3–7 days with your doctor until recovered
- Get a parte de alta (return to work certificate) when well
Autónomos have access to sick pay from day 4 if they have opted into the covertura by incapacidad temporal (which has been mandatory since 2019 for most autónomos).
Maternity and paternity leave
Spain has one of Europe’s most generous and equal parental leave systems (since 2021):
- Both parents: 16 weeks of fully paid leave
- First 6 weeks: mandatory immediately after birth
- Remaining 10 weeks: can be taken up to the child’s 12th birthday (flexible)
- Payment: 100% of salary (paid by Social Security)
- Requirements: 180 days of Social Security contributions in the previous 7 years (for parents over 26)
This applies to both biological birth and adoption.
Pension (retirement)
When can you retire?
| Retirement type | Age (2026) | Conditions |
|---|---|---|
| Standard (full) | 66 years 6 months | 37+ years of contributions |
| Standard (reduced) | 67 years | Under 37 years of contributions |
| Early voluntary | 63 years | 35+ years of contributions; penalty applied |
| Early forced | 61 years | Made redundant involuntarily; 33+ years of contributions |
Pension calculation
Spain’s pension is based on contributions made during the last 25 years of working life (this period is being extended gradually):
- 100% pension: requires 37 years of contributions
- 50% minimum pension: requires 15 years of contributions
- Amounts are also capped at a maximum pension level
Bilateral Social Security agreements
Spain has agreements with many countries to combine contribution periods for pension purposes. If you worked in your home country and in Spain, the periods are added together for eligibility purposes (though the actual pension amounts are calculated separately by each country).
Countries with bilateral agreements include: USA, Canada, Australia, Japan, most of Latin America, Morocco, Tunisia, and all EU/EEA countries.
If your home country has an agreement: claim pension from both Spain and your home country proportionally when you retire.
Registering as an autónomo
If you’re self-employed in Spain, you must register in the RETA (Régimen Especial de Trabajadores Autónomos):
- Get your NIE — required before registration
- Register with the Agencia Tributaria (AEAT) — file Modelo 036 or 037 (inicio de actividad)
- Register with Social Security — at the Tesorería General; can be done online at the TGSS portal
- Choose your contribution base — based on your expected annual income
- Pay monthly contributions — bank direct debit, payable between days 1–30 of each month
Autónomos invoice with IVA (VAT — usually 21%), file quarterly IVA returns (Modelo 303), quarterly income tax estimates (Modelo 130), and an annual income tax return (Modelo 100).
Key Social Security portals
| Service | Where |
|---|---|
| Your contribución history (vida laboral) | seguridad social.gob.es → Import your historia laboral |
| INSS (pensions, sick pay) | imserso.gob.es |
| SEPE (unemployment) | sepe.es |
| Tesorería (TGSS — autónomo registration) | seg-social.es |
| Online certificate requests | Import.seg-social.es |
Download the Tu Seguridad Social app for mobile access to your contribution history, healthcare center, and benefit status.
Social Security and immigration status
| Status | Social Security access |
|---|---|
| Student visa (working ≤30 hrs/week) | Full access as employee; employer contributes |
| Work permit | Full access as employee |
| Autónomo license | Full access in RETA |
| Long-term resident | Full access |
| Tourist / irregular | Emergency healthcare only |
Building Social Security contribution history matters long-term. Every year of contributions is a year towards:
- Unemployment benefit eligibility
- Full sick pay coverage
- Future pension rights
- Earlier retirement eligibility
Need help navigating the Spanish employment and Social Security system?
Book a Free Consultation | WhatsApp: +34 635 994 844
Related guides:
Need Personalized Help?
Get expert guidance for your Spain immigration journey
Frequently Asked Questions
Do I need to register with Spanish Social Security as a foreigner?
Yes — any foreigner working legally in Spain must be affiliated with the Social Security system. If you're an employee, your employer registers you and makes contributions on your behalf. If you're self-employed (autónomo), you register yourself and pay contributions directly. Access to public healthcare, unemployment benefits, and eventual pension rights all depend on Social Security affiliation.
How much do autónomos pay in Social Security contributions in Spain?
Since January 2023, autónomo contributions are based on actual net income. Minimum contribution in 2026 is approximately €230/month for the lowest income bracket (under €670/month net). Those earning more pay proportionally more, up to €590/month for the highest brackets. The reform significantly reduced costs for low-income autónomos compared to the previous flat system.
How long do you need to contribute to receive unemployment benefits in Spain?
You need at least 360 days (approximately 1 year) of Social Security contributions in the 6 years before becoming unemployed. The benefit lasts 4 months for 1 year of contributions, up to a maximum of 2 years for 6+ years of contributions. The benefit amount is 70% of your salary base for the first 6 months, then 50%.
When can I retire in Spain as a foreigner?
The standard retirement age in Spain is 66 years and 6 months (2026), rising to 67 by 2027. Early retirement is possible from 63 with penalties. The minimum contribution period for any pension is 15 years. To qualify for a full pension, you need 37 years of contributions. Many immigrants rely on bilateral social security agreements to combine Spanish and home-country contribution years.
Can students on a student visa access Spanish Social Security?
Students working part-time (up to 30 hours/week, as permitted by the student visa) are entitled to register with Social Security like any other employee. Their employer contributes on their behalf. This builds contribution history that counts towards future unemployment benefits, healthcare, and pension rights.
Related Guides
Life in Spain as an Immigrant: Complete Practical Guide (2026)
Everything you need to know after arriving in Spain as an immigrant — Social Security, driving licence, schools for children, healthcare, banking, renting, and the path to long-term residency.
Spanish Driving Licence for Foreigners (2026): Exchange vs Full Test
How to get a Spanish driving licence as a foreigner — which countries can exchange directly, which must take the full DGT test, costs, documents, and step-by-step process.
Can You Work on a Spain Student Visa? Rules & Limits (2026)
Complete guide to working on a Spain student visa. Work hour limits, authorization process, job types allowed, and what happens if you work illegally.