VOLUME 2 · CHAPTER 5 OF 8

Tax Treaties and Social Security Agreements

What an income tax treaty decides, the saving clause that limits it for residents, the residency tie-breaker and Form 8833, how to read the IRS treaty tables, and what totalization agreements do for Social Security.

6 min readStrategies0 worked examplesupdated 2026-10-01
TRY IT WITH YOUR NUMBERSOpen the full calculator →
Loading the Social Security for visa holders…
Same formula and engine as the full calculator. Your numbers stay in this browser.

"There is a tax treaty, so I won't be taxed twice" is one of the most repeated lines among people who move countries, and one of the least precise. The United States has two very different kinds of agreement with other countries. An income tax treaty decides which country may tax which income, and at what rate. A totalization agreement deals only with Social Security: which country's system you pay into, and whether years of work in both can be combined into one pension. This chapter explains what each does, the clause that limits treaties for residents, and how to check what your own country has signed.

What an income tax treaty does

A tax treaty is an agreement between two countries that assigns taxing rights. Typical articles say that a pension is taxed where the retiree lives, that interest and dividends may be taxed at source but only up to a capped rate, that a student's scholarship or a visiting researcher's pay is exempt for a time, and how to decide residence when both countries claim you. The United States has income tax treaties with many countries; the IRS lists them in its "United States income tax treaties, A to Z" pages and summarises them in a set of treaty tables.

Two things a treaty does not do are worth stating plainly. It does not make income disappear: it decides who taxes it first, and the foreign tax credit (chapter 3) usually does the work of avoiding double tax. And it does not apply automatically: you usually claim a benefit, either with the payer, for example on Form W-8BEN or Form 8233 while you are a nonresident, or on your return.

The saving clause: why residents get less

Almost every US treaty contains a saving clause, which lets the United States tax its own residents as if the treaty did not exist. IRS Publication 519 says a resident alien generally cannot claim treaty benefits, with exceptions such as the provisions on credits for foreign taxes, some retirement income and Social Security benefits. Each treaty lists its own exceptions, and some treaties let a student or researcher keep a specific benefit after becoming a resident if the conditions in that article are met.

This is why the same treaty can matter a great deal to an F-1 student in the exempt years and very little to an H-1B worker in year three. The student is a nonresident and can use the student article. The worker is usually a resident and, for most income, is taxed like a citizen. One example from Publication 519: under article 21(2) of the treaty with India, students and business apprentices from India who are nonresident aliens may claim the standard deduction, which nonresidents normally cannot.

When two countries both call you a resident

You can be a US resident under the substantial presence test and, at the same time, a resident of your home country under its law. Most treaties have a tie-breaker article that settles this, looking in turn at where you have a permanent home, where your personal and economic ties are closer, where you habitually live, and your nationality. If the tie-breaker makes you a resident of the other country, Publication 519 says you are treated as a nonresident alien for US income tax, though you remain a resident for certain other purposes. You must file Form 8833 to take this position.

The tie-breaker is a real option for someone who is clearly based abroad but crossed the day count, and a risky one for someone living here. It can affect your green card application, retirement accounts and reporting duties, so it is a decision for a cross-border professional, not a form to tick.

Reading a treaty for your own case

The IRS treaty tables are the fastest place to start. Table 1 lists rates on interest, dividends, royalties, pensions and Social Security payments; Table 2 covers pay for personal services, including the student and teacher articles. Both carry the same warning: they are not a complete guide to eligibility, and you should read the treaty text and its Treasury technical explanation. Table 1 also says it is written for US income paid to residents of the other country and should not be relied on for what the other country may charge a US resident, although the rates are generally the same. For India, Table 1 shows 15% on interest in general and 25% on dividends in general (15% on qualifying dividends), with a note that some kinds of interest get lower rates.

Totalization agreements: Social Security across borders

A totalization agreement is not a tax treaty, and a country can have one without the other. The Social Security Administration describes two purposes. First, the agreements end dual Social Security taxation, where a worker from one country working in another must pay into both systems on the same earnings. Second, they fill gaps in benefit protection for workers who split their careers between the two countries.

Which system you pay into. The usual rule is that you pay into the system of the country where you work. The main exception is the detached-worker rule: an employee sent by an employer to work in the other country for a stay expected to last five years or less generally stays in the home system and is exempt in the host country. The exemption has to be documented with a certificate of coverage from the country that keeps covering you.

Combining credits. A US retirement benefit needs 40 credits, about ten years of covered work. Under an agreement, SSA can count your periods of coverage in the other country toward that requirement, but only if you have at least 6 US credits. The benefit paid is then partial, in proportion to the share of your career worked in the United States.

As of late September 2026, the United States has agreements in force with 31 countries, mostly in Europe plus Australia, Brazil, Canada, Chile, Japan, South Korea and Uruguay; Romania's entered into force on September 1, 2026. India and China are not on the list. For workers from those countries, US Social Security and Medicare tax is withheld on US wages in the normal way, and whether those years produce a US benefit depends on earning 40 US credits on their own. Students on F-1 and J-1 visas are a separate case: while they are nonresident aliens, pay for on-campus work and authorised practical training is generally exempt from these taxes, as Volume 1 of this shelf explains.

YOUR NEXT STEPSDo this now
  1. Find your country in the IRS treaty tables and note the articles that touch you: students or researchers, interest, dividends, pensions, Social Security.
  2. If you are still a nonresident, check whether a treaty article lowers your US tax and what form your employer or school needs to apply it.
  3. If you are a resident in both countries this year, read the tie-breaker article and discuss Form 8833 with a professional before deciding anything.
  4. Check whether your country has a totalization agreement, and see what US benefit your work here might earn, with the Social Security for visa holders calculator.
  5. If an employer is sending you to or from an agreement country for under five years, ask about a certificate of coverage before the move.

This chapter describes treaty and Social Security agreement rules as of 2026 in general terms. It is not personal tax or legal advice: every treaty is different, and the article that applies depends on your country, your status and your income.

KEY TERMS
Tax treatyTotalization agreementResident and nonresident alien (for tax)FICA exemption for F-1 and J-1 studentsFICA tax
SOURCES
Saved in this browser. Sign in to keep it on every device.
WORK IT OUT WITH YOUR NUMBERS
1099 vs W-2 comparison →Is a 1099 contract at $X better than a W-2 salary at $Y?Side hustle take-home and years-sooner-to-FI →What does my side hustle really pay per hour after tax, and how much faster does it get me to FI?401(k) withdrawal when leaving the US →Leaving the US on a visa: what do I net if I cash out now vs later, leave it or roll it over?
QUICK ANSWERS
What is the substantial presence test? →