Skip to content
Delewarellc

Substantial presence test

An IRS test that determines US tax residency based on physical presence days.

Glossary: Substantial presence test. An IRS test that determines US tax residency based on physical presence days.
Substantial presence test: An IRS test that determines US tax residency based on physical presence days.

Definition

Substantial presence test under IRC § 7701(b)(3) makes a non-citizen a US tax resident if they meet the day-count formula: 183 days using current year + 1/3 of prior year + 1/6 of year before that. F-1/J-1 students and certain other categories have exemptions.

Context

Determines whether a non-citizen is taxed as US resident (worldwide income) or non-resident (US-source only).

Example

A founder visits the US 120 days each year for 3 years. Day count: 120 + 40 + 20 = 180. Less than 183; not a US tax resident.

Common pitfalls

  • Day-count includes partial days.
  • Closer-connection exception may apply for under-183-day situations.

What the substantial presence test actually measures

The substantial presence test is a counting exercise, not a judgment about your intentions or where you keep your belongings. The Internal Revenue Service uses it to decide whether a person who is not a US citizen and not a green card holder should be treated as a US tax resident for a given calendar year. The whole question turns on how many days you were physically inside the United States, weighted across a three-year window. Because the test is arithmetic, it rewards careful record keeping more than legal argument. If you track your entry and exit dates honestly, you can usually predict your own status well in advance of any filing deadline.

It helps to separate two ideas that beginners often blur together. Immigration status answers whether you are allowed to be in the country and on what visa. Tax residency answers how the United States gets to tax your income. The substantial presence test belongs entirely to the second category. A person can hold a tourist visa and still become a US tax resident by spending too many days inside the borders, while another person can own a Delaware LLC and never trigger the test at all because they rarely set foot in the country.

For a non-resident founder forming a Delaware LLC from abroad, the practical message is reassuring. Owning the entity, paying the $110 Certificate of Formation fee, and remitting the $300 franchise tax do not move the day counter even slightly. The counter only responds to your feet being on US soil. Understanding that distinction up front removes a great deal of needless anxiety about whether registering a company will somehow pull you into the US tax net.

The day-count formula, restated for founders

The core entry in the glossary states the formula under IRC section 7701(b)(3): you meet the test if you were present at least 31 days in the current year and your weighted total reaches 183 days. The weighting counts each day in the current year as a full day, each day in the prior year as one third of a day, and each day in the year before that as one sixth of a day. The 31-day minimum acts as a gate. If you spent fewer than 31 days in the country during the current year, you cannot meet the test no matter how many days you logged in earlier years.

A worked illustration makes the gate concrete. Suppose a founder spent 200 days in the United States two years ago, 200 days last year, but only 20 days in the current year. The weighted math might look alarming, yet because the current-year count of 20 falls below 31, the test is not met for the current year. The earlier heavy travel does not carry forward on its own. This structure means a single quiet year can reset your exposure, which is why founders who travel heavily sometimes plan a deliberately light year inside the US.

Keep in mind that the formula produces a status for one calendar year at a time. Each January the window slides forward and drops the oldest year. Your task is not to calculate a lifetime total but to recompute the rolling three-year weighted figure for whichever year you are filing. This is general information rather than tax advice, and anyone near the threshold should confirm their own count against the current IRS instructions and the relevant tax treaty.

Why a single day inside the country can count

One of the pitfalls already flagged in the glossary entry is that the day count includes partial days. The rule is stricter than many travelers expect. If you are physically present in the United States at any moment during a calendar day, that day generally counts as a full day for the test. A morning arrival followed by an afternoon departure counts the same as a full twenty-four hours. There is no concept of half days based on hours spent. This catches people who assume a quick layover or a short business meeting is too brief to matter.

There are narrow exceptions for days that do not count, and they exist precisely because a literal reading would otherwise be unfair. Days you are in transit between two foreign points and spend less than twenty-four hours in the US can be excluded. Days you cannot leave because of a medical condition that arose while you were present can be excluded. Certain days for regular commuters from Canada or Mexico, and days for specific exempt categories, also fall outside the count. These exceptions are specific and documented, so they should be claimed on the basis of the actual rule rather than a guess.

For the Delaware LLC owner, the takeaway is to log travel with real dates rather than rounding from memory. A founder who flies in for a single conference, signs a few documents, and flies out has still added a day to the counter. Across several years of frequent short trips, those single days accumulate. Treating each border crossing as a recorded event, the way you would record an invoice, protects you from a surprise when you finally tally the weighted figure.

