Yes, you can work remotely for a US company from another country, and it is legal for both US citizens and foreign nationals as long as the work happens outside US borders. The complications are not about whether you’re allowed to do it. They come from stacking three separate rulebooks on top of each other: US federal tax law, your host country’s immigration and tax rules, and the labor and corporate compliance rules that reach your employer through your physical location.
Do You Need a US Work Visa to Do This
No. Federal employment verification law is tied to geography. The statute at 8 U.S.C. § 1324a makes it unlawful to hire an unauthorized alien “for employment in the United States.”1Office of the Law Revision Counsel. 8 USC 1324a – Unlawful Employment of Aliens If you’re physically sitting in another country, the I-9 verification process and US work authorization requirements don’t apply to you. The employer’s obligation to examine identity and eligibility documents covers workers who report to a US location, not workers abroad.2U.S. Citizenship and Immigration Services. Completing Section 2, Employer Review and Attestation
So a foreign national doesn’t need an H-1B, L-1, or any other US work visa to perform remote work for an American company from abroad. Those visa categories restrict the physical act of working on American soil. US citizens and green card holders carry their work authorization with them regardless of location, and moving to another country doesn’t strip them of the legal right to work for a domestic employer.
Compliance responsibility shifts to wherever you’re actually located.
Getting Legal to Work Where You Live
Most countries require some form of authorization for gainful employment within their borders, even when the employer is foreign. Showing up on a tourist visa and opening your laptop in a café puts you in a legal gray area in many jurisdictions, and an outright violation in others. Penalties can include fines, deportation, and bans on future entry.
Over 70 countries now offer dedicated digital nomad visas built for remote workers employed by foreign companies. These programs typically require proof of minimum monthly income (roughly $2,000 to $4,000 depending on the country), comprehensive health insurance, and documentation that your employer is based outside the host country. Spain, for instance, requires monthly income of at least 200% of the national minimum wage and health coverage with no copayments or coverage gaps.3Consular Section: Telework (Digital nomad) Visa. Telework (Digital Nomad) Visa Most digital nomad visas last six to twelve months and can be renewed or converted to longer-term residency.
If your destination doesn’t offer a digital nomad visa, you’ll typically need a standard work permit or freelancer visa. Research the specific rules of the country you’re moving to before booking a flight.
US Taxes If You’re a Citizen or Green Card Holder
US citizens and resident aliens owe federal income tax on their worldwide income. Where you earn the money and where you live when you earn it don’t change that. The Treasury regulation implementing IRC Section 1 states plainly that “all citizens of the United States, wherever resident, and all resident alien individuals are liable to the income taxes imposed by the Code whether the income is received from sources within or without the United States.”4eCFR. 26 CFR 1.1-1 – Income Tax on Individuals A US citizen working from a rental in Lisbon for a company in Austin still owes the IRS.
Two tools cut the impact. You can use one, the other, or both on different portions of income, but you can’t exclude income and also claim a credit for foreign taxes paid on the same dollars.
Foreign Earned Income Exclusion
Under IRC § 911, qualifying individuals can exclude up to $132,900 of foreign earned income from 2026 gross income. Married couples who both work abroad and both qualify can exclude up to $265,800 combined. A separate housing exclusion covers qualifying housing costs up to $39,870 in 2026.5Internal Revenue Service. Figuring the Foreign Earned Income Exclusion
Your tax home must be in a foreign country, and you must pass one of two tests:6Office of the Law Revision Counsel. 26 USC 911 – Citizens or Residents of the United States Living Abroad
- Physical presence test: physically present in a foreign country for at least 330 full days during any 12 consecutive months. The days don’t need to be consecutive, but partial days don’t count.7Internal Revenue Service. Foreign Earned Income Exclusion – Physical Presence Test
- Bona fide residence test: you established genuine residence in a foreign country for an uninterrupted period that includes at least one full tax year (January 1 through December 31 for calendar-year filers). Brief trips back to the US don’t disqualify you, but the IRS weighs your overall intentions, ties to the foreign country, and whether you paid taxes there.8Internal Revenue Service. Foreign Earned Income Exclusion – Bona Fide Residence Test
One detail trips people up. The bona fide residence test is available only to US citizens and to US residents who are nationals of a country with a US income tax treaty. If you’re a US resident alien from a non-treaty country, you must use the physical presence test.8Internal Revenue Service. Foreign Earned Income Exclusion – Bona Fide Residence Test You claim the exclusion on Form 2555, and you must still file a US tax return even if the exclusion wipes out your entire tax liability.
Foreign Tax Credit
If you’re paying income taxes to your host country, the foreign tax credit offsets your US tax bill dollar-for-dollar against those payments. It’s often more valuable than the exclusion for workers earning above the $132,900 threshold, or in high-tax countries where the local rate rivals or exceeds the US rate.
To qualify, the foreign tax must be imposed on you personally, you must have actually paid or accrued it, it must be your legal and actual liability (not an inflated amount you could have reduced), and it must be an income tax or a tax in lieu of an income tax.9Internal Revenue Service. Foreign Taxes That Qualify for the Foreign Tax Credit Value-added taxes, property taxes, and social insurance contributions don’t qualify. You claim the credit on Form 1116.
US Taxes If You’re a Foreign National
The sourcing rules work differently for foreign nationals who aren’t US residents. Under IRC § 861(a)(3), compensation for work performed inside the United States is US-source income.10Office of the Law Revision Counsel. 26 USC 861 – Income From Sources Within the United States Under IRC § 862(a)(3), compensation for work performed outside the United States is foreign-source income.11Office of the Law Revision Counsel. 26 USC 862 – Income From Sources Without the United States Where the person does the work defines where the income comes from, not where the company signs the checks.
If you’re a non-resident alien performing all your work from a foreign country, the compensation is foreign-source income. The IRS doesn’t tax it. The employer shouldn’t apply federal withholding.
The picture changes if you travel to the US and work during the visit. Any work performed on US soil can create US-source income. A narrow exception under § 861(a)(3) covers non-resident aliens who are in the country for 90 days or less during the tax year, earn no more than $3,000 in total US-source compensation, and work for a qualifying foreign or domestic employer maintaining a foreign office.10Office of the Law Revision Counsel. 26 USC 861 – Income From Sources Within the United States Outside that window, even a brief work trip could trigger a filing obligation on Form 1040-NR.
Reporting Your Foreign Bank Accounts
Moving abroad usually means opening foreign bank accounts, and that triggers reporting obligations most people have never heard of. The penalties are severe enough to dwarf whatever taxes you might owe.
FBAR (FinCEN Form 114)
If the combined value of all your foreign financial accounts exceeds $10,000 at any point during the calendar year, you must file a Report of Foreign Bank and Financial Accounts with the Financial Crimes Enforcement Network.12Financial Crimes Enforcement Network. Report Foreign Bank and Financial Accounts Checking accounts, savings accounts, and investment accounts held at foreign institutions all count. The filing is electronic and separate from your tax return.
A non-willful violation can cost up to $10,000 per account, per year. Willful violations carry a penalty of up to the greater of $100,000 or 50% of the account balance at the time of the violation.13Office of the Law Revision Counsel. 31 USC 5321 – Civil Penalties Somebody with $200,000 in a foreign savings account who willfully fails to file could face a $100,000 penalty for a single missed year.
FATCA (Form 8938)
The Foreign Account Tax Compliance Act adds a second, overlapping report filed with your tax return. Thresholds are higher for taxpayers living abroad. Single filers must report if specified foreign financial assets exceed $200,000 on the last day of the tax year or $300,000 at any point during the year. Joint filers hit the threshold at $400,000 and $600,000, respectively.14Internal Revenue Service. Do I Need to File Form 8938, Statement of Specified Foreign Financial Assets
Failing to file Form 8938 triggers a $10,000 penalty, with an additional penalty of up to $50,000 if you still don’t file after the IRS notifies you. On top of that, there’s a 40% accuracy penalty on any tax understatement tied to undisclosed foreign assets.15Internal Revenue Service. Summary of FATCA Reporting for U.S. Taxpayers FBAR and Form 8938 cover overlapping ground but are filed with different agencies (FinCEN and the IRS), have different thresholds, and both must be filed independently when applicable.
Social Security and Self-Employment Tax
US citizens working abroad as independent contractors owe self-employment tax on net earnings of $400 or more, even if their earned income is fully excluded under the foreign earned income exclusion.16Internal Revenue Service. Self-Employment Tax for Businesses Abroad The combined rate is 15.3%, split between 12.4% for Social Security and 2.9% for Medicare.17Internal Revenue Service. Self-Employment Tax (Social Security and Medicare Taxes) For 2026, the Social Security portion applies to the first $184,500 of net self-employment income.18Social Security Administration. Social Security Tax Limits on Your Earnings The Medicare portion has no cap.
Your host country may also require social insurance contributions on the same income. The United States has totalization agreements with 30 countries that prevent this double taxation by assigning each worker to a single system. The covered countries include most of Western Europe, Canada, Australia, Japan, South Korea, and several others.19Social Security Administration. Country List 3 – International Programs If you work in a covered country, you generally pay into only one system. To prove your exemption from the other, request a certificate of coverage from either the SSA’s Office of International Programs or the foreign country’s equivalent agency.16Internal Revenue Service. Self-Employment Tax for Businesses Abroad
If your host country isn’t on the list, you may genuinely owe social insurance taxes to both governments on the same income with no mechanism for relief.
State Taxes After You Leave
Your former state may follow you overseas. Several states use aggressive domicile-based rules that look well beyond physical presence, examining where your family lives, where you own property, where your driver’s license and voter registration are, where you keep bank accounts, and whether the move looks permanent or temporary. If you leave a spouse and children behind so the kids can finish school, the state may treat you as still domiciled there and tax your worldwide income accordingly.
Cleanly severing ties matters more than simply leaving. Update your driver’s license, cancel voter registration, close or move bank accounts, and either sell or lease your home. States with an income tax have financial incentives to keep claiming you as a resident, and some audit aggressively. Getting this wrong can mean years of surprise tax bills, interest, and penalties.
Tax Residency in Your Host Country
Most countries use a roughly 183-day threshold to trigger tax residency. Once you cross it, you typically owe income tax on your earnings there, and possibly on worldwide income depending on the country’s rules. The specific triggers, rates, and exemptions vary widely.
Bilateral tax treaties between the US and your host country can help manage the overlap. These agreements typically assign primary taxing rights to one country for specific types of income and provide credits or reduced rates for the other. Without a treaty, a worker could face full taxation in both countries with limited relief. The foreign tax credit is the primary US-side mechanism for avoiding that outcome.
Establishing yourself in a foreign country often requires registering with local tax authorities and obtaining a local taxpayer identification number. Some countries also require contributions to social insurance, healthcare funds, or pension systems as a condition of residency. Factor these costs into your planning before you relocate.
What This Means for Your Employer
When a company has an employee working from a foreign country, that employee’s presence can create a “permanent establishment” for the company under international tax law. A permanent establishment is a taxable corporate footprint. Once it exists, the host country can tax the company’s profits attributable to operations there.
The OECD updated its guidance on this question in November 2025. Under the revised framework, an employee working from home less than 50% of total working time over a 12-month period generally doesn’t create a permanent establishment. Above 50%, the analysis turns on whether the employee’s location serves a commercial purpose for the company, such as meeting local customers or managing supplier relationships. Simply allowing remote work to retain talent or reduce costs doesn’t count as a commercial reason. An employee working from home 80% of the time who regularly visits local clients almost certainly creates one.
The consequences for the US employer are real: corporate income tax obligations in the foreign country, mandatory registration as a foreign entity, and potential penalties for years of unreported taxable presence.
Host-country labor laws also often govern the terms of the relationship, regardless of what the employment contract says. This can mean mandatory paid vacation, sick leave, parental leave, and termination notice periods that far exceed what US workers are accustomed to. Some countries require 60 to 90 days’ notice before termination or severance payments scaled to years of service.20EPLex. Redundancy and Severance Pay Workers classified as employees in the host country often gain protections under local pension and social insurance systems, and the employer may need to register as a foreign entity and make monthly contributions.
Classifying the worker as an independent contractor sidesteps some of these obligations but carries its own risk. If host-country labor authorities determine the relationship looks like employment based on factors like fixed hours, exclusive work for one company, or use of company equipment, the company faces misclassification penalties. Those typically include back-payment of all unpaid social contributions, interest, and potentially the worker’s legal costs.
An increasingly common solution is hiring through an employer of record: a third-party company that legally employs the worker in the host country and handles payroll, tax withholding, benefits, and labor law compliance on behalf of the US company. You report to the US company day-to-day, but the legal employment relationship sits with the employer of record.
Which Form Your Employer Needs From You
The IRS uses different forms depending on whether you’re a US person or a foreign national. The wrong form leads to incorrect withholding and a mess at tax time.
US citizens and resident aliens provide Form W-9, which collects the taxpayer identification number (usually a Social Security Number) and certifies status as a US person.21Internal Revenue Service. Instructions for the Requester of Form W-9 The employer uses this to issue a Form 1099-NEC (for contractors) or a Form W-2 (for employees). Backup withholding may apply if you fail to furnish a valid TIN.
Foreign nationals working from outside the US provide Form W-8BEN, the Certificate of Foreign Status of Beneficial Owner for United States Tax Withholding and Reporting. Signing it certifies that you are not a US person and that your income is not subject to US tax withholding. The form requires a permanent residence address in your home country and your citizenship. In many cases you must also provide a foreign tax identifying number issued by your country of residence, though exceptions exist for countries that don’t issue them.22Internal Revenue Service. Instructions for Form W-8BEN
A US citizen cannot use Form W-8BEN, even one living permanently abroad. The instructions are explicit: US citizens and resident aliens must use Form W-9 instead.22Internal Revenue Service. Instructions for Form W-8BEN