Remote work has opened up incredible opportunities for tech professionals to work from anywhere in the world. However, international taxation can be complex and costly if you don't understand the rules. This comprehensive guide covers everything you need to know about taxes as a remote tech worker living abroad or planning to become location-independent.
⚠️ Critical: U.S. Citizens Are Taxed on Worldwide Income
Unlike most countries, the U.S. taxes citizens and permanent residents on all income worldwide, regardless of where you live or work. Moving abroad doesn't automatically eliminate your U.S. tax obligation. However, several strategies can dramatically reduce your tax bill legally.
Understanding Tax Residency
Tax residency determines where you owe taxes. You can be a tax resident of multiple jurisdictions simultaneously, which can lead to double taxation (or opportunities for strategic planning).
U.S. Federal Tax Residency (Unavoidable)
| Status | Tax Obligation | How to Exit |
|---|---|---|
| U.S. Citizen | Must file and pay U.S. taxes forever | Renounce citizenship (extreme, $2,350 fee + exit tax) |
| Green Card Holder | Same as citizen while holding green card | Surrender green card (exit tax may apply) |
| Substantial Presence Test | 183+ days in U.S. = resident for tax | Spend <183 days/year in U.S. |
Foreign Country Tax Residency
Each country has its own rules for determining tax residency. Common triggers include:
- Physical Presence: Spending 183+ days in most countries
- Domicile/Home: Having a permanent home or center of life
- Tax Registration: Registering for tax purposes (e.g., getting a tax ID)
- Employment: Working for a local company
Digital Nomad Visas (Low/No Tax Residency)
Some countries offer special visas for remote workers that don't create tax residency:
- Portugal: D7/Digital Nomad Visa (Non-Habitual Resident = 0-10% tax for 10 years)
- Dubai: Remote Work Visa (0% income tax)
- Greece: Digital Nomad Visa (50% income tax reduction for 7 years)
- Spain: Digital Nomad Visa (Beckham Law = 24% flat tax for 6 years)
- Mexico: Temporary Resident Visa (no tax residency unless you opt in)
Key Tax Strategies for Remote Tech Workers
1. Foreign Earned Income Exclusion (FEIE)
Form 2555 allows you to exclude up to $126,500 (2025) of foreign earned income from U.S. federal tax if you meet either:
Physical Presence Test
Requirement:
- 330+ days outside the U.S. in any 12-month period
- Can be any consecutive 12 months (not calendar year)
Best For:
- Digital nomads moving between countries
- No single permanent foreign home
Bona Fide Residence Test
Requirement:
- Establish genuine residence in a foreign country for an uninterrupted full tax year (Jan 1 - Dec 31)
- Can visit U.S. briefly
Best For:
- Establishing a permanent base abroad
- More flexibility to visit U.S.
FEIE Example (Tech Worker in Portugal)
| Scenario | Without FEIE | With FEIE | Savings |
|---|---|---|---|
| W-2 Salary | $150,000 | $150,000 | — |
| FEIE Exclusion | $0 | -$126,500 | — |
| Taxable Income | $150,000 | $23,500 | — |
| Federal Tax (est.) | $28,500 | $2,550 | $25,950 |
FEIE Limitations
- ❌ Doesn't apply to self-employment tax (15.3% still owed)
- ❌ Can't exclude investment income (dividends, capital gains, RSU vesting)
- ❌ Doesn't reduce state taxes (depends on your state of residency)
- ❌ Can't use if you also claim Foreign Tax Credit on the same income
2. Foreign Tax Credit (FTC)
Form 1116 allows you to credit foreign taxes paid against your U.S. tax liability, dollar-for-dollar. Use this when:
- Your income exceeds the FEIE limit ($126,500+)
- You're paying high foreign taxes (>24% rate)
- You have investment income (not eligible for FEIE)
FTC Example (Tech Worker in UK)
| Item | Amount |
|---|---|
| Salary (UK employment) | $200,000 |
| UK Income Tax Paid (40% rate) | -$80,000 |
| U.S. Tax Before Credit (35% effective) | $70,000 |
| Foreign Tax Credit Applied | -$70,000 |
| U.S. Tax Owed | $0 |
| Excess FTC (carryforward) | $10,000 |
Pro Tip: FEIE vs FTC Decision Matrix
Use FEIE when:
- Income <$126,500
- Foreign tax rate is low (<15%)
- Living in a low/no-tax country (Dubai, Portugal NHR, Monaco)
Use FTC when:
- Income >$126,500
- Foreign tax rate is high (>25%)
- Have investment income
- Plan to move back to U.S. soon (FTC preserves Social Security credits)
3. State Tax Strategies
Moving abroad doesn't automatically eliminate state taxes. You must sever domicile with your previous state and ideally establish domicile in a no-tax state before leaving the U.S.
State Tax Residency Rules
| State Type | Tax Rate | Strategy |
|---|---|---|
| No Income Tax (FL, TX, WA, NV, WY, SD, TN, NH) |
0% | ✅ Establish domicile here before leaving U.S. |
| Low Tax States (AZ, CO, NC, UT) |
~5% | Consider if no-tax state not feasible |
| High Tax States (CA, NY, NJ, MA) |
9-13% | ❌ Sever all ties immediately |
| California (Special) | 13.3% | ❌❌ Most aggressive - may pursue you abroad |
California "Safe Harbor" Rule
California considers you a resident if you have any of these ties:
- Home or apartment lease (even if vacant)
- California driver's license or vehicle registration
- Bank accounts, professional licenses, or club memberships
- Spouse or dependents remaining in California
- Returning to California for >9 months in aggregate over 2+ years
Action: To leave California, you must sever ALL of the above ties and establish domicile elsewhere (preferably a no-tax state) with concrete evidence (lease, utilities, voter registration, etc.).
How to Establish No-Tax State Domicile
Checklist (Do ALL of these):
- ✓ Get a Texas/Florida/etc. address – Rent a physical apartment or use a mail forwarding service like Anytime Mailbox with a real street address (not a PO Box)
- ✓ Update driver's license – Obtain new state DL and surrender old one
- ✓ Register to vote – Register in new state and vote absentee
- ✓ Update bank accounts – Change primary address on all financial accounts
- ✓ File state tax return – File part-year resident return showing exit date
- ✓ Update employer records – Update W-4 and HR system to reflect new state
- ✓ Spend time in new state – Visit a few times/year if possible to show genuine intent
- ✓ Document everything – Keep receipts, lease agreements, and travel logs
RSUs and Equity Compensation Abroad
Equity compensation (RSUs, ISOs, ESPPs) creates unique challenges for remote workers:
RSU Vesting While Abroad
| Tax Jurisdiction | Tax Treatment | Tax Rate |
|---|---|---|
| U.S. Federal | Ordinary income in year of vesting (regardless of where you live) | 37% |
| Foreign Country | May also tax if you're a tax resident (check tax treaty) | Varies |
| FEIE Benefit | ❌ Can NOT use FEIE to exclude RSU vesting income (RSUs are not "earned" income—they're investment income) |
N/A |
| FTC Option | ✅ CAN use Foreign Tax Credit if foreign country also taxes the RSUs | Varies |
⚠️ RSU Tax Trap for Remote Workers
Scenario: You move to Portugal (0% tax under NHR), continue working remotely for U.S. company, and $100K RSUs vest.
- U.S. Tax: $37K (37% top rate) ❌ Can't use FEIE
- Portugal Tax: $0 (NHR exemption)
- FTC Benefit: $0 (no foreign tax to credit)
- Result: You pay full U.S. tax with no offsets. Living abroad provides NO benefit for RSU vesting.
Strategic Solutions for Equity Compensation
Option 1: Move to High-Tax Country
Use Foreign Tax Credit to offset U.S. tax on RSUs:
- UK, Germany, France, Netherlands tax RSUs at 40-50%
- FTC eliminates U.S. federal tax
- Net effect: ~40-50% total tax (same or higher than U.S.)
Option 2: Negotiate ISO Conversion
Ask employer to grant ISOs instead of RSUs:
- ISOs can qualify for FEIE if exercised while abroad
- Early exercise at grant minimizes tax
- Hold for 5+ years for QSBS ($10M tax-free)
Option 3: Time RSU Vesting
Structure vesting to minimize tax:
- Vest during U.S. residency years (use standard deduction, lower brackets)
- Move abroad after most RSUs have vested
- Future appreciation taxed as capital gains (can exclude with FEIE or use FTC)
Option 4: Puerto Rico (Act 60)
Move to Puerto Rico for 0% tax on capital gains:
- Must spend 183+ days/year in PR
- Appreciation after moving is 0% capital gains
- Still owe ordinary income tax on RSU vesting (~4% PR + 37% federal)
Self-Employment Tax (The Hidden 15.3%)
If you're a contractor or freelancer, you owe self-employment tax (15.3% for Social Security + Medicare) on your net earnings—even if you're living abroad and using the FEIE.
Self-Employment Tax is NOT Eliminated by FEIE
Example:
- Income: $150K freelance income
- FEIE: Exclude $126,500 from income tax
- Income Tax: Only pay on $23,500 (~$2,550)
- Self-Employment Tax: $150K × 15.3% = $22,950 owed (no exclusion)
Solution: Totalization Agreements
The U.S. has Totalization Agreements with 30+ countries that eliminate dual Social Security taxation. If you're covered by a foreign country's social system, you may be exempt from U.S. self-employment tax.
| Country | Local Social Tax Rate | U.S. Self-Employment Tax |
|---|---|---|
| Germany | ~20% | ✅ Exempt (pay only German) |
| UK | ~13% | ✅ Exempt (pay only UK) |
| Canada | ~10% | ✅ Exempt (pay only Canadian) |
| Portugal | ~23% | ❌ NO totalization agreement (pay 15.3% U.S. + 23% PT = 38.3% total) |
| Thailand | ~5% | ❌ NO totalization agreement |
How to Claim Totalization Exemption
- 1. Register for social insurance in your host country
- 2. Request a Certificate of Coverage from the foreign social security administration
- 3. File Form 2032 (Contract Coverage Under Title II of the Social Security Act) with the IRS
- 4. Attach the foreign certificate to your U.S. tax return
Reporting Requirements (Penalties Are Severe)
Living abroad comes with extensive reporting requirements. Non-compliance can result in penalties of $10,000 to $100,000+ even if you owe no tax.
Key Forms & Deadlines
| Form | Purpose | Deadline | Penalty |
|---|---|---|---|
| Form 1040 | U.S. individual tax return | June 15 (auto 2-month extension for expats) | 5-25% of unpaid tax/month |
| Form 2555 | FEIE (Foreign Earned Income Exclusion) | With Form 1040 | — |
| Form 1116 | Foreign Tax Credit | With Form 1040 | — |
| FBAR (FinCEN 114) | Report foreign bank accounts >$10K | April 15 (auto extension to Oct 15) | $10K-$100K+ per violation |
| Form 8938 (FATCA) | Report foreign financial assets >$200K | With Form 1040 | $10K+ per violation |
| Form 5471 | Ownership in foreign corporation | With Form 1040 | $10K+ per form |
| Form 8621 | Foreign mutual funds/PFICs | With Form 1040 | $10K+ per fund |
⚠️ FBAR & FATCA: Most Common Expat Mistake
FBAR must be filed if the aggregate value of ALL your foreign accounts exceeded $10,000 at ANY point during the year.
- Includes: Checking, savings, brokerage, crypto exchange accounts
- Aggregate = total of ALL accounts combined
- Filed separately from tax return via FinCEN
- Willful failure to file = up to 50% of account balance OR $100,000 per violation per year
Best Countries for Remote Tech Workers (Tax-Optimized)
| Country | Tax Rate | Best For | Visa |
|---|---|---|---|
| 🇦🇪 Dubai (UAE) | 0% | W-2 employees making $126K-$500K+ (FEIE + 0% local tax) | Remote Work Visa ($287/year) |
| 🇵🇹 Portugal (NHR) | 0-10% | W-2 employees + high RSU income (0% on foreign income for 10 years) | D7 Passive Income Visa |
| 🇬🇷 Greece | ~22% | 50% income tax reduction for 7 years (effective 22% rate) | Digital Nomad Visa |
| 🇲🇽 Mexico | Opt-in | Easy visa, no automatic tax residency, close to U.S. | Temporary Resident Visa |
| 🇪🇸 Spain (Beckham Law) | 24% | Flat 24% on income up to €600K for 6 years (vs 47% standard rate) | Digital Nomad Visa |
| 🇵🇷 Puerto Rico (Act 60) | 4% | 0% capital gains (for appreciation after moving), 4% income tax | U.S. Citizen (no visa needed) |
| 🇬🇧 UK | 40-45% | High taxes but strong FTC benefit (eliminates U.S. tax) | Skilled Worker Visa |
Action Plan: Becoming Tax-Optimized
6-Month Roadmap
Month 1-2: Preparation (While Still in U.S.)
- ✓ Establish domicile in no-tax state (FL, TX, WA, NV)
- ✓ Sever all ties with old state (surrender DL, close leases, update bank addresses)
- ✓ Consult with international tax CPA
- ✓ Review RSU vesting schedule (consider accelerating vesting or exercising ISOs before leaving)
- ✓ Open foreign bank account remotely if possible
Month 3-4: Initial Move
- ✓ Arrive in target country and begin establishing bona fide residence
- ✓ Apply for digital nomad/residence visa
- ✓ Track physical presence days meticulously (use app like TravelSpend or Nomad List)
- ✓ Register for foreign social insurance if applicable (for totalization)
- ✓ Update employer HR records with new address
Month 5-6: Optimization
- ✓ File FEIE or FTC on next tax return (choose optimal strategy)
- ✓ File FBAR if foreign accounts >$10K
- ✓ Ensure you'll meet 330-day physical presence test
- ✓ Consider early exercise of ISOs to minimize AMT
- ✓ Plan quarterly estimated tax payments if self-employed
Tools & Resources
RSU Tax Calculator
Calculate U.S. and foreign taxes on RSU vesting while living abroad
Compensation Optimizer
Compare after-tax comp in different countries
Company Guides
See remote work policies and equity structures at 99+ tech companies
Frequently Asked Questions
Can I use both FEIE and Foreign Tax Credit for the same income?
No. You must choose one strategy per income stream. However, you can use FEIE for earned income (W-2 salary) and FTC for investment income (RSU vesting, capital gains) in the same tax year.
Do I need to file a U.S. tax return if I live abroad and earn no U.S.-source income?
Yes. U.S. citizens and green card holders must file a U.S. tax return regardless of where they live or earn income. The threshold is $13,850 (2025 standard deduction) for single filers. Even if you owe $0 tax due to FEIE/FTC, you must still file to claim these benefits.
What happens if I work remotely from multiple countries in a year?
You may become a tax resident of multiple countries simultaneously, creating filing obligations in each. Use the Physical Presence Test for FEIE (330 days outside U.S. regardless of which foreign country). Track your location meticulously and consult a tax professional familiar with your specific countries of residence.
Can I exclude RSU vesting income using FEIE?
No. FEIE only applies to "earned income" (W-2 wages, self-employment income). RSUs are treated as compensation but not "earned" in the FEIE sense. Use Foreign Tax Credit instead if your foreign country taxes RSUs, or consider moving to a high-tax country to maximize FTC benefit.
How do I prove I severed domicile with California?
Provide evidence of establishing new domicile elsewhere: signed lease in new state, updated driver's license, voter registration, bank account address changes, utility bills, and time logs showing you spent minimal time in California (<9 months over 2 years). California audits are aggressive—document everything.
What is the Foreign Bank Account Report (FBAR) and when do I file it?
FBAR (FinCEN Form 114) must be filed if the aggregate value of ALL your foreign financial accounts exceeded $10,000 at any point during the year. This includes checking, savings, brokerage, and crypto exchange accounts. Filed separately from your tax return by April 15 (automatic extension to October 15). Penalties for non-compliance can exceed $100,000.
Final Thoughts
International taxation is complex, but with proper planning, remote tech workers can legally reduce their tax burden by $20,000-$50,000+ per year through:
- FEIE (Foreign Earned Income Exclusion)
- Foreign Tax Credits
- Totalization agreements (self-employment tax savings)
- Strategic state domicile changes
- Low-tax country selection
Bottom line: Living abroad as a U.S. citizen doesn't eliminate your tax obligation, but it creates powerful opportunities for legal tax optimization. Work with a qualified international tax CPA to ensure compliance while maximizing savings. The investment in professional advice (typically $1,500-$5,000/year) pays for itself many times over.
Related Articles
Continue exploring financial strategies for tech professionals
Browse All Blog Articles
Explore our complete library of financial planning articles for tech professionals.
Company Compensation Guides
Detailed guides for understanding and maximizing your compensation at top tech companies.
Financial Calculators
Free tools for RSU tax calculations, retirement planning, and wealth optimization.