Staymark

Guide

The UK statutory residence test: how UK days are counted

Last updated . Published by Certloom Learning. Made from the HMRC guidance note RDR3 and three pages of the HMRC residence manual, read on 12 November 2026. The tables below repeat HMRC figures.

Short answer

For UK tax, HMRC counts a day as a UK day if you are in the UK at midnight at the end of it. The statutory residence test then runs three stages for each UK tax year: automatic overseas tests, automatic UK tests, and, if neither settles it, a ties test that depends on how many UK days you had.

What does the statutory residence test decide?

It decides whether you are UK resident for tax in a UK tax year. It is a tax test, separate from the immigration absence limits for settlement (see UK residence test vs ILR absences). Staymark does not compute the statutory residence test. This guide explains how its day counts work so you can keep the right records.

How does HMRC count a UK day?

HMRC's manual says an individual is considered to have spent a day in the UK if they are here at the end of the day (midnight). Two things change that:

So a morning flight out leaves that day uncounted in most cases, while a late arrival counts as a UK day. The deeming rule is the exception for people who regularly leave before midnight.

Which automatic overseas tests make you non-resident?

Meeting any one of these makes you non-resident for the tax year, according to the HMRC guidance note:

TestWho it applies toUK days
FirstResident in one or more of the 3 previous tax yearsFewer than 16
SecondResident in none of the 3 previous tax yearsFewer than 46
ThirdFull-time work overseas, with further conditions on UK work days and breaks from overseas workFewer than 91

Which automatic UK tests make you resident?

Meeting any one of these makes you UK resident, if no automatic overseas test already applies:

How many UK ties does your day count need?

If neither set of automatic tests decides, the number of UK days sets how many ties make you resident. HMRC lists five ties: family, accommodation, work, 90-day and country. The country tie is checked only if you were resident in one of the previous three tax years. HMRC's manual section RFIG20500 gives the conditions for each tie.

UK days in the tax yearResident in 1 or more of the 3 previous years: ties neededResident in none of the 3 previous years: ties needed
16 to 45At least 4Not resident under this test (fewer than 46 days is an automatic overseas test)
46 to 90At least 3All 4
91 to 120At least 2At least 3
Over 120At least 1At least 2

Worked example

Someone who lived in the UK last year and is now abroad spends 60 days in the UK this tax year. The 46 to 90 row says at least 3 ties are needed for someone resident in a previous year. With 3 or 4 ties they are UK resident for the year. With 2 ties they are not, on this test. If instead they had lived abroad for the previous 3 tax years, 60 days would need all 4 ties. This example is worked by hand from the HMRC table, not computed by the Staymark engine.

What should you record for the test?

Quick questions

Does the day I leave the UK count?

Not under the basic midnight rule if you are abroad by midnight. The deeming rule can still count some such days for people with three or more UK ties who were resident in one of the previous three tax years.

Is a stopover in a UK airport a UK day?

Not if it qualifies as a transit day: a through ticket, arrival as a passenger, departure the next day and nothing substantially unrelated to the journey.

Does Staymark compute this test?

No. Staymark counts the UK ILR absence limit. The statutory residence test needs ties and facts only you can supply.

Official sources

This guide is general information. It is not legal, immigration or tax advice, and Staymark is not affiliated with any government or tax agency. Agencies and officers decide; check the official source for your case.

Related guides