Overview of Spain's Social Security System
Spain's social security system (Seguridad Social) is one of the most comprehensive in Europe. Managed by the Tesorería General de la Seguridad Social (TGSS), it provides healthcare, pensions, unemployment benefits, sick leave, maternity and paternity leave, and workplace accident coverage to everyone who contributes.
The system is funded primarily through mandatory contributions from both employers and workers. If you live and work in Spain, whether as an employee or self-employed (autónomo), you are required to register and contribute. This is not optional. Spain enforces contribution obligations strictly, and failing to register or pay can result in significant fines and back-payments.
For expats, understanding social security is critical. It determines your access to public healthcare, your future pension rights, your eligibility for unemployment benefits, and your legal standing as a worker in Spain. Whether you are employed by a Spanish company, working as a freelancer, or transferring from another EU country, the rules that apply to you will differ. This guide breaks it all down.
How to Get a Social Security Number
Your Número de Afiliación a la Seguridad Social (NAF) is a unique identifier that stays with you for life in Spain. You need it before you can start working legally. Here is how to get one:
- Get your NIE first. Your Número de Identidad de Extranjero is a prerequisite. If you do not have one yet, see our complete guide to getting your NIE in Spain.
- Visit your local TGSS office or apply online through the Sede Electrónica if you have a digital certificate. You will need to submit the TA.1 form (Solicitud de Afiliación / Número de Seguridad Social), along with your NIE or passport and proof of address.
- Receive your number. Processing is typically immediate when done in person. The TGSS will assign you a permanent social security number that you will use for all future interactions with the system.
If you are being hired as an employee, your employer may handle the social security registration on your behalf. However, if you are registering as autónomo, you must do this yourself before (or simultaneously with) your autónomo registration at the TGSS.
The Contribution System Explained
Social security contributions in Spain are split between employers and employees. The rates and structure depend on your employment situation.
Employed workers (cuenta ajena)
For employees, contributions are shared between the employer and the worker. The employer pays the larger share. As of 2026, the approximate breakdown is:
- Employer contribution: approximately 30-31% of the gross salary, covering common contingencies (23.6%), unemployment (5.5-6.7% depending on contract type), professional training (0.6%), and FOGASA (0.2%).
- Employee contribution: approximately 6.4-6.5% of the gross salary, covering common contingencies (4.7%), unemployment (1.55-1.60%), and professional training (0.1%).
These contributions are automatically deducted from your payslip (nómina). Your employer calculates, withholds, and pays both portions to the TGSS. As an employee, you generally do not need to worry about the mechanics, but you should understand how much of your compensation goes to social security.
Self-employed workers (autónomos)
As an autónomo, you are responsible for the full contribution yourself. There is no employer to split the cost. Since January 2023, Spain moved to an income-based contribution system that replaced the old flat-rate model. This system is now fully phased in as of 2026, with contribution brackets tied to your actual net income. See the next section for the current rates.
New Autónomo Contribution System (2026)
Spain's income-based contribution system for autónomos (the sistema de cotización por ingresos reales) groups self-employed workers into brackets based on their monthly net income. Each bracket has a minimum and maximum contribution base, and you pay approximately 30.6% of your chosen base.
For 2026, the monthly contribution ranges are approximately:
- Net income under 670 euros/month: minimum base around 653 euros, monthly contribution approximately 200 euros.
- Net income 670-900 euros/month: minimum base around 740 euros, contribution approximately 226 euros.
- Net income 900-1,166 euros/month: minimum base around 849 euros, contribution approximately 260 euros.
- Net income 1,166-1,300 euros/month: minimum base around 950 euros, contribution approximately 291 euros.
- Net income 1,300-1,500 euros/month: minimum base around 960 euros, contribution approximately 294 euros.
- Net income 1,500-1,700 euros/month: minimum base around 960 euros, contribution approximately 294 euros.
- Net income 1,700-1,850 euros/month: base around 1,045 euros, contribution approximately 320 euros.
- Net income 1,850-2,030 euros/month: base around 1,062 euros, contribution approximately 325 euros.
- Net income 2,030-2,330 euros/month: base around 1,078 euros, contribution approximately 330 euros.
- Net income 2,330-2,760 euros/month: base around 1,111 euros, contribution approximately 340 euros.
- Net income 2,760-3,190 euros/month: base around 1,176 euros, contribution approximately 360 euros.
- Net income 3,190-3,620 euros/month: base around 1,241 euros, contribution approximately 380 euros.
- Net income above 3,620 euros/month: bases scale up further, with the maximum contribution base around 4,720 euros (approximately 1,444 euros/month).
You must declare your estimated annual income when you register, and the TGSS assigns your bracket. At the end of each year, a regularization process compares your actual income (as reported to Hacienda) against what you contributed. If you underestimated, you owe the difference. If you overestimated, you get a refund. You can also adjust your bracket up to six times per year through the TGSS online portal.
For a full walkthrough of the registration process, check our guide to registering as autónomo in Spain.
What Your Contributions Cover
Your social security contributions in Spain fund a wide range of benefits. Here is what you are paying for:
- Public healthcare (asistencia sanitaria): full access to Spain's national health system, including primary care, specialist visits, hospital care, emergency services, prescriptions (with co-pays), and maternity care.
- Retirement pension (pensión de jubilación): a monthly pension after reaching retirement age and meeting minimum contribution periods (covered below).
- Temporary disability (incapacidad temporal): sick pay when you cannot work due to illness or injury. For employees, this covers up to 60-75% of your contribution base. Autónomos receive similar coverage but must wait 4 days (common illness) or from day 1 (workplace accident).
- Maternity and paternity leave: 16 weeks of fully paid leave for each parent, funded through social security.
- Unemployment benefit (prestación por desempleo): for employees who lose their jobs involuntarily. Autónomos have a separate, more limited scheme called cese de actividad, which functions as self-employed unemployment protection.
- Permanent disability and death benefits: pensions for permanent incapacity, and survivor pensions for dependents.
Public Healthcare for Expats
Once you are registered and contributing to social security, you can apply for your tarjeta sanitaria individual (TSI), commonly known as the health card. This card gives you access to the public healthcare system in your autonomous community.
To get your TSI, visit your local centro de salud (health center) with your social security number, NIE, empadronamiento (proof of local registration), and passport. You will be assigned a general practitioner (médico de cabecera) at your nearest health center. From there, you can access the full range of public health services.
Spain's public healthcare system is highly regarded. It consistently ranks among the top systems in Europe for quality of care, access, and outcomes. Wait times for specialists can vary by region, but emergency care and primary care are generally excellent and fast. Prescriptions carry a co-pay based on your income level, typically ranging from 0% to 60% of the medication cost.
If you are not working and not contributing to social security (for example, on a non-lucrative visa), you can still access public healthcare by registering through the convenio especial, a voluntary agreement that costs approximately 60 euros per month for those under 65 and 157 euros per month for those 65 and over. Alternatively, many non-working expats use private health insurance to satisfy visa requirements and access care.
EU vs Non-EU Differences
Your nationality and country of origin significantly affect how you interact with Spain's social security system.
EU/EEA/Swiss citizens
If you are coming from another EU country, the system is designed for portability. Key mechanisms include:
- S1 form:if you are posted by your employer to Spain temporarily or are a retiree drawing a pension from another EU country, the S1 form (issued by your home country's social security authority) allows you to access Spanish public healthcare without contributing to the Spanish system. Your home country covers the cost.
- Aggregation of contribution periods: years you contributed in other EU countries count toward your Spanish pension entitlement. When you retire, each country pays a proportional share based on the years you contributed there.
- European Health Insurance Card (EHIC): provides temporary healthcare coverage during short stays, but it is not a substitute for registration if you are a resident.
- No double contributions:EU regulations prevent you from paying social security in two countries simultaneously. The A1 certificate determines which country's system applies.
Non-EU citizens
If you are from outside the EU, the situation is more complex. Spain has bilateral social security agreements with several countries, including the United States, Canada, Australia, Japan, South Korea, and many Latin American nations. These agreements typically allow:
- Aggregation of contribution periods for pension purposes (similar to EU rules, but terms vary by agreement).
- Avoidance of double contributions for temporary postings (usually limited to 2-5 years).
- Export of pension benefits to your home country.
If your country does not have a bilateral agreement with Spain, your contributions in your home country will not count toward Spanish pension minimums, and vice versa. You start from zero. This makes it especially important to plan carefully if you are moving to Spain mid-career from a country without an agreement.
Pension Rights and Minimum Contribution Periods
Spain's retirement pension system requires a minimum of 15 years of contributions to qualify for any pension at all, with at least 2 of those years falling within the 15 years immediately before retirement. If you do not meet this minimum, you receive nothing from the contributory pension system (though non-contributory pensions exist for residents with very low income).
To receive the full pension (100% of your regulatory base), you currently need 36 years and 6 months of contributions (gradually increasing to 37 years by 2027). The standard retirement age is 65 if you have the maximum contribution period, or 66 years and 8 months otherwise (also gradually increasing to 67 by 2027).
The pension amount is calculated based on your contribution bases over the last 25 years. Higher contribution bases mean a higher pension. For autónomos, this is why choosing a higher contribution base during your working years, even though it costs more monthly, can significantly increase your retirement income.
Remember that EU contribution periods and periods from countries with bilateral agreements can be aggregated to meet these minimums. If you worked 10 years in Germany and 5 years in Spain, you meet the 15-year minimum. Each country then pays its proportional share.
Tarifa Plana for New Autónomos
Spain offers a significant discount for people registering as autónomo for the first time (or who have not been registered in the previous 2 years). Known as the tarifa plana, this reduced-rate scheme works as follows in 2026:
- First 12 months: a flat contribution of 80 euros per month, regardless of your income bracket. This is a massive saving compared to the standard minimum of approximately 200 euros.
- Months 13-24: you can extend the 80-euro flat rate for a second year if your net annual income remains below the Salario Mínimo Interprofesional (SMI). In 2026, the SMI is approximately 1,184 euros per month (15,876 euros annually in 14 payments).
The tarifa plana makes starting a freelance business in Spain remarkably affordable during the first year. You still get full social security coverage, including healthcare, during this period. After the discounted period ends, your contribution reverts to the income-based bracket that matches your actual earnings.
To qualify, you must not have been registered as autónomo in the previous 2 years (3 years if you previously received the tarifa plana discount). The discount is applied automatically when you register. For the full registration process, see our guide to autónomo registration in Spain.
How Noburo Helps
Navigating Spain's social security system as an expat involves forms in Spanish, in-person visits to government offices, and a web of rules that change depending on your nationality, employment type, and income level. This is exactly the kind of bureaucracy Noburo is built to handle.
With Noburo, you can:
- Register for social security without visiting the TGSS office. We handle the TA.1 form and submission on your behalf.
- Register as autónomo with the correct contribution bracket from day one, including tarifa plana if you qualify. No guessing, no errors.
- Adjust your contribution bracket as your income changes throughout the year. Our AI monitors your earnings and recommends adjustments before the regularization catches you off guard.
- Understand your benefits with clear, English-language explanations of what you are entitled to based on your specific contribution history and employment type.
- Coordinate cross-border situations including S1 forms, A1 certificates, and bilateral agreement applications for pension aggregation.
Every action is powered by AI and verified by a licensed professional. No fax machines, no guesswork, no surprises.
Skip the paperwork — let Noburo handle it
Join the waitlist and be the first to access AI-powered tax filing, visa applications, and bureaucracy management for expats in Spain.