If you work in the United States on an H-1B visa, your federal tax obligations begin with your first paycheck: you owe federal income tax, Social Security, and Medicare from day one. The H-1B tax filing requirements you actually face, though, depend on whether the IRS classifies you as a resident alien or a nonresident alien for the year, and that classification decides which form you file, what income you report, and which deductions you can claim. For income earned in 2025, your return is due April 15, 2026, with an automatic extension to October 15, 2026, available by filing Form 4868.1Internal Revenue Service. Get an Extension to File Your Tax Return
Resident Alien or Nonresident Alien
The IRS uses its own residency test, not your visa status, to decide how to tax you. The test, set out in 26 U.S.C. § 7701(b), is called the Substantial Presence Test.2Internal Revenue Service. Introduction to Residency Under U.S. Tax Law You pass it, and become a resident alien for tax purposes, if you meet both of these conditions:
- You were physically present in the U.S. for at least 31 days during the current calendar year.
- The sum of your days in the current year, one-third of your days in the prior year, and one-sixth of your days from two years ago is at least 183.
Unlike F-1 and J-1 holders, H-1B workers are not “exempt individuals,” so every day you spend in the U.S. counts toward the formula.3Internal Revenue Service. Taxation of Alien Individuals by Immigration Status – H-1B Most H-1B workers who have been in the country for a full calendar year pass the test easily and file as resident aliens.
Resident aliens are taxed like U.S. citizens: worldwide income, reported on Form 1040. Nonresident aliens report only U.S.-source income, on Form 1040-NR.4Internal Revenue Service. Alien Taxation – Certain Essential Concepts
Your First Year in the U.S.
The year you arrive is usually the messiest to file. If you entered partway through the year, you likely spent part of it as a nonresident and part as a resident. The IRS calls that a dual-status tax year, and it comes with restrictions many first-time filers do not expect.
Dual-Status Rules
On a dual-status return, you report only U.S.-source income for the nonresident portion of the year and worldwide income for the resident portion. The biggest practical limitation is that you cannot claim the standard deduction. You must itemize.5Internal Revenue Service. Taxation of Dual-Status Individuals You also cannot file as head of household, and you generally cannot file jointly unless your spouse is a U.S. citizen or resident and you both elect to be treated as residents for the full year.
First-Year Election
If you arrived mid-year and want to be treated as a resident alien from your arrival forward, you can make a first-year election under 26 U.S.C. § 7701(b)(4). To qualify, you must have been present for at least 31 consecutive days during the arrival year, and for at least 75% of the days from the start of that 31-day period through December 31.6Office of the Law Revision Counsel. 26 USC 7701 – Definitions You cannot make the election until you actually pass the Substantial Presence Test in the following year, so you either file the election on an amended return or wait until you have confirmed you meet the test.
Which Form to File and What You Can Deduct
Your employer will issue a Form W-2 showing your wages and the taxes withheld.7Internal Revenue Service. Topic No. 752, Filing Forms W-2 and W-3 You will also need a Social Security Number, which most H-1B workers obtain when they begin employment. If you are ineligible for an SSN, apply for an Individual Taxpayer Identification Number using Form W-7.8Internal Revenue Service. About Form W-7, Application for IRS Individual Taxpayer Identification Number Keep your passport and I-94 records; you will need them to count your days for the Substantial Presence Test.
Which form you file follows from your residency status:
- Resident aliens file Form 1040, the same return U.S. citizens use, and report worldwide income.
- Nonresident aliens file Form 1040-NR and report only U.S.-source income.
- Dual-status filers typically file Form 1040 for the resident portion with a Form 1040-NR attached as a statement for the nonresident portion, or vice versa, depending on which status you held at year-end.5Internal Revenue Service. Taxation of Dual-Status Individuals
The standard deduction is where filing status really bites. If you file as a resident alien on Form 1040, you can claim it like any U.S. citizen. For 2026, the standard deduction for single filers is $16,100.9Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026 Nonresident filers on Form 1040-NR cannot take it and must itemize on Schedule A.10Internal Revenue Service. About Form 1040-NR, U.S. Nonresident Alien Income Tax Return Dual-status filers cannot claim it either. If you do not have enough deductible expenses to itemize, being stuck on 1040-NR often means a noticeably higher tax bill than a resident alien in the same wage bracket would pay.
Social Security and Medicare
H-1B workers owe Social Security and Medicare taxes (together, FICA) from their first day of U.S. employment. There is no exemption. The IRS is explicit that no FICA exclusion applies to H-1B employees performing services in the United States for a U.S. employer.11Internal Revenue Service. Employers Must Withhold FICA Taxes for Aliens Who Change Visa Status to H-1B This is different from F-1 and J-1 holders, who are often exempt during their first few years.
For 2026:
- Social Security: 6.2% on wages up to $184,500, matched by your employer.12Social Security Administration. Contribution and Benefit Base
- Medicare: 1.45% on all wages, no cap, matched by your employer.
- Additional Medicare Tax: 0.9% on wages above $200,000, paid by the employee only.13Internal Revenue Service. Topic No. 751, Social Security and Medicare Withholding Rates
Your employer handles all of this through payroll. Check your pay stubs anyway, especially if you changed status from F-1 or J-1 mid-year. When status changes to H-1B, the employer must begin FICA withholding on the effective date of the change.
Totalization Agreements
If your home country has a Social Security totalization agreement with the U.S., you may be exempt from U.S. Social Security taxes. These agreements exist to keep workers from paying into two countries’ systems on the same wages. The basic rule is that you pay into the system of the country where you actually work, but a “detached worker” exception lets employees temporarily transferred to the U.S. by a foreign employer stay covered only by their home country’s system, generally for assignments of five years or less.14Social Security Administration. International Programs – U.S. International Social Security Agreements
The U.S. currently has agreements with over 30 countries, including Canada, the United Kingdom, Germany, Japan, South Korea, Australia, France, and India. If an agreement applies to you, your home country’s social security agency typically issues a certificate of coverage that you give your U.S. employer so they can stop FICA withholding.
Tax Treaty Benefits
The U.S. has income tax treaties with dozens of countries, and some H-1B workers can use them to reduce U.S. tax. How treaty benefits work depends on your residency status.
As a nonresident alien, you generally claim treaty benefits by giving your employer Form 8233 for wage income or Form W-8BEN for other income like investment earnings.3Internal Revenue Service. Taxation of Alien Individuals by Immigration Status – H-1B Even if you missed submitting these to the payer, you can still claim benefits on the return.
Once you become a resident alien under the Substantial Presence Test, things get harder. Most U.S. treaties contain a “saving clause” that lets the U.S. tax its residents as if the treaty did not exist. If you are also a resident of your home country under its domestic law, the treaty’s tie-breaker rules may treat you as a resident of that country for treaty purposes; you would then file as a nonresident alien and attach Form 8833 to disclose the treaty position. Some treaties also contain specific exceptions to the saving clause that let certain benefits survive U.S. residency.15Internal Revenue Service. Claiming Tax Treaty Benefits The analysis is fact-specific to the treaty between the U.S. and your home country.
Foreign Bank Accounts and Financial Assets
This is where H-1B workers most often stumble into serious trouble. As a resident alien, you must disclose foreign accounts and assets even when they earn little or no income. Two separate rules apply, with different thresholds and different filing channels.
FBAR (FinCEN Report 114)
If the combined value of all your foreign financial accounts exceeds $10,000 at any point during the year, you must file a Report of Foreign Bank and Financial Accounts, known as the FBAR.16Internal Revenue Service. Report of Foreign Bank and Financial Accounts (FBAR) This covers bank accounts, investment accounts, and even accounts where you only have signature authority. The threshold is aggregate: three accounts of $4,000 each put you over.
The FBAR is filed electronically through the BSA E-Filing System, not with your tax return. It is due April 15, with an automatic extension to October 15 that requires no separate request.17Financial Crimes Enforcement Network. Due Date for FBARs
Penalties are steep. A non-willful violation can cost up to $10,000 per account per year. A willful violation can bring a penalty equal to the greater of $100,000 or 50% of the account balance at the time of the violation, with both amounts adjusted for inflation.18Internal Revenue Service. 4.26.16 Report of Foreign Bank and Financial Accounts (FBAR) Many H-1B workers keep savings accounts, fixed deposits, or provident fund accounts back home that easily clear the $10,000 line when combined. Not knowing about the rule does not reduce the penalty.
Form 8938 (FATCA)
Separately, resident aliens with specified foreign financial assets must file Form 8938 with the tax return. For taxpayers living in the U.S., the thresholds are more than $50,000 on the last day of the tax year or more than $75,000 at any point during it for single filers, and $100,000 and $150,000 respectively for joint filers.19Internal Revenue Service. Do I Need to File Form 8938, Statement of Specified Foreign Financial Assets Form 8938 overlaps with the FBAR but also picks up foreign stocks, partnerships, and instruments not held in an account. Filing one does not excuse you from the other.
Foreign Tax Credit
If you are a resident alien reporting worldwide income, you may be paying income tax to both the U.S. and your home country on the same earnings. The foreign tax credit prevents that double taxation by letting you offset your U.S. tax by qualifying foreign income taxes you paid. You claim it on Form 1116.20Internal Revenue Service. Instructions for Form 1116 If your creditable foreign taxes are $300 or less ($600 for married filing jointly) and all the foreign income is passive (interest, dividends, and similar), you can claim the credit directly on Form 1040 without filing Form 1116. For most H-1B workers whose foreign income is bank interest or dividends, that simplified path is easier.
H-4 Spouse and Dependents
If your spouse or dependents are in the U.S. on H-4 visas without work authorization, they generally do not have Social Security Numbers. To include them on your return, each needs an ITIN, obtained by filing Form W-7 with the return on which they are claimed.8Internal Revenue Service. About Form W-7, Application for IRS Individual Taxpayer Identification Number You can submit the W-7 applications with the return, and the IRS will process them together.
If your spouse is a nonresident alien and you are a resident alien, you generally cannot file jointly unless you both elect to treat the nonresident spouse as a resident for the full year. That election also puts your spouse’s worldwide income under U.S. tax, so whether joint-filing rates are worth it depends on the numbers.
Deadlines, Payment, and Penalties
The 2025 return is due April 15, 2026. Filing Form 4868 gives you an automatic six-month extension to October 15, 2026.1Internal Revenue Service. Get an Extension to File Your Tax Return The extension only extends the filing deadline, not the payment deadline. Any taxes you owe are still due April 15, and interest starts accruing on unpaid balances after that.
Both Form 1040 and Form 1040-NR can be filed electronically. IRS Free File and Free Fillable Forms are available for 1040-NR, and paid preparers are generally required to e-file it.21Internal Revenue Service. Instructions for Form 1040-NR If you owe, you can pay through the Electronic Federal Tax Payment System, IRS Direct Pay, or by check.22Internal Revenue Service. Payments
Two separate penalties apply if you miss the deadline. The failure-to-file penalty is 5% of the unpaid tax for each month or partial month the return is late, capped at 25%.23Internal Revenue Service. Failure to File Penalty The failure-to-pay penalty is 0.5% of the unpaid tax per month, also capped at 25%.24Internal Revenue Service. Failure to Pay Penalty If you cannot pay what you owe, file on time anyway. The penalty for not filing is ten times the penalty for not paying.
State Taxes
Federal filing is only half the picture. Most states impose their own income tax, and you will generally file a state return for every state where you lived or worked during the year. State rules on residency, deductions, and treaty recognition vary widely, and a handful of states have no individual income tax at all. If you worked in multiple states or moved during the year, you may owe partial-year returns in more than one. State returns are filed separately from the federal return, though most state deadlines line up with April 15.
When to Get Professional Help
A straightforward H-1B return, for someone who has been in the U.S. for several years, earns only W-2 income, and has no foreign accounts, is not much different from any other employee’s return. The complications sit in specific years: your first year of arrival, any year with a visa status change, dual-status filings, treaty claims, and FBAR or Form 8938 reporting. Errors in these areas can mean five-figure penalties, not just a corrected return, and they can create complications with future immigration applications. A Certified Public Accountant or IRS Enrolled Agent with experience in international individual taxation is worth the cost in any year that involves those issues.