PDF document
- 1 -

Enlarge image
                                                                                                                          OMB No. 1545-0074
                            Closer Connection Exception Statement for Aliens
Form 8840                                                       Attach to Form 1040-NR. 
                                        Go to www.irs.gov/Form8840 for the latest information.                                 2024
Department of the Treasury              For the year January 1–December 31, 2024, or other tax year                       Attachment 
Internal Revenue Service    beginning                           , 2024, and ending                             , 20   .   Sequence No. 101
Your first name and initial                                   Last name                              Your U.S. taxpayer identification number, if any

                            Address in country of residence                        Address in the United States
Fill in your 
addresses only if 
you are filing this 
form by itself and 
not with your U.S. 
tax return.
Part I       General Information
1    Type of U.S. visa (for example, F, J, M, etc.) and date you entered the United States  
2    Of what country or countries were you a citizen during the tax year?
3    What country or countries issued you a passport?
4    Enter your passport number(s)
5    Enter the number of days you were present in the United States during:
     2024                               2023                                2022                               .
6    During 2024, did you apply for, or take other affirmative steps to apply for, lawful permanent resident status
     in  the  United  States  or  have  an  application  pending  to  change  your  status  to  that  of  a  lawful  permanent 
     resident of the United States? See instructions            . . .   . . . .    .    . . . .    . . .       . .  . . .      Yes      No
Part II      Closer Connection to One Foreign Country (see instructions)
7    Where was your tax home during 2024?
8    Enter the name of the foreign country to which you had a closer connection than to the United States during 2024.

     Next  , complete Part IV.
Part III     Closer Connection to Two Foreign Countries (see instructions)
9    Where was your tax home on January 1, 2024?
10   After changing your tax home from its location on January 1, 2024, where was your tax home for the remainder of 2024? 

11   Did you have a closer connection to each foreign country listed on lines 9 and 10 than to the United States 
     for the period during which you maintained a tax home in that foreign country? .         .    . . .       . .  . . .      Yes      No
     If “No,” attach an explanation.
12   Were you subject to tax as a resident under the internal laws of (a ) either of the countries listed on lines 9 and 
     10 during all of 2024, or ( )bboth of the countries listed on lines 9 and 10 for the period during which you
     maintained a tax home in each country?                 . . . . .   . . . .    .    . . . .    . . .       . .  . . .      Yes      No
13   Have you filed or will you file tax returns for 2024 in the countries listed on lines 9 and 10?  .        . .  . . .      Yes      No
     If “Yes” to either line 12 or line 13, attach verification.
     If “No” to either line 12 or line 13, please explain 

     Next  , complete Part IV.
For Paperwork Reduction Act Notice, see instructions.                              Cat. No. 15829P                             Form 8840 (2024)



- 2 -

Enlarge image
Form 8840 (2024)                                                                                                             Page 2
Part IV      Significant Contacts With Foreign Country or Countries in 2024
14  Where was your regular or principal permanent home located during 2024? See instructions.
15  If you had more than one permanent home available to you at all times during 2024, list the location of each and explain.

16  Where was your family located?
17  Where was your automobile(s) located?
18  Where was your automobile(s) registered?

19  Where were your personal belongings, furniture, etc., located?

20  Where was the bank(s) with which you conducted your routine personal banking activities located?
a                                                                      c
b                                                                      d
21  Did you conduct business activities in a location other than your tax home?  . . . .   . .  . . .       . .     Yes      No
    If “Yes,” where?
22a Where was your driver’s license issued?
b   If you hold a second driver’s license, where was it issued?

23  Where were you registered to vote?
24  When completing official documents, forms, etc., what country do you list as your residence?
25  Have you ever completed:
a   Form W-8BEN or any other W-8 form (relating to foreign status)?        . . . . . . .   . .  . . .       . .     Yes      No
b   Form W-9, Request for Taxpayer Identification Number and Certification?      . . . .   . .  . . .       . .     Yes      No
c   Any other U.S. official forms? If “Yes,” indicate the form(s)                                                   Yes      No
26  In what country or countries did you keep your personal, financial, and legal documents?

27  From what country or countries did you derive the majority of your 2024 income?

28  Did you have any income from U.S. sources?  .     . . .          . . . . . . . . . .   . .  . . .       . .     Yes      No
    If “Yes,” what type?
29  In what country or countries were your investments located? See instructions.

30  Did you qualify for any type of “national” health plan sponsored by a foreign country? . .  . . .       . .     Yes      No
    If “Yes,” in what country?
    If “No,” please explain 
    If you have any other information to substantiate your closer connection to a country other than the United States or you wish
    to explain in more detail any of your responses to lines 14 through 30, attach a statement to this form.
Sign here        Under penalties of perjury, I declare that I have examined this form and the accompanying attachments, and to the best of my knowledge and belief, 
only if you      they are true, correct, and complete.
are filing  
this form by 
itself and  
not with  
your U.S.  
tax return.                                           Your signature                                            Date
                                                                                                                Form 8840 (2024)



