# UK Statutory Residence Test: days, ties and a worked example

> How the UK Statutory Residence Test counts midnights over the 6 April tax year, the automatic tests, the sufficient ties table and a worked example.

Last updated 2026-11-23. https://stayquota.co/guides/uk-statutory-residence-test/

The Statutory Residence Test (SRT) decides whether you are UK resident for tax in a UK tax year, which runs from 6 April to 5 April. It counts the days you are in the UK at midnight. You check the automatic overseas tests first, then the automatic UK tests, and if neither settles it, the sufficient ties test: the more ties you have to the UK, the fewer days you can spend there and stay non-resident.

> This guide is general information, not tax advice. HMRC's guidance note [RDR3: Statutory Residence Test](https://www.gov.uk/government/publications/rdr3-statutory-residence-test-srt) is the official source and covers conditions this summary leaves out. Ask a tax adviser about your own situation.

## The tax year and the midnight rule

A day counts as a UK day if you are in the UK at the end of it, that is, at midnight. A day trip that ends before midnight is not a UK day. There are three adjustments:

- **Transit days.** A day you arrive as a passenger and leave the next day doesn't count, as long as you don't do things substantially unrelated to your journey, such as meeting people for work.
- **Exceptional circumstances.** Days you had to stay because of events beyond your control, such as a sudden serious illness, can be left out, up to 60 days in a tax year.
- **The deeming rule.** If you were UK resident in at least one of the previous three tax years, have at least three UK ties, and were in the UK on more than 30 days without being there at midnight, the days after the first 30 count as UK days.

## Step 1: the automatic overseas tests

You are not UK resident for the year if you meet any of these:

1. You were UK resident in one or more of the previous three tax years and spend fewer than 16 days in the UK.
2. You were not UK resident in any of the previous three tax years and spend fewer than 46 days in the UK.
3. You work full time overseas (an average of 35 hours a week), spend fewer than 91 days in the UK, and work for more than three hours on fewer than 31 of those days.

## Step 2: the automatic UK tests

If no overseas test applies, you are UK resident if you meet any of these:

1. You spend 183 days or more in the UK in the tax year.
2. You have a home in the UK and either no home overseas or none you spend 30 days or more in, with further conditions on how long you have the UK home and how much you use it.
3. You work full time in the UK for a period of 365 days, with further conditions.

## Step 3: the sufficient ties test

If neither step settles it, count your UK ties for the tax year:

- **Family tie:** your spouse, civil partner or partner, or a child under 18, is UK resident.
- **Accommodation tie:** you have a place to live in the UK available for at least 91 days in a row during the year and spend at least one night there (16 nights if it belongs to a close relative).
- **Work tie:** you work in the UK for more than three hours on at least 40 days.
- **90-day tie:** you spent more than 90 days in the UK in either of the previous two tax years.
- **Country tie:** the UK is where you spent the most midnights in the year. This tie only counts if you were UK resident in at least one of the previous three tax years.

Then read across the table for your UK days:

| UK days in the tax year | UK resident in any of the previous 3 tax years | Not UK resident in any of the previous 3 tax years |
|---|---|---|
| Fewer than 16 | Not resident | Not resident |
| 16 to 45 | Resident with 4 or more ties | Not resident |
| 46 to 90 | Resident with 3 or more ties | Resident with all 4 ties |
| 91 to 120 | Resident with 2 or more ties | Resident with 3 or more ties |
| 121 to 182 | Resident with 1 or more ties | Resident with 2 or more ties |
| 183 or more | Resident | Resident |

People who were not resident in the previous three years can only have four ties, because the country tie doesn't apply to them.

## Worked example

Sarah was UK resident in the 2025–26 tax year and moved to Lisbon in April 2026. For the 2026–27 tax year (6 April 2026 to 5 April 2027):

- She keeps her London flat and stays there on visits: **accommodation tie**.
- She spent more than 90 days in the UK in 2025–26: **90-day tie**.
- Her partner moved with her, she doesn't work in the UK, and she spends far more midnights in Portugal: no family, work or country tie.

Sarah has two ties and was UK resident in one of the previous three years. With two ties she becomes resident at 91 UK days, so she can spend up to 90 midnights in the UK and stay non-resident.

If she spends 85 midnights in the UK, she is not resident. At 95 midnights she would be resident. If her partner had stayed in London, she would have three ties and her limit would drop to 45 days, and day trips beyond the first 30 would start to count under the deeming rule. If she spends 15 days in the UK or fewer, she is not resident whatever her ties, under the first automatic overseas test.

## What this summary doesn't cover

- **Split-year treatment.** In the year you arrive in or leave the UK, the tax year can be split into a UK part and an overseas part if you meet one of several cases.
- **Temporary non-residence.** Some income and gains received while abroad can be taxed when you return within a set period.
- **Tax treaties.** A double tax treaty can decide which country taxes you when both treat you as resident.
- **Each test's detailed conditions,** including the definition of a home and full-time work. RDR3 sets them out.

## Tracking the SRT with StayQuota

StayQuota: Country Tracker has a UK rule built on the SRT. It counts your UK midnights over the 6 April tax year, applies the automatic overseas and UK tests, and uses the ties table above to show the most UK days that keep you non-resident, for example "88 more UK days before 5 April keep you non-resident (2 UK ties)." You answer the family, accommodation and work ties yourself; StayQuota works out the 90-day and country ties from your record, and counts the 90-day tie when your record doesn't cover the earlier years. It leaves out transit days, up to 60 exceptional days, and applies the deeming rule. Split-year treatment isn't assessed.

StayQuota records the country you're in each day on your iPhone, and a PDF report lists every day with its source and your ties for your adviser. See [features](https://stayquota.co/features/), [pricing](https://stayquota.co/pricing/), or the [Schengen 90/180 guide](https://stayquota.co/guides/schengen-90-180-rule/) if you also spend time in Europe.

Download StayQuota: Country Tracker on the App Store: https://apps.apple.com/app/id6819390323
