Home  /  Helpful Guides  /  Tax Residency Explained: How 1040 and 1040-NR Differ and Why It Matters
International Tax

Tax Residency Explained: How 1040 and 1040-NR Differ and Why It Matters

Tax residency is one of the most misunderstood concepts in international tax compliance. The central question for U.S. federal income tax purposes is whether a person is treated as a U.S. resident or as a nonresident alien. That answer determines which return gets filed, what income is reportable, what deductions and credits are available, and whether you’re taxed on worldwide income or only on certain categories of U.S.-source income.

Tax Residency: The Green Card Test and Substantial Presence Test

The IRS addresses these rules in Publication 519, U.S. Tax Guide for Aliens. A person is usually a resident alien for tax purposes if they meet the green card test or the substantial presence test, unless an exception applies.

The green card test is straightforward: if you’re a lawful permanent resident of the United States at any time during the calendar year, you’re generally a resident alien for tax purposes. The substantial presence test is more mathematical — you generally meet it if you were physically present in the U.S. for at least 31 days during the current year and 183 days during a three-year measuring period, counting all days in the current year, one-third of the days in the first preceding year, and one-sixth of the days in the second preceding year.

Form 1040 vs. Form 1040-NR

U.S. citizens and resident aliens generally file Form 1040 and are taxed on worldwide income. Publication 519 puts it plainly: resident aliens are generally taxed the same way as U.S. citizens. That means wages, self-employment income, interest, dividends, capital gains, rental income, and many other items from both U.S. and foreign sources may need to be reported.

Nonresident aliens, by contrast, generally file Form 1040-NR and are usually taxed only on U.S.-source income and income effectively connected with a U.S. trade or business. The 2025 Instructions for Form 1040-NR explain categories of income that appear on Schedule NEC and clarify that nonresident reporting depends heavily on whether an item is effectively connected with a U.S. trade or business.

That difference between worldwide taxation and more limited source-based taxation is often the single biggest practical distinction between resident and nonresident filing.

Information Reporting and Foreign Accounts

Tax residency also affects information reporting outside the core income tax return. Because resident aliens are generally taxed on worldwide income, they may also have separate foreign asset and foreign account reporting obligations. FinCEN administers the FBAR filing for foreign financial accounts, and the IRS administers Form 8938 under separate thresholds. Those rules don’t apply in the same way to every nonresident alien.

A person can be a tax resident of one country under that country’s domestic rules, a tax resident of the United States under U.S. domestic rules, or both at the same time before a treaty tie-breaker is applied. Tax treaties can matter, but they don’t erase the need to first analyze the domestic-law framework.

Dual-Status Years and Common Mistakes

In a year when someone changes status, part of the year may be treated under resident rules and part under nonresident rules. Publication 519 addresses dual-status aliens and explains that special filing considerations apply. Those returns tend to be more technical and usually deserve more careful planning than a standard resident or nonresident filing.

Getting this wrong has real consequences. Underreporting foreign income on a resident return can create tax, penalties, and information-return exposure. Overreporting worldwide income on a nonresident return can produce unnecessary complexity or incorrect tax. Filing the wrong return can also create problems with withholding claims, treaty benefits, amended filings, and future immigration or financial documentation consistency.

If you’re unsure whether you should be filing Form 1040 or Form 1040-NR, the answer should come from a careful review of green card status, days of presence, exceptions, treaty positions, and income sourcing — not from guesswork.

Frequently Asked Questions

What is tax residency and how does it decide whether I file Form 1040 or Form 1040-NR?

Tax residency is the single fact that decides whether you file Form 1040 as a resident or Form 1040-NR as a nonresident, and it has almost nothing to do with your immigration status. The IRS runs two tests for tax residency. If you pass either one, you are a resident for tax purposes and you file Form 1040. The first is the green card test. If you hold a lawful permanent resident card at any point in the year, you are a resident no matter how many days you spent abroad. The second is the substantial presence test, and that one catches most people who are surprised to learn they owe U.S. tax on worldwide income. Plenty of folks on work visas, intracompany transfers, or long visits cross into resident status without ever changing their immigration paperwork.

