Work

US-Citizen AI Contractors Abroad: The FEIE Self-Employment-Tax Trap

The Foreign Earned Income Exclusion wipes your income tax, not your Social Security and Medicare bill. Here is the trap and the fix.

July 14, 20266 min readInformational only
A sunlit apartment desk by a window with papers and a closed laptop in warm morning light

If you are a US-citizen AI contractor living abroad, the Foreign Earned Income Exclusion (FEIE) can drop your federal income tax on earned income to roughly zero, up to about USD 130,000 for the 2025 tax year. The painful surprise: it does nothing to your self-employment tax. As a freelancer or sole proprietor you still owe the full 15.3 percent for Social Security and Medicare on your net profit, even on income the FEIE excludes. The only clean way out is being covered by a totalization agreement country, which lets you pay into that country's system instead and get a certificate of coverage. This is informational, not legal, immigration, tax, or financial advice.

What the FEIE actually does (and does not do)

The FEIE lets a qualifying US person exclude foreign earned income from US federal income tax, up to a cap that is indexed each year (USD 130,000 for 2025, per qualifying person). You claim it on Form 2555. To qualify you have to pass one of two tests:

  • Physical presence test: you are physically in a foreign country for at least 330 full days during any rolling 12-month period.
  • Bona fide residence test: you are a genuine resident of a foreign country for an uninterrupted period that includes a full tax year.

Pass either one, and wages or contractor income up to the cap come off your income-tax base. If you earn more than the cap, only the excess is taxed, and the Foreign Tax Credit or the Foreign Housing Exclusion may cover part of that. See the official IRS Foreign Earned Income Exclusion page and the IRS page on figuring the exclusion for the current numbers.

Here is the part the FEIE marketing rarely says out loud: the exclusion is an income tax tool only. It touches one line of your return. Self-employment tax sits on a completely separate line and follows different rules.

USD 100k earned abroad: the two-tax split$130kFEIE cap for 2025per qualifying person, indexed$0Federal income tax on the$100kexcluded if you qualify for FEIE~$14kSelf-employment tax stillowed15.3 percent, FEIE does not remove itDirectional worked example for a self-employed contractor. FEIE zeroes income tax, not SE tax, unless a totalization agreement covers you.
For a self-employed US citizen abroad, the FEIE zeroes income tax but leaves the 15.3 percent self-employment tax. See the IRS self-employment tax for businesses abroad page.

The self-employment tax the FEIE cannot touch

If you invoice clients as a freelancer, run a single-member LLC, or otherwise report self-employment income, you owe self-employment tax on your net earnings. The rate is 15.3 percent: 12.4 percent for Social Security plus 2.9 percent for Medicare. The IRS is blunt about the interaction with the FEIE. As the official IRS page on self-employment tax for businesses abroad puts it, you must pay self-employment tax on all your net profit even if you claimed the foreign earned income exclusion.

Work a quick example. Say you net USD 100,000 as a contractor while living abroad and you qualify for the FEIE:

  • Federal income tax: roughly USD 0, because the FEIE excludes the whole amount (it sits under the cap).
  • Self-employment tax: around USD 14,000, because 15.3 percent applies to about 92.35 percent of net earnings and the FEIE does not reduce it.

So the "I moved abroad and pay no US tax" story is half true. The income tax can genuinely go to zero. The Social Security and Medicare bill does not, and for a healthy AI contracting income that is a five-figure line every year. A W-2 employee of a foreign company usually escapes this, because employment abroad is treated differently. A self-employed contractor generally does not.

The fix: totalization agreements and the certificate of coverage

The escape hatch is a Social Security Totalization Agreement. The US has agreements with roughly 30 countries that stop the same work being taxed for social security in two places at once. If an agreement assigns your coverage to the country where you live and work, you pay into that country's social system and are exempt from US self-employment tax on the same income.

The proof you need is a certificate of coverage. If coverage is assigned to the foreign country, that country's social security authority issues the certificate, and you keep it to show you are exempt from the US side. You then attach a statement to your US return noting that your earnings are covered under the agreement, so the IRS does not bill you the 15.3 percent. Check whether your country is on the list on the official SSA totalization agreements overview, and see the SSA certificate of coverage page for how the certificate works.

Countries with US agreements include Germany, the Netherlands, France, the UK, Ireland, Switzerland, Australia, Japan, and South Korea, among others. Notable gaps as of 2026: places popular with nomads like the UAE, Singapore, and Georgia have no agreement, so a self-employed US citizen there generally stays on the hook for US self-employment tax. If low tax is the whole reason you picked a base, that gap matters. Our walkthrough of Georgia's 1 percent freelancer tax and the guide to digital-nomad visas for AI engineers both look attractive until you remember the US SE tax rides along.

What to do before you file

  1. Confirm your worker type. True self-employment (invoicing clients, 1099-style income, your own LLC) triggers SE tax. A genuine foreign employer on local payroll usually does not. Get this classification right first.
  2. Check the agreement list. Look up your country of residence on the SSA overview. No agreement means budget for the full 15.3 percent now, not in April.
  3. If covered, request the certificate. Apply to the foreign social security authority (they issue it when coverage is assigned to them) and keep the certificate with your records.
  4. Attach the statement to your US return. Note the totalization agreement so the IRS waives US self-employment tax on that income.
  5. Model both taxes together. Run FEIE income tax and SE tax as two separate numbers. A country with income tax you can exclude may still cost you 15.3 percent with no agreement.
  6. Get a cross-border accountant for year one. Form 2555, Schedule SE, and the agreement statement interact in ways that are easy to file wrong. One review pays for itself.

The honest takeaway

The FEIE is real and worth claiming, but treat it as an income-tax tool and nothing more. Whether you actually save money as a self-employed contractor comes down to one question: is your country covered by a totalization agreement? If yes, you can legitimately drop both income tax and US self-employment tax, and the move pays off. If no, expect to keep paying 15.3 percent to the US regardless of how low the local rate is, which quietly erases a lot of the "tax haven" math. Founders and salaried staff face different versions of this, so the right base really depends on how you earn. If you want the after-tax and social-contribution picture side by side, compare all 21 countries in the AI Relocation Guide before you commit to an address.

Rule of thumb: the FEIE zeroes your income tax, not your 15.3 percent. Only a totalization agreement country turns the self-employment tax off too.

This guide is informational and educational only. It is not legal, immigration, tax, or financial advice. Rules, salaries, and timelines change often, so confirm the current details with official government sources and a qualified professional before you act on anything here.