- 3 -

Enlarge image
Form 8840 (2024)                                                                                                              Page 3
Section references are to the Internal       the substantial presence test, you must     In general, an exempt individual is  
Revenue Code unless otherwise                file Form 8840 with the IRS to establish    (a) a foreign government-related 
specified.                                   your claim that you are a nonresident of    individual, (b) a teacher or trainee, (c) a 
                                             the United States by reason of that         student, or (d) a professional athlete 
Future Developments                          exception. Each alien individual must file  competing in a charitable sports event. 
For the latest information about             a separate Form 8840 to claim the closer    For more details, see Pub. 519.
developments related to Form 8840 and        connection exception.                       Note: If you qualify to exclude days of 
its instructions, such as legislation        For more details on the substantial         presence in the United States because 
enacted after they were published, go to     presence test and the closer connection     you were an exempt individual (other 
www.irs.gov/Form8840.                        exception, see Pub. 519.                    than a foreign government-related 
                                             Note: You can download forms and            individual) or because of a medical 
General Instructions                         publications at www.irs.gov.                condition or medical problem (see item 4 
                                                                                         above), you must file Form 8843.  
Purpose of Form                              Substantial Presence Test
                                                                                         Closer Connection 
Use Form 8840 to claim the closer            You are considered a U.S. resident if you   Exception
connection to a foreign country(ies)         meet the substantial presence test for 
exception to the substantial presence        2024. You meet this test if you were        Even though you would otherwise meet 
test. The exception is described later       physically present in the United States     the substantial presence test, you will 
and in Regulations section                   for at least:                               not be treated as a U.S. resident for 
301.7701(b)-2.                                                                           2024 if:
                                             • 31 days during 2024; and
Note: You are not eligible for the closer    • 183 days during the period 2024, 2023,    • You were present in the United States 
connection exception if any of the           and 2022, counting all the days of          for fewer than 183 days during 2024;
following apply.                                                                         • You establish that, during 2024, you 
                                             physical presence in 2024 but only 1/3 
• You were present in the United States      the number of days of presence in 2023      had a tax home in a foreign country; and
183 days or more in calendar year 2024.      and only 1/6 the number of days in 2022.    • You establish that, during 2024, you 
• You are a lawful permanent resident of     Days of presence in the United States.      had a closer connection to one foreign 
the United States (that is, you are a        Generally, you are treated as being         country in which you had a tax home 
green card holder).                          present in the United States on any day     than to the United States, unless you 
• You have applied for, or taken other       that you are physically present in the      had a closer connection to two foreign 
affirmative steps to apply for, a green      country at any time during the day.         countries.
card; or have an application pending to      However, you do not count the               Closer Connection to Two Foreign 
change your status to that of a lawful       following days of presence in the United    Countries
permanent resident of the United States.     States for purposes of the substantial 
Steps to change your status to that of       presence test.                              You can demonstrate that you have a 
                                                                                         closer connection to two foreign 
a permanent resident include, but are        1. Days you regularly commuted to           countries (but not more than two) if all 
not limited to, the filing of the following  work in the United States from a            five of the following apply. 
forms.                                       residence in Canada or Mexico.
                                                                                         1. You maintained a tax home as of 
• Form I-508, Request for Waiver of          2. Days you were in the United States       January 1, 2024, in one foreign country.
Certain Rights, Privileges, Exemptions       for less than 24 hours when you were 
and Immunities.                              traveling between two places outside the    2. You changed your tax home during 
• Form I-485, Application to Register        United States.                              2024 to a second foreign country.
Permanent Residence or Adjust Status.        3. Days you were temporarily in the         3. You continued to maintain your tax 
• Form I-130, Petition for Alien Relative,   United States as a regular crew member      home in the second foreign country for 
on your behalf.                              of a foreign vessel engaged in              the rest of 2024.
                                             transportation between the United           4. You had a closer connection to 
• Form I-140, Immigrant Petition for Alien   States and a foreign country or a territory each foreign country than to the United 
Worker, on your behalf.                      of the United States unless you             States for the period during which you 
• Form DS-230, Application for               otherwise engaged in trade or business      maintained a tax home in that foreign 
Immigrant Visa and Alien Registration.       on such a day.                              country.
• Form ETA-9089, Application for             4. Days you were unable to leave the        5. You are subject to tax as a resident 
Permanent Employment Certification,          United States because of a medical          under the tax laws of either foreign 
Appendix A - D, and Final Determination.     condition or medical problem that arose     country for all of 2024 or subject to tax 
                                             while you were in the United States.
Note: These forms are available at                                                       as a resident in both foreign countries for 
www.uscis.gov/forms/all-forms and            5. Days you are in the United States        the period during which you maintained 
www.dol.gov/agencies/eta/foreign-labor/      under a NATO visa as a member of a          a tax home in each foreign country.
forms.                                       force or civilian component to NATO.        Tax Home
                                             However, this exception does not apply 
