Table of Contents
You also may have to file other forms, including the following:
-
Form 8833, Treaty-Based Return Position Disclosure Under Section 6114 or 7701(b).
-
Form 8840, Closer Connection Exception Statement for Aliens.
-
Form 8843, Statement for Exempt Individuals and Individuals With a Medical Condition.
-
Form 8938, Statement of Specified Foreign Financial Assets.

If you need more information, our free publications may help you. Pub. 519 will be the most important, but the following publications also may help.
| Pub. 597 | Information on the United States—Canada Income Tax Treaty |
| Pub. 901 | U.S. Tax Treaties |
| Pub. 910 | IRS Guide to Free Tax Services (includes a list of all publications) |
These free publications and the forms and schedules you will need are available from the Internal Revenue Service. You can download them at IRS.gov. Also see Taxpayer Assistance, later, for other ways to get them (as well as information on receiving IRS assistance in completing the forms).
If you are not a citizen of the United States, specific rules apply to determine if you are a resident alien or a nonresident alien for tax purposes. Generally, you are considered a resident alien if you meet either the green card test or the substantial presence test for 2012. (These tests are explained in Green Card Test and Substantial Presence Test next.) Even if you do not meet either of these tests, you may be able to choose to be treated as a U.S. resident for part of 2012. See First-Year Choice in chapter 1 of Pub. 519 for details.
Generally, you are considered a nonresident alien for the year if you are not a U.S. resident under either of these tests. However, even if you are a U.S. resident under one of these tests, you still may be considered a nonresident alien if you qualify as a resident of a treaty country within the meaning of an income tax treaty between the United States and that country. You can download the complete text of most U.S. tax treaties at IRS.gov. Enter “tax treaties” in the search box at the top of the page. Technical explanations for many of those treaties are also available at that site.
For more details on resident and nonresident status, the tests for residence, and the exceptions to them, see Pub. 519.
You are a resident for tax purposes if you were a lawful permanent resident (immigrant) of the United States at any time during 2012 and you took no steps to be treated as a resident of a foreign country under an income tax treaty. (However, see Dual-Status Taxpayers, later.) In most cases you are a lawful permanent resident if the U.S. Citizenship and Immigration Services (USCIS) (or its predecessor organization, INS) has issued you an alien registration card, also known as a green card.
If you surrender your green card, your status as a resident for tax purposes will change as of the date you surrender your green card if all of the following are true.
-
You mail a letter to the USCIS stating your intent to surrender your green card.
-
You send this letter by certified mail, return receipt requested (or the foreign equivalent).
-
You have proof that the letter was received by the USCIS.
Keep a copy of the letter and the proof that the letter was received.

For more details, including special rules that apply if you give up your green card after holding it in at least 8 of the prior 15 years, see Pub. 519.
You are considered a U.S. resident if you meet the substantial presence test for 2012. You meet this test if you were physically present in the United States for at least:
-
31 days during 2012, and
-
183 days during the period 2012, 2011, and 2010, using the following chart.
| (a) | (b) | (c) | (d) |
|---|---|---|---|
| Year | Days of physical presence | Multiplier | Testing days (multiply (b) times (c)) |
| 2012 | 1.000 | ||
| 2011 | .333 | ||
| 2010 | .167 | ||
| Total testing days (add column (d)) | |||
Generally, you are treated as present in the United States on any day that you are physically present in the country at any time during the day. However, there are exceptions to this rule. In general, do not count the following as days of presence in the United States for the substantial presence test.
-
Days you commute to work in the United States from a residence in Canada or Mexico if you regularly commute from Canada or Mexico.
-
Days you are in the United States for less than 24 hours when you are in transit between two places outside the United States.
-
Days you are in the United States as a crew member of a foreign vessel.
-
Days you intend, but are unable, to leave the United States because of a medical condition that arose while you were in the United States.
-
Days you are an exempt individual (defined next).


