Tax residency · November 10, 2026
Do partial days count? Days vs nights for residency rules
Partial days usually count as full days: the US SPT and Schengen count any part of a day, while the UK counts the days you are there at midnight. Here's how.
Usually, yes. Most residency and visa rules count any part of a day as a full day, so the day you land and the day you leave both count. The big exception is the UK, where midnight decides: a day counts if you’re there at the end of it.
Why does the counting method matter?
Small edges add up. Make twenty short trips to the same country and your total can swing by up to forty days, depending on whether arrival and departure days count. Near a line like 183 days, or Schengen’s 90, that swing is the difference between safe and over.
There is no global standard. Each rule defines its own “day,” and that definition is written into the rule. It isn’t yours to choose.
How do the main rules count a day?
Here is how the common tests treat partial days. These are the general positions; each has exceptions.
| Rule | What counts as a day | Arrival and departure days |
|---|---|---|
| US Substantial Presence Test | Any part of a day physically present in the US | Both count |
| Schengen 90/180 | Any part of a day in the Schengen Area | Both count |
| UK Statutory Residence Test | Present in the UK at the end of the day (midnight) | Usually only the arrival day, if you are still there at midnight |
| New York State and City statutory residency | Any part of a day in New York | Both count |
| Canada’s 183-day sojourner rule | Generally any part of a day | Generally both count |
Other countries use their own definitions, and some are not clearly stated in law. Where a rule is ambiguous, advisers often count conservatively, treating any presence as a day.
Does the US count any part of a day?
Yes. For the US Substantial Presence Test, you are present on any day you are physically in the US at any time during it. Land at 11:50 p.m. and that’s a day.
The IRS lists a few exclusions. Days in transit between two foreign points for less than 24 hours don’t count, nor do days as a regular commuter from Canada or Mexico, days you couldn’t leave because of a medical condition that arose in the US, or days as certain crew members of foreign vessels. “Exempt individuals,” such as some students, teachers and diplomats, don’t count their days at all, but most need to file IRS Form 8843 to claim it. Our guide to the US Substantial Presence Test covers the three-year formula.
What is the UK midnight rule?
Under the UK Statutory Residence Test, a day generally counts as a UK day only if you are in the UK at the end of it. Think of the clock striking twelve as a headcount: whoever is in the country gets counted. Fly in Monday morning and out Monday evening, and Monday isn’t a UK day. Arrive Monday and leave Wednesday, and you have two UK days, not three.
There are three important qualifications:
- Transit days. If you arrive as a passenger on the way somewhere else, leave the next day, and do nothing unrelated to the journey, the day can be ignored.
- Exceptional circumstances. Days you were forced to stay by events outside your control, such as a sudden serious illness, can be excluded, up to 60 days in a tax year.
- The deeming rule. If you were UK resident in one of the previous three tax years, have at least three UK ties, and spend more than 30 days in the UK without being there at midnight, days beyond the 30th can count anyway. It stops people relying on day trips.
The UK Statutory Residence Test guide explains how these days feed into the day bands and ties.
Do Schengen entry and exit days both count?
Yes. The Schengen Borders Code counts the day of entry and the day of exit as days of stay. Arrive in Paris at 11 p.m. on the 1st and leave Lisbon at 6 a.m. on the 10th, and you have used ten days of your 90. The Schengen 90/180 guide explains the rolling window those days fall into.
This also means a day trip into the Schengen Area from a non-Schengen country, such as from the UK or Ireland, uses a full day.
What about US states?
Most states that use a day-count test follow the “any part of a day” approach, but each state writes its own rules. New York, the most frequently audited, counts any part of a day spent in the state, with narrow exceptions such as passing through on the way elsewhere, and days of inpatient medical treatment. The state residency guide has more on how states test residency.
How Diego helps
One switch, every rule. Diego has a Days or Nights toggle on every residency screen. Days counts both the day you arrive and the day you leave; Nights doesn’t count the departure day. The Schengen tracker always counts every day you were in the Schengen Area, because that is how the rule works.
- Use Days for the US Substantial Presence Test, the 183-day rule in most countries, Schengen and US states.
- Nights is closer to the UK’s midnight rule, though Diego doesn’t apply the UK’s transit, exceptional-circumstances or deeming rules.
- Switch between the two to see how much your total depends on the convention, and keep the higher figure in mind when you’re close to a limit.
Every tracker shows your days used, the days you have left and the date you would cross, and Diego notifies you two weeks before you reach a limit.
Diego’s numbers are estimates based on the trips you record, not tax, legal or immigration advice. Check important decisions with a qualified professional.
Common questions
Does the day I arrive count toward the 183-day rule?
Under many rules, yes. The US Substantial Presence Test, the Schengen 90/180 rule and New York's statutory residency test all count a day on which you were present for any part of it. The UK is the main exception: it generally counts only days on which you are in the UK at the end of the day, meaning midnight.
Do arrival and departure days both count for Schengen?
Yes. Under the Schengen Borders Code, the day of entry and the day of exit are both counted as days of stay. A trip from the 1st to the 10th is ten days, however late you land or early you leave.
Does a layover count as a day in the US?
Usually not, if you are in transit between two foreign points and are in the US for less than 24 hours. That is one of the specific exclusions in the Substantial Presence Test. Leave the airport for anything other than the connection and the day may count.
What is the UK midnight rule?
Under the UK Statutory Residence Test, a day generally counts as a UK day if you are in the UK at the end of it. There are exceptions for some transit days and exceptional circumstances, and a deeming rule that can count extra days for people with several UK ties.
Should I count days or nights?
It depends on the rule. Most day-count tests, including the US Substantial Presence Test and Schengen, count days of presence, so a days count is the safer default. The UK is closer to a nights count. If in doubt, use the convention that gives the higher number.
