Estimate Tax

UK Statutory Residence Test guide

UK Country Tie Explained

Understand when the country tie applies, compare your UK midnights with every other country, and see how one additional tie can change the sufficient-ties residence result.

UK Country Tie Checker

Country comparison and sufficient-ties impact

Who needs this tie? The country tie counts only if you were UK resident in at least one of the three tax years before the year being tested. Automatic overseas and automatic UK tests must be checked first.

This can require adjustments under the SRT. It is not always identical to the raw UK-midnight count below.

Family, accommodation, work and 90-day ties.

Midnights by country

Enter every country that could equal or exceed the UK. States, territories or cantons within one country should normally be combined for this test.

Indicative country-tie assessment
—

UK midnights—
Highest country—
Total relevant ties—
Ties-table screen—

Results are estimates based on the information you enter and the Statutory Residence Test rules for the tax year shown. This is not tax advice; check HMRC guidance or a qualified adviser for complex cases. It only compares the midnight totals you enter.

5th tieonly for a recent UK resident
Midnightend-of-day location is compared
Joint highestan equal top UK count still qualifies
6 Aprileach UK tax year starts afresh

Core definition

What Is the UK Country Tie?

You have a country tie when the United Kingdom is the country in which you are present at midnight for the greatest number of days in the tax year. If the UK shares the highest count with another country, the tie still applies.

The UK country tie is one of the connections used by the Statutory Residence Test when the automatic tests do not settle an individual's residence position. It is sometimes described as the “most days” tie, the “midnight tie” or the “frequent country tie.” Its legal function is narrow: it adds one UK tie when the United Kingdom is the country where a person spends the greatest, or joint greatest, number of midnights during the tax year.

The test is comparative. It is not enough to count UK days in isolation. You must compare the number of UK midnights with the number of midnights spent in each other country separately. If you have 80 UK midnights, 110 Spanish midnights and 70 French midnights, Spain is strictly higher and there is no UK country tie. If you have 80 UK midnights and 80 Spanish midnights, with every other country below 80, the UK is joint highest and the country tie applies.

The country tie is also restricted by residence history. It is counted only for a person who was UK resident in one or more of the three tax years immediately preceding the year under review. This is why it commonly matters to recent leavers, internationally mobile executives, returning expatriates with a recent UK-residence history, and people dividing their year among several countries. A person who was non-UK resident in all three previous tax years does not count a country tie in the sufficient-ties test, even if the UK is their highest-midnight country.

Having a country tie does not, by itself, make you UK resident. It is added to any family, accommodation, work and 90-day ties. The resulting number is then read against the sufficient-ties table and the number of UK days. The same country-tie result can therefore be decisive for one person but irrelevant for another. At 46 to 90 UK days, for example, a recent UK resident generally needs at least three ties for residence under that table. A country tie can move someone from two ties to three and change the screen from non-resident to resident.

The country tie is not a test of nationality, citizenship, domicile, immigration status, property ownership, centre of vital interests or where a person regards as “home.” Those facts may be relevant elsewhere, particularly under double-tax treaties or other SRT ties, but the domestic country tie is fundamentally a country-by-country comparison of end-of-day presence.

The legal comparison

How the Country-Tie Midnight Rule Works

The calculation has three distinct questions: whether the tie is available, which country has the highest count, and whether the added tie changes the residence table.

1

Check the Previous Three Years

First ask whether you were UK resident in at least one of the three tax years before the year being tested. If the answer is no, the country tie is not one of your sufficient ties. You still test family, accommodation, work and 90-day ties.

2

Build a Midnight Ledger

Record the country in which you were present at the end of each day. Use the UK tax-year period from 6 April to the following 5 April, not a calendar year. Keep separate totals for the UK and every overseas country.

3

Find the Highest Count

Compare countries individually. Do not combine all overseas countries into one “abroad” total. The UK must be higher than every separate overseas country, or equal to the highest overseas country, for the tie to apply.

4

Treat an Equal Top Count as a Tie

A common mistake is to assume the UK must win outright. It does not. If the UK and one or more other countries share the greatest number of qualifying midnights, the UK country tie is present.

