The UK Statutory Residence Test
Whether you’re UK resident for tax depends on how many days you spend in the UK in each tax year, and sometimes on your ties to it. HMRC normally counts a day by where you are at midnight, with some exceptions, so your travel dates decide more than you might expect.
Updated
On this page
Past the Hedge can keep this record for you. Sign up free →
One tax year at a time
The test is applied to each UK tax year on its own, from 6 April to the following 5 April. HMRC works through it in order:
- 183 days or more in the UK: you’re resident.
- Otherwise, the automatic overseas tests: if one is met, you’re not resident.
- Then the other automatic UK tests, about your UK home and full-time work in the UK.
- If none of those decides it, the sufficient ties test: your days in the UK and your ties to it, together.
Source HMRC: Residence and FIG Regime Manual, RFIG20040, and Finance Act 2013, Schedule 45.
A day counts if you’re in the UK at midnight
The UK test doesn’t count every day you were in the country. It normally counts the days you were in the UK at the end of the day, at midnight.
Two exceptions to that:
- Transit: a midnight doesn’t count if you arrived as a passenger on your way somewhere else, left the next day, and did nothing substantially unrelated to your onward journey. Sleeping in an airport hotel is fine; a planned visit to friends or a business meeting isn’t.
- Exceptional circumstances: up to 60 days a tax year in total, when something beyond your control, such as a sudden serious illness, stops you leaving and you mean to leave as soon as you can. It applies only to some of the test’s day counts.
When day visits start to count
Day visits normally don’t count, but there’s a catch for regular visitors. If you were UK resident in at least one of the last three tax years, have at least three UK ties this year, and are in the UK on more than 30 days without staying to midnight, every such day after the 30th counts as a UK day too. When checking for those three ties, don’t use deemed days from earlier years toward the 90-day tie. And the extra days don’t count toward the 91-day limit in the full-time overseas work test.
Source HMRC: RFIG20720, the deeming rule.
The automatic overseas tests
You’re automatically not UK resident for the year if you spent:
- Fewer than 16 days in the UK, having been resident in at least one of the last three tax years.
- Fewer than 46 days in the UK, having been resident in none of the last three tax years.
- Fewer than 91 days in the UK while working full time overseas for the whole tax year with no significant break, working more than three hours in the UK on fewer than 31 days. Some cross-border transport jobs are excluded.
Your days and your ties, together
If no automatic test settles it, the number of days you spent in the UK sets how many UK ties make you resident. The ties are:
- Family: a UK-resident spouse, civil partner or partner you live with, unless you’re separated; or a UK-resident child under 18 you see in the UK on at least 61 days. A child in full-time UK education who would otherwise not be UK resident, and spends fewer than 21 days in the UK outside term time, doesn’t count.
- Accommodation: a place to live in the UK, available for a continuous period of at least 91 days in the tax year (gaps of under 16 days don’t break it), where you spend at least one night (16 nights if it’s a close relative’s home).
- Work: more than three hours’ work in the UK on at least 40 days.
- 90 days: more than 90 days in the UK in either of the last two tax years.
- Country (leavers only): the UK is where you spent the most midnights this year.
Your next step: if you’re near the edge of a band, one more midnight can change how many ties are needed to make you UK resident. Check your ties as carefully as your days, and talk to a tax adviser before you rely on the result.
Source HMRC: RFIG20510, RFIG20520, and RDR3, Guidance note for the Statutory Residence Test.
Arriving or leaving partway through the year
If you’re UK resident for a tax year in which you move to or from the UK, split-year treatment may divide it into a UK part and an overseas part. It applies only in set cases, such as starting full-time work abroad or no longer having a UK home, and you can’t choose whether it applies.
Source HMRC: RFIG21010.
Rebuild each tax year’s trips
The test needs your days counted by tax year, April to April, with the exact arrival and departure dates, and often the time of day you left. Booking confirmations show the planned dates and times; check them against how you actually traveled.
Past the Hedge builds a trip from each confirmation you forward, including ones from years ago. Forward your old flight, hotel, rail and cruise emails, and your trips line up in date order, each with the dates you left and came back and the countries it went to: most of what the count asks for.

- Forward the original confirmations to your private address. We receive only what you forward, and never connect to your inbox.
- Missing an email? Add the trip by hand from a stamp, a receipt or a government record.
- If the form asks why you traveled, add the reason yourself: a booking email may not say.
Start your travel history freeWhat to forward and what gets read → · Adding past trips →
Check before you rely on it
- Count UK midnights from April 6 to April 5, and apply the transit, exceptional-circumstance and deeming rules only to the counts they cover.
- Check work days, home days and ties separately.
- Keep a note of any days you leave out, and why.
- Check your ties as well as your days. The day bands only tell you how many ties matter.
Important This page explains what the official guidance says. It isn’t tax advice. The test has more detail than fits here, including full-time work and the UK home test. If you’re near a threshold, or moving to or from the UK, talk to a tax adviser.
Count your days from real records
Forward your flight and hotel emails and each trip is saved with the dates you left and came back, so the days you count start from bookings, not memory.
Premium, free during the beta, turns it into a trip list you can download for your form.
Sign up freeSee a sample account first
Free to sign up. No card needed.
