Pass the 330-day test to qualify for FEIE ($132,900 exclusion). Must be physically present in foreign countries 330 full days during any 12-month period.
A 'full day' means you're physically present in a foreign country for the entire 24-hour period from midnight to midnight. If you're in the air, at sea, or on US soil at midnight, that day doesn't count. Most digital nomads lose 12-20 days per year to travel, so aim for 340-350 days abroad, not exactly 330. Pass the test = exclude $132,900 from US taxes. Fail by even one day = owe full US tax ($29,200+ on $132,900 income).
The Physical Presence Test is the most common way to qualify for the Foreign Earned Income Exclusion (FEIE), which lets you exclude up to $132,900 from US taxes (2026). The rule is deceptively simple: be physically present in a foreign country for at least 330 full days during any 12-month period. But the devil is in the details. Travel days usually don't count. US layovers disqualify entire days. Being one day short means losing the entire exclusion—costing you $29,200+ in taxes. This calculator helps you count days correctly, understand edge cases, and build in buffer days so you never fail the test by mistake.
A full day means you are physically present in one or more foreign countries for the entire 24-hour period, from midnight to midnight. If you are in the US, in international waters, or in international airspace at any point during the day (especially at midnight), that day does not count toward the 330-day requirement.
Usually no. If you are in transit at midnight (on a plane, ship, or in an airport), that day does not count. For a day to count, you must be in a foreign country at midnight. This is why most people lose 10-20 days per year to travel and should aim for 340-350 days abroad, not exactly 330.
Any physical presence on US soil—even a 1-hour layover where you never leave the airport—disqualifies the entire 24-hour day. If you fly Bangkok to Mexico City with a 2-hour layover in Los Angeles, that full day does not count toward your 330 days. Always avoid US layovers during your qualifying period.
Yes, you can spend up to 35 days in the US during your 12-month period (365 - 330 = 35). However, you must also account for travel days lost to the midnight rule. Realistically, if you visit the US for 5 days, you lose 5 US days + 2 travel days = 7 days total. Plan conservatively.
You fail the test completely. The Physical Presence Test is all-or-nothing: 330 days = $132,900 exclusion; 329 days = $0 exclusion. Being one day short means you owe full US tax on your foreign income, which can cost you $29,200+ in taxes (on $132,900 income). This is why buffer days are critical.
No. You can choose any consecutive 12-month period. For example, if you moved abroad on July 15, 2025, you can use the period July 15, 2025 - July 14, 2026. As long as you have 330 qualifying days in that window, you pass the test. You can even use multiple overlapping periods to maximize your exclusion across tax years.
Aim for 340-350 days abroad, not 330. This gives you a 10-20 day buffer to protect against: emergency US trips, travel day losses (flights at midnight), miscounts, or unexpected events. The buffer is cheap insurance against losing a $29,200+ tax benefit.
No. You can travel to as many foreign countries as you want. The 330 days can be spread across multiple countries. What matters is that you are in foreign countries (not the US, not international waters/airspace) for at least 330 full days during your 12-month period.
The IRS can request documentation proving you were abroad for 330+ days. Acceptable proof includes: passport stamps, flight records, hotel/Airbnb bookings, credit card statements showing foreign transactions, bank ATM withdrawals, geolocation data (Google Maps Timeline), employer work logs, lease agreements, and dated photos with GPS metadata. Keep meticulous records and save all travel documents.
Yes. Google Maps Timeline and Apple Location Services provide strong evidence of your physical presence. If you enable location tracking, you can export a detailed day-by-day log showing you were in foreign countries. This is especially useful for periods without passport stamps (e.g., traveling within the Schengen zone where there are no border controls).
The Bona Fide Residence Test is an alternative to the Physical Presence Test. If you are a bona fide resident of a foreign country for an entire tax year (Jan 1 - Dec 31), you can qualify for FEIE without meeting the 330-day requirement. However, bona fide residence is harder to prove—you must show you established genuine residence with intent to live there indefinitely, not just temporarily. Most digital nomads cannot meet this test and must rely on the 330-day test.
If an emergency forces you back to the US and you drop below 330 days, you fail the test and lose the entire FEIE for that year. There are no exceptions for emergencies, illness, or force majeure. This is exactly why you should aim for 340-350 days, not 330. The 10-20 day buffer protects you against the unexpected.
It depends on where you are at midnight. If you depart the US at 10 PM on May 1 and land in London on May 2 at 10 AM, May 1 does NOT count (you were over the Atlantic at midnight May 1-2). May 2 COUNTS (you were in London at midnight May 2-3). The landing day counts, but the departure day usually does not.
Yes. For example, you can use the Physical Presence Test for part of the year and Bona Fide Residence for another part. However, most people find it simpler to use one test consistently. The Physical Presence Test is more objective and easier to prove (just count days), while Bona Fide Residence is subjective and requires demonstrating intent to live abroad permanently.
US territories count as the United States for the Physical Presence Test. Days spent in Puerto Rico, US Virgin Islands, Guam, American Samoa, or Northern Mariana Islands do NOT count toward your 330 foreign days. Only time in actual foreign countries counts.
CountryTaxCalc.com is reader-supported. When you use our partner links, we may earn a commission at no cost to you. This helps us provide free tax calculators and comparison tools. Learn more about our affiliate partnerships
Transfer money globally at the real exchange rate. Essential for expats managing finances across multiple countries. Save up to 5x vs banks.
Send Money Internationally →Don't lose your $132,900 FEIE exclusion due to miscounting days or travel mistakes. Greenback CPAs specialize in the Physical Presence Test, help you track qualifying days, and ensure you claim maximum FEIE. Trusted by 50,000+ expats and digital nomads worldwide.
Ensure You Pass the 330-Day Test →Working remotely for international clients? Deel handles contractor agreements, global payments in 120+ currencies, and tax compliance.
Get Paid as a Contractor →Last Updated: March 2026