Article

How HMRC actually counts a day in the UK — and the three counting rules that catch people out

Everyone doing their own residence sums counts days the way a diary would: if I was there, it counts. HMRC's test runs on midnight, not daylight hours, and layers on a transit exemption, an exceptional-circumstances cap and a deeming rule that can turn thirty day trips into UK residence. The automatic tests, the ties bands, and the count that actually survives an enquiry.

14 September 2026 · 8 min read · by the Expat Accountants team

Ask most people counting their "days in the UK" how they're doing it, and the answer is a diary: if I was physically on British soil at any point that day, it counts. HMRC's Statutory Residence Test doesn't work that way. The test asks one narrow question — were you here at midnight — and then bolts on three exceptions that most people have never heard of and that can each move the final number by weeks.

Getting the count wrong doesn't produce a small error. Residence is all-or-nothing for the whole tax year, so miscounting by even a handful of days can be the difference between UK tax on your worldwide income and UK tax on nothing but your UK sources. The mechanics below are set out in HMRC's Residence and FIG Regime Manual, and none of it is a matter of judgement once you know where to look.

The rule behind every other rule: were you here at midnight?

A day counts as a UK day if you are present in the UK at the end of that day — midnight. It does not matter whether you arrived at 6am and left at 11pm; if you were still in the country when the clock struck twelve, it is a UK day. Equally, a day where you land at 11pm and are gone by breakfast the next morning is a UK day too, because midnight caught you here. Hours spent in the country during daylight are irrelevant to this part of the test — only where you were at the stroke of midnight matters, per HMRC's guidance on the meaning of a day spent in the UK.

That single rule is why a spreadsheet beats memory. Most people can recall roughly how many trips they made; almost nobody can recall, eighteen months later, whether the connecting flight that got delayed left them in a UK departure lounge past midnight on 14 March or 15 March. HMRC enquiries into residence are argued over exactly that kind of night.

The automatic tests: the question the ties table never gets asked

Before any tie is counted, the test checks whether your day count alone settles the question. Three automatic tests can make you non-resident outright, and two can make you resident outright, regardless of ties.

TestThresholdOutcome
Automatic overseas test 1Fewer than 16 UK days, and UK-resident in one or more of the previous 3 tax yearsAutomatically non-resident
Automatic overseas test 2Fewer than 46 UK days, and not UK-resident in any of the previous 3 tax yearsAutomatically non-resident
Automatic overseas test 3Full-time work overseas: fewer than 91 UK days, fewer than 31 UK workdays, no significant break from overseas workAutomatically non-resident
Automatic UK test 1183 or more UK daysAutomatically resident
Automatic UK test 2 / 3Only home is in the UK (used 30+ days) or full-time UK workAutomatically resident

Only when none of these five tests bite does the sufficient ties test — the days-plus-connections calculation most people have heard of — even get switched on. That ordering matters for planning: someone comfortably under 16 days doesn't need to think about family ties, accommodation ties or the 90-day tie at all. The automatic overseas tests are the cleanest exit from UK residence there is, which is why full-time-work-abroad contracts and workday logs deserve as much care as the day count itself.

Two days that don't count, and one that secretly does

Three specific rules bend the plain midnight count, and each one catches a different kind of traveller.

  • The transit day exemption. A day doesn't count as a UK day, even if you're here at midnight, if you arrive in the UK as a passenger on a through-journey between two other countries, leave again the next day, and do nothing while here that isn't related to the passage through. HMRC's own examples are specific: dinner and a night at an airport hotel is fine; watching a film at a local cinema, or seeing family, is "substantially unrelated to your passage" and switches the exemption off. See the transit days guidance.
  • Exceptional circumstances. Up to 60 days in a tax year can be disregarded from your count if you were prevented from leaving the UK by something genuinely exceptional — a serious illness, being unable to travel because of a natural disaster, a sudden and serious family emergency. HMRC construes this narrowly: a cancelled flight, a missed connection, or simply preferring to stay longer does not qualify.
  • The deeming rule — the one that secretly adds days back in. This applies only if you have been UK resident in one or more of the previous three tax years and you have at least three UK ties for the year in question. If both hold, and you have been present in the UK on more than 30 days without being here at midnight — day trips, essentially — every such day past the first 30 is added to your day count anyway, for the purposes of the ties test only. See the deeming rule.

The deeming rule is the one that surprises people, because it's aimed squarely at a habit that feels safe: flying in for a same-day meeting and flying out before midnight, on the reasonable-sounding logic that a day you're never here overnight can never be a "UK day". Do that on your 31st same-day trip and every one from the 31st onward counts as if you'd stayed the night — the exact outcome the frequent day-tripper thought they'd engineered around.

The ties table, once the automatic tests are out of the way

If none of the automatic tests settle it, the day count is measured against however many of the five UK ties apply — family, accommodation, work, the 90-day tie, and (for leavers only) the country tie. The number of days you can spend in the UK before you become resident falls sharply as ties increase, and the bands are different depending on whether you were UK-resident in any of the previous three years.

UK days in the yearLeaver becomes resident withArriver becomes resident with
16–454 ties— (automatically non-resident under 46)
46–903 or more tiesAll 4 ties
91–1202 or more ties3 or more ties
121–1821 or more ties2 or more ties

Our guide to the Statutory Residence Test covers what the five ties actually mean in practice; this piece is about counting the days that feed into that table correctly in the first place.

How this typically plays out

