What Counts as a Day for Tax Residency?

Any part of a day, midnight, 24 hours or overnight: how the rules differ, and the exceptions that matter.

Last updated: November 20, 2026  |  By the Domicile365 Editorial Team

Most residency tests turn on a number of days: the 183-day statutory residency rules in New York, Connecticut, New Jersey and Massachusetts, the IRS substantial presence test, and the UK statutory residence test. But a day count is only as good as the definition of a "day" behind it, and that definition varies. A daytime visit is a full day in New York but, under the basic UK rule, no day at all; a two-hour visit from 11:00 PM to 1:00 AM is two days in New York but one in the UK.

This article covers the main approaches and the rules in the jurisdictions we are asked about most. For the residency tests themselves, see the statutory resident 183-day rule and our guides to New York, Connecticut, New Jersey, Massachusetts, Illinois and California.

At a Glance

JurisdictionWhat counts as a dayMain exceptions
New York State & CityAny part of a calendar dayPresence solely to board transportation out of state, or traveling through to a destination outside the state; medical facility days
ConnecticutAny part of a dayPresence solely in transit to a destination outside Connecticut
MarylandAny part of a dayA continuous period of less than 24 hours cannot count as more than one day
New MexicoAny consecutive 24-hour period (3.3.1.7 NMAC), toward a 185-day thresholdShort visits of less than 24 hours may not add a day; keep timestamps
Ohio"Contact periods" (parts of two consecutive days while away overnight from a home outside Ohio)Used instead of a simple day count for Ohio's domicile test
United States (IRS)Any part of a dayExempt individuals, medical conditions, commuters from Canada or Mexico, transit of less than 24 hours
United KingdomPresent at the end of the day (midnight)Transit passengers; up to 60 days of exceptional circumstances; the deeming rule can add days

General Principles

Most US states count any part of a calendar day as a full day. If you arrive at 11:00 PM and leave at 12:30 AM, that is generally two days. When a jurisdiction has no clear written rule, this is the safest assumption.

Some jurisdictions take a different approach:

  • Midnight test: the UK counts a day only if you are in the UK at the end of it.
  • 24-hour limit: Maryland counts any part of a day but provides that a continuous period of less than 24 hours cannot be counted as more than one day. See Maryland tax residency.
  • 24-hour periods: New Mexico treats an individual as a full-year resident if they are physically present in the state for 185 days or more in the taxable year, regardless of domicile (3.3.1.9(A)(2) NMAC). For that test, the Taxation and Revenue Department's regulation provides that "a 'day' is any consecutive 24-hour period" (3.3.1.7 NMAC). Read on its face, days are counted in 24-hour periods of presence rather than calendar days, so a short visit may not add a day the way it would in New York. Because the rule turns on hours, keep records with arrival and departure times, not just dates. This regulation-specific definition governs over the general midnight-to-midnight rule in New Mexico's Uniform Statute and Rule Construction Act (NMSA 1978 § 12-2A-7(G)).
  • Contact periods: Ohio does not use a simple day count for its domicile test. A contact period arises when you spend any part of two consecutive days in Ohio while away overnight from a home outside the state.

The Domicile365 App counts days under the standard any-part-of-a-day approach, and can also show counts under overnight, contact period and 24-hour approaches, so you can see your totals under the rule that applies to you.

New York

For New York State, New York City and Yonkers residency purposes, any part of a day spent in New York counts as a day, whether or not you are at your permanent place of abode. 20 NYCRR 105.20(c) provides:

"In counting the number of days spent within and without New York State, presence within New York State for any part of a calendar day constitutes a day spent within New York State, except that such presence within New York State may be disregarded if such presence is solely for the purpose of boarding a plane, ship, train or bus for travel to a destination outside New York State, or while traveling through New York State to a destination outside New York State."

For example, a Connecticut resident who drives to JFK to board a flight to Europe does not have a New York day for that trip. Days confined to a medical facility for treatment are also generally not counted.

How much activity breaks the transit exception?

