One miscounted day can put a digital nomad’s Foreign Earned Income Exclusion at risk for the year. The FEIE physical presence test sounds simple: spend 330 full days outside the US in a 12-month period. In practice, how the IRS defines a “full day” trips up more nomads than any other part of the exclusion.
This guide walks through the IRS’s actual counting rules for the physical presence test — one of two ways to qualify for the FEIE, alongside the separate bona fide residence test — and the mistakes that most often trip up freelancers. It draws directly on the IRS’s published guidance on the physical presence test and IRS Publication 54. That guidance is cross-checked here against how expat tax preparers describe the same rules in practice.
As of August 2026, the underlying test has not changed. The maximum FEIE amount for the 2026 tax year is $132,900 per qualifying person. Even so, it is worth double-checking current guidance on the IRS’s foreign earned income exclusion page before filing.

What the Physical Presence Test Actually Requires
To start, according to the IRS, you meet the physical presence test if you are present in a foreign country for 330 full days. That window is any 12 consecutive months. Those 330 days do not need to be consecutive.
You can count time spent abroad for any reason, including vacation. The main condition is that your tax home sits in a foreign country.
You also get to choose whichever 12-month window produces the largest exclusion. That window does not have to match the calendar year. Picking the right window is one of the most underused parts of the test.
Why “Full Day” Trips People Up
The IRS defines a full day as a complete 24-hour period, midnight to midnight, spent entirely inside a foreign country. If you land in Lisbon at 2 p.m., the hours before midnight do not count. Your first full day is the next calendar day.
The same logic applies on departure. If you leave a country at 11 p.m., that day does not count, because you were not present for the full 24 hours. This is where day-counting spreadsheets and travel apps most often diverge from the IRS’s actual math.
For example, a trip that looks like “5 days in Thailand” on a boarding pass can produce just 3 or 4 qualifying full days. That happens once arrival and departure days get excluded properly. Multiply that gap across a year of regular travel, and a nomad who assumes they are comfortably over 330 days can end up short without realizing it.
The Mistakes That Cost Nomads the Exclusion
The most common failure point is a single unplanned US trip, for a family emergency or a wedding, that pushes total US days over the line. Because the 330-day threshold is fixed, the IRS treats a bereavement trip the same as a vacation for counting purposes. There is no general exception simply because the trip was for a family emergency, wedding, illness, or vacation. The IRS does allow a separate waiver of the minimum time requirement for someone who must leave a foreign country because of war, civil unrest, or similar adverse conditions, but that waiver is unrelated to personal circumstances and applies only to the specific countries and date ranges the IRS designates each year.
Also, a second common mistake involves US connections. The IRS treats transit between two points outside the US as foreign time, as long as the time actually spent inside the US during that connection is under 24 hours. It is the time physically present in the US that matters, not how long the overall connection takes.
A longer stop in the US can break that exception and count as US presence for the test instead. That distinction surprises nomads who assume all layovers are automatically free, so it is worth recording actual arrival and departure times rather than treating every US connection the same way.
A third mistake is applying the wrong 12-month window. Since the window is flexible, sticking rigidly to a calendar year can make someone appear to fail. A different 12-month period might have passed comfortably instead.
What a Miscounted Test Actually Costs You
Losing the physical presence test does not just mean extra paperwork. If you fail it, you may still qualify for the FEIE under the separate bona fide residence test if you meet its requirements, which generally involve being a bona fide resident of a foreign country for an uninterrupted period covering a full tax year. If neither test applies, the FEIE is not available on that basis, and foreign-earned income becomes taxable by the US in full. For a nomad earning in the low six figures, that gap can mean tens of thousands of dollars in additional federal tax for a single year.
Because the stakes are that high, treating day-counting as an afterthought is a costly habit to keep. A single overlooked US layover or an extra week home for a family event is a small event in the moment. On a tax return, though, it can be the difference between a full exclusion and none at all.
How to Track Your Days So the Math Holds Up
Because the burden of proof sits with the taxpayer, keeping a day-by-day log as you travel beats reconstructing a year from memory in March. A simple spreadsheet with columns for date, country, and entry or exit time covers the basics. Boarding passes, passport stamps, and card transaction records serve as backup evidence if the IRS ever asks.
For instance, expat-focused preparers like Greenback Tax Services and MyExpatTaxes publish free day-counting templates. These build the midnight-to-midnight rule in automatically, which removes most of the manual math. Syncing a travel-tracking app with a dedicated tax spreadsheet further reduces the chance of a gap going unnoticed.
However, no app files your taxes for you, and none apply IRS rules perfectly out of the box. Treat any app’s day count as a draft to double-check, not a final answer. Updating the log within a day or two of each border crossing is the habit most likely to prevent a costly miscount.
Physical Presence Test vs. Other Tax Rules
For clarity, it helps to separate the physical presence test from two rules nomads often mix up with it. The 330-day test is specifically about qualifying for the Foreign Earned Income Exclusion.
That is different from the 183-day rule. Many countries use that separate rule to decide tax residency instead, a topic our guide to digital nomad tax residency covers on its own.
Meeting this test also does not exempt self-employment tax. Freelancers still owe that portion even with a full FEIE exclusion, a distinction covered in our self-employment tax guide. Because tax situations vary by citizenship and filing status, treat this guide as a starting point, not a substitute for a qualified expat tax preparer.
As a practical starting point, build a day-count log now, even mid-year, by working backward through boarding passes and passport stamps. That beats trying to reconstruct a year of travel from memory next April.

Frequently Asked Questions
Do weekends and holidays count toward the 330 days?
Yes, in fact. The physical presence test counts any full day spent in a foreign country toward the 330-day total, regardless of whether it was a workday, weekend, or holiday. The test cares about physical location for each full 24-hour period, not what you were doing that day.
What happens if I fall just short of 330 days?
Falling short, even by a single day, means you do not qualify for the exclusion under this test for that period. Some nomads instead qualify under the bona fide residence test, which has different requirements. That option is worth discussing with a tax preparer if you expect to land close to the 330-day line.
Can I use a different 12-month period than the calendar year?
Yes, and this flexibility is, in practice, one of the most underused parts of the test. The IRS allows any 12 consecutive months, not just the calendar year, as long as your 330 qualifying days fall inside that window. Picking the window that captures your most travel-heavy stretch abroad can be the difference between passing and failing.
Related Reads
- US Digital Nomad Taxes 2026: How FEIE Really Works — the broader FEIE overview this day-counting guide builds on.
- US Estimated Taxes for Digital Nomads: 2026 Deadlines & Penalties — what to do about quarterly payments once your exclusion is figured out.
- FBAR for Digital Nomads: Do You Need to File in 2026? — another filing requirement that runs alongside the FEIE for many nomads.
Sources
- Internal Revenue Service — Physical Presence Test (official)
- Internal Revenue Service — Figuring the Foreign Earned Income Exclusion (official)
- Internal Revenue Service — Publication 54, Tax Guide for U.S. Citizens and Resident Aliens Abroad (official)
- Internal Revenue Service — Instructions for Form 2555, waiver of time requirements for war, civil unrest, or similar adverse conditions (official)
- Greenback Tax Services — day-counting and travel-day guidance for the 330-day rule (practitioner secondary source)
- MyExpatTaxes — day-tracking requirements for expats (practitioner secondary source)




