You moved abroad, worked from another country, and kept your U.S. visits short. Your calendar shows at least 330 days outside the United States, so the foreign earned income exclusion should be settled.
Not quite. The foreign earned income exclusion physical presence test is narrower than “330 days abroad.” The IRS requires 330 full days physically present in one or more foreign countries during any qualifying period of 12 consecutive months. An arrival day may fail the full-day rule. Time over international waters is not time in a foreign country. And the best 12-month period may start in the middle of a month—or the middle of a week.
The short answer is to count midnight-to-midnight days inside foreign countries, test more than one 12-month window, and keep the travel records behind every date. But the day count is only one part of eligibility: your tax home and the source and type of your income matter too.
The Foreign Earned Income Exclusion Has More Than One Test
The physical presence test is one route to the foreign earned income exclusion (FEIE). According to the current IRS instructions for Form 2555, a qualifying person must have a tax home in a foreign country and meet either the physical presence test or the separate bona fide residence test.
For the physical presence route, a U.S. citizen or resident alien must be physically present in foreign countries for at least 330 full days in a 12-month period. The test focuses on location, not why you traveled or whether you intended to return to the United States. A holiday in a foreign country can count toward physical presence. A workday in the United States does not become foreign presence because your employer or bank account is overseas.
The income must also be foreign earned income. The IRS generally treats wages, salaries, professional fees, and other pay for personal services as earned income. Its source rule looks to where you performed the work, not where your employer is based or where the payment landed. Interest, dividends, capital gains, pensions, and annuities are not foreign earned income merely because you received them while abroad.
Passing the day test does not end your U.S. filing obligation, automatically exclude every dollar you earned, or prove that the exclusion is better than a foreign tax credit. FEIE is an election made on Form 2555 with a U.S. return. Its interaction with foreign tax credits and self-employment tax deserves a tax professional’s attention.
Your 12-Month Period Does Not Have to Match the Tax Year
The phrase “any period of 12 consecutive months” does real work. The window can begin on any date and ends the day before the same calendar date 12 months later. It must include at least part of the tax year for which you claim the exclusion, but it does not need to run from January 1 through December 31.
Suppose you began living and working in Portugal on September 18. Testing January through December may make your first year look hopeless. A window beginning after your move and ending the following September could contain the required 330 full foreign-country days. The qualifying period can cross tax years, and periods used for different years can overlap.
The IRS also says you do not need to begin with your first full foreign day or end with your departure. You can choose the valid period that gives you the greatest exclusion. That is why a single calendar-year total is an incomplete answer, especially in a move year, return year, or year with several U.S. trips.
Count Full Days Inside Foreign Countries
A full day is 24 consecutive hours beginning and ending at midnight. If you leave the United States on June 10 and arrive in France at 9 a.m. on June 11, June 12 is your first full qualifying day. Neither June 10 nor June 11 is a full day in France.
The geographic boundary matters as much as the clock. Under the IRS physical presence guidance:
- Time in a foreign country’s territory, airspace, or territorial waters can count when it forms part of a full day.
- International waters and international airspace are not a foreign country.
- Travel between foreign countries does not necessarily cost a day. If the part of the trip outside foreign countries lasts less than 24 hours, the surrounding full days can still count under the IRS rule.
- A U.S. transit of less than 24 hours between two foreign points is not treated as U.S. presence, but the transit time is still treated as travel over an area outside any foreign country. Do not turn it into a qualifying full foreign day.
Puerto Rico, Guam, the U.S. Virgin Islands, American Samoa, and the Northern Mariana Islands are not foreign countries for FEIE purposes. Antarctica is not one either. “Outside the fifty states” is therefore the wrong filter.
Run the Math with a Buffer, Not a Wish
Take a hypothetical 365-day window from September 20 through September 19 of the following year. Your reconstructed timeline contains:
- 306 full days in Portugal
- 26 full days in Spain and Morocco
- 25 full days in the United States
- 8 arrival, departure, or long transit days that were not full days in a foreign country
Your qualifying total is 332 full days. You pass, but only by two days. If one overnight flight was counted as a Portuguese day when you did not arrive until morning, and a same-week trip was missing from the calendar, the result could fall below 330.
Now move the window forward one week and calculate again. Some older foreign days fall out while newer U.S. or travel days enter. The total may rise, fall, or stay flat. There is no annual reset that protects the original answer. The useful calculation is a date-by-date search for a valid 12-month period, followed by a check of which days in that period also fall within the tax year.
A Valid Day Count Does Not Make Every Workday Foreign
The physical presence test answers whether you satisfy a time requirement. It does not change where work was performed. If you spend part of the year working during U.S. visits, the pay attributable to those services is generally U.S.-source, even if the same foreign employer paid the entire salary into the same account.
This creates two related calendars. One records full days in foreign countries for the 330-day test. The other records where you worked so foreign and U.S.-source compensation can be allocated correctly. They overlap, but they are not interchangeable. A Sunday in Madrid may help the presence test even if you did no work; a Tuesday working from Chicago may affect income sourcing as well as the presence count.
Your foreign tax home must also exist throughout the relevant period. The IRS generally describes a tax home as the area of your main place of business, employment, or post of duty. If your abode—your closer family, economic, and personal ties—remains in the United States, physical location alone may not satisfy the tax-home requirement. A nomadic or split-family arrangement can be fact-sensitive.
Build the Record Form 2555 Will Ask You to Use
Form 2555 asks for a specific beginning and ending date for the 12-month period and a travel schedule showing countries, arrival and departure dates, full days present, U.S. business days, and related income. “I was mostly in Europe” will not fill those lines.
Keep a day-by-day location record and reconcile it against passports, flight confirmations, boarding passes, lodging records, and calendar entries. Separate full foreign days from U.S. days and nonqualifying transit days. Then preserve the work-location evidence needed to support income sourcing. A small margin over 330 calls for more documentation, not more optimism.
If your first filing deadline arrives before you will complete a qualifying period, the IRS describes two possible routes: file without the exclusion and amend with Form 1040-X after qualifying, or seek a special extension on Form 2350 to a date after you expect to qualify. Filing dates, interest, and election rules can change the sensible choice, so get individual advice rather than treating an extension as automatic.
ResidencyProof is a tracking and documentation tool, not tax or legal advice. It can help maintain the underlying location timeline, set a custom day-count threshold, and store and export supporting travel records. Use that evidence to prepare Form 2555 and to give your tax professional dates they can verify.
Count the days the IRS counts. Start your free 7-day trial at ResidencyProof. Build the 12-month timeline while the trips are still easy to prove, not when a filing deadline turns every overnight flight into a research project.