The substantial presence test counts days of physical presence. You meet it if you were in the United States at least 31 days in the current year and 183 days over a three year window. The window is weighted. You count all the days this year, one third of the days the prior year, and one sixth of the days two years back. The IRS lays out the exact arithmetic on its substantial presence test page, and Topic 851 summarizes the categories at resident and nonresident aliens. The reason tax residency matters so much is the scope of what gets taxed. A resident on Form 1040 reports worldwide income, every dollar from every country. A nonresident on Form 1040-NR reports only income connected to the United States. That difference can swing a tax bill by tens of thousands of dollars, which is why settling your tax residency is the first thing we do, not the last.

Here is a worked example. Priya, an engineer from India, was in the United States 140 days in 2026, 150 days in 2025, and 120 days in 2024. The weighted count is 140 plus 50 plus 20, which is 210 days. That clears 183 and she has more than 31 current year days, so she meets the substantial presence test. She files Form 1040 as a resident reporting her worldwide income, including the rental income from her flat in Mumbai and the interest on her Indian savings account. Had she been here only 90 days in 2026, her weighted total would have fallen below 183 and she would have filed Form 1040-NR, reporting only her U.S. wages and ignoring the Mumbai rental for U.S. purposes. The same person, two very different returns, all driven by tax residency.

We see this every year. Someone counts only the current year, sees fewer than 183 days, and assumes they are a nonresident. The weighting from the two prior years pushes them over the line, and they have filed the wrong form. Certain days do not count toward tax residency at all. Days an exempt individual is present, such as a student on an F visa during the first five calendar years or a teacher on a J visa within the limits, are excluded, and you report those excluded days on Form 8843. A medical condition that keeps you from leaving the country also pauses the count. Tax residency is a yearly determination, so your status can flip from one year to the next as your travel pattern changes, and a year that put you in resident status will not carry forward automatically. If your day count is anywhere near the line, our individual tax return service can run the calculation before you file. If you have a more complicated cross border picture with foreign assets or treaty questions, our tax strategy consulting team can map it out so you file the right form the first time. Getting tax residency right is the foundation everything else on the return sits on.

How does the substantial presence test work for deciding tax residency under the 1040 versus 1040-NR rules?

The substantial presence test is the day counting math that determines tax residency for anyone without a green card, and it decides the 1040 versus 1040-NR question for most foreign nationals. You pass the test, and therefore become a resident filing Form 1040, when two conditions both hold. You were present in the United States at least 31 days during the current calendar year, and your weighted day total across three years reaches 183. Miss either condition and you are a nonresident filing Form 1040-NR for that year. The test runs fresh each year, so the same person can be a resident one year and a nonresident the next depending only on how many days they spent in the country.

The weighting is what trips people up. Count every day you were present this year as a full day. Count each day from the first prior year as one third of a day. Count each day from the second prior year as one sixth of a day. A day counts if you were physically in the country at any moment, even an hour during a layover where you cleared customs and entered. The IRS describes the mechanics and the exceptions on its substantial presence test page, and Publication 519 walks through dozens of fact patterns at the U.S. Tax Guide for Aliens. Both are worth reading before you assume your tax residency.

Worked example. Marco from Italy was present 130 days in 2026, 180 days in 2025, and 240 days in 2024. Current year full days are 130. Prior year at one third gives 60. Two years back at one sixth gives 40. Total is 230 weighted days. He clears 183 and has more than 31 current year days, so he meets the test and files Form 1040 as a resident reporting worldwide income. Now change one number. Suppose Marco was here only 100 days in 2026 with the same prior years. His weighted total is 100 plus 60 plus 40, still 200, still a resident. The current year count rarely saves you on its own once the prior years stack up, which is the part people miss when they eyeball a single year and assume nonresident status.

The exempt individual rules carve out whole categories of days from the substantial presence test. Students on F or M visas do not count their days for the first five calendar years. Teachers and trainees on J or Q visas do not count days for two years out of the prior six. Foreign government employees on A or G visas do not count their days either. To claim these exclusions you file Form 8843, even in a year where you owe no tax. We see this every year with graduate students who finish year five, keep excluding days out of habit, and suddenly meet the test in year six without realizing they have crossed into resident status and now owe tax on worldwide income. The closer connection exception offers another off ramp. If you were here fewer than 183 days in the current year, kept a tax home abroad, and had a closer connection to that foreign country than to the United States, you can file Form 8840 and remain a nonresident even though the day math says otherwise. The closer connection door slams shut once you hit 183 days in the current year alone, so it only helps in the middle range. Because tax residency resets each year, you have to rerun this every single filing season. Our tax compliance team runs the day count and the exclusions so the 1040 versus 1040-NR call is documented and defensible. If you want the analysis before the year ends, while you can still adjust your travel, start with a tax strategy consulting conversation.

