183-Day Rule: How It Works for Tax Residency, by Country

The 183-day rule is the most common test for tax residency: spend more than about half a year in a country and it can tax you as a resident. It is not one rule, though. Countries count the days in different ways, some need fewer, and the same number appears in tax treaties with a different job. Here is how it works by country, for visitors to the US, and under treaties.

Quick summary

  • In most countries, 183 days in the tax year or in a 12-month window makes you tax resident, but some laws say 183 or more and others more than 183.
  • Thailand draws the line at 180 days and Malaysia at 182, while Cyprus needs 60 days with a home and a Cyprus business, job or directorship, the UAE 90 with a residence permit and a home, job or business, and Paraguay more than 120.
  • The US counts weighted days over 3 years, so 122 days a year, every year, adds up to the 183 that makes a visitor a US tax resident.
  • In tax treaties, 183 days is a limit for employees, not a residence test: at 183 days or fewer in any 12 months, with an employer not resident in that country and no permanent establishment there bearing the pay, the salary stays taxable only at home.
  • Under 183 days is not a safe harbor: a home, family or main business can make you resident with fewer days, and the country you left can keep you.

What the 183-day rule is

The 183-day rule is not a single law. It is a number that appears in 2 different places, doing 2 different jobs, and most confusion comes from mixing them up:

  • A residence test in a country's own law. Spend 183 days there, counted the way that country counts, and you become tax resident in that country, usually taxed on your worldwide income. This is the rule most people mean.
  • An employment rule in tax treaties. If you work in another treaty country for an employer that is not resident there, staying 183 days or fewer in any 12-month period can keep your salary taxable only where you are resident. It does not decide your residency at all.

Half of a 365-day year is 182.5 days, so 183 is the first full day past the halfway mark, which is why so many laws use it. The exact wording still matters, and it differs from country to country.

The 183-day rule by country

The table compares the day test in 12 countries. Read 3 columns before you trust a number: whether the law says 183 days or more, or more than 183 (so you need 184); which period it counts; and whether another test can make you resident with fewer days.

Day tests by country. Sources: statutes, tax authorities and PwC Worldwide Tax Summaries, linked in the text and listed under Sources (checked October 12, 2026).

CountryDay test in the lawPeriod countedCan make you resident with fewer days
SpainMore than 183 daysCalendar yearMain base of business or economic interests; spouse and minor children in Spain
PortugalMore than 183 daysAny 12 months starting or ending in the yearA home kept as your habitual residence
CyprusMore than 183 daysCalendar yearThe 60-day rule, with a home and a Cyprus business tie
ColombiaMore than 183 daysAny 365 consecutive daysExtra tests for Colombian nationals
United Kingdom183 days or moreTax year, April 6 to April 5An only home in the UK; enough ties from 16 days
Ireland183 days or moreCalendar year280 days over this year and last, unless this year has 30 or fewer
UAE183 days or moreAny 12 consecutive months90 days with a residence permit and a home, job or business
Georgia183 days or moreAny 12 months ending in the yearHigh net worth status
Singapore183 days or moreCalendar yearA continuous 3-year stay; a job straddling 2 years with 183 days in a row; a work pass valid for 1 year or more
Malaysia182 days or moreCalendar year90 days, if resident or present 90 days in 3 of the 4 previous years
Thailand180 days or moreCalendar yearNone: the day count is the only test
United States183 weighted days, with 31 this year3 calendar yearsA green card

So a 182-day stay is safe from the day test in Spain but not in Malaysia (HASiL, Public Ruling No. 11/2017), and 180 days already makes you resident in Thailand (Revenue Department, Guide to P.N.D. 90). Spain also adds short trips abroad back into your Spanish days unless you prove tax residence in another country (LIRPF, article 9). Colombia counts any 365 days in a row, with the days you arrive and leave included (Estatuto Tributario, article 10), and Georgia any 12 months ending in the tax year (Tax Code, article 34). Singapore treats a foreigner whose work pass is valid for 1 year or more as resident, and reviews that when the job ends (IRAS, working out your tax residency).