How the test interacts with a single-member foreign-owned LLC

A single-member LLC owned by one non-resident individual is, by default, a disregarded entity for US federal income tax purposes. That phrase means the Internal Revenue Service looks through the company and treats its activities as belonging directly to the owner. The substantial presence test then applies to the owner as a person, not to the company. The LLC itself has no presence days to count because a company does not travel. So the residency question collapses into a question about the human owner and where that human spends time.

This look-through design is why the substantial presence test sits at the center of so many non-resident founder conversations. If the owner stays a non-resident under the test, the disregarded LLC generally exposes only US-source, effectively connected income to US tax, which connects directly to the related glossary terms for US-source income and effectively connected income. If the owner becomes a US tax resident by failing the test, the same LLC suddenly channels the owner's worldwide income into the US system, because residents are taxed on income from everywhere, not only from US sources.

The information return obligations are separate from the residency question and apply regardless of how the day count comes out. A foreign-owned single-member LLC files Form 5472 attached to a pro forma 1120 each year, and missing that filing carries a $25,000 penalty. The substantial presence test changes how the owner's income is taxed, but it does not switch off the 5472 reporting duty. Founders sometimes conflate the two and assume that staying a non-resident removes all filing work, which is not the case.

A fuller worked example across three years

Consider a founder building a software product through a Delaware LLC. In the year before last she spent 90 days visiting US clients. Last year she spent 120 days. This current year she expects to spend 150 days. The weighted calculation takes the full 150 from this year, adds one third of last year's 120 which is 40, and adds one sixth of the 90 from the year before which is 15. The sum is 150 plus 40 plus 15, totaling 205. Because 205 exceeds 183 and the current-year figure clears the 31-day gate, she meets the substantial presence test for the current year.

Now change one variable. Suppose she trims this current year to 110 days instead of 150. The weighting becomes 110 plus 40 plus 15, which equals 165. That figure sits below 183, so she does not meet the test, even though her travel pattern is otherwise similar. The gap between 205 and 165 came from a 40-day adjustment in the current year alone. This sensitivity is why founders who are close to the line treat current-year days as the lever they can most directly control, since prior years are already fixed.

The example also shows why planning works better than reacting. By spring of a given year, a founder can already see her prior two years as settled numbers and can model how many more US days she can afford before crossing 183. She can then schedule remote work, conferences abroad, or shorter trips accordingly. This is forecasting, not evasion, and it rests on the plain arithmetic the statute lays out. Specific facts can still shift the answer, so a borderline case deserves professional review.

The closer connection exception in practice

The glossary entry notes that a closer-connection exception may apply for situations under 183 current-year days. This exception lets a person who would otherwise meet the substantial presence test argue that they should still be treated as a non-resident because their real life is centered abroad. To qualify, you generally need to be present fewer than 183 days in the current year, maintain a tax home in a foreign country, and have a closer connection to that foreign country than to the United States during the year.

Closer connection is evaluated by looking at where your life actually happens. Factors include where your permanent home sits, where your family lives, where your personal belongings are kept, where your bank and business records are maintained, where you vote, and which country issued your driver's license. No single factor decides the outcome. The Internal Revenue Service weighs the overall picture. A founder who lives in Lisbon, banks partly through a US fintech for the LLC, but keeps home, family, and primary records in Portugal is presenting a recognizable closer-connection profile.

The exception is not automatic. It is claimed by filing Form 8840, the closer connection statement, generally by the filing deadline. Missing the form can forfeit the exception even when the underlying facts support it. The exception also does not help anyone who has already taken steps toward permanent residence. For a Delaware LLC founder relying on this relief, the practical work is keeping evidence of a foreign tax home and filing the statement on time. As with the rest of this topic, treat this as general background and confirm eligibility with a qualified advisor.

Tax treaties and the tie-breaker rules

Even when the substantial presence test makes you a US resident on paper, an income tax treaty between the United States and your home country can override the result. Most US treaties contain a residency tie-breaker article. When a person is a resident of both countries under each country's domestic law, the tie-breaker walks through an ordered series of tests to assign residency to just one country. The sequence typically looks at permanent home, then center of vital interests, then habitual abode, then nationality, and finally a competent authority decision if nothing else resolves it.

The order matters because you stop at the first test that gives a clear answer. If you have a permanent home available only in your home country, the analysis often ends there and assigns you to that country, regardless of how many US days you logged. A treaty position like this is generally claimed by filing Form 8833 along with your return, and it can carry its own disclosure requirements. The interaction between domestic counting rules and treaty overrides is one of the more technical corners of this subject.

