If you moved abroad and want to exclude your foreign wages from US tax under IRC Section 911, having a foreign job and a foreign address is not enough. You have to pass one of two specific tests, the physical presence test or the bona fide residence test, before Form 2555 will let you exclude a dollar. The two tests reach the same exclusion but are built on opposite logic: one is a mechanical day count, the other a subjective residency standard. Picking the wrong one, or missing which one fits your first year abroad, is one of the most common and expensive mistakes expats make on Form 2555.
What Do Both Tests Require Before You Can Even Start Counting?
Before you count a single day or year, both tests share two threshold requirements: your tax home must be in a foreign country, and you cannot maintain an abode in the United States during the period claimed. Fail either one and neither test can rescue the exclusion.
IRC 911(d)(3) defines tax home by reference to Section 162(a)(2), the ordinary "home for tax purposes" concept used for travel expense deductions, then adds an expat-specific override: you are not considered to have a tax home in a foreign country for any period in which your abode is in the United States. Abode is not about where you own property; the IRS and the courts look at where your closest economic, family, and personal ties actually sit. Someone who works overseas but keeps a spouse, children, and the center of their financial life in the US can fail the abode test even while spending most of the year abroad, a separate trap from the day-counting and residency rules below. This threshold question applies identically to both tests on your Form 2555.
How Does the Physical Presence Test Work?
The physical presence test under IRC 911(d)(1)(B) asks one mechanical question: were you physically present in a foreign country or countries for at least 330 full days during any 12 consecutive month period? It ignores intent, visa status, and how long you plan to stay; it only counts days.
A full day means 24 consecutive hours, midnight to midnight, spent in a foreign country. Travel days usually do not count in your favor: any day that includes time in the United States, or time over international waters or international airspace outside any foreign country's territory, is not a qualifying foreign day. Since 330 out of 365 days leaves only 35 days of slack in a non-leap year (36 in a leap year), the count is tight enough that most people need to track it deliberately.
Consider David, who relocates from the US to Singapore on May 1, 2026, for an open-ended assignment. He chooses a 12-month window of May 1, 2026 through April 30, 2027, and during that window he is outside a foreign country, in the US or in transit, for only 25 days. That leaves 340 qualifying days, comfortably above the 330 threshold, so he passes for that window. This is exactly the situation the test is built for: a first, partial calendar year abroad, too early for the bona fide residence test, but with enough consecutive days on the ground to clear 330 within a 12-month window that does not align with the calendar year. It is also how the test works for digital nomads who move between multiple foreign countries rather than settling in one.
What Counts as a Qualifying Foreign Day
Reference- A full day is 24 consecutive hours, midnight to midnight, physically in a foreign country.
- Time spent over international waters or airspace not over any foreign country does not count.
- A day that includes any time in the United States is not a qualifying day.
- You do not need to stay in the same foreign country for all 330 days; multiple countries count together.
- The 330 days do not need to be consecutive within the 12-month period, only the period itself is consecutive.
How Do You Choose the Best 12-Month Window for the Physical Presence Test?
The 12-month period for the physical presence test does not have to match the calendar year, and you are allowed to pick a different qualifying window for each tax year you file. That flexibility is how you maximize the exclusion in a partial first year and still claim the full amount once you are established abroad.
Go back to David. For his 2026 return, his qualifying period (May 1, 2026 through April 30, 2027) only partly overlaps 2026. The exclusion is prorated by the number of days of that qualifying period that fall within 2026, divided by total days in 2026: May 1 through December 31 is 245 days out of 365. At the indexed maximum exclusion for the applicable year, say $132,900, David's 2026 cap would be roughly 245 divided by 365, times $132,900, or about $89,207, since he was not abroad for the entire year. For his 2027 return, if he stays in Singapore and is present at least 330 full days within calendar year 2027 itself, he can instead use January 1 through December 31, 2027 as his qualifying period. Because that period falls entirely inside tax year 2027, the ratio is 365 out of 365, and he can claim the full indexed maximum for that year rather than a prorated amount. Run the math on more than one candidate window before filing; shifting the start and end dates changes how much of the qualifying period lands inside the year you are reporting.
If you are still short of your 330 days by the normal filing deadline because your qualifying window has not closed yet, you do not have to guess or file incomplete; you can request more time using the process covered in our Form 2350 filing extension guide.
How Does the Bona Fide Residence Test Work?
The bona fide residence test under IRC 911(d)(1)(A) requires you to be a bona fide resident of one or more foreign countries for an uninterrupted period that includes an entire tax year, January 1 through December 31. Unlike the physical presence test, it is not a day count; it asks whether you genuinely became a resident of the foreign country, on facts and circumstances.
Treas. Reg. 1.911-2(c) and IRS Publication 54 point to factors such as your stated intention for the length and nature of your stay, whether you established a home and integrated into the foreign community, and whether you filed as a resident (or nonresident, which can cut the other way) of that country's own tax system. Because the standard requires an entire calendar tax year, you almost never qualify in a first, partial year abroad, exactly the gap the physical presence test fills. Once you complete one full qualifying tax year, the regulation lets the bona fide residence period extend to the partial years immediately before and after it, so a taxpayer who moves abroad mid-2026, is a bona fide resident through all of 2027, and stays into mid-2028 can potentially treat the entire mid-2026 through mid-2028 stretch as bona fide residence, not just 2027 alone.
Occasional trips back to the United States do not automatically break bona fide residence the way they threaten a physical presence day count. A definite, temporary visit for business, a family event, or a vacation, where your intent to return abroad is clear, is generally consistent with maintaining bona fide residence. What breaks the test is a change in the facts themselves: moving your home and family back to the US or abandoning the foreign residence.
Who Qualifies for the Bona Fide Residence Test Besides US Citizens?
The bona fide residence test is written in IRC 911(d)(1)(A) for US citizens, and IRS Publication 54 extends it to one other group: a resident alien who is a citizen or national of a treaty country. A resident alien from a non-treaty country is limited to the physical presence test, since 911(d)(1)(B) covers "a citizen or resident of the United States" without that treaty restriction.
This matters most for someone who holds a green card, is posted abroad by an employer, and hopes to rely on a full year of residence rather than tracking travel days. Whether the treaty pathway is open depends on nationality, not on where you currently live, so confirm it before building a filing position around it.
Can Filing Form 2555 or a Treaty Nonresidency Statement Hurt Your Bona Fide Residence Claim?
Yes, and it is one of the sharpest traps in the whole analysis. IRC 911(d)(5) provides that if you submit a statement to a foreign country's tax authorities asserting that you are not a resident there, and the country accepts that position and does not tax you as a resident, you are permanently barred from being treated as a bona fide resident of that country for Section 911 purposes, no matter how long you actually lived there or how strong your other ties look.
This comes up most often with elections that reduce a local tax bill by disclaiming residency, such as a nondomicile or remittance-basis election, or a treaty tie-breaker statement asserting residency elsewhere. Claiming favorable nonresident treatment abroad while claiming bona fide residence for US purposes is directly inconsistent under 911(d)(5), and the statute resolves the conflict against the taxpayer. Check any treaty nonresidency position against your Form 2555 filing before assuming the bona fide residence test is available.
Which Test Should You Use, and Can They Be Combined Across Different Years?
There is no single right test, only the one that fits your timeline for a given tax year. The physical presence test suits digital nomads, short-term assignees, and anyone in a first partial year abroad, since it tolerates moving between countries and needs no completed calendar year. The bona fide residence test suits long-term expats who have completed a full calendar year abroad and travel back periodically, since it is not vulnerable to a tight day count.
The two tests are not mutually exclusive across your expat history. A common pattern: qualify under the physical presence test for the year you move, using a window built around your arrival date as shown above, then switch to the bona fide residence test once a full calendar year abroad is on the books. Either way, check whether the foreign tax credit would beat the exclusion for that year, since the exclusion affects the refundable Additional Child Tax Credit and interacts with the foreign housing exclusion on the same Form 2555.
Bottom Line
Both tests answer the same underlying question, whether you genuinely live and work abroad, in different ways. The physical presence test counts days and does not care why you were there; the bona fide residence test looks at the whole picture but needs a full tax year to work with. Check both before you file, not just the one you assume applies, since the wrong choice in a partial first year can cost you the entire exclusion for that year.
Have questions about the bona fide residence test versus the physical presence test? Contact TS CPA for a free consultation. We respond within the same day.
Official IRS and Government Sources
- IRS Publication 54, Tax Guide for US Citizens and Resident Aliens Abroad
- IRS, Physical Presence Test
- IRS, Bona Fide Residence Test
- IRS, Foreign Earned Income Exclusion
- IRC Section 911, Citizens or Residents of the United States Living Abroad
- Treas. Reg. 1.911-2, Qualified Individuals
- IRS, About Form 2555, Foreign Earned Income
- IRS, About Form 2350, Application for Extension of Time to File