How to Count Days for Tax Residency: Rules by Country

If you are planning a year around a day threshold, your total depends on which country is counting, because each one decides what a day is. The UK counts the days you are in the country at midnight, Ireland and the US count any part of a day, and Cyprus counts the day you arrive but not the day you leave. For each country you need its rule, the period it counts over, and records that hold up.

Quick summary

  • The UK counts a day only if you are there at midnight, while Ireland and the US count any part of a day, so a Friday-to-Monday trip is 3 UK days but 4 Irish or US days.
  • Cyprus counts the day you arrive as a day in Cyprus and the day you leave as a day outside it.
  • Transit is usually left out: the UK skips a passenger who leaves the next day, Ireland skips airside time, and the US skips stops under 24 hours between 2 foreign places.
  • Spain and Ireland count the calendar year, the UK April 6 to April 5, and Portugal, Georgia and Colombia a rolling 12-month or 365-day window.
  • Multi-year tests catch fewer days a year: Ireland's 280 days over 2 years works out to 140 a year, and Mauritius's 270 over 3 years to 90.
  • Log where you were at midnight and during each day, backed by boarding passes and leases.

What counts as a day for tax residency

Most countries build a day count into the test of where you are tax resident, yet 2 countries can count the same trip differently, because each law defines a day its own way. Before you compare a total with the 183-day rule or any other threshold, find out which of 4 methods the country uses:

  • At midnight. A day counts only if you are in the country at the end of it, as in the UK. Portugal similarly counts a day only if it includes an overnight stay (CIRS, article 16).
  • Any part of a day. Landing at 11 p.m. still counts as a full day, as in Ireland, the US and Georgia (Andersen Georgia). In the Index data, Czechia counts every started day, and Armenia, Colombia and Estonia count both arrival and departure days.
  • Arrival in, departure out. Cyprus counts the day you arrive but not the day you leave.
  • Full 24-hour days. The US foreign earned income exclusion counts only complete days abroad, midnight to midnight.

The UK midnight rule

Under the UK statutory residence test, a day counts if you are in the UK at the end of it (Finance Act 2013, Schedule 45, paragraph 22). Fly in on Friday evening and out on Monday morning and you have spent 3 UK days; a day trip that ends before midnight counts as 0.

That number feeds the UK statutory residence test: 183 days or more in the tax year makes you automatically resident, fewer than 16 (or 46 if you were not UK resident in any of the previous 3 tax years) automatically non-resident; in between, the other automatic tests (an only home in the UK, full-time work in the UK, or full-time work abroad with fewer than 91 UK days) come first, and if none applies your UK ties decide (GOV.UK).

There is a backstop for former residents. With at least 3 UK ties and UK residence in 1 of the previous 3 tax years, every day after the 30th on which you are in the UK but gone by midnight, departure days included, counts as a UK day (paragraph 23).

Leaving before midnight stops working after 30 days

Take a UK leaver, resident in 1 of the last 3 tax years, with exactly 3 UK ties. In the tax year from April 6, 2026, they make 4 stays of 10 nights and 36 same-day trips for meetings. Midnights alone give 40 days, and below 46 a leaver needs 4 ties to be resident (paragraph 18). But the 4 departure days and 36 day trips make 40 days without a midnight: the 10 past the 30th are deemed UK days, the total reaches 50, and from 46 days 3 ties are enough. UK resident.

Part days: when any time in the country counts

Ireland counts you as present for a day if you are in the country for any part of it, in a tax year that runs from January 1 to December 31 (Revenue). The US substantial presence test does the same: a day counts if you are physically present at any time during it (IRS).

So travel days add up: the Friday-to-Monday trip is 4 Irish or US days, and a day trip counts as 1.

Arrival and departure days: the Cyprus split

Cyprus takes a middle path, with the same rules for its 183-day and 60-day tests (PwC, Cyprus residence):

  • The day you arrive counts as a day in Cyprus.
  • The day you leave counts as a day outside Cyprus.
  • Arriving and leaving on the same day counts as 1 day in Cyprus.
  • Leaving and coming back on the same day counts as 1 day outside Cyprus.

The last rule matters on the Cyprus 60-day route, where the margin is thin: a morning flight out and an evening flight back makes that date a day outside Cyprus.

