Navigating the U.S. tax system can feel like wandering through a complex maze, especially when you are balancing immigration status with financial compliance. Whether you are here on a work visa, as a lawful permanent resident, or are currently undocumented, understanding your tax obligations is a vital part of your financial health. Millions of immigrants contribute significantly to the American economy, yet the rules governing how you are taxed often depend on a variety of technical factors, from residency dates to specific work authorizations.
In this guide, we aim to shed light on how tax laws apply to different immigrant communities. By distinguishing between resident and nonresident aliens and explaining the nuances of the Substantial Presence Test, we hope to provide you with the clarity needed to meet your legal requirements while ensuring you don't miss out on available tax benefits.
It is common to assume that your status with U.S. Citizenship and Immigration Services (USCIS) is the same as your status with the IRS, but that is rarely the case. For immigration purposes, the law generally looks at three specific categories:
Immigrants: These are individuals granted the right to live and work in the U.S. permanently. Often called Lawful Permanent Residents (LPRs), they typically hold a “green card” (Form I-551) or a temporary I-551 stamp in their passport. For tax purposes, these individuals are almost always treated as residents.
Nonimmigrants: This group resides in the U.S. on a temporary basis, governed by the specific terms of their visa.
Undocumented Aliens: This category includes those who entered the country without documentation or those who may have stayed past their authorized period. While their immigration status is sensitive, the IRS uses a specific formula to determine if they must be taxed as residents.
When we look at the tax side of the equation, the IRS simplifies these into just two principles: Resident Aliens and Nonresident Aliens. Residents are taxed just like U.S. citizens—on their total worldwide income. Nonresidents, however, are generally only taxed on income sourced within the United States or income effectively connected to a U.S. business.

An individual is considered a Resident Alien for tax purposes if they meet one of three specific criteria. If you do not meet these, you are classified as a Nonresident Alien. Here are the three paths to becoming a resident for tax purposes:
The Green Card Test: You are a resident if you have been granted lawful permanent residency at any time during the calendar year. Your residency begins on the first day you are present in the U.S. with that status.
The Substantial Presence Test: This is a mathematical formula that counts the days you have physically spent in the country. Even undocumented individuals can be considered tax residents if they spend enough time here.
The First-Year Choice: If you arrive late in the year, you may be able to elect to be treated as a resident for a portion of that year, creating a “dual-status” tax year. This can be beneficial for those looking to start their U.S. tax history sooner.
To meet this test, you must be physically present in the United States for at least 31 days during the current year. Additionally, you must have been present for 183 days over a rolling three-year period. However, the IRS doesn't just add up the days; it applies a weighted multiplier:
Example: Maria's Residency Status
To see this in action, let’s look at Maria. She has been visiting the U.S. regularly. In 2026, she spent 112 days here. In 2025, she spent 119 days, and in 2024, she was here for 136 days. While she meets the 31-day requirement for the current year, she fails the 183-day look-back test, as shown below:
Year | Days | Multiplier | Test Days |
2026 | 112 x | 1.0 | 112.00 |
2025 | 119 x | 0.333 | 39.63 |
2024 | 136 x | 0.167 | 22.71 |
Total | - | - | 174.34 |

Generally, even a few minutes in the U.S. counts as a full day of presence. However, we should note several important exceptions where days do not count toward the Substantial Presence Test:
In the IRS world, “exempt” doesn't mean you don't pay taxes; it means you don't count those days toward residency. This usually applies to foreign government-related individuals, students on F, J, M, or Q visas, and professional athletes competing in charitable events. If you fall into these categories, you must file a specific statement to exclude those days.
Sometimes, even if you meet the math for the Substantial Presence Test, you can still be treated as a nonresident. If you were in the U.S. for fewer than 183 days during the current year and can prove you have a “tax home” in another country with which you have a closer connection, you may qualify for this exception. This requires filing a Closer Connection Statement with your tax return to ensure you aren't overtaxed on your worldwide income.
Determining your residency can be a convoluted process, especially in your first year of transition or if you have a dual-status year involving both Forms 1040 and 1040NR. If this sounds familiar, we can walk you through it step by step to ensure you remain compliant while keeping more of what you earn.
Beyond the initial determination of residency, the actual process of filing taxes as an immigrant involves several high-stakes elections and reporting requirements that can significantly alter your financial outcome. One of the most common and complex scenarios we navigate for our clients is the “dual-status” tax year. This occurs when you are both a nonresident alien and a resident alien within the same calendar year, usually during the year you arrive in or depart from the United States.
During a dual-status year, your tax year is split into two distinct periods. For the portion of the year you are a nonresident, you are taxed only on income derived from U.S. sources. However, once your residency status begins, the IRS expects a full accounting of your worldwide income. This transition requires a highly technical filing approach, typically involving Form 1040 for the resident portion and Form 1040-NR as an attached statement for the nonresident portion. It is important to note that dual-status taxpayers generally cannot claim the standard deduction or file as Head of Household, which can lead to a higher tax liability if not planned for properly.