5

Combine Internal Regions

For this rule, presence in a state, territory or canton into which a country is subdivided is treated as presence in that country. Nights in different US states, Swiss cantons or comparable internal divisions are therefore not separate country totals.

6

Apply the Sufficient-Ties Table

After deciding whether the country tie exists, add it to the other relevant UK ties. Residence depends on that tie total and the applicable UK-day band, after the automatic tests and any special day-count rules are considered.

Country tie = UK midnights are greater than or equal to the highest midnight count in any other single country

Who counts it

The Country Tie Is Only for Recent UK Residents

The sufficient-ties test uses two residence-history tables. Only Table A includes the country tie.

A

Resident in One or More Previous Three Years

You test five possible ties: family, accommodation, work, 90-day and country. Because Table A can make a person resident with fewer ties than Table B, accurate recent residence records are essential. The country tie is often especially important in the first years after leaving the UK, when the person still has a UK residence year within the three-year lookback.

The lookback moves forward one year at a time. A person can therefore have the country tie available in one tax year but not in a later year after all three preceding years become non-resident. This does not mean their travel pattern changed; it means the statutory list of ties changed.

B

Non-Resident in All Previous Three Years

You test only four possible ties: family, accommodation, work and 90-day. The UK could be your highest-midnight country and still no country tie is counted. The correct table also permits more UK days before the same number of ties creates residence.

Do not confuse “not UK resident in all three previous years” with simply living overseas for three calendar years. Residence is determined separately for each UK tax year, and a split year is still a UK-resident tax year for the full-year SRT result. Work through the precise three tax years immediately before the year being tested.

Residence history is a gateway, not a weighting factor. If at least one of the preceding three years was UK resident, the country tie can count in full. If none was resident, it does not count at all.

Residence thresholds

How the Country Tie Changes the Sufficient-Ties Test

The table below is a screening summary. Automatic overseas and automatic UK tests are considered before the sufficient-ties test.

UK days in the tax yearRecent UK resident: ties neededCountry tie available?Not resident in all previous 3 years: ties needed
Fewer than 16 daysNormally non-resident under the first automatic overseas testPotentially definable, but it should not override an automatic overseas resultNormally non-resident where fewer than 46 days under the second automatic overseas test
16 to 45 daysAt least 4 tiesYes — one of five possible tiesNormally non-resident with fewer than 46 days
46 to 90 daysAt least 3 tiesYes — frequently decisive in this bandAll 4 ties
91 to 120 daysAt least 2 tiesYes — can move a person from one tie to twoAt least 3 ties
121 to 182 daysAt least 1 tieYes — any single tie may be sufficientAt least 2 ties
183 days or moreUK resident under the first automatic UK testNot needed to establish residenceUK resident under the first automatic UK test

Example of a Decisive Country Tie

Assume a recent UK resident spends 75 SRT days in the UK and has an accommodation tie and a 90-day tie. Without a country tie, there are two ties and the Table A threshold of three is not reached. If the UK is also the greatest or joint-greatest midnight country, the country tie increases the total to three and the sufficient-ties screen points to UK residence.

Example Where It Does Not Change the Answer

Assume the same person spends 110 UK days and already has a family tie and an accommodation tie. Two ties are enough in the 91-to-120-day band. The country tie may still exist as a legal fact, but adding a third tie does not change the residence result for that table.

Counting correctly

Build a Country-by-Country Midnight Calendar

Do not compare the UK with one combined overseas total. The legal question is whether any single other country has a strictly higher midnight count than the UK.

Use the UK Tax Year, Not the Calendar Year

The relevant period starts on 6 April and ends on 5 April of the following calendar year. Travel trackers that report January-to-December totals must be reorganised. A country that dominates the calendar year may not dominate the UK tax year, especially where an assignment, move or extended trip starts in spring or autumn.

Record the End of Each Day

The country tie uses a midnight test. A practical ledger should show the date, location at the end of the day, arrival and departure times, flight or rail reference, and supporting document. Day trips normally follow the end-of-day location for this specific test. A person who leaves London in the afternoon and is in Paris at midnight generally records that day's midnight against France for the country comparison.

