Substantial Presence Test: What It Is and Who Has to Count Days
Sam's List Editorial | 2026-11-06
You can become a US tax resident without a green card, without a visa that says "resident" and without ever deciding to. The substantial presence test is the rule that does it, and it runs on a plain input: how many days you were physically in the United States. If you are not a US citizen and you spend meaningful time here, the count is worth keeping from the first trip, not the day a form asks for it.
The firm written up here is Iota Finance, a Florida-based accounting firm whose live profile lists Digital Nomads, Cryptocurrency Investors and Equity Compensation among its specialties. This is a general explainer. The rules change, the IRS guide for nonresident aliens is Publication 519, and a CPA decides how any of it applies to you.
What the Substantial Presence Test Is
The substantial presence test is a day-counting rule the IRS uses to decide whether someone who is not a US citizen is a US tax resident for a given year. It looks at how many days you were physically in the country in the current year and the two years before it. Meet the test, and you are generally treated as a resident for tax purposes. Miss it, and you are generally treated as a nonresident, unless some other rule makes you a resident.
It is one of two main paths to resident status for non-citizens. The other is the green card test: a person who holds a green card is generally a US tax resident regardless of day counts. US citizens are taxed as residents regardless too, wherever they live. So the substantial presence test matters most for people who have neither status, such as visa holders, remote workers on extended stays and people who split a year between the US and another country.
The limitation: this is a tax label, not an immigration one. Passing or failing the test says nothing about whether you may lawfully stay or work in the US, and an immigration attorney, not a CPA, answers that.
The 31-Day and 183-Day Substantial Presence Test Formula
The substantial presence test has two parts, and you must meet both. First, you must be physically present in the US at least 31 days during the current year. Second, a weighted total of your days across three years must reach at least 183. That total counts all of your days in the current year, one-third of your days in the first prior year and one-sixth of your days in the second prior year.
Here is a made-up example, with figures invented for illustration. Someone spends 120 days in the US this year, 120 last year and 120 the year before. The weighted count is 120, plus 40 (one-third of 120), plus 20 (one-sixth of 120), which is 180. That is under 183, so the person does not meet the test on those days alone. Add another few days this year and the answer flips, which is why the exact count matters.
| Year | Days in the US | Counted at | Weighted days |
|---|---|---|---|
| Current year | 120 | All days | 120 |
| First prior year | 120 | One-third | 40 |
| Second prior year | 120 | One-sixth | 20 |
| Total | 180 |
The limitation: the table is arithmetic on invented numbers, not a prediction about your return. The formula is stated here in general terms, so confirm the current wording and any special rules in Publication 519 before you rely on it.
Who Has to Count Days for the Substantial Presence Test
Anyone who is not a US citizen and who spends time in the US should be keeping a count. That includes people on work visas, remote workers who base themselves in the US for part of the year, retirees who winter here, foreign founders who visit often and people whose family is in the US. If you hold a green card, the green card test is separate and generally makes you a resident anyway, though a CPA should look at how that interacts with your facts.
A few groups get special treatment. Exempt individuals, such as certain students, teachers and trainees on particular visas, and diplomats, may be able to leave the days they spent in that status out of the count. The categories and their conditions are narrow, and the time limits and filing requirements for them are strict.
The limitation: do not assume you are exempt because your visa sounds like one of the categories. Whether you qualify depends on your exact status and history, and a CPA or immigration attorney decides.
US Tax Residency Days: How to Count Them
US tax residency days are counted by physical presence, and the general rule is that any part of a day in the US counts as a day. Landing at 11 p.m. counts. Leaving at 1 a.m. counts. That surprises people who think in terms of nights spent, because a short trip with a late arrival and an early departure can add more days than expected.
There are exceptions, and they are general here for a reason. Days you are only in transit between two places outside the US, in some cases commuting to work from Canada or Mexico, or unable to leave because of a medical condition that arose while you were here, may not count. Each has conditions, and some require paperwork.
The limitation: the exceptions are narrow and easy to misread. Treat them as questions for your CPA, not as rights you can claim by default.
Keep a Travel Record Before You Need One
A travel record is the habit that makes everything else cheaper. Keep a simple log, a spreadsheet or a calendar, with the date of every entry into and exit from the US. Back it up with documents that carry dates: boarding passes, e-ticket receipts, passport stamps, and credit card or bank records that show where you were. Passport stamps alone are unreliable, because not every border crossing produces one.
Why bother: you may need those days to show a CPA how you counted, to support a position on a return or to answer a question from a tax authority years later. Reconstructing 36 months of travel from email searches is slow and tends to produce gaps. A log kept as you go takes a minute per trip.
The limitation: a log is only as good as its source. If your records and a government record of your entries disagree, expect to explain the difference, so keep the underlying documents and not just a summary.
The Closer Connection Exception
The closer connection exception is a rule that, in some cases, lets a person who meets the substantial presence test be treated as a nonresident anyway. In general terms, it is for someone who was present in the US for fewer than 183 days in the current year and who can show a closer connection to a foreign country than to the US. It is not automatic. You claim it by filing Form 8840 on time, and the facts have to support it: where your home, family, bank accounts, driver's license and other ties are.
Tax treaties are another layer. A treaty between the US and your home country can include a tie-breaker that decides which country treats you as a resident when both could claim you. Using one usually means disclosing the position on your return, and the details vary by treaty.
The limitation: both routes have strict conditions, and some people cannot use them, such as anyone who has applied for or taken steps toward a green card. A CPA decides whether a closer connection claim or a treaty position fits, and a weak claim can be worse than none.
Why the Result Matters: Resident or Nonresident Filing
The result changes what you report. In general, a US tax resident is taxed on worldwide income, wherever it was earned, and files the same kind of return a citizen does. A nonresident is generally taxed on US-source income and on income connected with a US trade or business, and files a different form with different rules. The filing forms, the available deductions and the treatment of foreign accounts differ between the two.
For a mobile worker, that can mean a foreign salary, foreign investment income or crypto activity suddenly belongs on a US return. It can also bring foreign account and asset reporting along with it. Some people are residents for only part of a year, which brings its own rules about the start and end dates, and a CPA should walk through them.
The limitation: being a US resident for tax does not mean you owe tax on everything twice. Foreign tax credits and treaties can reduce overlap, but how much relief you get depends on the specific income, the country and the rules, and there is no guarantee.
Where Iota Finance Fits
Iota Finance is based in Florida, listed at the state level with no city, and was founded in 2022. Its managing partner is Igor Tutelman, CPA, and the profile lists 7 employees. It describes monthly accounting, tax and fractional CFO work for small businesses, startups and entrepreneurs, and lists minimums of $200K income, $500K revenue or $500K raised. The live profile lists Cryptocurrency Investors, Digital Nomads and Equity Compensation as specialties.
For a person whose year is split across borders, the Digital Nomads specialty is the relevant one. It suggests a firm that works with clients who move around, which is worth raising when you ask how day counts, residency and filings fit together for you.
Iota Finance has 14 verified client reviews on Sam's List as of 2026-11-03. Each review is submitted by an individual who identifies as a client of the firm and rates it on communication, subject-matter knowledge, and overall satisfaction. Reviews reflect those individual experiences and do not represent an endorsement by Sam's List. Ratings and rankings are not indicative of future performance or results.
The limitation, plainly: the profile names digital nomads but does not name the substantial presence test, Form 8840, nonresident returns or tax treaties, so do not assume the firm handles them. Ask directly whether it has done this work before you engage. The profile's minimums also mean a smaller client may fall outside what the firm takes on.
Frequently Asked Questions
What is the substantial presence test?
It is the IRS day-counting rule for deciding whether a non-citizen is a US tax resident. You generally meet it with at least 31 days in the US this year and a weighted three-year total of at least 183 days. The weighting counts all current-year days, one-third of last year's and one-sixth of the year before. A CPA decides how it applies.
Do US citizens or green card holders need the substantial presence test?
No. US citizens are taxed as residents regardless of where they live, and green card holders are generally treated as residents under a separate test. The substantial presence test is for people who are neither. Even so, a green card holder should confirm with a CPA how their status and any treaty position interact.
Does a partial day in the US count toward US tax residency days?
Generally, yes, any part of a day in the US counts as a day. There are exceptions, such as being in transit between two places outside the US or a medical condition that stops you from leaving, and each has conditions. Check Publication 519 and ask a CPA before leaving a day out of your count.
What is the closer connection exception?
It is a rule that can let someone who meets the substantial presence test still be treated as a nonresident, if they were in the US fewer than 183 days in the year and have a closer connection to a foreign country. It is claimed with Form 8840 and has strict conditions, so a CPA decides whether it fits your facts.
If you move between countries, start with two things this week: a dated log of every US entry and exit, and a quick count against the formula above. Then take both to a CPA. You can browse accountants on Sam's List, including the firm above, and a CPA decides what applies to your situation.
About the author: Kimberly Green is the cofounder of Sam's List, where business owners and high earners find vetted CPAs, financial advisors, and fractional CFOs. She's met one-on-one with 400+ financial professionals and writes from the real data behind thousands of client-advisor matches. Ask her anything about finding an accountant - she's heard it all, including the questions people are afraid to ask.
Were you featured in this piece, or know someone who should be? Share it.
Share on LinkedInSome firms in this article are Sam's List featured partners.