EU, UK and S1 healthcare rightsArticle 3 of 7 · 6 min read
Posted to Spain or working across a border: where are you covered?
If your employer sends you to Spain for a set period, or you live in one country and work in another, you normally stay in one social security system. This page shows which one applies and which document proves it.
Key rules
- One system: You should be covered by only one country's social security system at a time.
- A1 proof: Without an A1 to show inspectors, Spain can ask you to pay Spanish contributions.
- Posting limit: The standard maximum posting is 24 months; longer needs an exception agreement between the countries.
- EHIC limits: The EHIC covers only medically necessary care, not planned treatment.
The short answer
If you are posted to Spain, you generally stay in your home country's social security system. You do not register in Spain's system as well. Frontier workers also stay in one system, the one of the country where they work. This avoids paying twice and avoids gaps in cover.
Your proof is a certificate. Posted workers use the A1. Family healthcare for longer stays and frontier workers' healthcare use the S1.
If you are posted to Spain
Ask your home social security institution for an A1 certificate before you start work in Spain. It proves your home system still covers you. In the UK, HMRC handles the relevant cases.
- The standard maximum posting between EU states is 24 months.
- A longer posting needs an exception agreement between the two countries.
- UK and other non-EU postings follow the relevant treaty or agreement, so time limits can differ.
Carry the A1, on paper or electronic, with your ID, the posting details and your employment contract. Spanish inspectors may ask for it. Without it, Spanish social security contributions can be demanded from you.
Healthcare for you and your family
For a short posting, you and your family members normally use the EHIC (or the GHIC from the UK, where it applies). It covers medically necessary care only, not planned treatment. It works only while your home country still covers the person.
For a longer posting, or if your family lives with you long term, ask your home institution for an S1. It registers you for healthcare in Spain at your home country's cost. UK workers should check how the UK-EU trade agreement applies to their status.
If you live in one country and work in another
A frontier worker is insured in the country of employment. You can get healthcare in either country. Care in the country where you live is paid for by the country where you work.
To use healthcare where you live, register with that country's health system using an S1 from the institution of your work country. Family members living in your residence country get care there on the basis of the S1. Some countries also let them use care in the work country.
Spain has special arrangements on its borders:
- Portugal and France: the EU rules apply. There are local hospital cooperation arrangements in border areas, such as the Cerdanya hospital on the French border.
- Andorra: it is not in the EU, so arrangements are bilateral.
- Gibraltar: arrangements are tied to the UK and have changed since Brexit.
If you commute across one of these borders, ask the health authorities which hospital and cover rules apply to you.
If you are registered in both systems
You should not be insured in two systems at once. Double registration can lead to duplicate contributions, claims to repay healthcare costs and penalties in Spain. The A1 decides which country is responsible. If the countries disagree, their institutions decide.
The usual fix is this: tell both institutions, ask the one that was paid wrongly to cancel the registration, and ask for your contributions back. Corrections going back in time are possible, but depend on your facts.
Timeline and deadlines
-
Carry the A1 with your ID, posting details and contract: throughout the posting
-
End the posting or ask for an exception agreement between the countries: after 24 months, the standard maximum posting
Documents you need
-
A1 certificate, issued by your home country's social security institution, proving you stay in the home system. Carry it on paper or electronically.
-
Photo ID, the posting details and your employment contract, to carry with the A1 in case Spanish inspectors ask for them.
-
EHIC (or GHIC from the UK, where it applies) for you and accompanying family members, for medically necessary care during the posting.
-
Portable Document S1, issued by your home country's institution, if you and your family want to register for healthcare in Spain at your home country's cost, which is more usual for longer postings.
Checklist
-
Carry the A1 with your ID, posting details and employment contract, in case Spanish inspectors ask.
-
Check that you are not registered in the Spanish system as well as your home one.
-
If you are registered in both, tell both institutions and ask the one paid wrongly to cancel the registration and return the contributions.
-
If you commute across the border from Portugal, France, Andorra or Gibraltar, ask the health authorities which local arrangement covers your hospital care.
Check the current rules for your case, especially for frontier work around Gibraltar, with your home social security institution.
What to watch out for
-
Registered in two systems at once: You normally cannot be insured in two systems at once. Being registered in both can mean duplicate contributions, claims to repay healthcare costs and administrative penalties in Spain.
-
No A1 when inspectors ask: Without an A1, Spanish social security contributions may be demanded from you or your employer. Get the A1 before you start and carry it with your ID and contract.
Frequently asked questions
Can my family use an EHIC while I am posted to Spain?
Yes, your accompanying family members can normally use the EHIC (or the GHIC from the UK, where it applies) for medically necessary care during the posting. It does not cover planned treatment. It stays valid only while your home country still covers the person.
When do I need an S1 instead of an EHIC for a posting?
You need an S1 when your family lives with you in Spain for the long term, and it is more usual for longer postings. The S1 registers you and them for healthcare in Spain at your home country's cost.
Where do I get healthcare if I live in one country and work in another?
If you live in one EU country and work in another, you are insured in the country where you work and can get care in either. Treatment in the country where you live is paid by your employer's country. Your family members living there get care through an S1 from the employment country, and you register with the local health system using it.
More in EU, UK and S1 healthcare rights
- Does being an EU citizen change your healthcare route in Spain?
- Form S1: how a foreign state pension can pay for Spanish healthcare
- UK nationals in Spain: healthcare under the Withdrawal Agreement
- What your EHIC or GHIC covers in Spain and how to use
- Why your EHIC or GHIC stops working once you move to Spain
- Travelling or being treated back home: using your Spanish cover abroad
Need certainty before you act?
For important relocation decisions, speak with a qualified human specialist.
Always verify important information with the relevant official authority or a qualified adviser before acting. This website uses large language models together with various public data sources, official government documents and other established sources. Due to the amount of data on this website, some information might be wrong. Information may also be incomplete or outdated.