XpatSet up your situation

Days outside the U.S. counter

Enter your trips once. The counter tells you whether you meet the physical presence test of the foreign earned income exclusion (FEIE): 330 full days in a foreign country in some 12 months, and which 12 months give the most. It also checks the non-residency test of the streamlined foreign offshore procedures, what Form 14653 certifies, for each year it looks at, counts your days in your last U.S. state for that state's own residence tests, and runs the residence test of the country you live in: the French tax residence criteria (article 4 B of the French tax code) and the UK statutory residence test (the 183-day rule).

Did you spend 330 full days outside the U.S., for the foreign earned income exclusion and the streamlined procedures? The counter runs in your browser, with JavaScript on.

How the days are counted

Physical presence test: 330 full days

You meet the physical presence test for a tax year when you are in a foreign country or countries for at least 330 full days during some period of 12 consecutive months that includes part of that year. A full day is 24 hours from midnight to midnight spent in a foreign country or countries: time in the U.S. and time on or over international waters does not count, so the days you travel to or from the U.S. are usually not full days, and travel between countries that keeps you outside any country for 24 hours or more loses those days too. Separate stays are added up, and the 12 months can start on any day: you choose the period that gives the greatest exclusion. The exclusion's maximum is then taken in proportion to the days of that period that fall in the tax year (Form 2555, lines 37 to 40). The minimum can be waived for a person with a tax home in a foreign country who had to leave a country the IRS lists for war, civil unrest or similar adverse conditions, was there on or before the date the waiver starts and could reasonably have met the test otherwise; only the days actually spent there count.

Streamlined procedures: the years the non-residency test looks at

The non-residency test of the streamlined foreign offshore procedures looks at the most recent 3 years whose U.S. return due date, or properly applied for extended due date, has passed. A calendar-year return is due April 15 of the next year; June 15 when your tax home and your abode are both outside the U.S. and Puerto Rico on April 15 (an automatic extension); October 15 with the further 4 months of Form 4868; December 15 when the IRS grants a taxpayer out of the country 2 more months on request. A U.S. citizen or green-card holder meets the test when, in at least one of those years, they had no U.S. abode and were physically outside the U.S. for at least 330 full days.

The procedures do not say whether the automatic June 15 extension is a properly applied for extended due date: Xpat uses the due date you say applied to the latest year, April 15 unless you say otherwise. They do not define a full day outside the U.S. either: Xpat counts it as the physical presence test counts a full day in a foreign country (the procedures say section 911 and its regulations apply to them), and shows apart a year that reaches 330 days only when days over international waters are counted. Whether you had a U.S. abode is a question for you, not a count.

Xpat's days counter

Xpat counts the full days in a foreign country from the trips you enter: every day from the day you leave the country you live in to the day you are back there, both included, is not a full day in a foreign country, and the days of a trip to the U.S. are days in the U.S. It tries every 12-month period that includes part of the tax year, keeps those with at least 330 full days, and shows the one with the most days in the tax year, which gives the largest maximum exclusion. For the streamlined procedures it counts, for each year the non-residency test looks at, the full days outside the U.S. in that calendar year.

Indicative. Days you do not enter count as full days in a foreign country, and the days before you moved outside the U.S., or from the day you moved back, as days in the U.S. Xpat counts both ends of every trip as lost days, so it does not apply the IRS exception for a flight that passes over a foreign country before midnight of the day you leave the U.S.: the count can only be too low, by at most one day a trip. A stop in the U.S. of less than 24 hours between two places outside it is not entered as a trip. Not modelled: the tax home test, the waiver for adverse conditions, days in a country in violation of U.S. law, and the bona fide residence test. Whether you had a U.S. abode is your answer, not a count.

Days in your last U.S. state

Some states keep treating you as a resident after you move outside the U.S. Say which state each trip to the U.S. was spent in, and the counter reads that state's own tests with your days there, as the tax calculator does.

Xpat's count of days in a state

Xpat counts your days in a U.S. state from the trips you enter: every day of a trip to the U.S. that you say was spent in the state, the day you arrive and the day you leave included, is a day there, and so is every day before the day you moved outside the U.S. It then reads the state's own tests with that count, as the tax calculator does with the days you give in Your situation: the day count of a statutory resident test, which also needs a home kept in the state where the state says so, and the most days a written test for someone still domiciled there allows. California has no day count that decides residence on its own: more than nine months of the year in California is presumed to make you a resident, and under its rule for absences under an employment-related contract, return visits totalling 45 days or fewer in a tax year are disregarded.