How the 183 days are counted

Once you know the number, the counting rules decide whether you reached it, and how you count days for tax residency can move a stay from one side of the line to the other:

  • Part days usually count in full. Ireland counts any part of a day spent in the country (Revenue), and so does the US (IRS), while the UK counts a day only if you are in the UK at the end of it (Finance Act 2013, Schedule 45, paragraph 22).
  • The days need not be in a row. Portugal counts days consecutive or not (CIRS, article 16), and separate stays add up everywhere in the table.
  • The window can roll. A calendar-year test starts again on January 1. A 12-month window, as in Portugal, the UAE and Georgia, can catch a stay that straddles New Year.
One schedule, 2 answers: 212 days across New Year
October 1 to December 31, 202592 days
January 1 to April 30, 2026120 days
Calendar-year test, 2025Under 183: not resident by days92 days
Calendar-year test, 2026Under 183: not resident by days120 days
12-month window from October 1, 2025More than 183: resident by days212 days

A country that counts the calendar year, such as Spain, sees 2 short stays. A country that counts any 12-month period starting or ending in the year, such as Portugal, sees 1 stay of 212 days.

Countries that can make you resident in fewer than 183 days

In several countries, 183 days is only the slowest way in. A shorter stay works when you add a home, a permit or a business:

  • Cyprus, 60 days. You also need a permanent home in Cyprus, owned or rented, a business or job in Cyprus or a directorship of a Cyprus tax-resident company, held at any time in the year and not ended before December 31, and no more than 183 days in any other single country; since January 1, 2026 it no longer matters whether another country treats you as resident (PwC, Cyprus residence). The 60-day rule opens Cyprus non-dom residence to someone who spends most of the year abroad.
  • UAE, 90 days. A residence permit holder with a permanent home, a job or a business in the UAE is resident after 90 days in any 12 consecutive months (Cabinet Decision No. 85 of 2022, article 4).
  • Paraguay, 120 days. Tax residency in Paraguay rests on a presumption in its tax law: after more than 120 days in the country, that is your habitual residence, and so your domicile (Law 125/1991, article 152).
  • Switzerland, 30 days. A stay of at least 30 days while working, or 90 days without working, makes you resident (DBG, article 3).
  • The UK, from 16 days. Under the UK statutory residence test, someone who was UK resident in any of the previous 3 tax years and spends 16 days or more in the UK can be resident if they keep enough ties, such as family, a home or work there (GOV.UK).
  • Portugal and Spain, no day minimum. Portugal's home test and Spain's economic interests test can make you resident with any number of days.

The UAE 90-day route: met and missed

Met

You hold a UAE residence visa, rent an apartment in Dubai on an annual lease, so it is available to you at all times, and spend 100 days in the UAE within 12 consecutive months. The permit, the home and the 90 days are all there, so you are resident.

Missed

You hold the same visa and spend the same 100 days, but in hotels, with no lease, job or business in the UAE. The 90-day route needs one of those ties, and 100 days is far short of the 183-day test, so you are not resident unless the UAE is your primary home and the center of your financial and personal interests (Cabinet Decision No. 85 of 2022, article 4(1)), which hotel stays with no UAE job or business do not show.

The US version: the substantial presence test

The US does not use a flat 183 days in a year. A visitor who is not a citizen or green card holder becomes a US tax resident under the substantial presence test: at least 31 days in the current year, and 183 days over 3 years counting every day this year, 1/3 of last year's days and 1/6 of the days from the year before (IRS, substantial presence test).

The weighting is what catches regular visitors. Spending 122 days a year in the US for 3 years in a row adds up to 183 weighted days, so a pattern that never comes close to half a year can still make you resident:

US substantial presence test: weighted days for 4 travel patternsDays this year count in full, last year's at 1/3, the year before at 1/6. 183 weighted days, with at least 31 this year, makes you a US tax resident.
  • This year (full days)
  • Last year (1/3)
  • 2 years ago (1/6)
  1. 120 days every year180 days
  2. 122 days every year183 days
  3. 182 days this year only182 days
  4. 150 this year, 120 in each year before210 days

