You will need to be part of the Social Security system.
This is the paperwork that opens almost everything else: your health card, unemployment protection, eventually a pension. Here's how to get the number in 2026, what it costs as an employee or an autónomo, and what your contributions buy you once you're in the system.
If you plan to work in Spain, apply for your Social Security number once you're already living here, ideally before you start working. Whether you work for yourself (por cuenta propia) or for someone else (por cuenta ajena), you need this number so that you and/or your employer can make contributions on your behalf, and so you can draw the benefits they fund: public healthcare, old age pensions, unemployment insurance, maternity benefit, and more.
Even if you're not an EU citizen and plan to eventually return home, having paid into Spain's Social Security system can often count as though you'd paid into your own country's system. Spain has bilateral agreements with Andorra, Argentina, Australia, Brazil, Canada (except Quebec), Chile, Colombia, Dominican Republic, Ecuador, Mexico, Morocco, Paraguay, Peru, Philippines, Russia, Tunisia, Ukraine, the US, Uruguay, and Venezuela, among others — check with your embassy for details.
Officially you're applying for the Número de la Seguridad Social, or NUSS. You'll also see it called the Número de Afiliación (NAF) — same number, different name. It becomes your NAF the moment you start your first job or self-employed activity, and stays your permanent identifier for contributions, benefits, your health card, and your pension.
If a Spanish company is hiring you (por cuenta ajena) and you don't already have a NUSS, requesting it is your employer's job, part of registering you for work. You just hand them your passport or NIE.
If you're applying for yourself — because you'll be autónomo, or you want the number in hand before job hunting — there are two ways to do it. Online, through Import@ss (the Tesorería General de la Seguridad Social's portal): with Cl@ve, a DNIe, or a digital certificate it takes a few minutes via Altas y afiliación → Solicitar el número de la Seguridad Social, or, without one of those, by uploading a photo of your DNI/NIE/passport plus a selfie holding it. Or go in person to your nearest Social Security office with a signed Modelo TA.1 and your passport, NIE, or residency card; some offices want a cita previa rather than walk-ins.
Either way you'll get a printable resolution, and the number stays visible in your Import@ss personal area.
Rates have crept upward over the last few years: Law 21/2021 phased in the "intergenerational equity mechanism" (MEI), a small extra charge to shore up the pension system, and since 2025 higher earners also pay a solidarity contribution on salary above the ceiling.
If you work for someone else, contributions come off your salary automatically: roughly 6.48% for you and around 30.65% for your employer in the general regime, plus a variable workplace-accident rate (commonly 1.5% for office work). Contributions apply to a monthly base with a 2026 floor of €1,381.20 and ceiling of €5,101.20, so pay above the ceiling stops generating extra contributions. Both move most Januaries, so check the current year's figures.
Autónomos have been on a different system since the 2023 reform: your monthly cuota depends on which of 15 income brackets your projected net income falls into, at roughly 31.4–31.5% of your chosen base within that bracket. Net income here means annual income minus deductible expenses, times 0.93, divided by 12, so it comes out a fair bit lower than what you invoice. For 2026, brackets run from around €206/month at the bottom (under €670/month net) to around €607/month at the top (over €6,000/month). A proposed 2026 increase was shelved after freelancer associations pushed back, leaving rates frozen at 2025 levels with only the MEI edging from 0.8% to 0.9%.
New to self-employment? Ask about the tarifa plana: a flat €80/month for your first 12 months, extendable to 24 if your net income stays under minimum wage. You can change your base up to six times a year, and Social Security later reconciles what you paid against your actual tax return, so an optimistic bracket guess can mean a catch-up bill, or a refund.
As a contributor you have the right to a health card (tarjeta sanitaria individual, or TSI) and full access to the public healthcare system, including prenatal care, mental health services, and specialist care. Your local health center (centro de salud) and doctor are your first point of contact for appointments and treatment.
The TSI is a separate step from the NUSS: once your registration is active, take your NUSS, ID, and empadronamiento to your centro de salud. Some regions issue the card on the spot; others post it within a few weeks.
If you're economically inactive — retired early on savings, living off investments — and have no other route into public healthcare, you can buy in through the convenio especial. You'll need at least one year of continuous empadronamiento immediately before applying and no other access to public cover. The fee is €60/month if you're under 65 and €157/month from 65 on, which covers the full public-system basket of care with no co-pays, though outpatient prescriptions, orthopedic devices, and non-emergency transport stay entirely out of pocket.
If you're an EU, EEA, Swiss, or UK national already drawing a state pension (or another exportable benefit) from home, you probably don't need it. Request an S1 form from the country paying your pension around the time you move, then register it with Spain's Instituto Nacional de la Seguridad Social (INSS) along with your passport or NIE and your empadronamiento certificate. Once INSS confirms it, you get your TSI like any other contributor. Digital nomads, early retirees on savings or a private pension, and the self-employed fall outside the S1 scheme and need the convenio especial or private insurance. And don't confuse the S1 with the EHIC (European Health Insurance Card), which only covers temporary stays.
If you quit your job or are self-employed, you're not entitled to standard unemployment benefits (autónomos have a separate, more limited cessation-of-activity benefit). You can only claim the contributory benefit — prestación contributiva por desempleo, better known as el paro — if your employer terminated your contract or your temporary contract ended (the legally recognized situations of unemployment), and you contributed at least 360 days (12 months) in the six years before losing your job.
Within 15 business days of being let go, register as a jobseeker (demandante de empleo) with SEPE (Servicio Público de Empleo Estatal, formerly INEM) and file your claim. You'll get 70% of your average contribution base over your last 180 days for the first six months, then 60% from month seven, subject to monthly floors and ceilings, for up to 24 months depending on how long you contributed. Social Security keeps covering your healthcare and pension contributions while you're on it. If it runs out and you're still job hunting, means-tested subsidios may be available — ask SEPE directly.
Spain's ordinary retirement age has been rising since 2013 and settles at 67 in 2027. In 2026 it's 66 years and 10 months, unless you've contributed at least 38 years and 3 months, in which case you can still retire at 65 — the thresholds shift each January. A minimum of 15 years of contributions qualifies you for a pension at all, at 50% of your base reguladora (your average contribution base over roughly your last 25 working years, price-adjusted); the percentage rises with every extra month, reaching 100% at around 36 and a half years.
If you haven't contributed long enough in Spain alone, you may be able to count a combination of years worked here and in your home country, depending on nationality and any bilateral or EU agreement in place — worth raising with your embassy or a gestor rather than assuming either system alone tells the full story.
For more, see our guides to public healthcare, taxes for expatriates, and your rights as an employee.
SpainExpat Plus Ultra
SpainExpat's household membership pays the gestores and immigration lawyers who prepare and file your applications, and the Compliance Minder tracks the renewals that follow. Its visa work is for the digital nomad and non-lucrative routes.
Ask for an invitation You'll see your price and terms before you pay anything.The Spanish Social Security system provides a number of benefits for those who pay into it.
As a contributor to the Spanish Social Security system you have the right to obtain a health card and have full access to the Spanish public healthcare system. You have the right to use a wide range of health services including prenatal care, mental health services, and specialist care. Your local health center (centro de salud) and doctor serve as your first point of contact, allowing you to make regular appointments and receive treatments as well as specialist care as needed.
Unemployment benefits help protect the terminated worker. If you quit your job or are self-employed, you are not entitled to unemployment benefits. You can only claim unemployment if your employer terminated your contract (aka fired you) and you had worked at your job (and contributed to Social Security) for a minimum of one year in the last six years before being let go. Within two weeks of being fired you should register as unemployed with the Servicio Público de Empleo Estatal (or SPEE), formerly known as INEM. Unemployment benefits last for a maximum of two years and are up to 70% of your former monthly salary.
The retirement age in Spain is 65. To qualify for a Spanish pension you need to have contributed to Social Security for a minimum of 15 years, for which you will receive 50% of your earnings base. (However, you may be able to count a combination of years worked in Spain and your home country depending on your nationality and how long you’ve worked.) To receive 100% of your earnings base, you will need to have contributed for 35 years.
Visit the old SpainExpat forum for community discussions.