Even if you are not eligible for the         to an immediate family member who is        Your tax home is the general area of 
closer connection exception, you may         present in the United States under a        your main place of business, 
qualify for nonresident status by reason     NATO visa. A dependent family member        employment, or post of duty, regardless 
of a treaty. See the instructions for line 6 must count every day of presence for        of where you maintain your family home. 
for more details.                            purposes of the substantial presence        Your tax home is the place where you 
Who Must File                                test.                                       permanently or indefinitely work as an 
                                                                                         employee or a self-employed individual. 
If you are an alien individual and you       6. Days you were an exempt                  If you do not have a regular or main 
meet the closer connection exception to      individual.                                 place of business because of the nature 
                                                                                         of your work, then your tax home is the  



- 4 -

Enlarge image
Form 8840 (2024)                                                                                                          Page 4

place where you regularly live. If you     Specific Instructions                       Line 29
have neither a regular or main place of 
                                                                                       For stocks and bonds, indicate the 
business nor a place where you regularly   Part I                                      country of origin of the stock company 
live, you are considered an itinerant and 
                                                                                       or debtor. For example, if you own 
your tax home is wherever you work. For    Line 1                                      shares of a U.S. publicly traded 
determining whether you have a closer 
connection to a foreign country, your tax  If you had a visa on the last day of the    corporation, the investment is 
home must also be in existence for the     tax year, enter your visa type and the      considered located in the United States, 
entire year, and must be located in the    date you entered the United States. If      even though the shares of stock are 
foreign country (or countries) in which    you do not have a visa, enter your U.S.     stored in a safe deposit box in a foreign 
you are claiming to have a closer          immigration status on the last day of the   country.
connection.                                tax year and the date you entered the 
                                           United States. For example, if you          Paperwork Reduction Act Notice. We 
Establishing a Closer Connection           entered under the Visa Waiver Program,      ask for the information on this form to 
                                           enter “VWP,” the name of the Visa           carry out the Internal Revenue laws of 
You will be considered to have a closer    Waiver Program country, and the date        the United States. Section 7701(b) and 
connection to a foreign country than to    you entered the United States.              its regulations require that you give us 
the United States if you or the IRS                                                    the information. We need it to determine 
establishes that you have maintained       Line 6                                      if you meet the closer connection 
more significant contacts with the                                                     exception to the substantial presence 
foreign country than with the United       If you checked the “Yes” box on line 6, 
States.                                    do not file Form 8840. You are not          test.
                                           eligible for the closer connection             You are not required to provide the 
Your answers to the questions in Part      exception. However, you may qualify for     information requested on a form that is 
IV will help establish the jurisdiction to nonresident status by reason of a treaty.   subject to the Paperwork Reduction Act 
which you have a closer connection.        See Pub. 519 for details. If so, file Form  unless the form displays a valid OMB 
                                           8833 with your Form 1040-NR.
When and Where To File                                                                 control number. Books or records 
                                                                                       relating to a form or its instructions must 
If you are filing a 2024 Form 1040-NR,     Parts II and III                            be retained as long as their contents 
attach Form 8840 to it. Mail your tax      If you had a tax home in the United         may become material in the 
return by the due date (including          States at any time during the year, do      administration of any Internal Revenue 
extensions) to the address shown in your   not file Form 8840. You are not eligible    law. Generally, tax returns and return 
tax return instructions.                   for the closer connection exception.        information are confidential, as required 
If you do not have to file a 2024 tax      Otherwise, complete Part II or Part III     by section 6103.
return, mail Form 8840 to the              (but not both) depending on the number         The average time and expenses 
Department of the Treasury, Internal       of countries to which you are claiming a    required to complete and file this form 
Revenue Service Center, Austin, TX         closer connection. If you are claiming a    will vary depending on individual 
73301-0215 by the due date (including      closer connection to one country,           circumstances. For the estimated 
extensions) for filing Form 1040-NR.       complete Part II. If you are claiming a     averages, see the instructions for your 
                                           closer connection to two countries,         income tax return.
Penalty for Not Filing Form                complete Part III. After completing Part II 
                                           or Part III, complete Part IV.                 If you have suggestions for making 
8840                                                                                   this form simpler, we would be happy to 
If you do not timely file Form 8840, you   Part IV                                     hear from you. See the instructions for 
will not be eligible to claim the closer                                               your income tax return.
connection exception and may be            Line 14
treated as a U.S. resident.                A “permanent home” is a dwelling unit 
You will not be penalized if you can       (whether owned or rented, and whether 
show by clear and convincing evidence      a house, an apartment, or a furnished 
that you took reasonable actions to        room) that is available at all times, 
become aware of the filing requirements    continuously and not solely for short 
and significant steps to comply with       stays.
those requirements.






PDF file checksum: 1188662985

(Plugin #1/10.13/13.0)