For the same year of travel, the UK, Cyprus, Irish and US rules give totals from 60 to 95 days:

The same year of trips, counted under 4 countries' rules20 weekend trips (Friday evening to Monday morning) and 15 day trips in 1 tax year. Deeming rule row: a recent UK leaver with 3 UK ties.
  1. UK, midnight rule60 days
  2. UK, with the deeming rule65 days
  3. Cyprus, arrival in and departure out75 days
  4. Ireland, any part of a day95 days
  5. US, any part of a day95 days

Source: Each country's rule, listed under Sources, applied to 1 sample itinerary A worked example, not data about real travelers. UK: 3 midnights per weekend; the deeming rule adds the 5 days past the 30th on which the traveler was in the UK but gone by midnight (20 Monday departures and 15 day trips). Cyprus: 3 days per weekend, 1 per day trip. Ireland and the US: 4 per weekend, 1 per day trip.

Show the numbers
Days counted
UK, midnight rule60 days
UK, with the deeming rule65 days
Cyprus, arrival in and departure out75 days
Ireland, any part of a day95 days
US, any part of a day95 days

Transit, layovers and days you could not leave

Most day counts leave out passengers who are only passing through, but each country draws the line differently:

  • UK: a day does not count if you arrive as a passenger, leave the next day and do nothing substantially unrelated to the journey (paragraph 22).
  • Ireland: you are not present while you stay airside (Revenue).
  • US: you are not present while in transit between 2 places outside the US for under 24 hours (IRS).
  • Georgia: transit time does not count as presence, according to the Index data.

An overnight connection through London: left out or counted

Left out

You land at Heathrow at 9 p.m. from Lisbon, sleep at an airport hotel and fly on to Dubai at 8 a.m. You arrived as a passenger, left the next day and did nothing else, so the night is not a UK day.

Counted

Same flights, but you take the train into London for a client dinner first. The dinner has nothing to do with the journey, so the transit exception falls away and the night counts.

Forced stays get relief too. The UK leaves out up to 60 days a tax year when exceptional circumstances beyond your control, such as a sudden or life-threatening illness, keep you there while you mean to leave (paragraph 22). Ireland does not count the day after your planned departure when only an unforeseen event, such as severe weather or an aircraft breakdown, stops you leaving on time (Revenue). Keep the cancellation email or the doctor's note.

Trips abroad that still count, and the US 330-day test

Some countries add days back. Spain counts sporadic absences as days in Spain unless you prove tax residence elsewhere (LIRPF, article 9), and in the Index data Georgia counts trips abroad for treatment, leisure, business or study as days in Georgia.

The US foreign earned income exclusion counts the other way. Its physical presence test needs 330 full days abroad in any 12 consecutive months (IRS, physical presence test). The days you fly out of and back into the US are never full days abroad, and a trip between foreign countries over international waters loses full days only if it takes 24 hours or more. The 330 days need not be consecutive and the 12-month window can start on any day, so US expats using the physical presence test can slide the window to fit their travel.

Tax year, rolling 12 months or several years

Each total is measured over a set period, and countries use 3 kinds:

  • A tax year. Spain, Ireland and Czechia count the calendar year, the UK April 6 to April 5 (GOV.UK), and in the Index data Hong Kong April 1 to March 31 and Mauritius July 1 to June 30.
  • A rolling window. Portugal counts any 12 months starting or ending in the tax year (CIRS, article 16), the UAE any 12 consecutive months (Cabinet Decision No. 85 of 2022, article 4), Georgia any 12 months ending in the year, and Colombia any 365 consecutive days. A rolling window never resets on January 1, so check it before every long stay.
  • Several years. Ireland adds this year's and last year's days and makes you resident at 280, leaving out a year with 30 days or fewer (Revenue). Mauritius adds 3 income years and makes you resident at 270.

Spread evenly, the multi-year tests catch fewer days a year than 183:

Days a year that make you resident under multi-year testsThe same days every year, against a single-year 183-day test
  1. Single-year test (183 days)183 days
  2. Hong Kong certificate (more than 300 days over 2 years)151 days
  3. Ireland (280 days over 2 years)140 days
  4. Mauritius (270 days over 3 income years)90 days
  5. Malaysia (90 days, after 3 of the 4 previous years)90 days

