Staymark
Answer

How does the UK Statutory Residence Test count days?

A day counts as a day spent in the UK if you are here at the end of it, at midnight, so the day you fly out normally does not count. Counted days then run against fixed thresholds: 183 days or more makes you UK resident automatically, and fewer than 16 or 46 days (depending on your history) makes you non-resident automatically. In between, UK ties decide.

Checked 28 November 2026.

The midnight rule

HMRC's manual says an individual has spent a day in the UK if they are here at the end of the day (midnight). Three things qualify that: the deeming rule, transit days and time spent here because of exceptional circumstances.

Transit days

A transit day is not counted when you travel from one country outside the UK on a through ticket to a final destination in another country outside the UK, arrive as a passenger, leave the next day as a passenger, and do nothing substantially unrelated to passing through. HMRC's example is that having dinner or breakfast at your hotel is fine; a work meeting that is unrelated to the journey is not.

The deeming rule

The deeming rule adds days you were not here at midnight. It applies for a tax year if you were UK resident in one or more of the 3 previous tax years, you have at least 3 UK ties for the year, and you were in the UK on more than 30 days without being here at the end of the day. The days above 30 are then counted. HMRC's own example: someone with 3 ties who is present on 50 such days has 20 qualifying days to add.

The automatic tests, in day numbers

Automatic overseas (non-resident): fewer than 16 days in the UK if you were UK resident in one or more of the 3 previous tax years; fewer than 46 days if you were resident in none of those 3 years. A third overseas test covers working full-time overseas, with fewer than 91 UK days and fewer than 31 UK working days of more than 3 hours.

Automatic UK (resident): 183 days or more in the UK in the tax year. There are also tests based on having a UK home and on full-time UK work.

If neither automatic test settles it: the ties tables

If you were UK resident in one or more of the 3 previous tax years: 16 to 45 days needs at least 4 ties to be resident, 46 to 90 days at least 3, 91 to 120 days at least 2, over 120 days at least 1. If you were resident in none of them: 46 to 90 days needs all 4 ties, 91 to 120 days at least 3, over 120 days at least 2. The ties are family, accommodation, work and 90-day, plus a country tie for people who were recently resident.

Where Staymark fits

Staymark's UK counter counts your midnights against the threshold for the ties you tick. It is a day counter, not a full test: it does not run the automatic tests, the deeming rule or split years. Use it to see where your days stand, then check the official guidance.

Use the free UK SRT day counterRead the full SRT guide

Questions

Does the day I leave the UK count?

Normally not, because you are not here at midnight. The deeming rule can still add days in some cases.

How many days can I spend in the UK before I become resident?

183 or more makes you resident automatically. Below that it depends on your history and your ties, as the tables above show.

Does Staymark give tax advice?

No. It counts days against published thresholds.

Sources

This is general information about published rules, not tax, legal or immigration advice. Rules change and your position depends on your own facts, so confirm it with the official source or a professional.