Almost every wrong answer in US tax starts with the same assumption: that your tax position follows your visa. It does not. Someone on a work visa can be a full US tax resident taxed on worldwide income. Someone who spent four months a year in the US for three years can be too, without ever holding a visa that suggests permanence. And a student on an F-1 can spend five years in the country without becoming one.

The rules are mechanical and knowable. This guide works through them in the order that actually matters: whether you are a US taxpayer, which main form that produces, and which additional forms attach to it.

This is general information about published IRS rules, not tax advice, and it cannot be applied to your facts. US tax for non-residents is genuinely complex and the penalties for the reporting forms are severe. Check the current rules at irs.gov and use a qualified preparer with international experience where anything here is not clearly simple.

Step one: are you a US taxpayer at all?

Three categories, and the differences are large.

US citizens and green card holders are taxed on worldwide income, wherever they live and however long they have been away. Citizenship-based taxation is unusual internationally and catches people who have not set foot in the country for decades. If this is you, the companion guide on US tax filing for Americans living abroad covers your position in more depth than this one.

Resident aliens are taxed the same way as citizens — on worldwide income. You become one by passing either of two tests:

  • The green card test — you were a lawful permanent resident at any time during the year
  • The substantial presence test — the day-counting formula below

Nonresident aliens are taxed only on US-source income, and on income effectively connected with a US trade or business. A nonresident alien is defined negatively: someone who has passed neither the green card test nor the substantial presence test.

That last definition is the whole game. Everything else follows from which side of it you fall.

The substantial presence test

You meet it if you were physically present in the United States on:

  1. At least 31 days during the current year, and
  2. At least 183 days across a three-year period, counting:
    • all the days present in the current year, plus
    • one third of the days present in the first preceding year, plus
    • one sixth of the days present in the second preceding year

Both conditions must hold. Thirty days this year fails regardless of the three-year total.

A worked example. You were in the US for 120 days in each of 2024, 2025 and 2026.

  • 2026: 120 days, counted in full = 120
  • 2025: 120 ÷ 3 = 40
  • 2024: 120 ÷ 6 = 20
  • Total: 180

That is below 183, so you do not meet the test — by three days. Had you spent 130 days in each year, the total would be 195 and you would be a US tax resident for 2026, taxed on your worldwide income.

This is why people who split their year between countries need to count deliberately rather than approximately. The difference between 120 and 130 days a year is the difference between being taxed on US income and being taxed on everything you earn anywhere.

A day is a day. Partial days generally count as full days of presence.

The days that do not count

Several categories are excluded, and one of them is large enough to change most students’ answers entirely.

Days that do not count as presence:

  • Days you regularly commuted to work in the US from a residence in Canada or Mexico
  • Days you were in the US for less than 24 hours while in transit between two places outside the US
  • Days you were a crew member of a foreign vessel
  • Days you could not leave because of a medical condition that arose while you were in the US

Exempt individuals — whose days do not count at all:

  • Foreign government-related individuals on A or G visas, excluding A-3 and G-5
  • Teachers and trainees on J or Q visas who substantially comply with the visa requirements
  • Students on F, J, M or Q visas who substantially comply with the visa requirements
  • Professional athletes temporarily present to compete in a charitable sports event

The student exemption is the one that reshapes the picture. An F-1 student can be in the United States continuously and still not meet the substantial presence test, because none of those days count while the exemption applies. That is why many international students correctly file Form 1040-NR year after year while living in the country full time.

The exemption is not indefinite, and it depends on substantially complying with the visa requirements. When it ends, the day-counting begins and tax residence can arrive quickly.

Step two: which main form

Form Who files it
1040 US citizens, green card holders, and resident aliens under the substantial presence test
1040-SR Optional alternative to the 1040 for anyone aged 65 or over, with the same schedules and instructions
1040-NR Nonresident aliens engaged in a US trade or business; those with US income where the tax liability was not satisfied by withholding at source; those representing a deceased person or an estate or trust that must file

The 1040-SR is a formatting variant — larger type, a standard deduction chart on the form itself — not a different tax treatment. If you qualify for it, it changes nothing about what you owe.

You may also need to file a 1040-NR to claim a refund, or to claim deductions and credits, even where nothing is owed. If withholding at source took more than your actual liability, the only way to get it back is to file.