Not every country has a tax treaty with the United States, and the treaties that exist differ in their wording. A founder from a treaty country has a path to argue non-residency even after meeting the day count, while a founder from a non-treaty country relies more heavily on staying under the threshold or on the closer connection exception. Because treaty articles are specific texts rather than general principles, anyone leaning on a treaty position should read the actual treaty and seek advice rather than assume their country mirrors another.

Exempt individuals and why students differ

The glossary definition mentions that F-1 and J-1 students and certain other categories have exemptions. In the language of the test, these people are called exempt individuals, and the word exempt is easy to misread. It does not mean their income is exempt from tax. It means their days of presence are exempt from the count. A student on an F-1 visa, for example, can spend a full academic year in the United States and still not accumulate counting days during a defined period, because the statute removes those days from the formula.

The categories include certain students, teachers, trainees on specific visas, foreign government-related individuals, and some professional athletes present for charitable events. Each category has its own conditions and its own time limits on how long the exemption lasts. A student's exempt period is generally measured in years rather than being open-ended, and once it runs out the ordinary counting rules resume. Many people are surprised to learn that the exemption expires and that they can drift into residency after several years of study without any change in visa.

For most non-resident Delaware LLC founders, the exempt individual rules are background rather than a direct tool, because founders are usually present on business or tourist terms rather than student or teacher visas. Still, the concept is worth knowing because a founder who later enrolls in a US program, or who is married to someone in an exempt category, may find these rules suddenly relevant. The point is that exempt status is tied to a specific visa and purpose, and it must be documented, often through Form 8843, rather than assumed.

What happens if you do become a US tax resident

If you meet the substantial presence test and no exception or treaty rescues you, the United States treats you as a resident for income tax for that year. Residents are taxed on worldwide income, meaning earnings from your Delaware LLC plus any income from outside the United States can fall within US tax. This is a meaningful change from the non-resident posture, where typically only US-source effectively connected income is reached. The shift can also bring foreign asset reporting obligations into play, which add their own forms and deadlines.

Becoming a resident mid-pattern can also create a dual-status year, where you are a non-resident for part of the year and a resident for the rest. Dual-status years have their own rules about which income is taxed under which regime and which deductions are available. This is one of the more intricate filing situations a founder can encounter, and it generally calls for professional preparation rather than self-filing, because the allocation between the two periods is unforgiving of errors.

The flip side is that residency is not always disadvantageous. Residents can access deductions, credits, and filing statuses that non-residents cannot. For a founder whose life is genuinely moving toward the United States, accepting residency and planning around it can be cleaner than fighting to stay under a threshold every year. The right answer depends on the founder's broader situation, including family, other income, and long-term plans, which is why this is a decision to model with an advisor rather than to resolve from a single rule.

How the test connects to formation and the EIN

Forming the Delaware LLC and obtaining an Employer Identification Number are administrative steps that do not themselves trigger the substantial presence test. The Certificate of Formation, filed with the Delaware Division of Corporations for $110, creates the entity. The EIN, requested for free using Form SS-4 and typically issued in roughly 8 to 10 business days for an applicant without a Social Security number, gives the company a tax identity. Neither act places the owner inside US borders, so neither adds a counting day.

What the EIN does is connect the company to the US tax system for reporting and banking, not for the owner's personal residency. A founder can hold an EIN, file the annual Form 5472 with its pro forma 1120, and remain a non-resident under the day count for years. The residency question stays anchored to physical presence. This separation is worth stating plainly because new founders sometimes fear that getting a US tax number is the moment they become taxable on worldwide income, which is not how the mechanics work.

There is a sequencing benefit to understanding this early. Because formation and EIN issuance are presence-neutral, a founder can set up the entire company structure from abroad without taking on any residency exposure. Travel to the United States, if it happens at all, becomes a later and separate decision that the founder can measure against the day-count formula. Keeping the two streams distinct, the company stream and the personal presence stream, makes the planning far cleaner.

How the test connects to banking and the franchise tax

Opening a business account is another step that does not move the residency counter. Several fintech providers serve non-resident-owned Delaware LLCs, including Mercury, Wise, Relay, Lili, and Payoneer, and most of these can be opened remotely after the company and its EIN are in place. Holding a US business account through one of these platforms reflects where the company banks, not where the owner physically sits. A founder in Nairobi or Manila with a Mercury account has not added a single presence day by doing so.

