Physical Presence Test: The 330-Day Rule for Expats Explained
Complete guide to the FEIE Physical Presence Test. Learn how to count days, track travel, choose your 12-month period, and avoid disqualifying mistakes that cost you the Foreign Earned Income Exclusion.
The Physical Presence Test is the most straightforward way to qualify for the Foreign Earned Income Exclusion (FEIE), but it is also the easiest to fail by accident. One miscalculated day, one forgotten layover, or one poorly chosen 12-month period can cost you thousands of dollars in tax savings.
What Is the Physical Presence Test?
To pass the Physical Presence Test, you must be physically present in a foreign country or countries for at least 330 full days during any 12-month period.
Key features:
- Any 12-month period: It does not need to be January 1 to December 31.
- 330 full days: A "full day" is midnight to midnight.
- Any foreign countries: Days in multiple countries all count toward the 330.
- Not necessarily consecutive: You can leave and return, as long as the total is 330+.
How to Count Days
Full Days (Foreign)
A day counts as a foreign day if you are physically present in a foreign country at midnight.
- Arrival date: If you arrive in Germany at 11:00 PM, the date of arrival generally was not a full midnight-to-midnight foreign day; the next full day begins at the following midnight.
- Early arrival: Arriving at 1:00 AM produces the same issue for the arrival date—the date is not a full foreign day unless you were present at its starting midnight.
- Departure date: If you leave Germany at 10:00 AM, the foreign day that began at midnight may count as a full day.
Simplified rule: The day you leave a country counts; the day you arrive may or may not, depending on timing.
US Days
Every day you spend in the US counts as a US day, including:
- Layovers in the US (even a few hours between flights).
- Family visits.
- Business trips.
- Medical treatment.
- Days in US territories (Puerto Rico, Guam, US Virgin Islands).
35-day shortcut: In an ordinary 365-day period with no neutral days, 35 is the arithmetic remainder after 330 foreign days. It is not a separate statutory allowance and should not be used without checking the chosen period, leap years, and transit days.
International Waters and Airspace
Days spent over international waters or in international airspace do not count toward either the foreign or US total. These are "neutral" days.
Example: Time spent over international waters is not time physically present in a foreign country. It can therefore interrupt the count; keep the itinerary and analyze the dates rather than labeling every transit day automatically.
Choosing Your 12-Month Period
This is where strategy matters. You can select any 12-month period, and different periods can be used for different tax years.
Example: Optimizing Your Period
You moved to Spain on March 15, 2025.
Option A (Calendar year): January 1, 2025 – December 31, 2025
- Foreign days: March 15 - December 31 = ~291 days (fails)
Option B (Custom period): March 15, 2025 – March 14, 2026
- Foreign days: 330+ days (passes)
- Income earned March 15, 2025 – December 31, 2025 can be excluded.
Option C (Alternative custom): April 1, 2025 – March 31, 2026
- Foreign days: 330+ days (passes)
- May capture different income timing.
You should calculate multiple 12-month periods and choose the one that maximizes both your qualifying days and the income that falls within it.
Physical Presence Test vs. Bona Fide Residence Test
| Factor | Physical Presence Test | Bona Fide Residence Test |
|---|---|---|
| Requirement | 330 days in foreign countries | Bona fide resident of foreign country |
| US visits | Must still leave at least 330 foreign full days | No fixed 35-day rule, but facts matter |
| 12-month period | Any 12 consecutive months | Must include full calendar year |
| Objective? | Yes (day counting) | No (subjective factors) |
| Best for | Digital nomads, recent movers | Long-term expats, frequent US travelers |
Common Mistakes
Mistake 1: Forgetting Layovers
A 4-hour layover in Miami on your way from Madrid to Mexico City counts as a full US day if you are physically present in the US at midnight. Many expats fail the test because of forgotten layovers.
Mistake 2: Assuming Partial Days Count
You must be present at midnight for a day to count. A 23-hour stay does not count if you are not there at midnight.
Mistake 3: Wrong 12-Month Period
Using January 1 – December 31 when a custom period would have worked better.
Mistake 4: Not Tracking Days
The IRS can ask you to substantiate your Physical Presence Test claim. Without a travel log, you may lose the exclusion in an audit.
Travel Log Template
Maintain a simple spreadsheet:
| Date | Location | Type (Foreign/US/Transit) | Notes |
|---|---|---|---|
| 2025-03-15 | Spain | Foreign | Arrived Madrid |
| 2025-07-04 | United States | US | Family visit |
| 2025-07-10 | Spain | Foreign | Returned |
| 2025-12-25 | International | Transit | Flight over Atlantic |
Keep flight records, boarding passes, and passport stamps as supporting documentation.
How FileAbroad Helps With the Physical Presence Test
FileAbroad reviews your travel dates as part of FEIE preparation:
- Travel log analysis: We review your travel dates to confirm 330-day compliance.
- 12-month optimization: We calculate multiple 12-month periods to find the one that maximizes your exclusion.
- Documentation guidance: We advise on what records to keep in case of IRS inquiry.
- Year-specific proration: We calculate the exclusion based on the qualifying period and the applicable tax-year rules rather than treating 330 days as a standalone refund guarantee.
For FEIE planning, start with the FEIE Calculator or the free intake.
Scope note
This is general educational information, not a day-count determination or a guarantee that a taxpayer qualifies for the FEIE. The tax home, citizenship or resident-alien status, chosen 12-month period, travel records, waiver rules, and tax year must all be reviewed together.
Official IRS sources
Frequently Asked Questions
What is the Physical Presence Test?
The Physical Presence Test is one of two ways to qualify for the Foreign Earned Income Exclusion (FEIE). To pass it, you must be physically present in a foreign country or countries for at least 330 full days during any 12-month period. The 12-month period does not need to align with the calendar year, and the 330 days do not need to be consecutive.
How do I count days for the Physical Presence Test?
A full day is the 24-hour period that starts at midnight. Count only days you are physically present in a foreign country; time over international waters or time otherwise not in a foreign country can interrupt the count. The date of arrival or departure must be analyzed by the midnight-to-midnight rule rather than by hours spent traveling.
Can I choose any 12-month period for the Physical Presence Test?
Yes. You can choose any 12-month period that helps you qualify. The period must consist of 12 consecutive months and can begin on any day of the year. Different 12-month periods can be used for different tax years. Strategically choosing your 12-month period can maximize your qualifying days and the income that falls within the exclusion window.
Do days in the US count against the Physical Presence Test?
Days spent in the United States—including a layover that includes a relevant midnight—do not count as foreign full days. The familiar 35-day figure is only the arithmetic remainder in a 365-day period with no neutral travel days; the legal test is whether you have at least 330 foreign full days in the chosen 12-month period.
What happens if I fail the Physical Presence Test?
If you fail the Physical Presence Test, you cannot claim the FEIE for the income in that 12-month period. However, you may still qualify under the Bona Fide Residence Test if you have established genuine residence in a foreign country. If neither test is met, your foreign earned income is fully taxable in the US (though the Foreign Tax Credit may still apply if you paid foreign taxes).
Continue with a guide
Guide
Foreign Earned Income Exclusion (FEIE): Complete Guide for 2026
Master the FEIE: $130,000 exclusion for tax year 2025 ($132,900 for 2026), Physical Presence and Bona Fide Residence tests, Form 2555, and when it saves most.
Guide
Digital Nomad Taxes for Americans: FEIE, Tax Home, and Reporting
Digital nomad tax planning for U.S. citizens abroad: physical presence, bona fide residence, tax home, self-employment, foreign accounts, state taxes, and visa realities.
Find the path that fits

About the Author
Chip Moreno helps Americans living abroad navigate U.S. tax obligations. Based in Ecuador, he understands the expat experience firsthand. See pricing or start your intake.
Ask Chip a Question