Keep UK SRT Days in a Separate Column

The figure used in the sufficient-ties table can require separate statutory analysis. Exceptional-circumstance rules, transit rules and the deeming rule can affect some SRT day counts. Do not assume a raw travel-app total is automatically the correct figure for every part of the SRT. Maintaining both a factual midnight column and an “SRT treatment” column makes later review much easier.

Separate Countries, but Combine Internal Subdivisions

Spain, France and the United States are three separate countries for the comparison. California and New York are not treated as two countries; their qualifying nights are combined in the United States total. Similarly, nights in different cantons should be grouped under the relevant country. Where a territory has a legally unusual status, obtain advice rather than assuming its classification.

Flag Travel Nights That Need Review

Overnight flights, cruises, international waters, border crossings around midnight and unclear time-zone records can create classification questions. Keep the itinerary and actual timing. The checker includes an unallocated field so that uncertain nights are visible rather than silently assigned to whichever result is preferred. A final calculation should resolve material uncertain nights.

Reconcile the Whole Year

Add every country total and every review item. The reconciliation should explain the entire tax year, subject to leap-year length. Missing nights can hide a country that should be highest; duplicated nights can falsely create a tie. Spreadsheet formulas, calendar exports and travel documents should agree before the residence return is filed.

Worked calculations

UK Country Tie Examples

Each example assumes the person has a recent UK-residence year unless stated otherwise.

Example 1 — another country is clearly higher: Amira records 82 UK midnights, 126 in the United Arab Emirates, 74 in France and the remainder elsewhere. The UAE has a strictly higher count than the UK. Amira does not have a UK country tie, even though the UK is her second-most-frequent country.
Example 2 — the UK is highest: Ben records 105 UK midnights, 90 in Portugal, 80 in Germany and smaller totals elsewhere. The United Kingdom is the sole highest country. Ben has a country tie.
Example 3 — joint highest counts: Chloe records 91 UK midnights and 91 in Italy, with no other country above 60. The UK and Italy share the greatest count. The tie rule expressly includes an equal highest UK total, so Chloe has a country tie.
Example 4 — do not combine overseas countries: David has 100 UK midnights, 70 in Spain and 65 in France. His combined overseas total exceeds 100, but neither Spain nor France individually exceeds the UK. The United Kingdom is the highest single country and David has a country tie.
Example 5 — internal regions are combined: Elena spends 50 midnights in California and 60 in New York, as well as 100 in the UK. The US state totals are combined as 110 in the United States. The United States is therefore higher than the UK and Elena has no UK country tie.
Example 6 — no recent UK residence: Faisal spends more midnights in the UK than in any other country, but he was non-UK resident in all three previous tax years. The country comparison would place the UK highest, yet the country tie is not included in his sufficient-ties list. He uses the new-arriver table with family, accommodation, work and 90-day ties only.
Example 7 — residence result changes: Grace spends 88 SRT days in the UK and has two other UK ties. As a recent UK resident, she needs at least three ties in the 46-to-90-day band. If the UK is joint highest for midnights, the country tie gives her a third tie and the sufficient-ties test points to residence, assuming no automatic overseas test applies.
Example 8 — country tie exists but is not decisive: Hamid spends 130 days in the UK and has an accommodation tie. One tie is already enough for a recent UK resident in the 121-to-182-day band. A country tie may increase the total to two, but it does not alter the table outcome.
Example 9 — move occurs mid-year: Isla spends April to September mainly in Canada and October to March mainly in Britain. The answer is not based on where she lived at 5 April or where she spent most calendar-year days. She totals midnights across the full 6-April-to-5-April tax year and compares Canada with the UK and every other country.
Example 10 — incomplete records: James has 92 confirmed UK midnights and 89 confirmed Singapore midnights, but seven overnight-flight or cruise dates remain unresolved. The current figures appear to give a country tie, yet assigning four of the uncertain nights to Singapore could reverse the result. The correct response is to resolve the evidence, not to file using the provisional comparison.

Travel complications

Flights, Transit Days and Exceptional Circumstances

