Guide

What is the country tie in the Statutory Residence Test?

Published · Updated · Sources checked 1 Oct 2026

If you split a tax year between several countries, the country tie asks one narrow question: was the UK the country where you were present at midnight on the most days, or joint most?

You have a country tie for a tax year if the UK is the country where you were present at midnight on the greatest number of days in that tax year. If the UK shares the highest count with one or more other countries, HMRC still treats that as a country tie. The tie is only considered if you were UK resident in one or more of the three tax years before the year being looked at.[1][2]

The country tie is one of up to five UK ties used in the sufficient ties test. It does not decide residence on its own: the outcome depends on how many UK ties you have in total and how many days you spent in the UK, and the ties test is only used when none of the automatic overseas or UK tests is met.[2][3]

HMRC’s Statutory Residence Test (SRT) guidance runs to 143 pages. The country tie takes up two paragraphs of it, which is why the details below matter.

Educational, not tax advice.

Who the country tie applies to

HMRC splits the ties by your residence history. If you were not UK resident in any of the three previous tax years, you consider four ties: family, accommodation, work and the 90-day tie. HMRC then adds:

“If the individual was UK resident in 1 or more of the 3 years immediately before the year under deliberation as well as the above ties they will also need to consider whether they have a country tie.”[2]

People in the first group are often called “arrivers” and people in the second “leavers”. Those are shorthand labels. The test itself is whether you were UK resident in at least one of the previous three tax years.

Two details from HMRC’s guidance:

How the midnight count works for this tie

HMRC’s wording is:

“The individual will have a country tie for a tax year if the UK is the country in which they were present at midnight for the greatest number of days in that tax year.”[1]

The legislation defines the “midnight test” for a country as being present in that country at the end of the day.[12]

Three points follow from that wording.

Countries are compared one by one. The question is which single country had the most midnights. Your days abroad are not added together into one “rest of the world” total. If no other individual country has more midnights than the UK, the UK has the greatest number.[1]

Regions count towards their country. HMRC says presence at midnight “in any state, territory or canton into which a country is subdivided is regarded as presence at midnight in that country”. Nights in different US states, for example, all count towards the United States.[1]

Only the tax year in question counts. The country tie looks at midnights in that tax year. The 90-day tie is the one that looks back at the two previous tax years.[1][4]

Exceptional circumstances do not reduce this count

HMRC allows some UK days caused by exceptional circumstances to be left out of certain parts of the SRT, including the day count used in the sufficient ties tables. The country tie is not one of them. HMRC lists “Country tie – midnight test – greatest number of midnights” among the tests where those days cannot be discounted.[8][9]

That means the number of UK days you use in the ties table and the number of UK midnights you use for the country tie are not always the same figure.

What the country-tie page does not cover

The general SRT day count has extra rules: the deeming rule, which can count some UK days without a UK midnight, and the transit rule, which can exclude an overnight connection.[5][6][7] HMRC’s country-tie page is framed only in terms of presence at midnight and does not say how either rule applies to it. It also does not mention nights spent travelling, such as on an overnight flight. If any of these affect your year, raise them with a qualified adviser rather than assuming an answer.

What happens if two countries have the same number of midnights

HMRC answers this directly:

“If the greatest number of days the individual was present in a country at midnight is the same for 2 or more countries in a tax year, and 1 of those countries is the UK, then the individual will have a country tie for that tax year.”[1]

So a shared top count that includes the UK is treated as a country tie. The rule only applies to the highest count. If two other countries share the highest count and the UK’s count is lower, the UK is not the country with the greatest number of midnights.[1]

How the country tie fits with the other ties and your UK days

If you were UK resident in at least one of the previous three tax years, there are five possible ties: family, accommodation, work, 90-day and country.[2] HMRC’s table for that group sets out how many ties are needed at each level of UK days:

Days spent in the UK in the tax year UK ties needed
More than 15 but not more than 45At least 4
More than 45 but not more than 90At least 3
More than 90 but not more than 120At least 2
More than 120At least 1