Indicative. Xpat has not read each state's own definition of a day in the state: a state may count part of a day, or a day passing through, differently. A day of a trip to the U.S. spent in another state, or with no state given, counts in no state; the days from the day you moved back to the U.S. count in no state either. Xpat reads more than nine months as more than nine twelfths of the year's days: 274 days or more, 275 in a leap year. The count is one fact among those the state weighs: in California, the time spent there against the time spent elsewhere is one of the factors of its guidance, beside where your spouse and children, your home, your driver's licence and your bank accounts are. The year you moved is counted as a whole year: part-year residence is not modelled.

Am I still a California resident after moving abroad?

California: who is a resident. California treats you as a resident if you are there for other than a temporary or transitory purpose, or if you are domiciled there and away for a temporary or transitory purpose. There is no day count, but more than nine months of the year in California is presumed to make you a resident. Domicile is presumed to continue, and the person who says it changed has to show it.

California: absence under an employment contract. Someone domiciled in California who is away for an uninterrupted period of at least 546 consecutive days under an employment-related contract is considered outside California for other than a temporary or transitory purpose, and so is not a resident. Return visits to California totalling 45 days or fewer in a tax year are disregarded. The rule does not apply to anyone with more than $200,000 of income from stocks, bonds, notes or other intangibles in a tax year in which the contract is in effect, counted for each spouse separately, or when the main purpose of the absence is to avoid tax. A spouse who is also away for at least 546 consecutive days to go along is covered, under the same $200,000 limit.

Am I French tax resident? The French tax residence criteria (article 4 B of the French tax code)

French tax domicile: the criteria of article 4 B

With a tax domicile (domicile fiscal) in France you are liable to French income tax on all your income; with one outside France, only on your income from French sources (CGI article 4 A). Your tax domicile is in France if you meet at least one of three criteria (article 4 B, 1): your home (foyer) or the place of your main stay (séjour principal) is in France; you work in France, as an employee or not, unless you show that this work is only secondary (à titre accessoire); or the centre of your economic interests is in France. One criterion is enough, and no number of days decides it on its own. The heads of companies with their seat in France that make an annual turnover above 250 million euros there (counting the companies they control) are deemed to work there mainly unless they prove otherwise. Since 16 February 2025 the article also says that someone who meets a criterion is not domiciled in France when, under a tax treaty, they are not regarded as a resident of France. Employees of the State, local authorities and public hospitals working abroad who are not subject there to a personal tax on all their income are also domiciled in France (article 4 B, 2).

What each criterion means, in the tax administration's guidance

The home (foyer) is the place where you normally live, your habitual residence, provided it is permanent; it stays your home while your work takes you elsewhere, for a time or for most of the year, if your family normally keeps living there and all its members meet there. The main stay (séjour principal) is where you are personally and effectively present mainly, in a hotel or not: as a general rule, in France if you stay there more than six months in a given year, but the six months are not an absolute criterion. The Conseil d'État holds that the main stay decides a tax domicile only where you have no home: in its 1995 Section decision, a couple who kept their home in New Caledonia were not domiciled in France although they had spent most of two years in mainland France (CE, Section, 3 November 1995; repeated in CE, 31 March 2014, no. 357019, for a single taxpayer, whose home is where they normally live and have the centre of their personal life). Your work is your main professional activity: the one you spend the most effective time on, even if it does not bring most of your income; where that cannot be applied, the one that brings the greater part of your worldwide income. The centre of your economic interests is where you have made your main investments, have the seat of your business or the centre of your professional activities, or manage your property, or where you draw, directly or indirectly, most of your income; with several activities or sources of income, it is where most of your income comes from, whatever your investments in France. The criteria apply to each spouse or partner: a couple is taxed jointly in France when one of them is domiciled there, on all the income of the one domiciled in France and only the French-source income of the other (BOI-IR-CHAMP-10, §§ 80 to 250).

Xpat's French residence answer from your questions

