Independent form guide. BrieflyGo is not affiliated with or endorsed by IRS, USCIS, SSA, DOL, or any U.S. government agency. Official forms are sourced from public government websites.
Official form guide
IRS Form 8840 is the Closer Connection Exception Statement for Aliens, which claims an exception to the substantial presence test. It must be attached to Form 1040-NR and covers tax years beginning 2025.
Need help with Form 8840?
Open it in the AI Editor for field guidance, checks, and PDF export.
Need help? AI Editor guides you through every field of Form 8840.
Start filling →Form Overview
IRS Form 8840 is the Closer Connection Exception Statement for Aliens, which claims an exception to the substantial presence test. It must be attached to Form 1040-NR and covers tax years beginning 2025.
Plain English
This form allows alien individuals to claim they are not considered a U.S. resident because they have stronger ties to another foreign country. By filing Form 8840, the filer establishes this 'closer connection' to that foreign nation. This helps determine their tax status for the year.
Submission Date
AI co-pilot
Form selector
Filing a 2025 Form 1040-NR
Must attach this form to the tax return when filing it.
✓ Confirm attachment before mailing.
Not required to file a 2025 tax return
Mail this form directly to the IRS if you do not have a 2025 tax return to send.
✓ Verify the correct mailing address on your 1040-NR instructions.
Claiming an exception via treaty
Refer to the instructions for line 6 of Form 8840 for details regarding treaty qualification.
✓ Ensure you have addressed the treaty claim specifically on Form 8840.
If filing a 2025 Form 1040-NR, attach Form 8840 to it and mail by the due date (including extensions). If not filing a return, mail the form to the IRS Center in Austin, TX 73301-0215 by the due date (including extensions) for filing Form 1040-NR.
Checklist
Purpose of Form
Claiming closer connection exception to substantial presence test · General Instructions (p.3)
Eligibility Requirement
Must have a tax home in a foreign country during 2025 · Closer Connection Exception (p.3)
Filing Deadline/Location
Mail by due date (including extensions) to Austin, TX 73301-0215 if no return is filed · When and Where To File (p.4)
Required Attachment
Attach Form 8840 to Form 1040-NR · Form 8840 (p.1)
Tax Home Location Detail
Where was your tax home for the remainder of 2025 after changing location on Jan 1, 2025? · Part I, Line 10 (p.1)
Closer Connection Question
Did you have a closer connection to each foreign country listed than the United States? · Part I, Line 11 (p.1)
Field map
Entity Info
1 items
Name and taxpayer ID of the entity claiming the credit.
Credit Info
1 items
Type of credit or incentive being claimed.
Calculation
2 items
The base amount used to calculate the credit.
Calculated credit amount after applying formulas and limitations.
Certification
1 items
Detailed breakdown supporting the credit calculation.
Signatures
1 items
Sign and date the form.
Almost done reviewing the fields?
Fillable formOpen in Editor->The current edition is 20/25, and users can find the latest information regarding Form 8840 at www.irs.gov/Form8840.
Quick Facts
Downloads
What do I fill in for Line 1 if I don't have a visa?
If I checked 'Yes' on line 6, should I still file Form 8840?
Do I complete Part II or Part III if I claim a closer connection?
What is the difference between filing with Form 1040-NR versus mailing Form 8840 by itself?
If my stock/bond shares are stored abroad, how do I report that on Line 29?
When must I file Form 8840 if I am not filing a 2025 tax return?
Workflow map
Before
Current
After
Often used with
⚠ If something goes wrong
This form allows alien individuals to claim they are not considered a U.S. resident because they have stronger ties to another foreign country. By filing Form 8840, the filer establishes this 'closer connection' to that foreign nation. This helps determine their tax status for the year.
An alien individual who meets the closer connection exception to the substantial presence test must file Form 8840 with the IRS.
Part I collects general information like visa type and entry dates; Part II details a closer connection to one foreign country, while Part III covers two foreign countries. Part IV helps establish the jurisdiction of that closer connection.
If filing a 2025 Form 1040-NR, Form 8840 must be filed by the due date (including extensions) for that return.
When mailing with a 2025 tax return, send it to the address shown in the tax return instructions. If not filing a 2025 tax return, mail Form 8840 to the Department of the Treasury, Internal Revenue Service Center, Austin, TX 73301-0215.
The completion sequence begins with filling out Part I for general data. If claiming one country, complete Part II; if two countries, complete Part III (but not both). Finally, complete Part IV to help establish the closer connection jurisdiction before signing.
If Form 8840 is not timely filed, the filer will not be eligible to claim the closer connection exception and may be treated as a U.S. resident. However, this penalty does not apply if reasonable actions were taken to become aware of filing requirements.
Source transparency
BrieflyGo links to and explains official public form sources. We are not a government agency, and this page is for general form guidance, not legal advice.
Review risky clauses in plain English, fix the document, and keep it moving toward signature.