Step three: which forms attach

Once you know your main form, the attachments depend on your circumstances.

Form 2555, Foreign Earned Income Exclusion. For citizens and resident aliens with foreign earned income. For tax year 2026, the maximum exclusion is $132,900 per qualifying person, up from $130,000 for 2025. The foreign housing expense limit is $39,870, with a base amount of $21,264.

To qualify you must meet either the bona fide residence test — a bona fide resident of a foreign country for an uninterrupted period including an entire tax year — or the physical presence test, which requires at least 330 full days in a foreign country during any 12 months in a row.

Order matters: compute the housing exclusion first, because the income exclusion is then limited to foreign earned income minus any housing exclusion claimed.

Form 1116, Foreign Tax Credit. A credit for foreign income taxes on income also subject to US tax. Only income, war profits and excess profits taxes qualify.

You can claim the credit without filing Form 1116 if all your foreign-source gross income is passive category income reported on a qualified payee statement, and your total creditable foreign taxes are no more than $300, or $600 on a joint return. Taking that election means those taxes cannot carry over to or from any other year.

Where Form 1116 is filed, unused credits carry back one year and forward ten.

The critical interaction: you cannot use both the exclusion and the credit on the same income. You cannot take a credit or deduction for foreign taxes paid on income you excluded, and claiming the credit may be treated as revoking the exclusion election. Which is better depends on the foreign tax rate relative to the US rate, and on how much you earn relative to the exclusion cap. The guide to tax treaties covers the trade-off in more detail.

The two reporting forms people miss

These are informational filings. They often produce no tax at all, and their penalties are nonetheless among the heaviest in the code.

FBAR — FinCEN Form 114. Required if you are a US person with a financial interest in, or signature authority over, at least one financial account outside the United States, and the aggregate value of those accounts exceeded $10,000 at any time during the calendar year.

Read that carefully. It is aggregate, not per account — five accounts of $2,500 each trigger it. And it is at any time, not at year end, so a balance that peaked for one day counts.

It is due 15 April, with an automatic extension to 15 October that you do not have to request. It is not filed with your tax return — it goes electronically through FinCEN’s BSA E-Filing System. Individuals can file without registering an account; professionals filing for clients must register as an institution.

A note on penalties: FBAR civil penalty maximums are adjusted annually for inflation, and the IRS’s own page warns that published figures may not be current. Any specific dollar amount you see quoted should be checked against the current position rather than relied on.

Form 8938 — FATCA. Reports specified foreign financial assets. The thresholds depend on filing status and, critically, on whether you live abroad:

Filing status Residence Year end Any time in year
Unmarried In the US $50,000 $75,000
Married filing jointly In the US $100,000 $150,000
Married filing separately In the US $50,000 $75,000
Unmarried or MFS Abroad $200,000 $300,000
Married filing jointly Abroad $400,000 $600,000

“Living abroad” is defined by tax-home and physical-presence tests, not by where you say you live.

Form 8938 and the FBAR overlap but are not the same. Different thresholds, different agencies, different forms. Meeting one does not discharge the other, and many people must file both.

If you own a US LLC

A category of its own, because the obligation is easy to miss entirely and the penalty is specific.

A foreign-owned US disregarded entity — a US LLC wholly owned by a foreign person, not electing corporate treatment — is treated as a reporting corporation. If it had a reportable transaction with a related party during the year, it must file Form 5472.

The mechanics are unusual. Form 5472 attaches to a pro forma Form 1120, even though a disregarded entity does not otherwise file one. Write “Foreign-owned U.S. DE” across the top. It cannot be e-filed — it goes by fax or post to a dedicated address.

The penalty is $25,000 for failing to file when due and in the required manner, with a further $25,000 per related party for each 30-day period once the failure continues more than 90 days after IRS notification.

“Reportable transaction with a related party” is broader than it sounds: money you contribute to your own LLC and money you take out can both qualify. A company with no customers can still have a filing obligation.

If you hold a US LLC, see the guide on getting a US EIN as a non-resident, which covers this obligation in more detail.

Deadlines and extensions

Date What
15 April Form 1040 due; 1040-NR due where wages were subject to withholding; FBAR due
15 June 1040-NR due where no wages were subject to withholding; automatic two-month extension deadline for those living abroad
15 October Form 4868 extension deadline; automatic FBAR extension
15 December Discretionary further extension, by letter, for those abroad