The annual obligations follow the same logic. The Delaware franchise tax for an LLC is a flat $300 due each June 1, and paying it from abroad is routine. The franchise tax is a fee tied to the entity's continued good standing, not a measure of the owner's US time. Likewise the company's federal information return, Form 5472 with the pro forma 1120 and its $25,000 penalty for non-filing, is an entity-level duty that exists independently of whether the owner meets the substantial presence test.

It is also worth noting that beneficial ownership reporting changed in 2025. Under the FinCEN Interim Final Rule of March 26 2025, US-formed entities such as a Delaware LLC are exempt from the federal beneficial ownership information filing that briefly applied to domestic companies. That exemption is about ownership transparency rules and has no bearing on the substantial presence test. Mentioning it here is simply to keep the various obligations sorted, since founders often hear about all of them at once and assume they interlock more than they do.

Related concepts every founder should keep straight

The substantial presence test does not operate in isolation. Its closest neighbors are US-source income and effectively connected income, both linked in the glossary entry. US-source income describes where income is treated as arising, and effectively connected income describes business income tied to a US trade or business. For a non-resident, these two concepts define what the United States can tax. The substantial presence test sits one level up, deciding whether you are taxed only on those US-connected slices or on your entire worldwide income.

Another neighbor is the green card test, which is the other main route to US tax residency. Holding lawful permanent resident status makes you a US tax resident regardless of your day count, so a green card can override the arithmetic entirely. A founder weighing a future US move should know that an immigration benefit like a green card carries an automatic tax-residency consequence that the substantial presence test cannot soften. The two residency tests run in parallel, and meeting either one is enough.

Finally, the concept of a tax home ties several of these ideas together. Your tax home is generally your main place of business or, if you have none, your regular abode. The closer connection exception depends on having a foreign tax home, and treaty tie-breakers reference a permanent home. Keeping a clear and documented foreign tax home strengthens almost every argument a non-resident founder might make. These related terms are worth learning as a set, because they constantly cross-reference one another in practice.

Edge cases that surprise founders

Several situations regularly trip people up. The first is the assumption that working remotely while physically in the United States is safe because the clients and the LLC are foreign. The substantial presence test counts your days regardless of what you do during them, so a founder who spends six months working from a US apartment is accumulating days exactly as a tourist would. The nature of the work does not exempt the day. Only the specific statutory exclusions do.

A second edge case involves the medical exception. If you intended a short visit but a genuine medical condition that arose in the United States prevented you from leaving, those extra days can be excluded from the count. The exception is narrow and requires that the condition arose while you were present rather than being a pre-existing reason for the trip. Documentation matters here, because you are asking the Internal Revenue Service to remove real calendar days from the formula based on facts only you can prove.

A third surprise is the dual presence of spouses with different statuses. If one spouse is an exempt individual and the other is not, their day counts and elections can diverge in ways that affect a joint plan. There is also an election that lets a non-resident spouse be treated as a resident for the year, which can be advantageous or costly depending on the couple's income mix. These interactions show why the test, simple as the arithmetic looks, can produce complicated household outcomes that deserve individualized advice.

Common misunderstandings to retire

The most persistent myth is that owning a US company makes you a US taxpayer on your global income. It does not. The substantial presence test is about your body, not your business. A non-resident can own a Delaware LLC, bank through a US fintech, hold an EIN, and pay the franchise tax every June 1 while remaining a non-resident year after year, as long as the day count stays in check. Separating the company's footprint from the owner's footprint is the single most clarifying habit a founder can adopt.

A second misunderstanding is that the 183-day figure is a simple annual limit. People hear 183 and assume they are safe up to 183 days every year forever. The weighting from prior years means that someone who spends 130 days each year for three years can quietly cross the weighted 183 threshold, because the carried fractions add up. The annual number you can safely spend is therefore lower than 183 once you account for recent travel. The only reliable approach is to run the actual weighted formula rather than trust a round number.

A third misunderstanding is that the test is something to handle at filing time. By then the days are already counted and the year is fixed. The useful work happens earlier, by tracking entries and exits and modeling the rolling window before the year closes. Treating the substantial presence test as a planning input rather than a filing afterthought is what lets founders stay on the side of the line they intend. As with everything in this entry, the framing here is general information, and a founder whose count is close to a threshold should confirm their specific position with a qualified tax professional.

Related terms

Related glossary terms & guides