A composite, typical of the enquiries we see. A leaver — UK-resident in one of the previous three years, spouse and the family home still in the UK — plans a year of monthly long weekends plus a fortnight at Christmas: on paper, roughly 60 days, comfortably inside what they assume is a 90-day margin. Two counting rules change that answer.

  • Six of those "long weekend" trips are genuinely same-day round trips squeezed around work — out and back without a UK midnight. Removing those from the raw count first looks like good news: down to around 48 midnight-present days.
  • But the family tie, the accommodation tie and the 90-day tie (heavy UK visits the year before) all apply — three ties. And there have been 34 of those same-day trips over the year, not six; the other 28 were shorter visits to see the children that the client hadn't thought to log as "UK days" at all because they never stayed over.

The deeming rule bites: with three ties and more than 30 non-midnight days, everything past the 30th is added back — 4 extra days in this composite. The real count for the ties test is 48 plus 4, or 52 days, still inside the leaver's 46–90 band, still needing 3 or more ties. With exactly three, this leaver is UK resident for the year, on a travel pattern they had genuinely budgeted at "well under 90 days". The number that mattered was never the diary total; it was the midnight count plus the deemed days, measured against the ties they were carrying without realising it.

The fix in a case like this is almost always to shed a tie, not to fly less. Letting the UK house on a genuine tenancy rather than keeping it "available" removes the accommodation tie; once only the family and 90-day ties remain, the same travel pattern needs a 91–120 day band and 2 ties to trigger residence — considerably safer ground for the same number of trips home.

Building a day count that survives an enquiry

  1. Log every UK entry and exit as it happens, not from memory in January. A phone calendar or a simple spreadsheet with arrival and departure times is enough — the point is contemporaneous, not clever.
  2. Flag same-day trips separately from overnight stays. They're excluded from the raw midnight count but they are exactly what the deeming rule is watching for once you pass 30 of them and carry three ties.
  3. Keep the evidence, not just the total. Boarding passes, hotel bookings and calendar entries are what settles a dispute; a round number with no backup rarely survives HMRC scrutiny.
  4. Recheck your tie count every year. Ties are assessed year by year, not fixed for life — a family member moving abroad, a house sale, or a change in UK workdays all move you between bands.
  5. Run the numbers before the year ends, not after. Our UK day count checker takes the raw dates and applies the automatic tests, the deeming rule and the ties bands in one pass, and if you are leaving or arriving partway through the year, run it alongside the split-year treatment checker — a day count within a split year is a different calculation from a day count in a full one.

If you're planning a year of travel against a day budget you're not confident in, or you've already had a year that came closer to the line than you'd like, our non-resident Self Assessment service runs the full test — automatic, deeming and ties — as part of every return, and flags the year before it becomes a problem rather than after.

The day thresholds and rules above are set by statute (Finance Act 2013, Schedule 45) and are unchanged for both 2025/26 and 2026/27; guidance cited is HMRC's Residence and FIG Regime Manual, correct as at 14 September 2026.

Questions readers ask

What actually counts as a 'day' spent in the UK for tax residence?

It is the day you are physically present in the UK at midnight, not the number of hours you spent here during the day. Arrive at 11pm and leave at 6am the next morning and that is still a UK day, because midnight caught you in the country; spend fourteen hours here on a day trip and leave before midnight and it is not, under the plain rule. This single test — presence at the end of the day — is what HMRC's Residence and FIG Regime Manual uses to build every automatic test and every ties-table calculation in the Statutory Residence Test, so getting it wrong at the counting stage throws off everything built on top of it.

Does a same-day business trip with no overnight stay count against my UK days?

Not under the basic midnight rule, no — a day where you were never in the UK at midnight is not a UK day, whatever you did during daylight hours. But it can still count under the deeming rule, which applies if you were UK-resident in one or more of the previous three tax years and hold three or more UK ties for the year in question. If both are true and you rack up more than 30 such same-day visits, every one past the 30th is added back into your day count for the ties test. Frequent day-trippers with strong UK ties are exactly who this rule targets.

What is the transit day exemption and how easily can it be lost?

It excuses a day from your UK count even though you were here at midnight, provided you arrived as a passenger travelling between two other countries, left again the next day, and did nothing here unrelated to that journey. Dinner and an overnight stay at an airport hotel keeps the exemption intact; HMRC's own examples say watching a film at a local cinema or spending time with family does not, because that activity is 'substantially unrelated to your passage' through the UK. The exemption is narrow and fact-specific — one unrelated errand during a stopover is enough to turn the day into an ordinary UK day.

Can I just claim exceptional circumstances if my flight home gets cancelled or delayed?

No, and this is one of the most common misreadings of the rule. HMRC allows up to 60 days a year to be disregarded from your count only where you were prevented from leaving by something genuinely exceptional — serious illness, a sudden and serious family emergency, or being unable to travel because of a national or natural disaster. A cancelled flight, a missed connection, or simply choosing to extend a stay does not qualify, however inconvenient it was. Building a day-count plan that relies on this relief being available is building on ground HMRC construes narrowly and will not extend for ordinary travel disruption.

More articles

Wherever you are, your UK tax is our day job.

Tell us where you are and what you've got in the UK. We'll reply with a fixed quote — usually the same day. No obligation, no mailing list, a real person replies.

Get a fixed quote by email

or WhatsApp us now

Get a fixed quoteWhatsApp
Tell us what you kept in the UK and we’ll price itFixed fee in writing, usually the same working day. No obligation.