New York's Nonresident Audit Guidelines look at two things: whether your activity in New York was incidental to the travel, and how much control you had over the travel arrangements. Someone who arrives a day early for a cruise to attend a business meeting is present for that day. Someone who visits a friend during an unavoidable delay or stopover is not.

According to the guidelines, the following should not turn a travel day into a New York day: buying meals or other items at a terminal, using an ATM, stopping for gas or a meal while driving through New York, picking up a traveling companion en route to the terminal, or parking in New York to meet a car service to the airport.

Connecticut

Connecticut's rule closely follows New York's. Under Conn. Agencies Regs. § 12-701(a)(1)-1(c), "a day spent within Connecticut includes any part of a day, except for a part of a day during which an individual is present solely while in transit to a destination outside Connecticut." The same regulation requires a nonresident who maintains a permanent place of abode in Connecticut to keep records showing they did not spend more than 183 days in the state. For people who live near the New York and Connecticut line, every crossing for shopping, dining or errands is a potential day in both states.

The IRS Substantial Presence Test

For a non-citizen, the federal substantial presence test (IRC § 7701(b)) counts any day you are physically present in the United States, with these exclusions:

  • Exempt individuals: days as a foreign government-related individual, a qualifying teacher, trainee or student, or a professional athlete competing in a charitable sports event.
  • Medical conditions: days you were unable to leave because of a medical condition that arose while you were in the United States.
  • Commuters: days you commute to work in the US from a residence in Canada or Mexico, if you regularly commute.
  • Transit: days you are in the US for less than 24 hours while in transit between two places outside the US.

See United States tax residency and US residency rules for Canadian snowbirds.

The United Kingdom

Under the UK statutory residence test (Finance Act 2013, Schedule 45), a day counts if you are in the UK at the end of the day. Three rules modify that:

  • Transit: a day does not count if you arrive as a passenger, leave the next day, and do nothing in the UK that is to a substantial extent unrelated to your passage. Having a meal is fine; attending a business meeting or meeting friends is not.
  • Exceptional circumstances: a day does not count if you would not have been in the UK at midnight but for exceptional circumstances beyond your control, such as a natural disaster, civil unrest, or a sudden or life-threatening illness or injury, and you intend to leave as soon as they permit. No more than 60 such days can be excluded in a tax year.
  • The deeming rule: if you have at least three UK ties, were UK resident in at least one of the three previous tax years, and have more than 30 days in the tax year when you were in the UK but left before midnight, every such day after the 30th counts as a UK day. Frequent day trips can therefore add days even though you were never in the UK at midnight.

See the UK sufficient ties calculator and the UK work tie. For transit rules in other jurisdictions, see transit days and tax residency.

Burden of Proof and Record Keeping

The taxpayer must prove where they were. In Matter of Boniface, DTA No. 829018 (N.Y. Div. of Tax App., April 29, 2021), the taxpayers had spent fewer than 184 days in New York, so the only question was whether they had changed their domicile to Florida. The auditor obtained the husband's Verizon cell phone records, which contradicted the taxpayers' own calendar, and the taxpayers' calendars and unsworn statements did not agree with each other. They were held to be New York domiciliaries and taxed as full-year residents.

The lesson applies to every test above: a calendar reconstructed after the fact will be checked against phone, card and travel records, and gaps or conflicts are resolved against you. A contemporaneous, day-by-day location record is the strongest evidence you can have. See why spreadsheets fail in residency audits and state tax residency audits.

This article is general information, not legal or tax advice.

Related Articles

Transit Days and Tax Residency

When passing through a jurisdiction does, and doesn't, count.

Read More
Statutory Resident 183-Day Rule

How statutory residency and day counts work across states.

Read More
State Tax Residency Audits

How audits work and the records that win them.

Read More
Counting Days on the Water

How time on boats and in coastal waters is counted.

Read More

Count Every Day, Every Way

Use the Domicile365 App to keep a GPS-based, day-by-day record of where you were, with totals under any-part-of-a-day, overnight and 24-hour approaches.
Sign up for a free 60-day trial and start tracking today.

Tracking days for clients? See Domicile365 for Advisors & CPAs.