What income does Form 1040 tax versus Form 1040-NR once my tax residency is settled?

Once tax residency is settled, the income scope splits sharply between Form 1040 and Form 1040-NR. A resident filing Form 1040 reports worldwide income. That means wages, interest, dividends, capital gains, rental income, and business profit from every country on earth, converted to dollars at the appropriate exchange rate. A nonresident filing Form 1040-NR reports a much narrower slice, only income that is effectively connected to a U.S. trade or business plus certain U.S. source fixed or determinable income. This is the practical heart of why tax residency matters, because the same person can owe wildly different amounts depending on which form applies and what their income looks like.

For nonresidents, U.S. source income breaks into two buckets that Form 1040-NR taxes differently. Income effectively connected to a U.S. trade or business, such as wages for work performed here or profit from a U.S. business, is taxed at the same graduated rates a resident pays, and you can take deductions against it. The second bucket, fixed or determinable annual or periodical income like U.S. dividends or certain interest and royalties, is generally taxed at a flat 30 percent or a lower treaty rate, withheld at the source, with no deductions allowed against it. The IRS explains this split on its taxation of nonresident aliens page, and the Form 1040-NR instructions show exactly where each type of income lands on the return.

Worked example. Kenji, a nonresident, earned 90,000 dollars in U.S. wages and received 5,000 dollars of dividends from a U.S. brokerage account. On Form 1040-NR the wages are effectively connected and taxed at graduated rates after deductions. The 5,000 in dividends is fixed or determinable income taxed at a flat 30 percent, so 1,500 dollars, unless a treaty between his country and the United States lowers that rate to 15 percent, which would cut the tax to 750. He also had 40,000 dollars of income from a business he runs in Japan. As a nonresident he ignores that 40,000 entirely for U.S. purposes. Had Kenji been a resident filing Form 1040, that 40,000 would have been added to his worldwide income and taxed at graduated rates, though he could then claim a foreign tax credit for the Japanese tax he paid so he is not taxed twice on the same dollar. The math is stark. As a nonresident Kenji is taxed on 90,000 dollars of wages plus the flat 30 percent dividend hit. As a resident he is taxed on 135,000 dollars of worldwide income before the foreign tax credit, a far wider base, which is exactly why the residency call comes first and the income reporting follows.

We see this every year. A nonresident assumes their home country salary is taxable in the United States and overpays, or a brand new resident forgets to report foreign rental income and underpays, then gets a notice. Both errors flow from misreading the income scope that tax residency sets. Nonresidents also lose access to the standard deduction in almost all cases, with a narrow exception for certain students and apprentices from India under a treaty, though they may itemize a limited set of deductions such as state taxes and certain charitable gifts. Nonresidents generally cannot file a joint return either. Residents get the full standard deduction, which for 2026 is 16,100 dollars for a single filer and 32,200 dollars for a married couple filing jointly, plus the full range of credits. That gap in deductions and credits, layered on top of the worldwide versus U.S. only income scope, is why two people with identical paychecks can owe very different amounts. If you own foreign assets or earn across borders, our individual tax return service handles the worldwide reporting and the currency conversion, and our tax strategy consulting team coordinates treaty positions and foreign tax credits so you do not pay twice on the same income.

What is a dual status year and how does it affect my tax residency and filing?

A dual status year happens when your tax residency changes partway through the calendar year, so you are a nonresident for part of it and a resident for the rest. This is common in the year you arrive in the United States and in the year you leave for good. During the nonresident portion you are taxed only on U.S. source income, and during the resident portion you are taxed on worldwide income. You file one return that stitches both periods together, which is why dual status years are among the messiest filings we handle and the ones people most often get wrong on their own.

The mechanics depend on which way you are moving across the tax residency line. If you arrive and become a resident during the year, you generally file Form 1040 as your main return with Form 1040-NR attached as a statement covering the nonresident part of the year. If you leave and your residency ends, you file Form 1040-NR as the main return with a Form 1040 statement for the resident months. The residency starting date under the substantial presence test is usually the first day you were present during the year you meet the test. The IRS describes the starting and ending dates and the first year choice that can pull your residency start earlier, and Publication 519 devotes a full chapter to dual status returns at the U.S. Tax Guide for Aliens.