A midnight travel ledger is the factual starting point, but the UK-day figure used elsewhere in the SRT may require legal adjustments. Keep the raw facts and the adjusted computation separately.

Day Trips and Same-Day Departures

For the country comparison, a day normally follows the country where you are present at the end of that day. Spending ten daytime hours in the UK and sleeping abroad can produce a different midnight outcome from arriving late in the UK and remaining through midnight. Do not estimate using hotel nights alone, because private homes, overnight transport and late arrivals may not appear in hotel data.

Transit Through the UK

The SRT contains a transit exception for certain days where an individual is merely passing through the UK and undertakes no substantial unrelated activity. Whether that exception changes a particular calculation depends on the statutory conditions. Record the arrival, onward departure, reason for the stop and any activity performed rather than automatically excluding every airport or rail transit.

Exceptional Circumstances

Days spent in the UK because of exceptional circumstances beyond the individual's control may be disregarded for specified SRT purposes, subject to conditions and a statutory limit. The treatment is fact-sensitive and is not a general allowance. Illness, family events, transport disruption or personal preference should not be labelled exceptional without applying the guidance to the actual facts.

The Deeming Rule

For certain people with sufficient recent UK connections, qualifying UK days can be deemed to count as UK days after a threshold is exceeded, even where the person was not present at the end of those days. This can affect the SRT day count used in the sufficient-ties table. The calculator therefore asks separately for “UK days for the SRT table” and “UK midnights.”

Time Zones and Midnight Evidence

Keep local arrival and departure times and the time zone used by the travel provider. International itineraries can cross the date line or show departure and arrival on unexpected dates. Calendar software may convert events to a home time zone and shift them across midnight. Original booking confirmations and passport or border records are more reliable than a retrospective visual calendar alone.

Uncertain Nights Can Be Material

A single unresolved night can decide the result when the UK and another country are close. The strict “joint highest” rule means moving one night from the UK to the other country can change a UK tie into no tie, while an exact equality favours the presence of the tie. Use conservative data controls and document every adjustment.

Planning

Treaties

Country Tie Is Not Treaty Residence

A person may be UK resident under the domestic SRT and also resident in another country under that country's law. A double-tax agreement may then use permanent home, centre of vital interests, habitual abode, nationality or mutual agreement criteria to determine treaty residence.

The domestic country tie should not be confused with those treaty tie-breakers. Having more UK midnights than in any other single country can contribute to a domestic SRT result, but it does not automatically decide treaty residence. Conversely, being treaty resident abroad does not rewrite the factual country-tie count, although treaty status can affect the ultimate tax treatment and the meaning of sole UK residence for some rules.

Use the UK Tax Residence Calculator, Sufficient Ties Test Calculator, Days in the UK Calculator and Split-Year Treatment Calculator to complete the wider analysis.

Frequently asked questions

UK Country Tie FAQs

Answers about midnight counting, equal totals, previous residence, travel, sufficient ties and tax residence.

Does the UK have to be the only highest country?+

No. A joint-highest result is enough. If you spend 90 midnights in the UK and 90 in Spain, and no other country has more than 90, you have a country tie. The UK does not need to exceed Spain by one day.

Do I combine all time spent outside the UK?+

No. Each overseas country is compared separately with the UK. If you have 100 UK midnights, 70 in France and 60 in Germany, the UK is the highest single country even though the combined French and German total is greater than the UK total.

Are England and Scotland separate countries for this tie?+

The tie compares the United Kingdom with other countries for the UK Statutory Residence Test. UK midnights should be combined as a UK total rather than split into England, Scotland, Wales and Northern Ireland for this calculation.

Are US states or Swiss cantons counted separately?+

No. HMRC guidance states that presence in a state, territory or canton into which a country is subdivided is regarded as presence in that country. Relevant nights in internal regions are therefore combined into one country total.

What if I am on a flight at midnight?+

Overnight travel can require careful factual and legal classification. Keep departure and arrival times, route, time zones and the transport record. Do not assign a disputed night merely to achieve a preferred result. Seek advice where a small number of travel nights could decide which country is highest.