The Foreign Earned Income Exclusion (FEIE) is the cornerstone of tax strategy for most American expats and digital nomads. In the 2025 tax year, it allows qualifying Americans abroad to exclude up to $130,000 of foreign earned income from U.S. federal income tax, rising to $132,900 for 2026. For married couples in which both spouses qualify, that can mean up to $265,800 in combined income shielded from federal income tax in 2026.
To claim the FEIE, you must pass one of two tests: the Physical Presence Test or the Bona Fide Residence Test. The Physical Presence Test is particularly popular with digital nomads, remote workers, and frequent travelers because it’s objective and based on day counts, rather than a qualitative test based on residency intent or long-term ties to a single country.
What the FEIE actually excludes
Before getting into how to qualify, it helps to be precise about what the FEIE covers. Foreign earned income is compensation you receive for services you personally perform while physically present in a foreign country: wages, salaries, bonuses, professional fees, and self-employment income all qualify. The statutory basis for the exclusion is 26 U.S.C. § 911, which you can read in full via Cornell Law’s Legal Information Institute. You can estimate your potential savings with our FEIE savings calculator.
Knowing what the FEIE does not cover is just as important: dividends, interest, capital gains, rental income, pensions, and annuity payments all fall outside the exclusion. Those categories require a different approach, such as foreign tax credits, treaty analysis, or entity structuring, so don’t assume the FEIE wipes out your entire U.S. tax bill automatically. For a fuller picture of how the FEIE works, see our complete guide to the Foreign Earned Income Exclusion alongside IRS Publication 54, the official tax guide for U.S. citizens and residents abroad.
What is the Physical Presence Test?
To pass the Physical Presence Test and qualify for the FEIE, you must be physically present in one or more foreign countries for at least 330 full days during any period of 12 consecutive months, per the IRS. A “full day” means a complete 24-hour period from midnight to midnight. That is the IRS standard, and it is where most people inadvertently lose qualifying time.
This is what makes the test popular with digital nomads: it is purely mechanical. Unlike the Bona Fide Residence Test, which requires subjective proof of settled life in one foreign country for an entire calendar year, the Physical Presence Test only requires counting days. No visa, no lease, no local bank account required.
How the 330-day rule works in practice
A useful way to think about it: in your chosen 12-month window, you can spend at most 35 days in the U.S. and still hit the 330-day threshold. Those 35 days are your buffer for holidays, family visits, medical trips, or anything else that brings you home.
A few things that frequently trip people up:
- The 330 days do not need to be consecutive. You can split time across multiple foreign countries and trips. What matters is that you reach 330 full foreign days within your chosen window.
- Travel days usually don’t count. If your flight departs the U.S. Tuesday evening and lands abroad Tuesday night, Tuesday typically isn’t a full foreign day. The midnight-to-midnight rule governs.
- Leap years give you an extra day. If your 12-month period includes February 29, the math shifts slightly: 366−330=36. But 35 days is a reliable rule of thumb for most years.
- International waters and U.S. territories don’t count. Time in mid-air over the Atlantic, or spent in Puerto Rico, Guam, or the U.S. Virgin Islands, does not contribute to your total, even though those places may feel “foreign.”
| Scenario | Days Count? | Why |
|---|---|---|
| Full day in Germany | Yes | Present for entire 24-hour period (midnight to midnight) |
| Departure day (U.S. to France) | No | Partial day spent in the U.S. |
| Layover in London | No | Transit time, not a full qualifying day |
| 2-day business trip to U.S. | No | Days spent in the United States |
Read our guide to which countries count for FEIE for a full breakdown of qualifying locations that count towards the physical presence test.
Choosing your 12-month qualifying period
One of the more useful features of the Physical Presence Test is flexibility: your 12-month period can begin on any day of the year and doesn’t need to align with the calendar year. It only needs to be consecutive and overlap with the tax year you’re filing for.
This lets you slide the window to capture your strongest stretch of foreign days, which can make the difference between qualifying or not in a transition year:
- Started living abroad in March? A March-to-February window often yields more qualifying days than a January-to-December one.
- Took a long U.S. trip in October? Shifting the start date may move that trip outside your qualifying window entirely.
If your qualifying period doesn’t cover the full tax year, your FEIE exclusion is prorated for the portion of the year you qualify. This is common in your first year abroad or the year you return home.
It’s also worth knowing that if you fail to qualify in a given year after previously claiming the FEIE, the IRS generally requires you to wait five years before claiming it again without IRS consent. That makes transition years high-stakes: a miscounted travel day or extended U.S. trip could cost you the exclusion for the year and lock you out for years to come.
Physical Presence Test vs. Bona Fide Residence Test
You only need to pass one of the two tests to qualify for the FEIE. Here is a quick comparison:
| Feature | Physical Presence Test | Bona Fide Residence Test |
|---|---|---|
| Minimum time | 330 days abroad in any 12-month period | Entire calendar year as a foreign resident |
| Best for | Digital nomads, frequent movers | Long-term settled expats |
| Residency requirement | None, day counts only | Must establish residence with ties like housing, employment, family |
| U.S. visits | Max ~35 days in the window | Longer trips allowed if you haven’t abandoned foreign residence |
| Subjectivity | Fully quantitative | Qualitative based on facts and circumstances |
For digital nomads moving between countries, the Physical Presence Test is almost always the right call. You don’t need to prove intent, establish residency, or anchor yourself to a single country.
Documentation: keeping your day count audit-proof
The Physical Presence Test is pure arithmetic, so the IRS expects you to prove the math if questioned. Both IRS Publication 54 and the Form 2555 instructions make clear that maintaining adequate records is your responsibility.
What to keep:
- A day-by-day travel log with country-by-country entry and exit dates
- Flight confirmations, boarding passes, and hotel receipts
- Passport stamps where available, plus any digital entry records
- A consistent, regularly updated record, whether a spreadsheet, calendar, or dedicated app
When it’s time to file, you claim the FEIE on Form 2555, attached to your Form 1040. Part III of the form requires your qualifying 12-month period start and end dates, so your documentation needs to tie cleanly to those dates. No guessing, no reconstructing from memory.
One more thing worth noting: be thoughtful about where you spend your time. While most countries count for FEIE qualification, Cuba is a notable exception, so do your research before including any time there in your count. And if you’re unsure how the exclusion interacts with other parts of your return, our article on the FEIE and the standard deduction explains how the two work together.
How Nationly simplifies FEIE qualification and filing
Tracking 330 qualifying days across multiple countries, time zones, and border crossings is one of the most tedious parts of the Physical Presence Test, and one of the most error-prone. Nationly was built specifically to solve this problem.
Nationly is an iOS location-tracking app that runs in the background, automatically logging your physical presence in each country and building a timestamped travel history of your days abroad. It includes:
- A home screen widget showing your current country and running day count toward the 330-day threshold, so you always know where you stand
- Camera roll import to backfill your history using photo metadata, useful if you’ve been traveling for months before downloading the app
- A year-filterable timeline of your full travel history, organized and ready to reference at tax time
- Per-country day tracking to help you stay within local visa limits
- Automatic storage of your trip history for Global Entry renewal
At year-end, Nationly can generate a pre-filled Form 2555 using your tracked location data. Instead of spending hours reconstructing your itinerary and manually entering dates, you export the form from the app and hand it to your tax professional or drop it into your tax software. As one user put it: “As an American expat, this app made the process of filing Form 2555 a few taps instead of the painful process it used to be.”

