Track

The UK residency day tracker that counts every midnight

Midnight Rule records where you are at midnight, sets your UK day limit from your ties and shows how many safe days you have left this tax year. Schengen and any other country limit sit alongside.

Daily briefing
Fri 13 Nov
28
UK days
17
safe days left
34
Schengen days left
Watch the tour

Every Limit, Counted

UK residence, Schengen 90/180, visas and tax, all counted from the same nights, with alerts on your phone before you reach a limit.

UK days

Counted the way HMRC counts them

A UK day is a day when you are in the UK at midnight. Midnight Rule follows the UK tax year from 6 April to 5 April and keeps a running total you can trust.

Midnight is what counts

Only nights spent in the UK add to your total. Days you mark as transit are left out.

Planned days stay separate

Trips you are only planning never add to your real count until they happen.

Every tax year kept

Switch between tax years to see how each one ended and where the current one stands.

Your limit

A day limit built from your UK ties

Turn on the ties that apply to you and the app works out your limit under the sufficient ties test, anywhere from 15 to 182 days.

Five ties

Family, accommodation, work, 90-day and country. The country tie only counts if you are a leaver.

Leaver or arriver

Your last three tax years decide which set of limits applies to you.

Automatic tests

Under 16 days as a leaver, or under 46 days as an arriver, shows you as automatically non-resident. 183 days or more always means resident.

At a glance

Know where you stand every morning

Open the app to one plain summary: UK days used, safe days left and your Schengen position.

Green, amber, red

Each limit turns amber at 75% and red at 95%, so you see trouble coming.

What if

Add extra UK days or change your ties and see how your safe days change before you commit.

Limit alerts

Notifications at 75%, 90% and 100% of a limit.

Auto-tracking

Auto-tracking that asks before it guesses

Turn on auto-tracking and days fill in from your phone's location in the background, without constant GPS.

You confirm the first three days

After that, clear days are filled in for you and marked as auto-tracked.

Tricky days left for you

Travel days, flight days, days near a border and days with conflicting locations always wait for your answer.

Your entries win

Days you log or edit yourself are never overwritten.

Past years

Rebuild past years from your photos

Starting mid-year? Photo restore reads where your photos were taken and builds a draft of the days you were away.

Dates and places only

It reads each photo's date and location, never the image, and matches countries on your phone.

You review first

Every restored day is shown for you to check before it is saved.

Imports too

Bring in days from a CSV file or past flights from a spreadsheet.

Beyond the UK

Schengen 90/180 and any other limit

Track the rolling 180-day Schengen window and any other country rule in the same place.

Schengen 90/180

Days left out of 90, when used days drop out of the window, and your longest possible stay from any date.

All 29 Schengen countries

Exclude a country if different rules apply to you, for example with a residence permit.

Your own limits

Add a limit for any country by calendar year, UK tax year, rolling window or per entry.

FAQ

Questions about this feature

What counts as a day in the UK?

For the Statutory Residence Test, you spend a day in the UK if you are in the UK at the end of the day, which means at midnight. If you arrive and leave the next day and only travel in between, that transit day does not count. Midnight Rule counts UK days the same way and leaves out days you mark as transit.

How many days can I spend in the UK without becoming resident?

It depends on whether you were UK resident in any of the last three tax years and on how many UK ties you have. The safe maximum ranges from 15 days, for someone who has recently left the UK and has four or more ties, up to 182 days, for someone with few or no ties. Spending 183 days or more in the UK always makes you resident. Our free sufficient ties calculator shows your own limit in under a minute.

How does auto-tracking work?

Auto-tracking uses your phone's location in the background, without constant GPS, and needs location access set to Always. When you open the app it looks back over the last 14 days and works out which country you were in at midnight. You confirm the first three days yourself. After that, clear days are filled in automatically and marked as auto-tracked, while travel days, flight days, days near a border and days with conflicting locations are left for you to confirm.

Does Midnight Rule run every part of the Statutory Residence Test?

No. Midnight Rule checks the first two automatic overseas tests, the 183-day UK test and the sufficient ties test, using the ties you tell it you have. It does not assess the UK home test, the full-time work tests, the deemed days rule, days spent in the UK because of exceptional circumstances, or split-year treatment. If any of those could apply to you, speak to a tax adviser.

Does Midnight Rule track the Schengen 90/180 rule?

Yes. It counts your days in the Schengen area over the rolling 180-day window, shows how many of your 90 days are left, when used days drop out of the window, and the longest stay you can make from any date you choose.

Download

Track your days automatically

Free on iPhone, iPad, Android and the web.

Midnight Rule is a planning tool, not tax advice.