If you are an internationally mobile professional or a global entrepreneur, understanding the substantial presence test (SPT) is crucial. This test is how the Internal Revenue Service (IRS) decides whether you are a resident alien for U.S. tax purposes. Meeting the SPT means you must follow the same tax reporting requirements as a U.S. citizen, which can include reporting worldwide income. Below, you will find a clear breakdown of how the IRS calculates this test, along with some key considerations and examples.
1. Current Year Days
The first element of the substantial presence test is the days you spend in the United States during the current calendar year. This step might sound simple, but it sets the foundation for everything that follows.
• You must be present on U.S. soil for at least 31 days in the current year to even qualify for the test.
• According to the IRS, each day or part of a day you are physically present in the U.S. counts as one full day. Arriving late at night or leaving early in the morning can still be counted as individual days [1].
If you spend fewer than 31 days in the current year, you are automatically considered a nonresident alien, so the remaining steps of the test do not apply to you.
2. Weighted Days From Prior Years
Once you determine you have met the 31-day minimum in the current year, the IRS uses a special weighting formula for the previous two years. This formula helps the government see if your presence in the U.S. is increasing or decreasing over time.
• Days from the current year count as full days.
• Days from the previous year count as one-third.
• Days from two years ago count as one-sixth.
For instance, if you spent 120 days in the United States in 2025, 120 days in 2024, and 120 days in 2023, you would apply the following calculation:
- 2025 (current year): 120 days
- 2024 (previous year): 120 × 1/3 = 40 days
- 2023 (two years ago): 120 × 1/6 = 20 days
Adding those up yields 180 days in total (120 + 40 + 20). This figure determines whether you have met the 183-day threshold.
3. Reaching the 183-day Threshold
Once you have your cumulative total from the current year and the weighted days from prior years, the IRS looks to see if it reaches 183 days or more. If it does, you generally fall under U.S. tax residency rules as a resident alien for that tax year. If the total is below 183, you typically remain a nonresident alien, which often means different tax filing obligations.
Because the threshold can be quite close, keep accurate track of where you are at all times. For instance, if your tally lands at 182.5 days, it does not meet the test. Small scheduling decisions, like a quick trip that pushes your total days over the line, can create unforeseen tax implications. For official guidance on these calculations, check the IRS explanations of day counting requirements [1].
4. Exemptions and Exceptions
Even if you cross the 183-day threshold, you might not be treated as a resident alien if you qualify for certain exemptions or exceptions.
• Exempt Individuals: Specific visa classifications, such as some F-1 students or certain J-1 researchers, do not have to count many of their U.S. days toward the test. If you hold these visas, you must still file IRS Form 8843 to maintain your exempt status.
• Short transit periods: Days spent fully in transit (less than 24 hours between two foreign locations) usually do not get counted.
• Medical condition exceptions: If you stayed in the U.S. due to a medical condition that developed while visiting, you might avoid counting those days.
These exceptions, however, come with strict requirements. For details, consult IRS Publication 519 or the University of Richmond’s summary of the substantial presence test [2]. Accuracy in applying these exemptions is essential, so it is often wise to seek help from a qualified tax advisor.
5. the Closer Connection Rule
Even if you meet or exceed 183 days based on the SPT formula, you may be able to remain a nonresident alien by establishing a “closer connection” to a foreign country. This rule aims to recognize the individual whose main personal and economic ties stay abroad.
To claim this exception, you must generally:
• Show stronger links to one or two foreign countries than to the U.S. (for instance, having a principal residence or family in that foreign jurisdiction).
• Not have taken any steps toward becoming a Green Card holder.
• File Form 8840, Closer Connection Exception Statement for Aliens, on time with your U.S. tax return.
This special exception acknowledges that physical presence is not the only way to measure an individual’s real home base. Keep in mind that if you miss the filing deadline for Form 8840, you may lose the ability to claim this exception [3].
Table: Sample Calculation for Three Years
| Year | Days Present | Weighted Factor | Weighted Days |
|---|---|---|---|
| 2025 (Current) | 120 | Full | 120 |
| 2024 (Prior) | 120 | 1/3 | 40 |
| 2023 (2 Yrs Ago) | 120 | 1/6 | 20 |
| Total Weighted Days | - | - | 180 |
In this example, you would not meet the 183-day threshold. However, if you were to spend just a few days more in 2025, you could surpass 183 days and become a resident alien for that year.
Moving Toward Clarity on Tax Residency
If you are juggling multiple residencies and business operations across borders, you likely know that your obligations do not stop at checking the number of days you spend in one country. U.S. residency can significantly affect how and where you pay taxes, especially if much of your income is generated worldwide. To make an informed decision, you may find it helpful to compare various tax frameworks and consult an experienced professional to guide you.
You can also learn more about how different jurisdictions approach tax residency by exploring tax residency a 2026 guide for internationally mobile individuals. Understanding the fundamentals of global taxation can save you from unexpected costs and help maintain a smooth financial strategy, regardless of where you travel or do business.
Final Thoughts and Disclaimer
The substantial presence test might look like a straightforward arithmetic exercise, but in practice, it can get complicated due to exemptions, exceptions, and special visa statuses. A small discrepancy in the day count can trigger major tax obligations. As these rules evolve with new regulations or guidance, you might find it essential to keep track of updated IRS publications and, where needed, consult a specialized tax advisor.
This content is for general informational purposes only and should not be viewed as financial, tax, or legal advice. Before making any decisions that may affect your tax liability, it is wise to work with a qualified professional who can account for your individual circumstances. By proactively managing your day counts and understanding the intricacies of the substantial presence test, you put yourself in a stronger position to optimize your global tax strategy.
References
- (IRS)
- (University of Richmond)
- (IRS)
Strategic Diagnostic
Worth a 30-minute conversation?
A no-charge call to map your priorities, jurisdictions, and the structure that fits.
Map My Strategy →Blueprint Briefing
Strategic notes from the borderless economy.
Hand-picked insights on residency, structures, and global mobility — for entrepreneurs and investors.
No spam. Unsubscribe any time.
Blueprint Global coordinates international structuring and project-manages the implementation process. We do not provide tax, legal, investment, or immigration advice. All advisory services are delivered by licensed professionals in their respective jurisdictions.
