The physical presence test is one of the two time tests for the US foreign earned income exclusion. The IRS says it is met by being physically present in a foreign country or countries for 330 full days during any period of 12 consecutive months that includes part of the tax year, and the 330 days do not have to be consecutive. A full day runs from midnight to midnight, and the test only works together with a tax home in a foreign country.
This guide sets out what the IRS and the law say. It is general information, not tax advice: a US tax professional (a CPA or enrolled agent who works with Americans abroad) should confirm how the test applies to your own dates. Amounts are in US dollars.
At a glance
| Item | Rule | Source |
|---|---|---|
| Days needed | 330 full days in a foreign country or countries, not necessarily in a row | IRS; 26 U.S.C. 911(d)(1)(B) |
| Period | Any 12 consecutive months that include part of the tax year: 365 days, or 366 in a leap year | IRS; Form 2555 instructions |
| Full day | 24 consecutive hours, midnight to midnight | IRS; 26 CFR 1.911-2(d)(2) |
| Not a foreign country | International waters and the airspace above them, US territories, the Antarctic region | Form 2555 instructions |
| Falling short | Not excused for illness, family problems, a vacation or employer orders; only the war and civil unrest waiver helps | IRS |
| Also needed | A tax home in a foreign country on every qualifying day | Form 2555 instructions; IRS |
| Part of a year | The maximum exclusion (USD 132,900 for 2026) is scaled by qualifying days | Form 2555; Rev. Proc. 2025-32 |
| More time to file | Form 2350, when the test will only be met after the return is due | Publication 54 |
What is the physical presence test?
It is a count of days. The Form 2555 instructions say the exclusion needs the tax home test plus either the bona fide residence test or the physical presence test. The IRS physical presence test page asks for 330 full days in a foreign country or countries within 12 consecutive months, the same figure written into section 911(d)(1)(B) of the Internal Revenue Code. That is why it is often called the 330-day rule.
Publication 54 says US citizens may qualify under either test, and the physical presence test applies to all resident aliens. Days abroad count for any reason, work or holiday, so long as the tax home is in a foreign country.
What counts as a full day?
A full day is a period of 24 consecutive hours, beginning and ending at midnight, spent in a foreign country or countries. The regulation, 26 CFR 1.911-2(d)(2), uses the same definition. A part day never counts, which mostly affects travel days:
- Arrival day. In the IRS example, someone leaves the US for France by air on 10 June and lands at 9 a.m. on 11 June. Their first full day in France is 12 June.
- Flying over another country. If a flight from the US passes over a foreign country before midnight of the day of departure, the first countable day is the day after leaving the US.
- International waters. Time on or over international waters, when leaving the US or returning to it, does not count as time in a foreign country.
- Moving between foreign countries. No days are lost unless part of the trip outside any foreign country takes 24 hours or more. In the IRS example a ship leaves Norway at 10 p.m. on 6 July and reaches Portugal at 6 a.m. on 8 July, so 6, 7 and 8 July are all lost.
- Changing planes in the US. Under 24 hours in the US while in transit between two points outside it is not treated as presence in the US, but as travel over areas not within any foreign country.
Which places are not a foreign country?
The Form 2555 instructions say a foreign country includes its territorial waters and airspace. The term does not include international waters and the airspace above them, any US territory or the Antarctic region. The IRS adds that time in a foreign country in violation of US law is not treated as physical presence there.
How do you choose the 12-month period?
The IRS sets four rules:
- A 12-month period can begin on any day of the month. It ends the day before the same calendar day, 12 months later.
- The months must be consecutive. Any 12-month period can be used if the 330 days fall inside it.
- The period does not have to start with the first full day abroad or end with the day of leaving. The taxpayer can choose the 12-month period that gives the greatest exclusion.
- Periods can overlap one another.
The Form 2555 instructions add that the period must include 365 days, or 366 in a leap year, and part of it must fall in the tax year of the return. The dates go on line 16 of Form 2555.
Counting days: an illustration
This is an illustration of the arithmetic, not a ruling on anyone's case. The dates are invented, and it assumes the person's tax home is in Panama from 1 March 2026 onward.
A US citizen who has been living in the US lands in Panama on 28 February 2026. They fly to the US on 20 December 2026 for the holidays, land back in Panama on 4 January 2027 and are still there at the end of February 2027.
| Step | Count | Rule applied |
|---|---|---|
| First full day abroad | 1 March 2026 | The arrival day is a part day |
| 12-month period chosen | 1 March 2026 to 28 February 2027 | Any start day; no 29 February, so 365 days |
| Days lost to the trip | 16 (20 December 2026 to 4 January 2027) | Departure and arrival days are part days |
| Full days abroad in the period | 349 | 365 minus 16 |
| Margin over 330 | 19 | 349 minus 330 |
| Calendar year 2026 on its own | 294 full days | Short of 330 |
The calendar year falls short because of January and February in the US. The 12 months from 1 March pass: the choice of period matters.
How is the exclusion prorated for part of a year?
When the qualifying period covers only part of the tax year, the IRS says the maximum exclusion is adjusted by the number of qualifying days in the year. A qualifying day needs both: the IRS page on figuring the exclusion counts only days in the year when the tax home is in a foreign country and the physical presence or bona fide residence test is met. On Form 2555 the maximum (USD 132,900 for 2026; USD 130,000 for 2025) is multiplied by those days and divided by the days in the tax year, as a decimal rounded to at least three places. The exclusion is the smaller of the result and foreign earned income minus any housing exclusion.
The illustration assumes a foreign tax home only from 1 March, so no earlier day of 2026 can qualify, whichever 12 months are chosen. That leaves 306 days of the period in 2026 (1 March to 31 December). 306 divided by 365 is 0.838, and 0.838 times USD 132,900 is about USD 111,370; more decimal places move the result by a few dozen dollars. For 2027, another 12-month period can be chosen, and it may overlap this one.
For freelancers and business owners, one point from Publication 54: the exclusion does not reduce self-employment tax, because all self-employment income counts toward net earnings from self-employment. Our foreign earned income exclusion guide covers the exclusion in full.
What if you fall short of 330 days?
Then the test is not met. The IRS says a shortfall is not excused "regardless of the reason for the failure, including illness, family problems, a vacation, or your employer's orders." The other route is the bona fide residence test, which looks at residence rather than days; see our bona fide residence test guide.
The war and civil unrest waiver
The one exception: the minimum time can be waived for someone who must leave a foreign country because of war, civil unrest or similar adverse conditions there. The IRS conditions are that the person:
- could reasonably have expected to meet the minimum time if not for the adverse conditions;
- had a tax home in that country; and
- was a resident of, or present in, that country on or before the date the waiver begins.
Only countries on the IRS list count. Early each year the IRS publishes the list for the year before. The list for tax year 2025 is in Rev. Proc. 2026-16:
| Country | Departures on or after |
|---|---|
| Haiti | 1 January 2025 |
| Ukraine | 1 January 2025 |
| Democratic Republic of the Congo | 28 January 2025 |
| South Sudan | 7 March 2025 |
| Iraq | 11 June 2025 |
| Lebanon | 22 June 2025 |
| Mali | 30 October 2025 |
Panama and Canada are not on the 2025 list. The 2026 list normally comes out early in 2027.
Do you also need a tax home abroad?
Yes, on every qualifying day. The Form 2555 instructions define the tax home as the regular or principal place of business, employment or post of duty, regardless of where the family lives; for someone self-employed, that points to the regular or principal place of business. The IRS tax home page adds that there is no foreign tax home for any period when the abode, where family, economic and personal ties are kept, is in the US, with a narrow combat zone exception.
So the day count alone does not settle the exclusion: only days with a foreign tax home qualify. The foreign earned income exclusion guide covers the tax home in full, with the IRS example of a rotation worker.
What if the 330 days end after the filing deadline?
Form 2350 asks for more time. Publication 54 lists three conditions for this extension:
- The person is a US citizen or resident alien.
- They expect to meet the bona fide residence test or the physical presence test, but not until after the return is due.
- Their tax home is in a foreign country throughout the period of physical presence.
A granted extension generally runs to 30 days beyond the date the person can reasonably expect to meet the test. Form 2350 has to be filed by the due date of the return; our expat taxes guide covers the other deadlines.
Is there a physical presence test calculator?
Yes. Our free tax residency day counter applies the full-day rule to a list of stays. It tries every start day and shows the 12 months with the most full days, plus the best 12 months that include part of each tax year. It is a count, not tax advice: it does not test the tax home or decide anyone's case.
What this guide does not cover
Your own tax position. This guide explains the published rules. It does not decide whether your dates meet the test, and it does not cover the housing exclusion, the foreign tax credit, state taxes or how the exclusion is elected on Form 2555. A US tax professional should confirm your position.
Getting help with your move
Borderless Minds guides entrepreneurs through the move abroad and Panama residency; the residency application is filed by a Panamanian immigration lawyer we work with. We do not give tax advice or prepare returns: the day count and Form 2555 go to a US tax professional. Read about Panama residency or ask us to review your move.
Sources
- IRS: Foreign earned income exclusion, physical presence test (last reviewed 14 March 2026)
- IRS: Exceptions to the bona fide residence and the physical presence tests (last reviewed 7 February 2026)
- IRS: Rev. Proc. 2026-16 (waiver countries for 2025)
- IRS: Instructions for Form 2555 (2026 revision)
- IRS: Form 2555 (2026) (lines 37 to 42)
- IRS: Figuring the foreign earned income exclusion
- IRS: Rev. Proc. 2025-32 (2026 maximum) and Rev. Proc. 2024-40 (2025 maximum)
- IRS: Tax home in foreign country
- IRS: Publication 54 (December 2025 revision)
- 26 U.S.C. 911 (govinfo)
- 26 CFR 1.911-2 (eCFR)
Facts checked 11 November 2026.


