Overview
Effectively Connected Income (ECI) determines whether a nonresident alien’s U.S.-source earnings are taxed on a net (after-deductions) basis like a U.S. resident’s income, rather than a flat withholding rate. The concept is grounded in U.S. tax law (26 U.S.C. § 864) and explained in IRS guidance, including Publication 519 (U.S. Tax Guide for Aliens) and the IRS page for nonresident aliens (see sources below). Correctly calculating ECI affects whether you file Form 1040-NR, what deductions you may claim, and how withholding is treated.
This article explains the rules and provides a clear, step-by-step method for calculating ECI, practical examples, common pitfalls, and links to relevant forms and additional reading.
Key legal and IRS references (short)
- Statute: 26 U.S.C. § 864 (definitions for source rules and effectively connected income).
- IRS guidance: Publication 519, “U.S. Tax Guide for Aliens” and the IRS “Nonresident Aliens” information page (IRS.gov).
(See: IRS Pub. 519; IRS: Nonresident Aliens.)
Basic rule in plain language
- Income is ECI if it is U.S.-source and “effectively connected” with a U.S. trade or business. That connection can arise from performing services in the U.S., carrying on a business, or owning U.S. rental property or a U.S. business activity.
- Once income qualifies as ECI, allowable deductions that are properly allocable to that income may be subtracted, so ECI is taxed on a net basis at graduated rates (reported on Form 1040-NR).
- Income that is U.S.-source but not effectively connected (often called FDAP — fixed, determinable, annual, or periodic income such as certain dividends or interest) is usually subject to a flat 30% withholding or a lower treaty rate, and is taxed on a gross basis unless a treaty or exception applies.
Step-by-step: How to calculate ECI for a nonresident alien
- Identify all U.S.-source income.
- Services performed physically in the U.S. are generally U.S.-source (wages, independent contractor fees). Rental income from U.S. real property is U.S.-source. Interest on U.S. bank deposits, portfolio interest, and some dividends may be U.S.-source but treated differently (see exceptions).
- See IRS Pub. 519 for common sourcing rules.
- Determine whether the income is “effectively connected” to a U.S. trade or business.
- Active business activities, services performed in the U.S., and U.S. business operations generally create effective connection.
- Passive receipts can be ECI if they are effectively connected (for example, royalties or rental income that are integral to a U.S. business).
- The statutory and regulatory tests under 26 U.S.C. § 864 and associated Treasury regulations allocate income between ECI and non-ECI.
- Separate ECI from non-ECI (FDAP) income.
- If an item is effectively connected, treat it as ECI.
- If it is not effectively connected, it is usually FDAP and taxed separately (gross-basis withholding).
- Compute gross ECI.
- Sum all income items that qualify as ECI (e.g., U.S. wages from services performed in the U.S., business receipts from a U.S. trade or business, rents from U.S. real property operations).
- Determine deductions that are allocable to ECI.
- Only deductions that are properly allocable or apportioned to the ECI may be subtracted.
- Common allocable deductions include ordinary and necessary business expenses, depreciation for assets used in the U.S. business, cost of goods sold, and other expenses documented and supported.
- Personal, non-business expenses are generally not allowed against ECI unless specifically permitted by statute.
- Apportion shared expenses.
- If an expense supports both ECI and non-ECI activities, you must apportion it reasonably. The tax regulations (and Pub. 519) expect reasonable allocation methods (time, mileage, direct tracing, gross receipts, etc.).
- Net ECI = Gross ECI − Allocable deductions
- The resulting net amount is the ECI subject to graduated U.S. tax rates and reported on Form 1040-NR.
- Apply treaties and credits if applicable.
- Check any applicable tax treaty between the U.S. and the taxpayer’s country. Some treaties convert what would be ECI into exempt income or limit taxation.
- If taxes are paid to a foreign country on the same income, foreign tax credits may be limited for nonresidents; consult the treaty and Pub. 519.
- Confirm withholding and reporting status.
- Income treated as ECI will often be reported and reconciled on Form 1040-NR. Withholding that occurred at source should be claimed as payments on the return.
Practical examples
Example 1 — Salaried employee (wage income)
- U.S. employer pays $60,000 for services performed in the U.S. That wage income is U.S.-source and effectively connected; gross ECI = $60,000. Employee deduction of job-related business expenses is generally limited for nonresident aliens, but standard business expenses borne by the employer or reimbursed change the taxable amount. Net ECI: $60,000 minus any allowable allocable deductions.
Example 2 — Independent contractor traveling in/out of U.S.
- Nonresident contractor earned $40,000 for 100 days of work: 60 days in the U.S. and 40 days abroad. Using a days-worked allocation, $24,000 (60/100) is U.S.-source and potentially ECI. Deductible business expenses directly related to U.S. services (travel, supplies while in U.S.) are allocable against the $24,000.
Example 3 — U.S. rental real estate business
- Nonresident owns rental apartment in U.S. that generated $50,000 gross rents and had $20,000 of allocable expenses (repairs, property management). Gross ECI = $50,000; Net ECI = $30,000. Note: Passive investment in U.S. real property is generally treated as ECI if the owner is engaged in a U.S. rental business (see the Foreign Investment in Real Property Tax Act rules).
Filing and forms
- Form 1040-NR: Nonresident aliens report ECI and compute tax liability on this return (see our guide: “When to Use Form 1040-NR for Nonresident Aliens”).
- Form 8233: For independent personal services or compensation exempted from withholding due to a tax treaty, use Form 8233 where applicable (see our guide: “Form 8233 — Exemption From Withholding…).
- Estimated tax (Form 1040-ES (NR)) may be required if sufficient withholding does not cover the expected tax on ECI.
Internal resources:
- When to Use Form 1040-NR for Nonresident Aliens: https://finhelp.io/glossary/when-to-use-form-1040-nr-for-nonresident-aliens/
- Form 8233 — Exemption From Withholding on Compensation for Independent Personal Services of a Nonresident Alien Individual: https://finhelp.io/glossary/form-8233-exemption-from-withholding-on-compensation-for-independent-personal-services-of-a-nonresident-alien-individual-3/
- Form 1040-NR — U.S. Nonresident Alien Income Tax Return: https://finhelp.io/glossary/form-1040-nr-u-s-nonresident-alien-income-tax-return/
Common mistakes and how to avoid them
- Treating all U.S.-source income as ECI: Not all U.S.-source income is effectively connected. FDAP income (e.g., some dividends, interest) may be taxed differently.
- Ignoring allocation rules: Failing to apportion expenses between ECI and non-ECI can overstate taxable income.
- Overlooking treaty benefits: Tax treaties can change how income is taxed; proactively check treaties before filing.
- Poor documentation: Lack of contemporaneous records (invoices, travel logs, receipts) undermines your ability to justify allocations.
Practical tips (from experience)
- Keep a simple allocation worksheet: track days worked in the U.S., receipts, and direct costs for U.S. activities.
- Use direct tracing where possible: tie expenses to invoices or bank statements that link them to U.S. activities.
- Ask the payer about withholding classification: whether they treated payments as subject to 30% FDAP withholding or as wages with payroll withholding can change your filing.
- If you expect recurring U.S. activity, get an ITIN early so withholding and filings go smoothly.
When to consult a tax professional
When your income mix includes both U.S. business activities and passive U.S.-source investments, or when tax treaties might change taxability, consult a qualified international tax adviser. In my practice, the most common point of confusion is allocation: commonsense methods (days, receipts) are fine, but documentation is essential.
Authoritative sources
- IRS, Publication 519, U.S. Tax Guide for Aliens (current edition): https://www.irs.gov/pub/irs-pdf/p519.pdf
- IRS, “Nonresident Aliens”: https://www.irs.gov/individuals/international-taxpayers/nonresident-aliens
- U.S. Code (26 U.S.C. § 864) — source rules and definitions: https://www.law.cornell.edu/uscode/text/26/864
Disclaimer
This article is educational and does not replace personalized tax advice. For decisions about your specific situation, consult a licensed tax professional or attorney.