The automatic two-month extension applies if, on the regular due date, you are living outside the United States and Puerto Rico, or on military duty outside them. On a joint return, either spouse qualifying is enough.

You must attach a statement to your return explaining which situation qualified you. This requirement appears in Publication 54 but not on the corresponding IRS web page, and it is routinely missed.

Interest still runs. An extension to file is not an extension to pay. Interest accrues on any tax unpaid at the regular due date regardless of any extension.

Form 4868 extends to 15 October. Request it by the automatic-extension date — 15 June for calendar-year filers living abroad — and tick the box for being out of the country.

A further two months to 15 December can be requested by letter explaining why, sent by 15 October. You will not hear back unless it is denied.

Form 2350 is different and often confused with the others. It is the extension used when you need more time to meet the bona fide residence or physical presence test for the foreign earned income exclusion.

Dual-status years

The year you arrive, and the year you leave, are frequently dual-status years: nonresident for part of it and resident for the rest.

The main consequence to know: you cannot take the standard deduction, even for the part of the year you were a resident alien. For someone who would otherwise have claimed it, that is a significant difference in tax.

Dual-status returns are genuinely awkward to prepare. They involve two computations stitched together, with restrictions on filing status and credits. This is the clearest case in this guide for using a preparer rather than software.

They also tend to be the years where the most is at stake. An arrival year often includes a relocation payment, a sign-on bonus, or the sale of assets in the old country ahead of the move — and whether those fall on the resident or nonresident side of the split can change the tax on them substantially. The residency start date is not arbitrary, and in some circumstances it can be affected by the elections described above, which is precisely why the arrival year is worth planning rather than reconstructing in April.

The departure year has the mirror problem. Income received after you cease to be a resident is treated differently from income received before, and deferred compensation, final bonuses and vesting equity frequently straddle the line.

The elections that change the answer

Two choices can move you across the resident/nonresident line deliberately, and both are worth knowing because they are sometimes advantageous.

The first-year choice. Someone who does not meet the substantial presence test in their arrival year, but will meet it the following year, can in defined circumstances elect to be treated as a resident for part of the arrival year. This can be useful where you have deductions or credits that are only available to residents, and unhelpful where it pulls foreign income into the US net earlier than necessary.

The non-resident spouse election. Where one spouse is a US citizen or resident and the other is not, they can elect to treat the non-resident spouse as a US resident for the whole year, which allows a joint return. The benefit is the joint rates and the standard deduction. The cost is that the non-resident spouse’s worldwide income comes into the US tax net, and the election continues until revoked.

There is a trap attached to that second election. A non-resident spouse who has elected to be treated as a US resident cannot then claim to be a foreign resident in order to access treaty benefits. You cannot be a US resident for the rates and a foreign resident for the treaty.

Both elections are genuine planning decisions with multi-year consequences, not form-filling choices. They are worth raising with a preparer rather than making alone.

What “US-source income” actually means

If you are a nonresident alien, your liability turns on whether income is US-source and whether it is effectively connected with a US trade or business. The distinction drives both the rate and the form.

Effectively connected income — broadly, income from actively carrying on a business or performing services in the United States — is taxed at the graduated rates that apply to residents, on a net basis after deductions. It is reported on Form 1040-NR in the ordinary way.

Fixed, determinable, annual or periodical income — the category that covers dividends, interest, rents and royalties — is taxed differently. The statutory rate is a flat 30% on the gross amount, with no deductions, usually collected by withholding at source before the money reaches you. A treaty can reduce that rate substantially, which is the subject of the companion guide.

The practical consequence for the forms: if withholding at source already satisfied your liability on FDAP income and you have no effectively connected income, you may have no filing requirement at all. If the withholding took too much — which happens routinely where a treaty rate applies but was not claimed — filing a 1040-NR is how you recover it.

This is why some non-residents who owe nothing should still file. The refund does not arrive by itself.

Getting the numbers in the first place

A practical problem that trips up first-time filers more than any rule does: assembling the inputs.

US payers issue information returns. Employees receive a W-2. Contractors and others receiving miscellaneous payments receive a 1099 of some variety. Nonresident aliens receiving income subject to withholding at source receive a 1042-S, which is the one most people have never heard of and which frequently arrives later than the others.

