Does it matter in which country I pay my social security tax?

If you work cross-border, work remotely for a foreign employer, are an entrepreneur, or receive pay from multiple countries, sooner or later the question arises: does it really matter which country your social security contributions are paid to? 

Yes, this is important because it determines which country's system you get health insurance from, where your pension years will accrue, and which country's rules apply to you.  

What is social tax and how does it work? 

In Estonia, social tax is a financial obligation by law, the purpose of which is to collect revenue for pension insurance and national health insurance. So it is not “just a tax” – it has specific rights behind it (health insurance, pension calculation). 

The same logic applies across borders: if you pay social security contributions to another country, you generally "buy" rights in that country's system (or at least are subject to that country's rules).  

When working cross-border, you do not choose the country of insurance according to your wishes - it is often determined by European Union rules and, in the case of some third countries, also by social security agreements.  

Basic EU rule: only one country's social security applies at a time 

If you are involved in multiple EU/EEA countries (or Switzerland), the general principle is: 
👉 Social security is valid and therefore social contributions only have to be paid in one country at a time.  

What does this mean to you? 

You don't have to pay social security in two countries at once for the same period of work, but you need to know which "one country" is, because it affects health insurance and pension.  

Health insurance – who pays for your treatment? 

In Estonia, the Health Insurance Fund clearly states: health insurance mainly arises when a person works and social tax is paid for them (or they pay it themselves), or when they are equated with the insured or insured under a voluntary contract. 

If a person is connected to more than one EU country due to employment or self-employment, they will receive health insurance in the country where social security taxes are paid for them. 

If social security taxes go to another country, you will most likely have health insurance there, and your insurance may end in Estonia unless you fall under one of the exceptions.  

How do I get medical care if I live in one country and work in another? 

There are two very practical tools for this: 

  1. S1 form – if you live in one country but are insured in another, the S1 may entitle you to receive medical care in the country of residence, while the “country of insurance” is another 
  2. European Health Insurance Card (EHIC) – if you are temporarily staying in another EU country (trip, short assignment), you can receive the necessary medical care with your EHIC under the same conditions as local insured people (but you may still be responsible for deductibles).

Pension – where does seniority accumulate and who pays the pension? 

If you have worked in several EU countries, as a rule, pension rights arise in each country where you have made contributions.

Applying for a pension is generally done through the country where you live or where you last worked, and that country aggregates information about your contributions from other countries. 

Two important principles: 

  1. Period addition 

If in some countries a minimum period of service (e.g. 5 years) is required for pension entitlement, the country must also take into account periods in other EU countries when assessing pension entitlement.  

  1. Proportional accounting 

Each country calculates how much pension it would pay "as if you had worked there the whole time" (theoretical amount) and then pays a proportional part of it based on how long you were actually insured in that country.  

The size of the pension depends on the rules of the country you pay into – it is calculated according to that system. The so-called national rate can also be applied when calculating the pension – if the conditions are met even without other countries and the person receives a higher result from that country. 

Important documents (A1, S1, EHIC) 

In cross-border situations, “paperwork” is not just filling out forms – it is proof that avoids double obligations and insurance gaps. 

A1 certificate – which country's social security is valid 

If you work in several EU countries or are temporarily posted to another country, the A1 certificate is the document that confirms which country's social security is valid and where to make payments. An A1 certificate can be used to prove to another country that there is no obligation to pay social security contributions. 

If the period of employment is shorter than 2 years, social security contributions from the home country are generally paid and the employee's home country insurance remains valid - A1 is what confirms this. 

EHIC – temporary stay and necessary medical care 

The European Health Insurance Card (EHIC) only works if you have valid health insurance and gives you the right to necessary medical care in another country during a temporary stay. Necessary medical care is considered to be the treatment of an unexpected health problem that occurs during a stay in another EU country. However, this document does not cover all costs that may be associated with necessary medical care. The patient must pay deductibles (visit fees, bed-day fees, etc.). 

3 real-life examples: 

Case 1: I live in Estonia, work in Finland (or work for a foreign employer in another country). Your place of residence is in Estonia, but your work takes place in another EU country and social security contributions go to the country where the work is actually done (this is also a general rule).

Situation:  

  • The right to health insurance most likely arises in the country of employment, as social security contributions are paid there. 
  • If you want to use medical care in Estonia "as an insured person", you may need S1 form (to have coverage in the country of residence) 
  • Helps when traveling/temporarily staying EHIC – but it does not replace S1 in a situation where you live permanently in one country and are insured in another.  

What to do?  

Case 2: Estonian employer posts employee to Germany for 18 months 

The employee is temporarily sent to another country as part of a project. If the conditions are met, the employee may remain covered by Estonian social security and taxes will be paid to Estonia.  

Situation:  

  • If everything is formatted correctly, the employee will retain Estonian health, pension and unemployment insurance during the mission 
  • The “key document” of the mission is A1 certificate, which shows the host country that social security is in Estonia and you don't have to pay double in the country of posting.  

What to do?  

  • Employer/accountant: apply to an employee A1 certificate before posting and keep it available for inspection if necessary.  
  • Employee: Keep your A1 certificate and keep in mind that if you need treatment, you have insurance in Estonia, but if you are temporarily staying elsewhere, your EHIC will also help (in case of necessary medical care). 

Case 3: Entrepreneur/self-employed person works in two countries (or telework + projects in another country)

You live in Estonia, but perform part of your work/service in another EU country (or vice versa). In this case, “where do I pay” is not a free choice – it is determined which country's social security rules apply, and the general principle is still “only one country at a time”. (Sources: Your Europe “only one country's laws apply”; Eesti.ee A1 – social security only in one country.) 

Situation:  

  • If, for example, Estonia is designated as the applicable country, you pay here and the health insurance/pension logic starts from here (according to Estonian rules). If another country is designated, the “anchor” moves there. If you “make a mistake with the country”, there may be a risk that you will have to correct the situation later (and this is usually expensive and time-consuming).  

What to do?  

  • Entrepreneur/Self-employed person: Map out where the work is actually done and whether it is a regular/significant part of the activity – this information is necessary to determine the applicable country. 
  • Accountant: ask early on whether an A1 certificate (or other confirmation from the competent country) is needed to properly route payments. 

Summary 

  • General rule: you pay social security to one country at a time – usually the country where the work is done 
  • Dispatch: on temporary assignment (up to 2 years) you may remain in the home country's system – the A1 certificate is the key document 
  • Health insurance: In many countries, you can usually get health insurance where social tax/social insurance contributions are paid. 
  • Medical care in another country: helps with temporary stays EHIC, but this requires valid insurance and does not always cover everything 
  • Pension: Years of work in multiple countries are counted together to create entitlement, but each country pays its own share and calculates it according to its own rules. 

 Post author Malle Liivat, malle.liivat@grow.ee

Talk to our financial expert

Working from abroad: what does an employer need to know?

Working from a foreign country brings with it tax and legal issues that the employer needs to be aware of.

When does a company need more than accounting?

4 signs that a company needs more thought and extra strength in financial management.

Manage remote work from abroad – prevent the emergence of a permanent location with these tips!

Remote work for a driver from abroad is not just a convenience - read how to drive smartly and avoid tax risks.