Worked example. Lin moved from Taiwan to New York on July 1, 2026 and met the substantial presence test for the year. Her residency starting date is July 1. From January through June she is a nonresident and reports only the U.S. consulting income she earned remotely for an American client, say 20,000 dollars. From July onward she is a resident and reports her worldwide income, including her New York salary of 70,000 dollars and any foreign investment income earned after July 1. The two periods combine on one dual status return, with the nonresident months shown on the attached statement. The catch is that dual status filers face real restrictions. They cannot claim the standard deduction, they generally cannot file jointly, and they cannot use the head of household rates, which can push the effective tax rate higher than a full year resident with the same income would pay.

We see this every year. New arrivals file a plain Form 1040 for the whole year and claim a full standard deduction they were not entitled to in a dual status year, or they file a plain 1040-NR and skip the worldwide income from after their residency began. Both produce a return the IRS will adjust, usually with interest. There is sometimes a better path. A married new arrival can elect under section 6013 to be treated as a resident for the entire year, which unlocks joint filing and the full standard deduction, though it also means reporting worldwide income for the whole year including the months before arrival. Whether that election helps depends entirely on the numbers, since reporting more income to grab a bigger deduction only wins in some cases. That is the kind of judgment call our tax strategy consulting team runs before you commit, modeling the return both ways before either spouse signs anything. Timing also matters because the first year choice and the section 6013 election each have their own statements and deadlines, and a late or missing statement can cost you the benefit entirely. The preparation itself, including the attached statement, the income allocation between periods, the currency conversion, and any election language, is handled through our individual tax return service so the dual status year is filed correctly the first time and you do not spend the following spring answering an IRS adjustment notice.

How does a tax treaty change my tax residency outcome between Form 1040 and Form 1040-NR?

A tax treaty can override the day counting result and change your tax residency outcome even after you meet the substantial presence test. The United States has income tax treaties with roughly 60 countries, and each one contains a tie breaker provision for people who would otherwise be residents of both countries in the same year. If the treaty assigns you to your home country under that tie breaker, you can be treated as a nonresident for U.S. tax purposes and file Form 1040-NR, claiming the treaty position even though the substantial presence test alone would have made you a resident filing Form 1040 on worldwide income.

The tie breaker runs through a sequence of factors in order, and you stop at the first one that breaks the tie. First, where you have a permanent home available to you. If you have one in each country, the test moves to your center of personal and economic interests, meaning where your closer family, social, and financial ties sit. If that is unclear, it looks at your habitual abode, then your nationality, and finally a mutual agreement between the two governments. You claim a treaty based residency position by filing Form 8833 with your return to disclose the treaty article you are relying on. The IRS explains how residency is determined and where treaties fit on its determining tax residency status page, and Publication 519 covers the treaty tie breakers in detail at the U.S. Tax Guide for Aliens.

Worked example. Sofia, a German citizen, was assigned to a U.S. office for 200 weighted days in 2026, so she meets the substantial presence test and would otherwise file Form 1040. Her family, her home, and her main bank accounts all stayed in Munich, and she returns there most weekends. Under the United States Germany treaty tie breaker, her permanent home and center of personal and economic interests both point to Germany. She files Form 1040-NR, attaches Form 8833 citing the residency article, and is taxed only on her U.S. source income rather than her worldwide income. Without the treaty she would have filed Form 1040 and reported her German salary, her German investment income, and the gain on a flat she sold in Berlin. The treaty saved her from U.S. tax on all of that foreign income.

We see this every year. People claim a treaty benefit but skip Form 8833, which the IRS can treat as a failure to disclose carrying its own penalty, often 1,000 dollars for an individual. Others claim a tie breaker when the facts do not support it, for instance arguing for closer ties to a home country while their spouse and children have already relocated to the United States and the kids are enrolled in U.S. schools. The treaty does not erase your filing duty either. You still file a U.S. return, you just file the nonresident version with the disclosure attached, and you still report the U.S. source income. Treaty positions also interact with withholding on your paychecks, foreign tax credits, and totalization agreements that decide which country collects Social Security tax, so they rarely sit in isolation on a return. Reading the specific treaty matters because the tie breaker language and the covered income vary country by country. Our tax strategy consulting team reads the applicable treaty and documents the position in writing, and our tax compliance group prepares the return and the Form 8833 disclosure so the residency claim holds up if the IRS asks. If a treaty might apply to you, get the analysis on paper before you file rather than after a notice arrives.

Contact Us