For married immigrants, the decision of how to file can have a massive impact on your bottom line. Under Internal Revenue Code Section 6013(g) and (h), there are specific elections that allow a nonresident spouse to be treated as a U.S. resident for tax purposes. If one spouse is a citizen or resident by the end of the year and the other is a nonresident, you can elect to file a joint return as if you were both residents for the entire year.
The advantage of this election is the ability to access the “Married Filing Jointly” tax brackets and a larger standard deduction. However, there is a significant trade-off: by making this choice, both spouses agree to subject their entire worldwide income to U.S. taxation. We often help clients perform a side-by-side comparison to see if the tax savings from joint filing outweigh the potential costs of reporting foreign earnings that might otherwise be exempt.
Once you are classified as a resident alien, your reporting obligations extend far beyond your U.S. paycheck. The IRS and the Department of the Treasury require transparency regarding your global financial footprint. This is where many individuals encounter the most risk, often due to a simple lack of awareness. Under the Bank Secrecy Act, if you have a financial interest in or signature authority over foreign bank accounts, brokerage accounts, or mutual funds that exceed a total value of $10,000 at any time during the year, you must file a Report of Foreign Bank and Financial Accounts (FBAR).
In addition to the FBAR, the Foreign Account Tax Compliance Act (FATCA) may require you to file Form 8938 if your foreign financial assets exceed certain thresholds. These reporting requirements are not just about paying tax; they are about disclosure. The penalties for failing to report these assets can be severe, often starting at $10,000 per violation, even if no tax is actually owed on the foreign funds. We make it a priority to review our clients' global holdings to ensure every foreign account and asset is properly documented, protecting you from these life-altering penalties.
For individuals who are not eligible for a Social Security Number (SSN) but still have a federal tax filing or reporting requirement, the Individual Taxpayer Identification Number (ITIN) is the essential tool. This number is issued by the IRS regardless of immigration status and allows you to comply with U.S. tax laws. Obtaining an ITIN requires filing Form W-7 and providing proof of identity and foreign status.
Because the process requires original identification documents like a passport, we often suggest working with a Certifying Acceptance Agent to avoid the stress of mailing your primary travel documents to an IRS processing center. Having an ITIN not only allows you to file your returns but also serves as a critical step in building a financial history in the U.S., enabling you to open bank accounts or claim eligible dependents on your return.
As we mentioned earlier, being an “exempt individual” does not exempt you from paying tax, but rather from counting days toward the Substantial Presence Test. However, this status is not permanent. For example, students on F or J visas are typically exempt from counting days for only five calendar years. Teachers and trainees on J or Q visas are generally exempt for only two years out of a six-year period.
Once these time limits are reached, you begin counting every day you spend in the U.S. toward residency. This often results in students and researchers “flipping” from nonresident to resident status in the middle of their stay. This change impacts everything from the taxability of your scholarship to your eligibility for Social Security and Medicare tax exemptions on your wages. Tracking these dates accurately is vital to avoid underpaying your taxes as your status evolves.
The U.S. has maintained a network of income tax treaties with numerous foreign countries to prevent double taxation. These treaties are incredibly powerful because they can override domestic tax laws. For example, if both the U.S. and your home country consider you a resident under their own laws, treaty “tie-breaker” rules are used to determine which country has the primary right to tax you.
These rules look at factors such as the location of your permanent home, your center of vital interests (where your personal and economic ties are strongest), and your habitual abode. If the treaty determines you are a resident of the foreign country, you may be able to file as a nonresident alien in the U.S. even if you passed the Substantial Presence Test. Claiming these treaty benefits requires filing Form 8833, a disclosure that notifies the IRS you are taking a treaty-based position. Navigating these treaties requires a deep understanding of international law, and we are here to ensure you receive every benefit you are entitled to under these agreements. While the tax landscape for immigrants is undeniably complex, proactive planning ensures that you remain in good standing while protecting your global assets and maximizing your financial opportunities.
Sign up for our newsletter.