Key Takeaways
- The IRS Foreign Earned Income Exclusion caps at $126,500 for tax year 2024, not unlimited. Income above that threshold remains fully taxable at US marginal rates.
- Staying in a country past its tax residency threshold, often 183 days, creates a second tax obligation that can cost $8,000 to $30,000 or more on a $100,000 income if no treaty applies.
- Calculate your day count, apply the correct exclusion or treaty credit, then run both countries' rate schedules side by side before you book a flight.
- Tool: Run your cross-border income tax estimate now →
File With a Name You Trust
H&R Block pairs expert help with software that finds every deduction, backed by a Max Refund Guarantee.
The US Worldwide Income Rule Never Turns Off
US citizens and green card holders owe the IRS tax on every dollar earned anywhere on earth. No country change, no visa type, and no foreign bank account overrides that obligation. The only legal tools that reduce the US bill are the Foreign Earned Income Exclusion (FEIE) under IRC Section 911, the Foreign Tax Credit (FTC) under IRC Section 901, and applicable tax treaties.
The FEIE for tax year 2024 is $126,500. A nomad earning $160,000 in freelance income while living in Lisbon excludes $126,500 and reports $33,500 as ordinary income to the IRS. At the 22% marginal rate, that produces a US federal tax liability of approximately $7,370 before any additional credits. Without claiming the FEIE at all, the same $160,000 runs through the full US bracket schedule and generates a federal liability near $30,000. That $22,630 gap is the direct cost of not filing IRS Form 2555.
To claim the FEIE, a taxpayer must pass either the Bona Fide Residence Test (a full tax year as a legal resident of a foreign country) or the Physical Presence Test (330 full days outside the US within any 12-month period). Day counting is precise. A partial day in the US counts as a US day. A partial day in a foreign country does not count toward the 330-day total.
How Foreign Tax Residency Thresholds Work
Most countries trigger tax residency at 183 days in a calendar year. Portugal, Germany, Thailand, and Mexico all use this threshold. A small number of countries, including Spain under the Beckham Law and the UAE, use different rules or impose no income tax at all.
Once a country claims you as a tax resident, it taxes your worldwide income under its own rate schedule. This creates potential double taxation. The IRS Foreign Tax Credit offsets that risk by allowing a dollar-for-dollar credit against US taxes for income taxes paid to a foreign government. The credit cannot exceed the US tax rate applied to that same income.
A nomad who pays 25% income tax to Portugal on $126,500 of income generates $31,625 in creditable foreign taxes. If the US tax on that same income equals $24,000, the FTC eliminates the entire US liability and produces $7,625 in excess credits that carry forward one year back and ten years forward under IRC Section 904(c). No taxes are paid twice. But the math must be done correctly. Many nomads claim neither the FEIE nor the FTC and simply pay both bills.
Worked Example 1: US Freelancer in Portugal, 190 Days
A US citizen earns $120,000 in freelance design income. She spends 190 days in Portugal and 175 days across the US, Spain, and transit countries.
Portugal claims her as a tax resident (190 days exceeds 183). Portugal's Non-Habitual Resident (NHR) regime taxes foreign-source income at a flat 20% for qualifying applicants, but standard employment-style income from Portuguese clients is taxed at progressive rates up to 48%. Assume she qualifies for NHR and her clients are foreign-based. Her Portuguese tax bill: $120,000 x 20% = $24,000.
She passes the Physical Presence Test (175 days outside the US over the qualifying period does not reach 330, so she fails that test). She also does not satisfy the Bona Fide Residence Test because she lacks a full-year legal residency. The FEIE is therefore unavailable.
She must report $120,000 to the IRS. US federal tax on $120,000 (single filer, 2024 brackets, standard deduction of $14,600): taxable income of $105,400, producing approximately $19,174 in federal tax. She claims the Foreign Tax Credit for $24,000 paid to Portugal. The credit is limited to the US tax liability of $19,174. She pays zero additional US federal tax and carries forward $4,826 in excess credits. Total tax burden: $24,000 to Portugal, $0 additional to the IRS.
Worked Example 2: US Remote Employee in Thailand, 340 Days
A US citizen earns $95,000 in W-2 salary from a California employer while living in Chiang Mai. He spends 340 days in Thailand and 25 days in the US.
He passes the Physical Presence Test (330-day requirement met). He claims the FEIE on IRS Form 2555. The exclusion covers the full $95,000 because it falls below the $126,500 cap. His US federal income tax on the excluded income: $0. He still owes self-employment tax or, in this case, his share of FICA on W-2 income. The employer withholds payroll taxes regardless of country of residence. Social Security and Medicare taxes on $95,000 equal approximately $7,267.50 in employee-side FICA. The FEIE does not reduce payroll taxes.
Thailand taxes income earned from Thai sources. A salary paid by a US company for work performed in Thailand is Thai-source income under Thailand's Revenue Code. The top Thai rate is 35% on income above 4,000,000 baht (approximately $111,000 at recent exchange rates). His effective Thai rate on $95,000 is approximately 17%, producing a Thai liability near $16,150. He cannot claim the FTC against US federal income tax because the FEIE already eliminated that liability. He owes Thailand $16,150 with no US offset available. This is a key structural trap: the FEIE and the FTC cannot both apply to the same dollar of income.
The 183-Day Calendar vs. Rolling 12-Month Distinction
Most foreign countries count calendar-year days. January 1 through December 31. The IRS Physical Presence Test uses any 12-month period, not a calendar year. These two windows can diverge dramatically.
A nomad who enters Germany on August 1, 2025, and leaves January 31, 2026, spends 184 days in Germany across two calendar years: approximately 153 days in 2025 and 31 days in 2026. Germany's calendar-year count stays below 183 in each individual year. Germany does not claim tax residency. The IRS 12-month window from August 1, 2025, to July 31, 2026, however, already records 184 days outside the US in that first six-month stretch. The Physical Presence Test eligibility builds faster than many nomads expect.
Tracking days in a dedicated log, with passport stamps, boarding passes, and calendar entries as corroboration, is a legal necessity. The IRS can request documentation for any year under audit within the three-year standard statute, extended to six years for substantial underreporting.
State Tax Obligations Do Not Automatically End
Thirteen US states, including California, New York, and Virginia, aggressively pursue income tax from residents who move abroad without formally severing domicile. California defines domicile by intent, not physical presence. A California-domiciled nomad who keeps a California driver's license, voter registration, and a storage unit in San Francisco while living in Bali may owe California income tax at rates up to 13.3% on worldwide income. That exposure can reach $12,635 on $95,000 of income.
Establishing domicile in a zero-income-tax state such as Texas, Florida, or Nevada before leaving the US eliminates the state-level obligation. This requires physical presence in the new state, a new driver's license, updated voter registration, and documentary evidence of intent to make that state the permanent home base.
Run Your Numbers Before You Book the Flight
The correct sequence for any digital nomad tax calculation is four steps. First, count projected days in each country for the coming 12 months and the calendar year. Second, determine which country or countries will claim tax residency. Third, calculate each country's tax on worldwide income using its applicable rate schedule. Fourth, apply the FEIE or FTC, whichever produces the lower combined bill, and confirm no treaty provision further reduces the liability.
The CalcMoney income tax calculator lets you enter multiple income sources, filing status, and foreign tax paid to model the US federal side of that equation in real time. Pair that output with a country-specific rate table to arrive at your full cross-border obligation before any deadlines pass.
Calculate your estimated cross-border tax liability now →You Might Also Like
- How to Calculate US Expat Tax Obligations Abroad (And What Most Americans Get Wrong)
- How to Calculate 1099 Income After All the Taxes You Actually Owe
- How to Calculate Asset Location Tax Savings Across Account Types
Results are estimates for informational purposes only. Consult a licensed financial professional before making financial decisions.
Put These Numbers to Work
Open a Fidelity brokerage account. $0 commissions, no account minimums, fractional shares available.
Affiliated. We may earn a commission.
Related Guides
Free Tools
Run the actual numbers
Stop estimating. Plug in your numbers and get a precise answer in seconds. Free, no signup required.
Open Free Calculators