Source: HMRC’s Table A.[3] The ties test applies only if no automatic test is met.[2]

The country tie counts as one tie in that total. It can also matter to the deeming rule, which applies only where, among other conditions, you have at least three UK ties for the year. HMRC’s own deeming example (Desmond) counts a country tie as one of three ties.[6]

For how the tests are applied in order, read the 183-day myth. For other individual ties, see the accommodation tie and UK work days and the work tie. The overview of the whole test is in Am I a UK tax resident?

Records that show where you spent your midnights

For people with UK connections, HMRC lists records that show “in which countries they have spent their days and midnights”, with examples including:

HMRC says the types of record it lists are not exhaustive.[11]

The country tie asks about every country, not just the UK. A count of UK nights alone cannot show whether another country had more. The practical record is a midnight location for each day of the tax year.

A calendar entry or a booking confirmation records a trip, not where you were at the end of each day, and months later the gaps are hard to fill. That is a limitation of the tools, not a failing on your part. A day-by-day travel log kept during the year, linked to the bookings and tickets behind it, means the count can be checked rather than rebuilt.

A simple layout, offered as an editorial suggestion rather than an HMRC form:

Field What to put in it
DateEach date in the tax year (6 April to 5 April).
Country at midnightThe country, not just the city or region.
Supporting recordThe booking, ticket or boarding card that backs it up.
NoteAnything unclear, such as an overnight flight, a transit stop or disrupted travel.

Leave unclear days marked as unclear. A note to discuss with an adviser is more useful than a guess entered as fact. For more on organising evidence, see what records HMRC says to keep and why documentation matters.

Frequently asked questions

Does the country tie apply if I was not UK resident in any of the last three tax years?

No. HMRC’s ties-test introduction says the country tie is considered only by people who were UK resident in one or more of the three tax years before the year in question.[2]

Is it my UK midnights compared with all my midnights abroad added together?

No. HMRC’s wording asks whether the UK is “the country” with the greatest number of midnights, so the UK is compared with each other country separately.[1]

What if the UK and another country have exactly the same number of midnights?

If that shared figure is the highest of any country, HMRC treats it as a country tie.[1]

Can UK days caused by exceptional circumstances be left out of the country-tie count?

HMRC says no. Its list of tests where exceptional-circumstances days cannot be discounted includes the country tie midnight test.[9]

Do overnight flights or transit stops change the count?

HMRC’s country-tie page does not address either. The transit-day rules are written for the UK day count. If this affects your year, record what happened and ask a qualified adviser.[1][7]

Does having a country tie make someone UK resident?

Not on its own. A country tie is one tie. Whether ties lead to UK residence depends on the number of UK days and the total number of ties in HMRC’s table, and the ties test is used only when no automatic test is met.[2][3]

Sources

HMRC Residence and FIG Regime Manual pages checked on 1 October 2026. Their recorded public-update date is 4 April 2025, except RFIG20520 (3 July 2026), RFIG20570 (8 January 2026) and RFIG22230 (7 April 2025). Those are page metadata dates, not a statement that the law changed on those dates.

  1. RFIG20580: Country tie.
  2. RFIG20510: The ties test, introduction.
  3. RFIG20520: The number of ties.
  4. RFIG20570: 90-day tie.
  5. RFIG20710: Meaning of a day spent in the UK.
  6. RFIG20720: The deeming rule.
  7. RFIG20730: Transit days.
  8. RFIG22220: Exceptional circumstances, where they can be taken into account.
  9. RFIG22230: Exceptional circumstances, where they cannot be taken into account.
  10. RFIG21940: Record keeping, the sufficient ties test.
  11. RFIG21910: Records that should be kept for SRT purposes.
  12. Finance Act 2013, Schedule 45, paragraph 38: statutory wording for the country tie and the midnight test.

Educational information, not tax advice. UK residence can turn on detailed facts and current law. If your position is close to a threshold or commercially significant, use current HMRC guidance and take advice from a qualified professional.