Tax residency rule, United States

New York Tax — 30 Days or Fewer

Summary

If New York is your domicile, you are normally a New York resident for tax however little time you spend there. One exception is the 30-day rule. You are treated as a nonresident for a year when three things are all true: you keep no permanent place of abode in New York during the year, you keep a permanent place of abode outside New York for the entire year, and you spend 30 days or fewer in New York. Any part of a day counts. On day 31 the exception is lost and your domicile makes you a resident again. The New York State Department of Taxation and Finance applies the rule.

Limit
Not more than 30 days in New York State
Period
The tax year, for most people 1 January to 31 December
A day counts when
You are in New York for any part of the calendar day
Also needed
No abode in New York in the year, and an abode elsewhere for the entire year
Law
Tax Law section 605(b)(1)(A)(i), regulation 20 NYCRR 105.20(b)(1)
Run by
New York State Department of Taxation and Finance

Who it applies to

The rule

Domicile is the place you intend to be your permanent home, the place you mean to return to when you are away. You can have only one. New York keeps your domicile until you can show that you gave it up and set up a new one somewhere else. Section 605(b)(1)(A) of the Tax Law makes every person domiciled in New York a resident, and a resident is taxed on income from everywhere.

The same section gives two ways out. The first, in section 605(b)(1)(A)(i), is the 30-day rule that the tracker New York Tax — 30 Days or Fewer follows. You must maintain no permanent place of abode in New York, maintain a permanent place of abode elsewhere, and spend in the aggregate not more than 30 days of the taxable year in New York. The regulation, 20 NYCRR 105.20(b)(1), makes the timing clear: no New York abode during the year, and an abode outside New York during the entire year.

All three conditions must hold for the same year. If they do, you are treated as a nonresident for that year and New York taxes only your income from New York sources. The test is applied again every year. If in a later year you spend 31 days, or take a New York home, or have a gap in your home outside the state, you are a resident for that year.

The second way out is the 548-day rule in section 605(b)(1)(A)(ii) for people who are in a foreign country for at least 450 days in any period of 548 days in a row. It has its own limit of 90 New York days and is not what this tracker counts. People who are not domiciled in New York face the opposite test, more than 183 days with an abode, which the New York Tax Residence tracker follows.

Why it exists

Domicile can stay with a person for years after they stop living in a place, because it depends on intention. Taxing such a person on all their income when they have no home in New York and hardly visit would be hard to defend. The 30-day rule gives a clear line for these cases: no home here, a real home somewhere else, and only short visits.

Counting the days

You count the calendar days of the tax year on which you were in New York State for any part of the day. The total must not be more than 30.

  1. Check first that you had no permanent place of abode in New York at any time in the year. A home owned or leased by your spouse usually counts as yours.
  2. Check that you kept a permanent place of abode outside New York for the entire year, with no gap between homes.
  3. Mark every calendar day on which you were in New York at any time, including arrival and departure days.
  4. Take out days when you were in the state only to board a plane, ship, train or bus to a place outside New York, or only passed through.
  5. Add up the days. 30 or fewer keeps the exception. 31 or more ends it for that year.
How Countr counts it. Countr counts every calendar day on which your phone was in New York State at any time, from 1 January to 31 December, against a limit of 30 days, and warns you before you reach it. It cannot check the two home conditions, so you need to be sure of those yourself. Countr also counts days when you only passed through the state, because it cannot tell them apart. Its number can be a little higher than the legal count and is never lower. With only 30 days to use, plan as if every day that Countr shows will be counted.

Track New York Tax — 30 Days or Fewer on your phone.

Countr finds your past trips in your photos and keeps counting from there.

Examples

Three family visits inside the limit

Dana grew up in Buffalo and New York is still her domicile. She works in Chicago and rents the same apartment there for all of 2026. She has no home in New York. She visits her parents from 3 to 12 July (10 days), 25 to 29 November (5 days) and 22 to 31 December (10 days). That is 25 days, so she is treated as a nonresident for 2026.

One extra weekend

The next year Dana makes the same three visits and adds a wedding from 14 to 19 May, which is 6 more days. Her total is 31. She has no New York home and still has her Chicago apartment, but the day limit is broken. She is a New York resident for the whole of 2027 and New York taxes her Chicago salary.

Few days, but a room that counts

Luis is domiciled in New York and works in Lisbon. He spends only 12 days in New York in 2026. His wife keeps their leased apartment in Yonkers all year. A home leased by a spouse generally counts as his permanent place of abode, so the first condition fails. The 30-day rule does not help him, however few days he spends.

Exceptions

Common misconceptions

“I spend fewer than 183 days in New York, so I am a nonresident.”
The 183-day line is for people who are not domiciled in New York. If New York is your domicile, the limit that matters is 30 days, together with the two home conditions.
“I moved out, so my domicile changed by itself.”
Your New York domicile continues until you can show that you gave it up and made a new permanent home elsewhere. A job abroad for a fixed time usually does not change it.
“Staying with my parents does not matter because I own nothing in New York.”
Ownership is not the test. A permanent place of abode is a dwelling you maintain, owned or not. The days at your parents' home also count toward the 30.
“Once I qualify, I am a nonresident until I move back.”
The three conditions are tested again each tax year. One year with 31 days makes you a resident for that year.

Questions and answers

Is the limit 30 days or fewer than 30 days?

It is not more than 30 days, so 30 days is still inside the rule. The 31st day in New York in the tax year ends the exception for that year.

Does a part of a day count toward the 30 days?

Yes. The Department says a part of a day is a day for this rule. A visit that starts on Friday evening and ends on Sunday morning uses three days.

What happens if I spend 31 days in New York?

You no longer meet the exception, so your New York domicile makes you a resident for that tax year. New York then taxes your income from all sources for the year, not only New York income.

Does a hotel in another state count as my permanent place of abode elsewhere?

The rule needs a dwelling of a permanent kind that you maintain outside New York for the entire year. A series of short stays is hard to fit into that description. A leased or owned home held all year is the clear case.

Can I use this rule in the year I leave New York?

It is hard to meet in that year, because you must have no New York abode during the year and an abode elsewhere for the entire year. People who move in the middle of a year normally look at a change of domicile and part-year residence instead.

Do I still file a New York return if I qualify?

If you qualify you are treated as a nonresident, and a nonresident with income from New York sources may still need to file a nonresident return. Income from outside New York is then not taxed by the state.

Sources

Read more: The 183-day rule: what it means and what it does not.

Other rules for United States

See all trackers

This page explains the rule and how the days are counted. It is not legal or tax advice. The authority decides each case on its own facts.