You claim the foreign earned income exclusion, your taxable income drops to zero, and then you get to the last page of the return and find a bill for thousands of dollars. That is self-employment tax, and it is the most common surprise in expat freelance and consulting practice. A totalization agreement is the only mechanism that exempts self-employment earnings from US self-employment tax by treaty, and whether one exists between the United States and the country you live in is worth more to a self-employed American abroad than almost any other planning decision.
Why Do I Still Owe Self-Employment Tax If the FEIE Wiped Out My Income Tax?
Because they are two different taxes under two different code sections. The foreign earned income exclusion operates under IRC §911 and removes foreign earned income from your income tax base. Self-employment tax is imposed by IRC §1401 on net earnings from self-employment, and the IRS is explicit that you must take all self-employment income into account in that calculation even when the exclusion removes it from gross income.
The practical result catches people every year. A consultant living in Portugal with $120,000 of net profit excludes all of it and owes no federal income tax. She still computes self-employment tax on that same profit and writes a check for roughly $17,000.
This is how the statute is built, not an edge case. If you are a US citizen or resident with net earnings from self-employment, the tax applies wherever you live, subject to one exception: a totalization agreement.
What Exactly Is a Totalization Agreement?
A totalization agreement is a bilateral Social Security treaty, separate and distinct from an income tax treaty. It does two things. First, it prevents dual social security taxation by assigning your earnings to exactly one country's system. Second, it lets you combine, or totalize, coverage credits earned in both countries so that a split career can still qualify you for benefits from one or both systems.
The second function matters more than people expect. US Social Security retirement benefits generally require 40 quarters of coverage, so a person who worked seven years in the United States, earning 28 credits, and three years in Germany, short of the five-year qualifying period for a German old-age pension, would fall short of the minimum in both countries and collect nothing from either. Under the agreement, credits from each system count toward the other's eligibility threshold, and each country pays a benefit proportional to the credits actually earned there.
For the self-employed American abroad, though, the first function is the one that shows up on this year's return. Without an agreement in place, the exemption does not exist.
Which Countries Have a Totalization Agreement With the United States?
The Social Security Administration reports 30 agreements in force. The list is stable but not frozen, so confirm current status at ssa.gov before relying on it for a filing position.
Countries With US Totalization Agreements in Force
ReferenceAustralia, Austria, Belgium, Brazil, Canada, Chile, Czech Republic, Denmark, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Japan, Korea (South), Luxembourg, Netherlands, Norway, Poland, Portugal, Slovak Republic, Slovenia, Spain, Sweden, Switzerland, United Kingdom, Uruguay.
The SSA publishes the signing date, effective date, and legal citation for every agreement in force, plus the status of any pending ones.
Look at what is absent. There is no agreement with the United Arab Emirates, Singapore, Thailand, Mexico, Costa Rica, Malaysia, Indonesia, Vietnam, Colombia, Panama, or Georgia. Several of those are exactly the places US freelancers and remote workers have relocated to in volume over the past decade, which is why this issue keeps surfacing.
What Happens If There Is No Agreement With My Country?
Your US self-employment tax under IRC §1401 stays fully due either way, because no agreement exists to shift coverage. Whether that becomes a double burden depends on the country: some no-agreement countries also collect their own social contributions from you, and some collect nothing.
Where the host country does impose social insurance on foreign residents, two things fail at once. You pay locally and you pay the United States on the same earnings, and the foreign social insurance contributions are generally not creditable as foreign income taxes on Form 1116, because social security contributions are not income taxes within the meaning of IRC §901. The foreign tax credit simply does not reach them. Colombia, Panama, and Vietnam are examples where the contributions are real and the dual cost is real.
So a self-employed American in a country with a mandatory 20% social contribution and no US agreement can pay that 20% locally while also paying US self-employment tax on the same earnings, with neither offsetting the other. Because the US side works out to 14.13% of net profit once the 92.35% adjustment is applied, the combined social insurance cost lands around 34% of net profit, on income that may generate no US income tax at all.
Where the host country does not impose social insurance on foreigners, there is no dual burden at all. The United Arab Emirates does not levy social insurance on expatriate workers, and Singapore's Central Provident Fund contributions do not apply to foreigners, so a US freelancer in either place pays US self-employment tax and nothing else. The absence of an agreement still costs the exemption, but it does not create a second bill.
There are structural responses worth evaluating, including whether the activity should be conducted through an entity and whether the income is properly characterized as earned income at all. Several of them create new filing obligations of their own, and none is a simple election that makes the problem go away.
What Is a Certificate of Coverage and How Do I Get One?
A certificate of coverage is the document that proves which country's social security system covers you, and it is what substantiates the exemption. It is issued by the social security agency of the country whose system covers you, not by the IRS.
For a self-employed American abroad claiming exemption from US self-employment tax, the IRS procedure is specific. Request the certificate from the appropriate agency of the foreign country. Then attach a photocopy of that certificate to your Form 1040 each year you claim the exemption, and print "Exempt, see attached statement" on the self-employment tax line, which is Schedule 2 (Form 1040), line 4. If the foreign country will not issue a certificate, request a statement from the US Social Security Administration that your income is not covered by the US system.
Three details cause most of the problems in practice:
- It is an annual attachment, not a one-time filing. The certificate goes with the return every year the exemption applies.
- Employees go through their employer. An individual claiming exemption from US Social Security and Medicare taxes because of an agreement secures the certificate from the social security agency of their home country and presents it to the US employer, who then stops withholding.
- Requesting the certificate takes time. Foreign agency processing is rarely fast, so start the request well before the return is due.
How Are Employees and the Self-Employed Treated Differently?
The analysis diverges because the agreements use different assignment rules for the two groups. Employees are usually assigned by where the work is performed, subject to a temporary transfer exception. The self-employed are usually assigned by where they live.
Employees, the detached worker rule. When an employer temporarily transfers a worker from one country to another to work for the same company, the worker continues paying social security taxes and stays covered solely in the country from which they were sent. Under almost all totalization agreements the transfer cannot be expected to exceed five years. Note the qualifier: the five-year period is the common pattern, not a universal statutory rule, and the precise term is set by each individual agreement. Check the specific agreement text before relying on the number.
Self-employed, the residence rule. Most agreements provide that the laws of the country where the person resides cover their self-employment activity exclusively. A temporary-transfer provision in some agreements can keep a worker in their prior country's system when the relocation of the activity is temporary, again generally when it is not expected to exceed five years.
The practical takeaway for anyone who has moved from employment to freelancing abroad: your coverage assignment may have changed the moment you stopped being an employee, even though your address did not.
How Much Self-Employment Tax Is Actually at Stake?
The self-employment tax rate is 15.3%, made up of 12.4% for Social Security and 2.9% for Medicare. The two halves behave very differently, which is why the total liability is not a straight percentage of profit.
- The 12.4% Social Security portion applies only up to the Social Security wage base, $184,500 for 2026 per the SSA. At the cap, that portion maxes out at $22,878.
- The 2.9% Medicare portion has no cap. It applies to every dollar of net self-employment earnings, so a high earner keeps paying it long after the Social Security portion stops.
- An additional 0.9% Medicare tax applies under IRC §1401(b)(2) once wages and self-employment income combined exceed $200,000 for single filers, $250,000 for joint filers, and $125,000 for married filing separately. The wages are counted first, and the 0.9% then hits the self-employment income above the threshold. These thresholds are set in statute and are not indexed for inflation, so they pull in more filers every year.
- Net earnings from self-employment are computed on 92.35% of net profit, reflecting the deduction under IRC §1402(a)(12), and one half of the self-employment tax is deductible in computing adjusted gross income.
For a freelancer with $100,000 of net profit, that works out to roughly $14,100. Over a five-year stay in a non-agreement country, the same person pays north of $70,000 on top of whatever the host country collects.
Does the FEIE or the Foreign Tax Credit Help At All?
No. Neither one reduces self-employment tax, and it is worth being precise about why, because the two are often assumed to be interchangeable safety nets.
The foreign earned income exclusion, claimed on Form 2555, operates on the income tax base under IRC §911. It is a powerful tool for income tax and irrelevant to IRC §1401. The foreign tax credit on Form 1116 credits foreign income taxes against US income tax. Foreign social security contributions are generally not income taxes and generally cannot be credited there.
The word "generally" is doing real work in that sentence, and it is worth pinning down where the line falls. In an agreement country the bar is statutory and absolute: section 317(b)(4) of the Social Security Amendments of 1977 denies both the IRC §164 deduction and the IRC §901 credit for social security taxes paid under an agreement's coverage assignment, so there is no argument to make. Outside an agreement's scope the analysis can differ. The IRS treats the French CSG and CRDS as creditable foreign income taxes precisely because those levies fall outside the US-France totalization agreement, which is the counterexample worth knowing before you write off a foreign levy as non-creditable by reflex.
That leaves the totalization agreement as the only instrument that reaches self-employment tax directly. Anyone planning a move abroad, including the digital nomads who cycle between countries, should treat the presence or absence of an agreement as a primary variable rather than a footnote. It frequently exceeds the income tax consequences in dollar terms.
There is also a benefits side that deserves a deliberate decision. Paying US self-employment tax buys you US Social Security and Medicare credits, while exempting out under an agreement means those credits accrue in the foreign system instead. For someone who plans to retire in the United States and is short of the 40-quarter threshold, continuing to pay in is not automatically wrong, though it is rarely the cheapest option.
Bottom Line
Self-employment tax is the liability that survives the foreign earned income exclusion, and most self-employed Americans abroad discover it the hard way. A totalization agreement, evidenced by a certificate of coverage properly attached to Form 1040 each year, is the only mechanism that exempts self-employment earnings from it by treaty. There are 30 such agreements in force, and if your country of residence is not among them, US self-employment tax stays due, with no credit available in either direction against any local social contributions you also owe.
The planning window is usually before the move. Confirming whether an agreement exists, identifying which country's system covers you, and starting the certificate request early are what separate a clean filing from a five-figure surprise. Our international tax and cross-border tax teams handle this analysis alongside the full expat return. Have questions about totalization agreements or self-employment tax abroad? Contact TS CPA for a free consultation. We respond within the same day.
Official IRS and Government Sources
- Social Security Administration, International Agreements Overview
- Social Security Administration, Status of Totalization Agreements
- Social Security Administration, Contribution and Benefit Base
- IRS, Self-Employment Tax for Businesses Abroad
- IRC Section 1401, Rate of Tax on Self-Employment Income
- IRC Section 1402, Definitions Relating to Self-Employment