330-Day Physical Presence Test Calculator
Enter your move dates and US visits to find your optimal consecutive 12-month window and exact pro-rated 2026 ($132,900) or 2027 ($137,300) FEIE limit.
Tax Year & Move Dates
US Visits & Non-Foreign Travel Days
Per IRS Pub 54, both departure and arrival travel days do NOT count as full 24-hour foreign days.
Rolling 12-Month Window Advantage: Even if you moved abroad mid-year (e.g., July 1), our engine slides every consecutive 365/366-day window across 2025–2027 to find the highest pro-rated 2026 FEIE limit allowed on Form 2555. Keep airline boarding passes and passport stamps to substantiate travel days.
Qualifies for 2026 FEIE
339 full foreign days found (9-day safety buffer above 330).
Borderline on 330 Days?
If you are close to 330 days, need a Form 2350 filing extension to finish your 12-month window, or want to compare FEIE vs Form 1116 FTC, speak with our IRS Enrolled Agent.
Book Free 15-Min EA CallUpdated November 29, 2026 · Reviewed by Harsh Agarwal, EA (#00158482)
How the IRS Counts 330 Full Days Under Form 2555
The Physical Presence Test is the primary way first-year expats, remote workers, and digital nomads qualify for the Foreign Earned Income Exclusion (Form 2555). Unlike the Bona Fide Residence Test — which requires living abroad for an entire January 1 to December 31 calendar year and proving foreign residency intent — the Physical Presence Test is purely mathematical: you must be physically inside one or more foreign countries for at least 330 full 24-hour days during any consecutive 12-month period, AND maintain your tax home abroad.
| Scenario | Counts as Full Foreign Day? | IRS Pub 54 Rule |
|---|---|---|
| Midnight-to-midnight inside a foreign country | Yes | Qualifies as 1 full day (even if you cross into another foreign country directly) |
| Day you fly from London to New York (or vice versa) | No | Partial days in the US or over international waters fail the 24-hour midnight rule |
| 3-hour connecting layover in Miami between two foreign countries | No (unless <24h in transit exception applies) | Only direct foreign-to-foreign transit under 24 hours in US territory avoids breaking a day — document itineraries carefully |
| Days in Puerto Rico, USVI, or Guam | No | US territories are not foreign countries for Form 2555 |
| Cruise ship in international waters (>24 hours) | No | International waters and Antarctica are not foreign countries |
How Sliding the 12-Month Window Saves Thousands of Dollars
Most expats mistakenly believe they must test January 1 through December 31. Suppose you moved from Chicago to Lisbon on August 1, 2026 and stayed abroad continuously through August 2027 (taking only 14 days in the US for the holidays). On a calendar-year basis, you only had ~139 foreign days in 2026 — failing the 330-day bar completely.
Instead, by filing Form 2350 to extend your 2026 return until August 2027, you can select the sliding 12-month window July 12, 2026 – July 11, 2027 (which starts up to ~20 days before you even landed abroad, since you only need 330 of 365 days inside the window!). That pushes your 2026 overlap from 153 days up to 173 days, boosting your pro-rated 2026 FEIE cap from $55,709 to $62,991! Our sliding-window optimizer above runs this exact calculation automatically across all 365 possible start dates.
Physical Presence Test vs Substantial Presence Test (Don't Confuse Them!)
Expats and foreign nationals frequently mix up two similarly named IRS day-count tests:
- Physical Presence Test (this calculator — 330 days abroad): Used by US citizens and Green Card holders living overseas to exclude up to $132,900 (2026) / $137,300 (2027) of foreign earned income on Form 2555.
- Substantial Presence Test (183 weighted days in the US): Used by non-US citizens (such as Canadian snowbirds or visa holders) to determine whether they have triggered US tax residency and need Form 8840 or Form 1040.
Get the 2027 US Expat Deadlines & FEIE ($137,300) Checklist
Key IRS filing dates (April 15, June 15, Oct 15, Dec 15), 2026–2027 FEIE limits ($132,900 / $137,300), FBAR/FATCA thresholds, and PFIC red flags. Instant on-screen access plus IRS deadline alerts — unsubscribe anytime.
Frequently Asked Questions
What counts as a 'full day' under the IRS 330-day Physical Presence Test?
Can I travel between multiple foreign countries and still pass the 330-day test?
What if I moved abroad mid-year and won't hit 330 days until next year?
How does a rolling 12-month window affect my 2026 or 2027 FEIE maximum?
Are there any exceptions if I had to return to the US for an emergency or illness?
Does a day working remotely from a US visit count as foreign earned income?
Official IRS References & Next Steps
Ready to Get Started?
Free 15-minute call with a licensed Enrolled Agent who specializes in your exact situation. No obligation.
Need immediate assistance? Call us at +1 (409) 916-8209