The 183 day rule is not one rule. Many countries use 183 days to decide who is a tax resident, but each one counts them differently: over a calendar year, a tax year or any 12 months, with midnights, nights or any part of a day. Tax treaties use 183 days for something else entirely. The same eight months abroad can make you a resident in one country and leave you a non-resident in another.

The 183 Day Rule: Why Countries Count Days Differently

Two different 183-day rules

The number turns up in two places, and they answer different questions.

  • A country's residence test. National law decides whether you are a tax resident there. A resident is usually taxed on worldwide income. Many countries put a day count of about 183 days at the centre of this test, next to other tests such as having a home or your main economic interests there.
  • The treaty rule for salaries. Article 15 of the OECD Model Tax Convention, copied into most double tax treaties, decides which country may tax your salary when you work abroad for a short time. It does not make anyone a tax resident.

Mixing the two up is the most common mistake. Staying under 183 days in a country does not prove you are not resident there, and staying over 183 days does not by itself settle the treaty question.

183 day rule for tax residency: how countries count

Here is how the day test works in eight countries our readers ask about most. Even the number is not always the same: some countries need 183 days or more, others more than 183, and Thailand uses 180.

CountryDay testPeriodWhich days count
United Kingdom183 days or moreTax year, 6 April to 5 AprilDays you are in the UK at midnight
United States183 weighted days over 3 years, with at least 31 this yearCalendar yearAny part of a day
SpainMore than 183 daysCalendar yearShort trips abroad still count, unless you prove tax residence elsewhere
PortugalMore than 183 daysAny 12 months starting or ending in the yearDays that include a night in Portugal
GermanyMore than six months in a rowNot tied to the calendar yearShort breaks are ignored
Canada183 days or more, if you have no significant tiesThe yearDays you stay in Canada
UAE183 days or more, or 90 days with a residence permit and a home or jobAny 12 months in a rowAny part of a day
Thailand180 daysCalendar yearDays you live in Thailand

The period: calendar year, tax year or any 12 months

Spain, the United States and Thailand reset the count on 1 January. The United Kingdom counts by its tax year, which starts on 6 April. Portugal and the UAE look at any 12-month period, so a stay that straddles New Year is counted as one block. Germany does not use a day count: a continuous stay of more than six months makes your habitual abode there from the first day.

Which days count

The United States and the UAE count any part of a day, so the day you arrive and the day you leave both count. The United Kingdom counts the days you are in the country at midnight, and Portugal counts the days that include a night there. The same trip can therefore give a different total in each country.

The day test is rarely the only test

Days are only one way in. Spain also treats you as resident if your main business or economic interests are in Spain, and presumes residence if your spouse and minor children live there. Portugal looks at a home you keep as your usual residence. In Germany, keeping a home that you use is enough, whatever the day count. In the United States, a green card makes you resident with no day test at all. Our guides to the US substantial presence test and UAE tax residency cover those two countries in detail.

Prefer to watch? The 183-Day Rule Is Not One Rule: How Countries Count Your Days (2026)

One stay, five different answers

Say you take a work assignment abroad from 1 August 2026 to 31 March 2027. That is 243 calendar days: 153 in 2026 and 90 in 2027. You spend 242 nights there. Here is what the same dates mean in five countries, assuming you have not lived in any of them before.

Timeline from 1 August 2026 to 31 March 2027: 153 days in 2026 and 90 days in 2027; the UK, Portugal and Germany treat the stay as residence, Spain and the United States do not
The same 243 days, counted five ways.
CountryHow the days add upDay test met?
United Kingdom242 midnights, all in the 2026–27 tax yearYes
Portugal242 days with a night, within 12 monthsYes, from 1 August 2026
GermanyEight months in a row, more than sixYes, from the first day
Spain153 days in 2026, 90 days in 2027No, in neither year
United States153 days in 2026; 90 + 153 ÷ 3 = 141 in 2027No, in neither year

The UK tax year runs from 6 April 2026 to 5 April 2027, so the whole stay falls inside one year. Spain and the United States split it at New Year, and neither half reaches the threshold. Spain can still treat you as resident under its other tests, for example if your family lives there. For the US numbers, try our substantial presence test calculator.

A hand circling a date on a desk calendar
Each country counts the same days against its own calendar. · Photo: Towfiqu barbhuiya / Pexels

183 days in a tax treaty

Under Article 15 of the OECD Model, salary for work in another country is taxed only in your country of residence if all three conditions are met:

  1. You are in the other country for no more than 183 days in total in any 12-month period that starts or ends in the tax year concerned.
  2. Your employer is not a resident of that country.
  3. The salary is not charged to a branch or other permanent establishment your employer has there.

Fail any one of them and the country where you work may tax the salary for the work done there. Many older treaties count the 183 days per calendar year or tax year instead of any 12 months, so read the treaty between your two countries.

If two countries both treat you as a resident under their own laws, the treaty also has tie-breaker rules that pick one. Our article on dual tax residency explains how they work.

Travellers with suitcases in a sunlit airport terminal
In the UK, leaving just before or just after midnight changes your day count. · Photo: Magic K / Pexels

Keep a record of your days

Every count starts with knowing exactly where you were on each date. Lumo Travel records the days you spend in each country, so you can check your totals by calendar year, tax year or any 12 months before you book the next trip.

Frequently asked questions

Does staying under 183 days mean I am not a tax resident?

No. Most countries have other tests, such as a home, family or your main economic interests there. You can be resident with fewer days.

Is it 183 days in a calendar year or in any 12 months?

It depends on the country. Spain and the United States use the calendar year, the United Kingdom its tax year from 6 April, and Portugal and the UAE any 12 months.

Do the days of arrival and departure count?

In the United States and the UAE, yes, any part of a day counts. The United Kingdom counts days you are there at midnight, and Portugal counts days that include a night.

Is the treaty 183-day rule the same as tax residency?

No. Article 15 only decides which country taxes your salary for short work abroad. Whether you are a resident is decided by each country's own law.

Do the 183 days have to be in a row?

Usually not. Spain, Portugal and the UAE add up separate stays. Germany is different: it looks for a continuous stay of more than six months.

Can I be a tax resident of two countries at once?

Yes. Each country applies its own rules. A tax treaty between them then decides which one counts as your residence for the treaty.

This article is general information, not tax advice. Rules change and each country has further tests; check with the tax authority or a tax adviser. Sources: HMRC, Statutory Residence Test (RDR3) and Residence Manual RFIG20710; IRS, Substantial Presence Test; Agencia Tributaria, IRPF manual (Law 35/2006, Article 9); Portuguese IRS Code, Article 16; German Fiscal Code, sections 8 and 9; Canada Revenue Agency, Determining your residency status; UAE Cabinet Decision No. 85 of 2022 and Ministerial Decision No. 27 of 2023; Thai Revenue Department; OECD Model Tax Convention, Articles 4 and 15, and HMRC International Manual INTM153170.