Foreign income has no US paperwork at all. Nothing arrives in the post. You are expected to convert it yourself, using IRS-approved exchange rates, and to document the conversion. Every foreign figure — income, account balances, taxes paid — needs this treatment, and it is tedious enough that it is a large part of why international returns cost more to prepare.

Foreign tax paid needs its own evidence. If you are claiming the foreign tax credit, you need records of what was actually paid or accrued, not an estimate.

Account balances need to be the peak, not the closing figure. For FBAR purposes you need the maximum value during the year, which means pulling statements rather than checking a current balance.

Start this in January, not April. The documents that arrive late are usually the ones you most need.

Common mistakes

Assuming your visa determines your tax residence. It does not. The substantial presence test does, with the exempt-individual rules on top.

Counting days loosely. The difference between 180 and 183 weighted days is the difference between US-source taxation and worldwide taxation.

Forgetting that the student exemption ends. When it does, days start counting and residence can follow fast.

Treating the FBAR threshold as per account. It is aggregate, and it is measured at the highest point in the year.

Thinking Form 8938 and the FBAR are the same filing. Different thresholds, different agencies, both may apply.

Taking the extension and assuming the tax is deferred too. Interest runs from the original due date.

Missing the statement with the automatic two-month extension. It is required, and the web page does not mention it.

Owning a US LLC and never hearing of Form 5472. $25,000, and a dormant company can still owe the filing.

Trying to use the exclusion and the credit on the same income. You cannot, and attempting it can revoke the exclusion election.

A worked path through the tree

Four situations, run through the steps above, to show how the same rules produce different answers.

The F-1 student, four years in. On an F visa, substantially complying with its requirements, so an exempt individual — none of the days count toward the substantial presence test, regardless of how many there are. Nonresident alien. Files 1040-NR if there was US income or withholding to reclaim. The FBAR and Form 8938 obligations apply to US persons, so generally do not bite. The thing to watch is when the exemption ends.

The H-1B holder in their second full year. No exemption applies. Days in the US run well past 183 on the weighted formula. Resident alien, taxed on worldwide income, files Form 1040. Foreign bank accounts from home now matter — if they aggregated over $10,000 at any point, an FBAR is due, and Form 8938 may be too. This is the most commonly missed transition in this whole guide, because nothing about the visa changes in the year the tax position does.

The consultant who visits for four months a year. 120 days each year gives a weighted 180 — below the threshold, so a nonresident alien, filing 1040-NR on US-source income. But the margin is three days. One extra fortnight in a single year flips the answer and brings worldwide income into scope. Anyone in this pattern should be counting deliberately.

The foreign founder of a US LLC who has never set foot in the country. No presence, so no substantial presence test, so a nonresident alien. Possibly no personal filing obligation at all. But if the LLC is a foreign-owned disregarded entity with reportable related-party transactions, Form 5472 with a pro forma 1120 is due, with a $25,000 penalty attached. The entity has an obligation even though the person may not.

The pattern across all four: the answer comes from the day count and the entity structure, never from the visa label.

Where these figures come from

The substantial presence test formula, the excluded days and the exempt individual categories are from the IRS Substantial presence test page, updated 14 March 2026. Form descriptions are from the About pages for Forms 1040, 1040-NR and 1040-SR, updated October 2026 and May 2026, with 1040-NR due dates from the 2025 Instructions for Form 1040-NR.

Tax year 2026 exclusion amounts are from the Instructions for Form 2555 (2026), updated 5 November 2026, and Revenue Procedure 2025-32. Foreign tax credit rules are from the IRS Foreign Tax Credit page updated 9 July 2026, the Instructions for Form 1116 (2025) and Publication 514 (2025).

FBAR requirements are from the IRS FBAR page updated 30 July 2026 and FinCEN. Form 8938 thresholds are from the IRS page updated 20 September 2026. Form 5472 requirements and the penalty are from the Instructions for Form 5472 (Rev. December 2024), page updated 30 April 2026. Deadlines and extensions are from the IRS page for US citizens and resident aliens abroad, updated 20 October 2026, and Publication 54.

All checked on 7 November 2026. Exclusion amounts change every tax year — confirm the figure for the year you are filing.