
SSN and ID
Who can get an SSN, when to use an ITIN, REAL ID rules and state driver's licenses for immigrants.
Privately operated educational resource. Not affiliated with the U.S. government.
For U.S. tax purposes, a noncitizen is either a resident alien, taxed on worldwide income like a citizen, or a nonresident alien, taxed mainly on U.S. income. You become a resident by holding a green card or by meeting the substantial presence test. Many people are dual-status in the year they arrive. This is general information, not tax advice.
Tax rules are detailed and depend on your full situation, including tax treaties and state law. Use this page to understand the main ideas, then work with a qualified tax professional, such as a CPA or enrolled agent experienced with international clients, before you file.
The IRS uses its own definition of "resident." A person on a temporary work visa can be a tax resident, and a green card holder who lives abroad can still be a tax resident. Your tax status decides which income the U.S. taxes, which forms you file, and whether you must report foreign accounts.

You are a resident alien for any part of a calendar year in which you are a lawful permanent resident. This continues until your status is formally given up or administratively or judicially ended, even if you live outside the U.S. Simply letting your card expire does not end tax residency (see green card renewal).
You meet this test if you were physically present in the U.S. on at least:
Some days do not count. "Exempt individuals" do not count days while in those roles, including most F, J, M and Q students for up to five calendar years, and J or Q teachers and trainees generally for two of the last six years. Days in transit, days you could not leave because of a medical condition that arose in the U.S., and certain commuter days from Canada or Mexico are also excluded. Exempt individuals often file Form 8843 to claim this.
Even if you meet the test, you may be treated as a nonresident if you were present fewer than 183 days in the current year and have a closer connection to a foreign country with a tax home there. A tax treaty tie-breaker rule may also apply.
In the year you arrive or leave, you may be a nonresident for part of the year and a resident for the rest. This is a dual-status year. You generally report worldwide income for the resident part and only U.S.-source income for the nonresident part, with special limits: for example, you generally cannot use the standard deduction. Married couples may be able to elect to be treated as residents for the full year and file jointly, and some new arrivals can make a "first-year choice" to start residency early. These elections have trade-offs that a tax professional can weigh.
Resident aliens report income from all sources worldwide: wages, foreign rental income, interest from home-country bank accounts, dividends, pensions and gains from selling property abroad. Two tools reduce double taxation:
Nonresident aliens generally report only U.S.-source income and income connected with a U.S. trade or business, usually on Form 1040-NR.
Residents must report foreign financial accounts and assets in addition to paying any tax. Our banking and credit guide covers setting up U.S. accounts. Reporting does not by itself create tax, but penalties for not filing can be severe.
| Requirement | Threshold | How it is filed |
|---|---|---|
| FBAR (FinCEN Form 114) | Combined value of foreign financial accounts over $10,000 at any time in the year | Online through FinCEN's BSA E-Filing System, not with your tax return; due April 15 with an automatic extension to October 15 |
| Form 8938 (FATCA) | For single filers living in the U.S.: over $50,000 at year-end or $75,000 at any time; for joint filers living in the U.S.: over $100,000 at year-end or $150,000 at any time | Attached to your federal tax return |
Foreign mutual funds, pension plans and companies you own may bring additional forms. If you missed filings in past years, IRS relief programs may help; talk to a professional before filing anything late.
Most states tax residents on their income, and a few have no broad personal income tax. Each state defines residency in its own way, often by where you live and how many days you spend there. Some cities and counties add local income tax. States also may not follow federal treaty rules. Check your state tax agency's website for its rules for part-year residents.
Most workers in the U.S. pay Social Security and Medicare taxes, often called FICA, through payroll withholding. Some nonresident aliens are exempt, including many F-1, J-1, M-1 and Q students and scholars while they are nonresidents, for work allowed by their status. If FICA was withheld by mistake, ask your employer for a refund first; if the employer cannot help, you can file a claim with the IRS. Your country may also have a totalization agreement with the U.S. that prevents double social security taxation and may let you combine work credits from both countries.

Departing does not automatically end your tax obligations. Green card holders remain tax residents until their status is formally given up, and long-term residents who give up a green card may face expatriation tax rules. Some nonresidents leaving the U.S. must obtain a tax clearance certificate, often called a sailing permit, before departure. Plan your exit with a tax professional.
Avoid preparers who promise refunds based on credits you may not qualify for, or who refuse to sign the return. Use the IRS directory of preparers with credentials.
Filing accurate returns matters for future applications. USCIS often asks for tax transcripts for green cards and naturalization, and filing as a nonresident while holding a green card can raise questions about whether you abandoned residence. Ask an immigration attorney before taking a nonresident position as a permanent resident; you can email us to be connected with a participating attorney. For other first steps after arrival, see moving to the U.S.
Resident aliens, including green card holders and people who meet the substantial presence test, generally must report worldwide income, including income earned abroad. Foreign tax credits and tax treaties can reduce double taxation. Nonresident aliens generally pay U.S. tax only on U.S.-source income. A tax professional can help you apply the rules to your situation.
You are a resident alien if you held a green card at any time during the year, or if you meet the substantial presence test: at least 31 days in the U.S. this year and 183 days over three years using a weighted formula. Students, teachers and trainees in certain statuses can exclude days. Some people qualify as nonresidents through a closer connection or treaty.
It is a year in which you were a nonresident alien for part of the year and a resident alien for the rest, which commonly happens in the year you move to or leave the U.S. Special rules apply, such as limits on deductions. Married couples may be able to elect full-year residency and file jointly instead.
If you are a U.S. person for the year and the combined value of your foreign financial accounts exceeded $10,000 at any time, you generally must file an FBAR with FinCEN by April 15, with an automatic extension to October 15. It is filed online separately from your tax return. Penalties for missing it can be serious.
F-1 students are usually nonresident aliens for their first five calendar years and pay tax on U.S. income, such as wages from on-campus jobs or OPT, though a treaty may reduce it. Nonresident students are generally exempt from Social Security and Medicare taxes. Even with no income, they usually must file Form 8843 each year.
General information, not legal advice. Immigration rules change and every case is different; talk to a qualified immigration attorney about your situation. USVisa.com is not a government website. Spot an error? Tell us.