Source: IRS, Substantial presence test (the IRS formula applied to each pattern) Worked examples of the formula, not data about real travelers. Totals of 183 or more pass the test: the 122-day and 150-day patterns do, the 120-day and 182-day patterns do not.

Show the numbers
This year (full days)Last year (1/3)2 years ago (1/6)Total
120 days every year120 days40 days20 days180 days
122 days every year122 days40.7 days20.3 days183 days
182 days this year only182 days0 days0 days182 days
150 this year, 120 in each year before150 days40 days20 days210 days

There is a way out for some visitors. The closer connection exception treats you as a non-resident if you were in the US fewer than 183 days in the year, kept a tax home in 1 foreign country all year (or in 2, moving from the first to the second during the year and taxed as a resident in either or both), had a closer connection to that country, or to each of the 2, than to the US, and took no steps toward a green card; you claim it on Form 8840 by your return's due date (IRS, closer connection exception). US citizens never need the test, because the US taxes them on worldwide income wherever they live (IRS).

The 183-day rule in tax treaties

Most tax treaties follow the OECD Model, whose employment article uses the number for a different job. Salary for work done in the other country stays taxable only in your country of residence if all 3 conditions hold (OECD Model, Article 15(2)):

  1. You are in the other country for no more than 183 days in total in any 12-month period starting or ending in the tax year concerned.
  2. Your employer is not resident in that country.
  3. Your pay is not borne by a permanent establishment your employer has there.

If any of the 3 fails, the country where you work can tax the salary for the work done there from your first working day, so working remotely from another country on the payroll of a local subsidiary is taxable there at once. Article 15 covers employees only. A freelancer's business income falls under the business profits article instead, and stays taxable only at home unless you carry on business through a permanent establishment in the other country (Article 7(1)). Some treaties still keep a separate article for freelancers, the one the OECD dropped from its Model in 2000, and those built on the UN Model add a 183-day test: stay 183 days or more in any 12 months and the other country can tax the income from the work done there (UN Model Convention 2017, Article 14(1)(b)).

The 183-day myth: why fewer days does not mean no tax

The rule is often read in reverse: stay under 183 days in every country and you owe tax nowhere. It is a common mistake in planning taxes as a digital nomad, and it fails on the country you came from.

Leaving is a separate test from arriving

You leave Madrid at the end of 2025. In 2026 you spend 150 days in Portugal in short rentals, 120 in Thailand and the other 95 on the move, under every day test. Your spouse and minor children stay in the Madrid apartment. Spain presumes you are still resident while they live there, unless you prove otherwise (LIRPF, article 9), and with no tax residence in another country to show, it can tax your 2026 worldwide income.

Ending the old residency means giving up the home and ties as well as the days, and becoming non-resident for tax is easier to prove once a new country certifies you as its resident. Being resident nowhere at all, the perpetual traveler approach, leaves you without that certificate or any treaty protection. Even flag theory, which spreads companies and banks across countries, keeps 1 country as the tax residence that sets the bill.

Checking and proving your days

Tax offices ask where you slept, not only where you flew, so keep records that show both, and get a tax residence certificate from the country where you are resident, because that is what a treaty partner or a foreign payer will ask for.

Checking a stay against the 183-day rule

  • Read the country's wording: "183 days or more" makes day 183 the one that counts, "more than 183" makes it day 184.
  • Note the period it counts: calendar year, its own tax year or a 12-month window, and whether part days count.
  • Check the rolling 12-month total, not only the calendar year, before you book a long stay.
  • Run the weighted 3-year total if you visit the US every year.
  • Mark the tests that need no days, in the new country and the one you left: a home, family or business.

David's note

I would never plan a year around landing on 182 days. Day counts get disputed at the margins: a missed flight, a part day that counts in full, a window that rolls over New Year. If you want a country's residency, clear its test by a few weeks; if you want to avoid it, stay well under and make sure your home and business are clearly somewhere else.

