If you are an agency founder planning to leave the UK for Dubai or another jurisdiction, the single most common point of confusion and error is what HMRC counts as a UK day. Get this wrong, and your carefully planned exit date shifts by months. Get it right, and you save tens of thousands in tax.
The statutory residence test day counting rules are set out in Schedule 45 of the Finance Act 2013. They are not optional guidance. They are law. And they catch out more agency founders than almost any other rule in the non-dom or non-resident playbook.
This article explains exactly what counts as a UK day, what does not, and how to plan your travel so you do not accidentally trip the 16-day or 91-day thresholds that keep you UK tax resident.
The Three Tests You Need to Know
The Statutory Residence Test (SRT) has three parts. You only need to pass one to be non-resident. But the order matters.
1. The Automatic Overseas Test
You are automatically non-resident if you spend fewer than 16 days in the UK in a tax year (6 April to 5 April). For those who have been UK resident in any of the previous three tax years, the threshold drops to 46 days. If you have not been resident in any of the previous three years, the threshold is 16 days.
This test is the easiest to pass if you genuinely leave. But it is also the easiest to fail if you mis-count a single day.
2. The Automatic UK Test
You are automatically UK resident if you spend 183 or more days in the UK in a tax year. This one is hard to argue with.
3. The Sufficient Ties Test
If you fall between the automatic tests (between 16 and 182 days), you look at your UK ties. These include family, accommodation, work, and presence ties. Each tie reduces the number of days you can spend in the UK before becoming resident. For someone who left the UK fully, this test usually does not apply. But if you keep a home or a family connection, it matters.
For most agency founders moving to Dubai, the critical threshold is 16 days in the first year of departure, and 46 days if you were UK resident in any of the previous three years.
What Actually Counts as a UK Day?
Here is where most people get it wrong. A UK day is not simply "being in the UK at midnight." That was the old rule. It changed in 2013.
Under the current statutory residence test day counting rules, a day counts as a UK day if you are present in the UK at midnight. But there is an important exception: the "transit exception" and the "exceptional circumstances" rule.
The transit exception is straightforward. If you are in the UK solely for the purpose of passing from one country to another, and you leave the same day, it does not count. But if you stay overnight, it counts.
The exceptional circumstances rule covers things like a family emergency, a medical situation, or a natural disaster. It does not cover "my client asked me to stay an extra day."
So the core rule is simple: midnight presence = UK day.
But there is a nuance many agency founders miss. If you arrive in the UK at 11pm and leave at 5am the next morning, you have spent two midnights in the UK. That is two UK days. Even though you were only physically present for six hours.
This is the most common error I see. Founders think "I was barely here" and assume it does not count. It does.
Real Example: The 16-Day Trap
Take a 12-person digital agency founder based in Soho. He decides to move to Dubai in April 2025. His plan: spend 14 days in the UK over Christmas and another 10 days for a client meeting in March. Total: 24 days. He thinks he is safe because 24 is under 46.
But here is what actually happens. He flies into Heathrow on 22 December at 10pm. That is midnight. Day one. He leaves on 23 December at 6am. That is also midnight. Day two. He has spent two UK days for one physical visit.
He does the same thing in March. Two days for one visit. Suddenly his 24 planned days become 28. Still under 46. But if he does this three times, he is at 36. Add a wedding weekend in June and a board meeting in September, and he is at 44. One more overnight visit and he hits 46. He is now UK resident for that tax year.
This is not hypothetical. I see it every year.
What About the "3-Year Rule" for Past Residents?
If you were UK resident in any of the previous three tax years, your automatic overseas test threshold is 46 days, not 16. This is the "past resident" rule.
For a first-time leaver, this is generous. You can spend up to 45 days in the UK without triggering automatic residence. But the moment you hit 46, you are back in.
If you have not been UK resident in any of the previous three years, the threshold drops to 16 days. So if you left the UK five years ago, you can only spend 15 days in the UK per tax year without risking automatic residence.
This catches returning founders who think "I used to live here, so I have more flexibility." You do not. Once you break the three-year chain, the clock resets.
How to Count Days Correctly
Here is the practical method I recommend to every agency founder we work with at Agency Founder Finance.
Step 1: Record every midnight. Use a calendar. Mark every night you are in the UK at midnight. That is your UK day count.
Step 2: Add transit days. If you fly through the UK and do not stay overnight, those do not count. But if you stay overnight, they do.
Step 3: Check your accommodation. If you own or rent a UK home, HMRC may argue you have a "sufficient ties" connection even if your day count is low. This is a separate test, but it interacts with day counting.
Step 4: Get a flight itinerary. HMRC will ask for proof. Keep your boarding passes, flight confirmations, and passport stamps. If you use an e-gate, keep a travel diary. HMRC can request data from the Home Office border systems.
Step 5: Work with an accountant who knows this. The statutory residence test day counting rules are not something to guess at. As ICAEW qualified accountants, we see HMRC challenge day counts regularly. One missed midnight can cost you £50,000 in tax if it shifts your residence status.
The "Leaving the UK" Rules for Agency Founders
If you are leaving the UK for Dubai, you also need to consider the "leaving the UK" rules under the SRT. These are separate from day counting but related.
To be treated as non-resident from the date you leave, you must:
- Spend fewer than 16 days in the UK in the tax year of departure (if you were resident in any of the previous three years)
- Spend fewer than 91 days in the UK in the tax year of departure, on average, over the previous four years (the "4-year average" test)
- Not have a UK home available for you to use for 91 consecutive days or more
That last one catches founders who keep a flat in Shoreditch "just in case." If you keep a UK home available to you, you are likely still UK resident regardless of your day count.
For most agency founders moving to Dubai, the cleanest approach is:
- Sell or let your UK home on a long-term lease (12+ months)
- Spend fewer than 16 days in the UK in the departure tax year
- Keep a detailed travel diary
- Get a UAE residence visa and proof of primary home there
What About COVID or Other Disruptions?
HMRC introduced a temporary "exceptional circumstances" rule during COVID. That has now ended. Do not rely on it.
If you are stuck in the UK due to a medical emergency or a flight cancellation that is genuinely outside your control, you may be able to argue those days should not count. But HMRC applies this very narrowly. A cancelled flight because of weather is not exceptional. A volcanic ash cloud might be. A family illness is not, unless it is a genuine life-threatening emergency.
If you think you have exceptional circumstances, document everything and speak to your accountant before filing your tax return. Do not assume HMRC will accept it.
Common Mistakes Agency Founders Make
Mistake 1: Counting "arrival day" as half a day. There is no half-day rule. Midnight is midnight. You are either present or you are not.
Mistake 2: Assuming weekends don't count. A Saturday night in Manchester counts exactly the same as a Tuesday night. HMRC does not care about the day of the week.
Mistake 3: Forgetting the 91-day average test. If you have been UK resident for four years, your average UK days over those four years must be under 91. If you spent 120 days in the UK one year and 60 the next, your average is 90. That is borderline. One extra day and you fail.
Mistake 4: Keeping a UK home. If you own a flat in Bristol Harbourside and do not rent it out, HMRC will argue it is "available" to you. That alone can keep you UK resident even if your day count is low.
Mistake 5: Using the CEST tool for day counting. The Check Employment Status for Tax tool is for IR35, not residence. Do not mix them up.
Practical Steps for Your Exit Date
If you are planning to leave the UK for Dubai, here is what I recommend you do at least six months before your intended departure date.
- Book your flights so you leave before midnight on your intended exit date. If you fly at 11pm, you are in the UK at midnight. That counts as a UK day.
- Sell or let your UK property on a minimum 12-month lease. Do not keep a "spare room" for yourself.
- Cancel your UK gym membership, dentist registration, and any other "ties" that show you are still connected.
- Register with a UAE doctor and dentist. Get a UAE driving licence. Open a UAE bank account.
- Keep a travel diary from day one. Record every flight, every midnight location, and every overnight stay.
- Work with an accountant who specialises in agency founder international tax. This is not a DIY project.
What HMRC Asks For
If HMRC queries your residence status, they will ask for:
- A completed Form P85 (leaving the UK)
- A full travel itinerary for the tax year in question
- Copies of your passport entry/exit stamps
- Your flight booking confirmations
- Evidence of your UAE residence (tenancy agreement, utility bills, employment contract, visa)
- Evidence that you did not have a UK home available to you
If you cannot produce these, HMRC will likely assume you are UK resident. The burden of proof is on you.
Final Thought
The statutory residence test day counting rules are precise. They are not open to interpretation. A midnight is a midnight. A day is a day. There is no "I was only there for an hour" exception.
For agency founders moving to Dubai, the financial upside of getting this right is enormous. The downside of getting it wrong is a full year of UK tax on your worldwide income, plus interest and penalties.
If your travel plans for the next 12 months involve any UK visits, sit down with your accountant and map out every single midnight. Do it before you book the flights. It is cheaper to change a ticket than to fight HMRC for three years.
If you need help planning your exit or checking your day count, get in touch with our team. We work exclusively with agency founders and know the SRT rules inside out.