Source: Nomad Tax Index data: each country's statute or tax authority, linked on its country page Each total divided evenly across its years and rounded up. Malaysia's 90 days apply after 3 of the 4 previous years as a resident or with 90 days or more.

Show the numbers
Days a year
Single-year test (183 days)183 days
Hong Kong certificate (more than 300 days over 2 years)151 days
Ireland (280 days over 2 years)140 days
Mauritius (270 days over 3 income years)90 days
Malaysia (90 days, after 3 of the 4 previous years)90 days
Ireland's 2-year test: 130 days in 2026 is enough after a 150-day 2025
2025, days in Ireland2-year total 150: not resident150 days
2026, days in Ireland2-year total 280: resident130 days
Most 2026 days that stay non-resident2-year total 279129 days
Result for 2026Irish resident under the 280-day test

No Irish days in 2024. A year with 30 days or fewer is left out of the test.

The window also decides when residency starts. In the Index data, Spain and Georgia make you resident for the full tax year, Colombia from the second year when the 365 days span 2, and Estonia from your day of arrival; the UK can split the year you arrive or leave (GOV.UK).

Day-counting rules by country

The counting rules for 11 countries, side by side:

Sources: listed below (October 12, 2026), except Colombia, Estonia, Czechia and Georgia's period and trips abroad, from the Nomad Tax Index data (September 29, 2026), each statute linked on its country page.

CountryPeriod countedHow a day countsExceptions and other rules
United KingdomTax year from April 6In the UK at midnightTransit to the next day; up to 60 forced days; day visits past 30 for some leavers
IrelandCalendar year; 280 days over 2 yearsAny part of a dayAirside time; the day after a departure stopped by unforeseen events
United StatesCalendar year, weighted over 3 yearsAny time during the dayTransit under 24 hours; commuting from Canada or Mexico
CyprusCalendar yearArrival day in, departure day outSame-day visit: 1 day in; same-day trip out: 1 day outside
SpainCalendar yearDays presentSporadic absences count unless you prove residence elsewhere
PortugalAny 12 months starting or ending in the yearAny full or partial day that includes a night in PortugalA home kept as your habitual residence needs no day count
GeorgiaAny 12 months ending in the yearAny part of a dayTrips abroad for treatment, leisure, business or study count; transit and stays in Georgia for treatment or leisure do not
ColombiaAny 365 consecutive daysArrival and departure days countA period across 2 years makes you resident from the second
Estonia12 consecutive calendar monthsArrival and departure days countResident from the day of arrival
CzechiaCalendar yearEvery started dayStays only for study or medical treatment do not make you resident
GreeceAny 12 monthsDays present, more than 183 in total, consecutive or notResident from the first day of presence; stays only for tourism or medical reasons of up to 365 days (short trips abroad included) do not count

Visa days and tax days are counted separately

Immigration counts run on their own clock. The Schengen short-stay limit of 90 days in any 180 adds up your days in every Schengen country together (European Commission), so 60 days in Portugal and 30 in Spain within 180 days use up the allowance while leaving each tax count far below 183. A remote work permit's allowed stay says nothing about when tax residency starts either, so what a digital nomad visa means for your tax comes down to the host country's own test: Thailand makes you resident at 180 days in the tax year whatever visa you hold (Revenue Department, Guide to P.N.D. 90).

Counting days in several countries at once

Because each country uses its own rule, the same date can count in 2 countries. Fly from Dublin to London at 6 p.m. and it is an Irish day for the afternoon and a UK day for the midnight. Enough of those and you can pass the line in both countries, leaving dual tax residency to a treaty's tie-breaker.

A plan to be resident nowhere, the perpetual traveler approach, has to pass every country's rule at once: a tracker that counts nights undercounts Ireland and the US, and one that counts calendar days overcounts the UK and Portugal.

How to track your days for tax residency

Track the count from records made at the time, not from memory, and give each date the facts the rules turn on:

Columns for a day log that holds up

  • The date and the country you were in at midnight.
  • Every other country you were in that day, with times.
  • The reason when a rule cares: transit, a forced stay, medical treatment, study or business.
  • Whether you left the airport on a connection.
  • The evidence: boarding pass, booking reference, receipt or lease.
  • A running total per country under its own rule and window.