Sources

  1. OECD: Model Tax Convention on Income and on Capital, condensed version 2017 (Articles 7, 14 and 15)oecd.org, checked
  2. United Nations: Model Double Taxation Convention between Developed and Developing Countries 2017 (Article 14)un.org, checked
  3. IRS: Substantial presence testirs.gov, checked
  4. IRS: Closer connection exception to the substantial presence testirs.gov, checked
  5. IRS: U.S. citizens and resident aliens abroadirs.gov, checked
  6. GOV.UK: Tax on foreign income, residencegov.uk, checked
  7. legislation.gov.uk: Finance Act 2013, Schedule 45, paragraph 22 (UK)legislation.gov.uk, checked
  8. Revenue (Ireland): Resident for tax purposesrevenue.ie, 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. PwC Worldwide Tax Summaries: Cyprus, individual residencetaxsummaries.pwc.com, checked
  12. PwC Worldwide Tax Summaries: Costa Rica, individual residencetaxsummaries.pwc.com, checked
  13. UAE Federal Tax Authority: Cabinet Decision No. 85 of 2022 (unofficial translation)tax.gov.ae, checked
  14. Fedlex: Bundesgesetz über die direkte Bundessteuer (DBG), article 3 (Switzerland)fedlex.admin.ch, checked
  15. DNIT: Ley 125/1991, article 152 (Paraguay)dnit.gov.py, checked
  16. Thailand Revenue Department: Guide to P.N.D. 90rd.go.th, checked
  17. Inland Revenue Board of Malaysia: Public Ruling No. 11/2017, Residence status of individualshasil.gov.my, checked
  18. PwC Worldwide Tax Summaries: Malaysia, individual residencetaxsummaries.pwc.com, checked
  19. DIAN Normograma: Estatuto Tributario, article 10 (Colombia)normograma.dian.gov.co, checked
  20. Legislative Herald of Georgia: Tax Code of Georgia, article 34matsne.gov.ge, checked
  21. IRAS: Working out my tax residency (Singapore)iras.gov.sg, checked

Frequently asked questions

What is the 183-day rule?

It is the most common test for tax residency: spend 183 days in a country, counted the way its law counts, and you are tax resident there. The same number also appears in tax treaties as a limit for employees working abroad, which is a different rule.

Does the 183-day rule apply in every country?

No. Many countries use it, but Thailand's line is 180 days and Malaysia's 182, and Cyprus, the UAE and Switzerland can make you resident in fewer days with extra conditions. Portugal and Spain can also make you resident through a home or your economic interests with no day minimum.

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

It depends on the country. Spain and Thailand count the calendar year, the UK counts its April 6 to April 5 tax year, and Portugal, Georgia and the UAE count a 12-month window that can straddle 2 years.

Do arrival and departure days count?

Usually, at least in part. Ireland and the US count any part of a day you are in the country, while the UK counts only the days that end with you in the UK. Cyprus counts the day you arrive but not the day you leave, and Costa Rica counts both.

Do the 183 days have to be in a row?

No. Portugal counts days consecutive or not, and Spain even counts short trips abroad as days in Spain unless you prove tax residence in another country.

If I spend less than 183 days in every country, do I owe no tax?

Usually you still owe tax somewhere. The country you came from keeps you resident until you fail all of its tests, and home, family and business tests can make you resident with fewer days.

How does the 183-day rule work in the US?

The US uses the substantial presence test: 31 days this year and 183 weighted days over 3 years, with last year's days at 1/3 and the year before at 1/6. About 122 days a year, every year, is enough. The closer connection exception can help if you were in the US fewer than 183 days this year.

Does the 183-day rule apply to freelancers?

The residence version applies to everyone. In treaties that follow the OECD Model, the 183-day employment rule covers employees only, and a freelancer's business income stays taxable only at home unless there is a permanent establishment in the other country. Treaties with an independent personal services article on the UN Model apply a 183-day test to freelancers too.

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.