France decides a tax domicile on criteria, not on a count of days, so Xpat counts no days in France for it: it asks four questions, one for each part of the criteria (your home, your main stay, your work and your economic interests), with Not sure as the starting answer; the main-stay question asks about a year with no home anywhere, since the main stay decides only without a home (FR.DOMICILE.CRITERIA), so each Yes meets a criterion on its own. One Yes is enough for Xpat to answer that you meet a criterion of article 4 B, 1; No to all four, that you meet none and your tax domicile is not in France. Where you are not sure of an answer that would change the outcome, Xpat says so. Your situation works out its answer to tax residence in France from the same four answers, the same way (Yes with one Yes, No with four No, Not sure otherwise), and assumes Yes until one of them is answered. Meeting a criterion is not the last word: since 16 February 2025, article 4 B says that someone a tax treaty does not regard as a resident of France is not domiciled in France, so for a U.S. citizen or green-card holder whom the U.S. also treats as resident, the U.S.–France treaty's tie-breaker can reverse the answer. Once a criterion is met, Xpat works the tie-breaker out from its own questions (US-FR.TIEBREAK.COUNTER); while none of them is answered, the answer stays that of article 4 B.

Indicative. The criteria are facts the tax administration and the courts weigh case by case: Xpat takes your answers as you give them. It does not count your days in France (the administration's six months are a general rule, not a test), and does not apply the presumption for heads of large companies or the rule for public employees working abroad. It reads the calendar year as a whole and does not model a year you arrive in or leave France.

Article 4: who the treaty treats as resident of France

For the treaty, France treats a U.S. citizen or a green-card holder as a resident of the U.S. only if they have a substantial presence in the U.S. or would be a resident of the U.S., and not of a third country, under the tie-breaker's tests of a permanent home, the center of vital interests and an habitual abode (Article 4(2)(a)). An individual who is a resident of both countries is a resident of the one where they have a permanent home available to them; with one in both, of the one with which their personal and economic relations are closer (center of vital interests); if that cannot be determined, or with a permanent home in neither, of the one where they have an habitual abode; with one in both or in neither, of the one of which they are a national; and, a national of both or of neither, the competent authorities settle it by mutual agreement (Article 4(4), numbered 4(3) in the 1994 text before the 2009 protocol renumbered it).

The 2009 protocol renumbered the tie-breaker as paragraph 4 and added a new paragraph 3 on entities, but did not update Article 4(2)(a), which still names subparagraphs (a) and (b) of paragraph 3; France's own consolidated text of the convention as amended keeps the same words. Xpat reads that cross-reference as pointing to the tie-breaker's tests, now in paragraph 4; no official text found says so.

Article 4(2)(a): a substantial presence in the U.S.

France treats a U.S. citizen or a green-card holder as a resident of the U.S. for the treaty only if they have a substantial presence in the U.S. (in the French text, they stay there mainly: "y séjourne à titre principal") or would be a resident of the U.S., and not of a third country, under the tests of a permanent home, the center of vital interests and an habitual abode (Article 4(2)(a)). The U.S. Treasury's Technical Explanation says that, for a U.S. citizen or green-card holder resident in a third country, France applies its own 183-day standard to the substantial presence test, because French tax is at issue.

The Technical Explanation names France's 183-day standard without saying how it counts. Xpat reads it as more than 183 days in the U.S. in the calendar year, France's tax year, a day spent there in part counting as a day there, from the days counter's trips (or your answer in Your situation). The Technical Explanation describes the substantial presence test only for a citizen or green-card holder resident in a third country; for one resident in both countries under their laws, it says the tie-breaker determines a single country of residence. Article 4(2)(a)'s own words are not limited to a third country, and paragraph 4 applies to a resident of both countries 'by reason of the provisions of paragraphs 1 and 2', so Xpat applies the same gate to a person resident in France, weighing its principles between France and the U.S. only (its words 'and not of a third State' do not arise): without a substantial presence, only the tests of a permanent home, the center of vital interests and an habitual abode (paragraph 3(a) and (b), as Article 4(2)(a) still numbers them) can make France treat them as a U.S. resident. Read the Technical Explanation's way, a person with an habitual abode in both countries or in neither would go on to nationality and, failing that, to the competent authorities; Xpat's reading answers France.

Xpat's answer to the U.S.–France treaty's tie-breaker

Once a criterion of article 4 B is met, Xpat works out the treaty's answer from your answers: your days in the U.S. (counted from your trips, or answered), where you have a permanent home available to you, then, only where it still matters, where your personal and economic relations are closer, where you have an habitual abode, and your nationality, read from Your situation (a U.S. citizen is a U.S. national; a green-card holder who is not a citizen is not; your other citizenship says whether you are French). While none of the questions on a permanent home, vital interests or an habitual abode is answered, it does not work the treaty out and keeps the answer of article 4 B. A U.S. result means France does not treat you as domiciled there (article 4 B); a national of both countries or of neither whose habitual abode does not decide it is left to the competent authorities, which Xpat names and does not work out.

Indicative. A permanent home, the center of vital interests and an habitual abode are facts the two administrations weigh case by case; no official text read gives a count of days that settles an habitual abode, so Xpat asks where yours is and does not read it from your trips. The treaty does not define "national"; under Article 3(2) an undefined term has the meaning it has under the taxation laws of the State applying the convention, here France, unless the competent authorities agree otherwise, and no official text read gives France's reading of it for this test. Xpat reads U.S. nationality as U.S. law defines it: a citizen, or a person who owes permanent allegiance to the U.S. (8 U.S.C. 1101(a)(22)). The treaty itself calls a green-card holder an "alien", which U.S. law defines as a person who is not a citizen or national (8 U.S.C. 1101(a)(3)), so Xpat reads a green-card holder who is not a citizen as not a U.S. national. It does not model a year you arrive in or leave France, or a ruling of the competent authorities.

Am I UK tax resident? The UK statutory residence test (the 183-day rule)

UK statutory residence test

Whether you are resident in the UK for a tax year, which begins on 6 April and ends on the following 5 April, is decided by the statutory residence test (Finance Act 2013, Schedule 45). You are resident if you meet the automatic residence test, that is at least one of the automatic UK tests and none of the automatic overseas tests, or else the sufficient ties test; if you meet neither, you are not resident. Each tax year is looked at separately. Resident for a tax year means resident at all times in it, except where split year treatment (Part 3 of the Schedule) splits a year you arrive or leave into a UK part and an overseas part.

The 183-day rule and the other automatic UK tests

You meet the first automatic UK test, often called the 183-day rule, if you spend at least 183 days in the UK in the tax year, which makes you UK resident unless you also meet an automatic overseas test: at 183 days that is possible only with full-time work overseas and days that count only under the deeming rule. The second test is a home in the UK where you are present on at least 30 days of the year, with a period of 91 consecutive days, at least 30 of them in the year, while you had that home and either no home overseas or only homes overseas where you were present on fewer than 30 days of the year. The third is full-time work in the UK: 35 hours a week or more on average over a period of 365 days that falls at least in part in the tax year, worked out by the Schedule's steps, with no significant break from UK work, more than 75% of the days in that period on which you do more than 3 hours' work being days you do so in the UK, and at least one such day in the tax year. The third test does not apply to someone with a relevant job on board a vehicle, aircraft or ship (substantially all of its trips cross an international border) who makes at least 6 cross-border trips in the year that begin or end in the UK. A fourth test applies only in the year of death.

Automatic overseas tests

You are not UK resident for a tax year if you meet an automatic overseas test: you spend fewer than 16 days in the UK in it and were UK resident in one or more of the 3 tax years before (and do not die in the year); you spend fewer than 46 days in the UK in it and were UK resident in none of those 3 tax years; or you work full-time overseas over the tax year (35 hours a week or more on average, worked out by the Schedule's steps), with no significant break from overseas work (31 days in a row without a day of more than 3 hours' work overseas, a day you would have worked so but for annual, sick or parenting leave counting as one), fewer than 31 days on which you do more than 3 hours' work in the UK, and fewer than 91 days spent in the UK, not counting the days that count only under the deeming rule. The third test does not apply to someone with a relevant job on board a vehicle, aircraft or ship (substantially all of its trips cross an international border) who makes at least 6 cross-border trips in the year that begin or end in the UK, and a voluntary post with no contract of service is not an employment. Two more tests apply only in the year of death.

Sufficient ties test: the UK ties and the day bands

When no automatic test settles the year, you are UK resident if you have enough UK ties for the days you spend in the UK. The ties are: a family tie (a spouse or civil partner you are not separated from, a partner you live with as a couple, or a child under 18, who is UK resident for the year; a child under 18 only if you see them in the UK on 61 days or more in the year, and not a child in full-time education in the UK who is resident only because of it and spends fewer than 21 days in the UK outside term-time); an accommodation tie (a place to live in the UK available to you for a continuous period of at least 91 days in the year, gaps of fewer than 16 days not breaking it, where you spend at least one night in the year, or at least 16 nights if it is a close relative's home); a work tie (more than 3 hours' work in the UK on at least 40 days of the year); a 90-day tie (more than 90 days spent in the UK in either of the 2 tax years before); and, only if you were UK resident in one or more of the 3 tax years before, a country tie (the UK is the country where you are present at the end of the day on the most days of the year, or one of the countries tied for most). Resident in one or more of the 3 tax years before: 16 to 45 days in the UK need 4 ties, 46 to 90 need 3, 91 to 120 need 2 and more than 120 need 1. Resident in none of them: 46 to 90 days need all 4, 91 to 120 need 3 and more than 120 need 2.

What counts as a day in the UK

A day counts as a day spent in the UK if you are in the UK at the end of it. It does not if you only arrive that day as a passenger, leave the next day and do nothing in between that is to a substantial extent unrelated to your passage through the UK; nor, for at most 60 days in a tax year, if you are there at the end of the day only because exceptional circumstances beyond your control prevent you from leaving (the Schedule's examples of what may be exceptional: national or local emergencies such as war, civil unrest or natural disasters, and a sudden or life-threatening illness or injury) and you intend to leave as soon as they permit. A day you are in the UK but not at its end does not count, except under the deeming rule: if you have at least 3 UK ties for the year, were UK resident in at least one of the 3 tax years before and have more than 30 such days in the year, each one after the 30th counts as a day spent in the UK.

Xpat's UK day count and test from your trips

Xpat counts your days in the UK in the UK tax year from the trips you enter: the day you leave the UK on a trip is not a day in the UK, the day you are back is, and every day in between is spent where the trip says (the U.S., another country, or outside any country). Every other day is a day in the UK, from the day you moved outside the U.S. if you give it; the days before it, the day you moved back to the U.S. and the days after it are days in the U.S. The day you leave on a trip, and the day you move back to the U.S., are days you were in the UK but not at the end of the day: past 30 of them, Xpat applies the deeming rule when your answers meet its other conditions. The 90-day tie is counted from your trips in the 2 tax years before, unless you answer it. The country tie is read from your trips when they settle it: the UK has at least as many days as the U.S. and as all the other countries together (a tie), or fewer than the U.S. (no tie); otherwise it is asked. Full-time work, a home in the UK and the other ties are your answers. Where you are not sure of an answer, Xpat runs the test both ways and says whether the outcome changes.

Indicative. Xpat does not apply the passenger-in-transit or exceptional-circumstances exceptions (every day you are in the UK at its end counts), nor the deeming rule in the 2 tax years before: the Schedule leaves those extra days out when deciding whether the deeming rule applies, but for the sufficient ties test itself they count, so Xpat may miss a 90-day tie that rests on deemed days. It does not count your hours of work: full-time work in the UK or overseas, and the work tie, are asked as the Schedule words them. It does not model the tests that apply only in the year of death or the rules for jobs on board a vehicle, aircraft or ship. It does not split the year: in a year you arrive in or leave the UK, split year treatment may tax part of the year as an overseas part, and Xpat does not work out whether it applies.

What the counter leaves out

  • The tax home test: the exclusion also needs your tax home in a foreign country for the whole of the 330 days. Not checked here.
  • The bona fide residence test, the other way to qualify for the exclusion.
  • The waiver of the minimum time for people who had to leave a country the IRS lists for war, civil unrest or similar conditions.
  • Days in a country in violation of U.S. law, which do not count.
  • Whether you had a U.S. abode: the streamlined test asks it, and Xpat takes your answer.
  • The 183-day tests of the tax treaties and the residence tests of the country you live in.

18 rules · each from an official text · checked Dec 4, 2026

Law not explicit: The official text doesn't settle this point. Xpat follows the reading shown; a tax professional may read it differently.

Simplified: Xpat uses a simpler version of this rule. The full rule depends on details Xpat doesn't ask about.

All official sources Xpat relies on

Worked in the U.S. on some of those days? Pay for them is U.S. income that the exclusion does not cover. The tax calculator shows what that does to your taxes.

Indicative, not tax advice. The tests also need a tax home outside the U.S. and, for the streamlined procedures, no U.S. abode: the counter does not check those.