Note.
Alien individuals with “Q” visas are treated as either students, teachers, or trainees and, as such, are exempt individuals for purposes of the substantial presence test if they otherwise qualify. “Q” visas are issued to aliens participating in certain international cultural exchange programs.
-
Foreign government-related individual;
-
Teacher or trainee who is temporarily present under a “J” or “Q” visa;
-
Student who is temporarily present under an “F,” “J,” “M,” or “Q” visa; or
-
Professional athlete who is temporarily in the United States to compete in a charitable sports event.
Even though you otherwise would meet the substantial presence test, you can be treated as a nonresident alien if you:
-
Were present in the United States for fewer than 183 days during 2012,
-
Establish that during 2012 you had a tax home in a foreign country, and
-
Establish that during 2012 you had a closer connection to one foreign country in which you had a tax home than to the United States unless you had a closer connection to two foreign countries.
See Pub. 519 for more information.
-
You establish that you do not intend to reside permanently in the United States. The facts and circumstances of your situation are considered to determine if you do not intend to reside permanently in the United States. The facts and circumstances include the following.
-
Whether you have taken any steps to change your U.S. immigration status to lawful permanent resident.
-
During your stay in the United States, whether you have maintained a closer connection with a foreign country than with the United States.
-
-
You have substantially complied with your visa requirements.
You must file a fully completed Form 8843 with the IRS to claim the closer connection exception. See Form 8843 in chapter 1 of Pub. 519.

File Form 1040NR-EZ (or Form 1040NR) if you were a nonresident alien engaged in a trade or business in the United States during 2012. You must file even if:
-
You have no income from a trade or business conducted in the United States,
-
You have no income from U.S. sources, or
-
Your income is exempt from U.S. tax under a tax treaty or any section of the Internal Revenue Code.
Exceptions. You do not need to file Form 1040NR-EZ (or Form 1040NR) if:
-
Your only U.S. trade or business was the performance of personal services; and
-
Your wages were less than $3,800; and
-
You have no other need to file a return to claim a refund of overwithheld taxes, to satisfy additional withholding at source, or to claim income exempt or partly exempt by treaty; or
-
-
You were a nonresident alien student, teacher, or trainee who was temporarily present in the United States under an “F,” “J,” “M,” or “Q” visa, and you have no income (such as wages, salaries, tips, etc., or scholarship or fellowship grants) that is subject to tax under section 871.
If you were an employee and received wages subject to U.S. income tax withholding, file Form 1040NR-EZ by April 15, 2013.
If you did not receive wages as an employee subject to U.S. income tax withholding, file Form 1040NR-EZ by June 17, 2013.
If you file after the due date (without extensions), you may have to pay interest and penalties. See Interest and Penalties, later.
Mail Form 1040NR-EZ to:
Department of the Treasury
Internal Revenue Service
Austin, TX 73301-0215
U.S.A.
If enclosing a payment, mail Form 1040NR-EZ to:
Internal Revenue Service
P.O. Box 1303
Charlotte, NC 28201-1303
U.S.A.
You can use certain private delivery services designated by the IRS to meet the “timely mailing as timely filing/paying” rule for tax returns and payments. These private delivery services include only the following.
-
DHL Express (DHL): DHL Same Day Service.
-
Federal Express (FedEx): FedEx Priority Overnight, FedEx Standard Overnight, FedEx 2Day, FedEx International Priority, and FedEx International First.
-
United Parcel Service (UPS): UPS Next Day Air, UPS Next Day Air Saver, UPS 2nd Day Air, UPS 2nd Day Air A.M., UPS Worldwide Express Plus, and UPS Worldwide Express.
For the IRS mailing address to use if you are using a private delivery service, go to IRS.gov and enter “private delivery service” in the search box. The private delivery service can tell you how to get written proof of the mailing date.

You can elect to be taxed as a U.S. resident for the whole year if all of the following apply.
-
You were married.
-
Your spouse was a U.S. citizen or resident alien on the last day of the tax year.
-
You file a joint return for the year of the election using Form 1040, 1040A, or 1040EZ.
To make this election, you must attach the statement described in
Pub. 519 to your return. Do not use Form 1040NR-EZ.
Your worldwide income for the whole year must be included and will be taxed under U.S. tax laws. You must agree to keep the records, books, and other information needed to figure the tax. If you made the election in an earlier year, you can file a joint return or separate return for 2012. If you file a separate return, use Form 1040 or Form 1040A. You must include your worldwide income for the whole year whether you file a joint or separate return.

