Quick answer
Usually yes, but only to one country when an agreement applies. Social security follows where you work and, for many self-employed people, where you live, not your passport or your income tax residence. The US has 31 totalization agreements in force, and the EU coordinates its own countries; both assign your contributions to a single system, proved by a certificate of coverage or an A1 form. Without an agreement you can owe contributions in two countries, and US citizens owe self-employment tax on net earnings abroad even when the foreign earned income exclusion removes their income tax.
Last reviewed: November 2026 · Reviewed by Stéphane Gombauld, tax expert, technologist and digital nomad
You invoice clients from Lisbon, Bangkok or Mexico City, and you have probably checked where you owe income tax. Social security contributions get less attention, yet they are often the bigger bill: 15.3% of net self-employment earnings in the US, 21.4% of a reduced base in Portugal. Get the country wrong and you can pay both, or owe years of back contributions to the one you ignored.
This guide explains which country gets your contributions as a remote worker or freelancer, what a totalization agreement changes, and the paperwork that stops you paying twice. For the short definition, see our glossary entry on the social security totalisation agreement.
Do you still pay social security when you work remotely abroad?
In most cases, yes. Social security is a separate system from income tax, with its own rules. Income tax follows your tax residence and double tax treaties. Social security follows social security agreements and, inside the EU, EEA and Switzerland, Regulation (EC) No 883/2004. You can be tax resident in one country and insured in another.
The default rule almost everywhere is territorial: you are covered where you physically do the work. According to the US Social Security Administration, without coordination a worker abroad can end up covered by both systems for the same work, because both countries generally require the employer and the employee or self-employed person to pay. For a remote worker, the place of work is wherever your laptop is.
US citizens have an extra layer. The IRS states that the rules for self-employment tax are generally the same whether you live in the United States or abroad. If your net earnings from self-employment reach $400, you owe US self-employment tax, wherever you live, unless an agreement exempts you.
What does a totalization agreement actually change?
A totalization agreement is a bilateral social security treaty. It does two things.
- It picks one country for contributions. For a given period of work, only one system collects. The IRS describes the goal as making sure social security taxes, including self-employment tax, are paid only to one country.
- It adds up your insurance periods for benefits. Periods in both countries can be combined to reach the minimum needed for a pension. The SSA can do this only if you have at least six quarters of US coverage, and each country then pays a partial benefit based on the share of your career spent in its system.
The SSA lists 31 agreements in force: Australia, Austria, Belgium, Brazil, Canada, Chile, the Czech Republic, Denmark, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Japan, Luxembourg, the Netherlands, Norway, Poland, Portugal, Romania (from 1 September 2026), the Slovak Republic, Slovenia, South Korea, Spain, Sweden, Switzerland, the United Kingdom and Uruguay. Popular nomad bases such as Mexico, Thailand, Indonesia, the UAE, Colombia and Georgia are not on that list.
Which country gets your contributions?
The answer depends on your status (employee or self-employed), how long you stay and which countries are involved. The table covers the situations we see most often among location-independent professionals.
| Your situation | Usual rule | Proof you need |
|---|---|---|
| Employee of a home-country company, sent abroad temporarily | Home country keeps you: up to 5 years under US agreements (all except Italy), up to 24 months for a posting inside the EU | Certificate of coverage from the home country, or PD A1 in the EU |
| Remote employee who settles in a new country for good | Usually the country where you live and work, which may require local payroll | Registration in the host system |
| EU resident teleworking under 50% of the time for an employer based in another signatory state | Employer's state, on request, under the cross-border telework framework agreement | A1 issued under Article 16 of Regulation 883/2004 |
| Working in several EU states | State of residence if at least 25% of your working time and/or income is there | PD A1 |
| Self-employed US citizen living in an agreement country | Depends on the agreement. Under the US–Portugal agreement, the country of residence | Certificate from that country, attached to your US return |
| Self-employed in a country with no agreement | Possibly both countries. US citizens still owe US self-employment tax | None: no exemption is available |
US citizens abroad: self-employment tax does not stop at the border
US self-employment tax combines 12.4% for Social Security (OASDI) and 2.9% for Medicare (HI). The Social Security part applies up to the contribution and benefit base, set at $184,500 for 2026 (up from $176,100 in 2025). The Medicare part has no cap.
Two points catch many Americans out:
- The foreign earned income exclusion does not reduce it. The IRS is explicit: you pay self-employment tax on all your net profit, even if you claimed the exclusion. Your income tax can fall to zero while the 15.3% stays.
- The exemption is not automatic. To show that your income is covered only by a foreign system, you need a certificate from that country. If it will not issue one, you can ask the SSA for a statement that your income is not covered by US Social Security. You attach a photocopy to Form 1040 every year you claim the exemption and write "Exempt, see attached statement" on the self-employment tax line.
If you work abroad for a US employer, US Social Security usually continues through payroll, and the host country may also claim contributions unless an agreement assigns you to one system. That is a conversation to have with your employer before you move, not after the first local tax letter.
Working from Europe: A1, the 25% rule and the telework agreement
Inside the EU, EEA and Switzerland, Regulation 883/2004 applies instead of bilateral agreements. Its core principle: you are subject to the legislation of one country at a time. A few rules matter for mobile professionals:
- Postings. Employees and self-employed people who go to another EU country temporarily stay covered at home. The PD A1 form is issued for a maximum of 24 months, and the host country must recognise a valid A1. Self-employed people must already have worked as self-employed at home, for a period that the EU says can be as little as two months.
- Several countries at once. If you work in more than one EU state, you are generally covered by your state of residence when you do a substantial part of your activity there, meaning at least 25% of your working time and/or income.
- Self-employed with no substantial activity at home. You are covered where the centre of interest of your activities is located.
- Cross-border telework. Under a multilateral framework agreement, an employee who teleworks less than 50% of the total working time from their state of residence can ask, with the employer's agreement, to stay under the legislation of the employer's state. Most signatories applied it from 1 July 2023; Estonia joined from 1 February 2026. According to the Belgian social security administration, 23 states have signed, and the United Kingdom has said it will not.
None of this was written for someone who changes country every three months. A posting A1 covers a temporary stay in a specific state. If you have no stable base, the question of which country covers you can become genuinely unclear, which is one more reason to settle a clear residence. Our guide to the A1 certificate walks through the application.
What happens in a country with no agreement?
If your host country has no agreement with your home country, nothing coordinates the two systems. In practice, three things can happen:
- You owe both. The host country may require registration once you are resident or working there, and your home country may keep its claim. US citizens are the clearest case: US self-employment tax continues regardless.
- You owe only your home system. Some host countries do not reach foreign-sourced self-employment income, or a nomad visa may not give access to the local system. Rules vary by country and by visa, so check before assuming you are outside it.
- You fall into a gap. If you leave a system without joining another, contributions stop, and so does the build-up of pension rights and, often, health cover.
How do you get a certificate of coverage?
- Work out which country should cover you using the agreement or the EU rules above, before you start working abroad.
- Ask the right country. The certificate always comes from the country that keeps you. For Portugal, the SSA says employees get form P/USA 1 through their employer in Portugal, and self-employed people write to the regional social security centre where they are registered.
- Attach it every year. US self-employed people attach a photocopy of the foreign certificate to their tax return each year as proof of the exemption.
- Track expiry dates. Certificates cover a period. A longer stay, a new country or a switch from employee to freelancer needs a new one.
Example – Jake, 38, American freelance developer living in Lisbon
Jake has lived in Lisbon for two years, is registered as self-employed in Portugal and invoices about EUR 6,000 a month to US clients, around $90,000 of net profit a year. Without coordination he would face two bills.
US side: self-employment tax on 92.35% of net earnings at 15.3%: 90,000 × 0.9235 × 0.153 ≈ $12,716. The foreign earned income exclusion does not touch it.
Portugal side: contributions of 21.4% on a relevant income of 70% of his service income: 6,000 × 70% × 21.4% = EUR 898.80 a month, about EUR 10,786 a year.
Under the US–Portugal agreement, self-employed people who reside in Portugal are covered by Portugal. Jake asks his regional centre for a certificate, attaches a copy to his Form 1040 and writes "Exempt, see attached statement". He keeps paying in Portugal and saves the $12,716 US bill. The trade-off: his US earnings record stops growing, so he checks that he already has six quarters of US coverage for a future totalized benefit.
Jake almost paid social security twice. Are you sure you won't?
Get your contribution country checked against your residence, status and clients before your next tax return.
Check my situation →Common mistakes (and what they cost)
- Assuming the foreign earned income exclusion covers self-employment tax → you owe the full 15.3% for every year missed, plus interest and penalties.
- Paying abroad without a certificate → the IRS has no proof of exemption and assesses US self-employment tax on top of the foreign contributions.
- Treating your tax residence country as your social security country → you pay into the wrong system and the right one can claim back contributions later.
- Relying on an old A1 while hopping countries → a posting certificate is limited in time and place; outside it, the host state can claim contributions.
- Ignoring the pension side → with fewer than six US quarters, the SSA cannot totalize your record, and short careers in several countries may each fall below the minimum.
- Assuming "no agreement" means "no contributions" → many host countries tax resident self-employed people locally, and US citizens still owe US tax.
Frequently asked questions
Do US expats and digital nomads pay Social Security tax?
Yes, by default. US citizens and residents with net self-employment earnings of at least $400 owe self-employment tax wherever they live. Employees of US companies usually keep paying through payroll. The exception is a totalization agreement that assigns you to the other country, proved by a certificate of coverage attached to your return.
Does the foreign earned income exclusion reduce self-employment tax?
No. The IRS states that you pay self-employment tax on all your net profit, even if you claimed the foreign earned income exclusion. The exclusion only reduces income tax. Only a totalization agreement, backed by a certificate, can remove US self-employment tax.
Which countries have a totalization agreement with the US?
The SSA lists 31 agreements in force, including Canada, the United Kingdom, Japan, South Korea, Australia, Brazil, Chile, Uruguay, Switzerland and most EU countries such as Germany, France, Spain, Portugal and Italy. Romania applies from 1 September 2026. Mexico, Thailand, the UAE and Colombia are not on the list.
Do digital nomads need an A1 certificate?
If you are covered by an EU, EEA or Swiss system and you work temporarily in another of those countries, an A1 proves that you stay insured at home. A posting A1 lasts up to 24 months. It does not cover open-ended travel outside the EU, where bilateral agreements or local rules apply instead.
What happens to my pension contributions if I move every few months?
Each country only counts periods spent in its own system. Agreements let you add periods together to qualify, with each country paying a pro-rata benefit. Without agreements, or without contributions anywhere, short stints can leave gaps. Keeping one stable base makes your record easier to build and to prove.
Can I stop paying US Social Security if I live abroad?
Only if a totalization agreement assigns your work to another country and you hold that country's certificate. Moving abroad, losing US tax residence status for state purposes or using the foreign earned income exclusion does not end US self-employment tax for citizens.
Related guides
- Moving abroad as a location-independent professional: the complete relocation guide
- Social security totalisation agreement: definition
- A1 certificate: keeping your social security across EU borders
- Foreign earned income exclusion: what it covers and what it does not
- Moving from the United States to Portugal: tax guide
- Moving from the United States to Spain: tax guide
- Portugal digital nomad visa
- Double tax treaty: how treaties split taxing rights
Sources
- International programs: US international social security agreements – Social Security Administration
- US–Portugal social security agreement – Social Security Administration
- Contribution and benefit base – Social Security Administration
- Self-employment tax for businesses abroad – IRS
- Which country covers you – Your Europe, European Union
- Cross-border telework in the EU, EEA and Switzerland – Belgian Federal Public Service Social Security
- Portugal individual other taxes – PwC Worldwide Tax Summaries (secondary)
This guide is general information, not personalised tax advice. See how we research and review.
Working abroad with clients back home?
Get a clear answer on where you owe contributions and the certificate that proves it.
Start with Heavnn →