Behind the log, keep boarding passes and e-tickets as files, photos of each stamped passport page, leases and hotel invoices, card statements that show the city of each payment, and a tax residency certificate from the country where you are resident.

David's note

I would log every day under the broadest rule, any part of a day, with the midnight location next to it. That log converts to the midnight rule or the Cyprus split in minutes; a log of nights never converts back, and the dates at the margin are the ones a tax office asks about.

Sources

  1. legislation.gov.uk: Finance Act 2013, Schedule 45, paragraph 22 (days spent in the UK)legislation.gov.uk, checked
  2. legislation.gov.uk: Finance Act 2013, Schedule 45, paragraph 23 (the deeming rule)legislation.gov.uk, checked
  3. legislation.gov.uk: Finance Act 2013, Schedule 45, paragraph 18 (sufficient UK ties for leavers)legislation.gov.uk, checked
  4. GOV.UK: Tax on foreign income, residencegov.uk, checked
  5. Revenue (Ireland): Resident for tax purposesrevenue.ie, checked
  6. IRS: Substantial presence testirs.gov, checked
  7. IRS: Foreign earned income exclusion, physical presence testirs.gov, checked
  8. PwC Worldwide Tax Summaries: Cyprus, individual residencetaxsummaries.pwc.com, checked
  9. BOE: Ley 35/2006 del IRPF, article 9 (Spain)boe.es, checked
  10. Portal das Finanças: Código do IRS, article 16 (Portugal)info.portaldasfinancas.gov.pt, checked
  11. UAE Federal Tax Authority: Cabinet Decision No. 85 of 2022 (unofficial translation)tax.gov.ae, checked
  12. Thailand Revenue Department: Guide to P.N.D. 90rd.go.th, checked
  13. Andersen in Georgia: How to Become a Tax Resident of Georgia, the 183-day rule (September 2, 2026)ge.andersen.com, checked
  14. Taxheaven: Law 4172/2013 (Income Tax Code), article 4, consolidated text (Greece)taxheaven.gr, checked
  15. European Commission: Short-stay calculator (Schengen 90/180-day rule)home-affairs.ec.europa.eu, checked

Frequently asked questions

Does the day you arrive count as a day for tax residency?

In most countries, yes. Ireland and the US count any part of a day, Cyprus counts the arrival day, and Colombia and Estonia count both arrival and departure days. The UK counts it only if you are still there at midnight, and Portugal only if you spend that night there.

What is the UK midnight rule?

A day counts as a UK day only if you are in the UK at the end of it. Day trips do not count, except for former residents with at least 3 UK ties: from the 31st day in a tax year on which they are in the UK but gone by midnight (departure days included), each such day counts.

Do layovers and airport transits count as days in a country?

Usually not, if you stay in transit. Ireland ignores airside time, the US ignores transit under 24 hours between 2 foreign places, and the UK ignores a day when you arrive as a passenger and leave the next day. Leaving the airport for a meeting can make it count.

When does the year for counting days start?

Spain, Ireland and Czechia count from January 1, the UK from April 6, Hong Kong from April 1 and Mauritius from July 1, while Portugal, the UAE and Colombia use rolling windows that can straddle 2 years.

Do days count if I am stuck in a country because of illness or a canceled flight?

Often not. The UK leaves out up to 60 days a tax year of exceptional circumstances, such as a sudden or life-threatening illness, and Ireland does not count the day after your planned departure when severe weather or an aircraft breakdown stops you leaving. Keep the paperwork that shows why you stayed.

Do short trips abroad reset the count?

No. Spain counts sporadic absences as days in Spain unless you prove tax residence elsewhere, Georgia counts trips abroad for leisure, business, treatment or study as days in Georgia, and rolling windows ignore January 1.

Can 1 day count in 2 countries?

Yes. An evening flight from Dublin to London gives you an Irish day and a UK day on the same date. If both totals pass the thresholds, a tax treaty's tie-breaker decides where you are resident.

David Sisvadze

CEO at Nomad Tax Map

David brings 13+ years of experience, including 6 years with the Revenue Service of Georgia and 7 years managing private-sector import operations. He has a strong background in customs, imports, exports, and cross-border logistics.