Note.
If you elect to be taxed as a resident alien (discussed earlier), the special instructions and restrictions discussed here do not apply.
A dual-status year is one in which you change status between nonresident and resident alien. Different U.S. income tax rules apply to each status.
Most dual-status years are the years of arrival or departure. Before you arrive in the United States, you are a nonresident alien. After you arrive, you may or may not be a resident, depending on the circumstances.
If you become a U.S. resident, you stay a resident until you leave the United States. You may become a nonresident alien when you leave if you meet both of the following conditions.
-
After leaving (or after your last day of lawful permanent residency if you met the green card test) and for the remainder of the calendar year of your departure, you have a closer connection to a foreign country than to the United States.
-
During the next calendar year you are not a U.S. resident under either the green card test or the substantial presence test.
See Pub. 519 for more information.
If you were a U.S. resident on the last day of the tax year, file Form 1040. Enter “Dual-Status Return” across the top and attach a statement showing your income for the part of the year you were a nonresident. You can use
Form 1040NR-EZ as the statement; enter “Dual-Status Statement” across the top. Do not sign Form 1040NR-EZ. Mail your return and statement to the following address.
Department of the Treasury
Internal Revenue Service
Austin, TX 73301-0215
U.S.A.
If enclosing a payment, mail your return and statement to the following address.
Internal Revenue Service
P.O. Box 1303
Charlotte, NC 28201-1303
U.S.A.
If you were a nonresident on the last day of the tax year, file Form 1040NR-EZ. Enter “Dual-Status Return” across the top and attach a statement showing your income for the part of the year you were a U.S. resident. You can use Form 1040 as the statement; enter “Dual-Status Statement” across the top. Do not sign Form 1040. Mail your return and statement to the following address.
Department of the Treasury
Internal Revenue Service
Austin, TX 73301-0215
U.S.A.
If enclosing a payment mail your return and statement to the following address.
Internal Revenue Service
P.O. Box 1303
Charlotte, NC 28201-1303
U.S.A.
As a dual-status taxpayer not filing a joint return, you are taxed on income from all sources for the part of the year you were a resident alien. Generally, you are taxed on income only from U.S. sources for the part of the year you were a nonresident alien. However, all income effectively connected with the conduct of a trade or business in the United States is taxable.
Income you received as a dual-status taxpayer from sources outside the United States while a resident alien is taxable even if you became a nonresident alien after receiving it and before the close of the tax year. Conversely, income you received from sources outside the United States while a nonresident alien is not taxable in most cases even if you became a resident alien after receiving it and before the close of the tax year. Income from U.S. sources is taxable whether you received it while a nonresident alien or a resident alien.
When you figure your U.S. tax for a dual-status year, you are subject to different rules for the part of the year you were a resident and the part of the year you were a nonresident.
All income for the period of residence and all income that is effectively connected with a trade or business in the United States for the period of nonresidence, after allowable deductions, is combined and taxed at the same rates that apply to U.S. citizens and residents.
| 1. | Taxes withheld from wages earned in the United States and taxes withheld at the source from scholarship income from U.S. sources. |
| When filing Form 1040, show the total tax withheld on line 62. Enter amounts from the attached statement (Form 1040NR-EZ, lines 18a and 18b) in the column to the right of line 62 and identify and include them in the amount on line 62. | |
| When filing Form 1040NR-EZ, show the total tax withheld on lines 18a and 18b. Enter the amount from the attached statement (Form 1040, line 62) in the column to the right of line 18a, and identify and include it in the amount on line 18a. | |
| 2. | Estimated tax paid with Form 1040-ES or Form 1040-ES (NR). |
| 3. | Tax paid with Form 1040-C at the time of departure from the United States. When filing Form 1040, include the tax paid with Form 1040-C with the total payments on line 72. Identify the payment in the area to the left of the entry. |
| More Online Instructions |