Where were you at midnight?

You might not care. The tax man does. Midnights tracks your days against the tax residency and travel rules that matter—from the UK and US to Schengen and beyond.

Scroll

Made for lives lived across borders

Midnights is for the globally mobile

Every country counts your days differently

See the days counted, the rules that apply to you, and how close you are to each threshold—all in one dashboard.

Hover a rule to see how it counts

  1. Dubai

    Home

    DUBAI LAND DEPARTMENTTenancy contractعقد إيجارOWNER · LESSOR INFORMATIONProperty · Dubai MarinaTerm · 12 monthsStart · 1 Jan 2025Ejari · 0021 4875 3390SIGNED · TENANT

    UAE tax residency

    UAE

    231 days in the last 12 months · resident from day 183

    Resident if you spend 183 days or more in the UAE in any 12 months, or 90 days with a permanent home or job there.

    • 183 days in any 12 months
    • 90 days with a home or job

    Cabinet Decision No. 85 of 2022

  2. London

    Family

    UK Statutory Residence Test

    UK

    84 of 90 days · with 2 UK ties you're resident from day 91

    The full test — automatic overseas tests, automatic UK tests, sufficient ties with their exact day bands, the deeming rule, and exceptional-circumstance and transit-day adjustments. Split-year treatment covers all 8 RFIG21000 cases, with their priority rules and permitted-limit tables, verified against the HMRC manual.

    • Automatic overseas & UK tests
    • Sufficient ties, exact day bands

    Finance Act 2013, Sch. 45 · HMRC RDR3 · RFIG21000–21280

  3. New York

    Work

    BOARDING PASSDXBJFKDubaiNew York JFKFLIGHTSEATDATEEK 20114A02 JUNGATEB12BOARDS07:40

    US Substantial Presence Test

    US

    36 + ⅓ × 30 + ⅙ × 24 = 50 of 183

    The actual 3-year weighted formula — current year's days, plus a third of last year's, plus a sixth of the year before — computed in scaled integer arithmetic to avoid the floating-point rounding errors that misplace someone right at the boundary.

    • 3-year integer-weighted formula
    • Exact boundary arithmetic

    26 U.S.C. § 7701(b) · IRS Pub 519 · Substantial Presence Test

  4. Lisbon

    Holiday

    ARRIVAL11.08.2025LISBON

    Schengen 90-in-180

    Schengen

    14 of 90 days in the last 180

    The 90-days-in-any-180 rolling window, tracked as one pooled allowance across the whole Schengen area — not per-country — with both entry and exit days counted, matching how the regulation actually defines the rule.

    • One pooled 90/180 window
    • Entry and exit days both count

    Regulation (EU) 2016/399, Art. 6(1)(b)

Every trip. One continuous timeline.

Know where you stand, before you book the flight

Add future travel to see how it would affect your limits before you book.

Hover a day to see its trip, or a country to see every night spent there.

Hover a day to see its trip · keep scrolling to plan the next one

UK days

84 / 90

Based on your 2 UK ties, this trip would put you 9 days over your 90-day limit.

Track your location manually or automatically

Add trips manually or let Midnights detect them automatically. Your location data is kept on your phone and never sent to our servers.

Today · 26 Jan

You’re in Dubai.

UK84 / 90
UAE231 / 183
US50 / 183
Schengen14 / 90

Allow “Midnights” to use your location?

Midnights checks which country you’re in at midnight. Your location stays on this iPhone.

Midnightsnow

Arrived in Lisbon. Tonight counts as a Schengen day.

Page 1 of a Midnights residency day-count report: position by country with basis, days, limit, headroom and confidence for each.PDF · page 1 of 13

Your travel record, ready to share

Export your day counts and travel history as a PDF or CSV for your accountant.

FAQs

Keep crossing borders. Stop counting days.

No spreadsheets. No guesswork. Just a clear view of where you stand.