HSA Tax Benefits for H-1B Visa Holders (Form 8889)
A Health Savings Account (HSA) offers a triple tax advantage that is difficult to match anywhere else in the tax code: contributions are tax-deductible, growth is tax-free, and qualified withdrawals are tax-free. For H-1B visa holders enrolled in a High Deductible Health Plan (HDHP), the HSA is one of the most efficient tax-saving tools available. Every dollar contributed and spent on qualified medical expenses is completely untaxed.
Two penalties for misusing an HSA
- Excess contributions: Contributing more than the annual limit results in a 6% excise tax on the excess amount, assessed each year the excess remains in the account (IRC Section 4973). You must withdraw the excess (plus earnings) before the tax return due date to avoid the penalty.
- Non-qualified withdrawals: If you take money out of your HSA for anything other than qualified medical expenses before age 65, you owe ordinary income tax on the withdrawal plus a 20% additional penalty tax. After age 65, the 20% penalty disappears but income tax still applies — making the HSA function like a traditional IRA for non-medical withdrawals.
What Is an HSA?
A Health Savings Account is a tax-advantaged savings account available to individuals enrolled in a qualifying High Deductible Health Plan (HDHP). It was created under IRC Section 223. Money in the account can be invested in mutual funds or other instruments and grows tax-free, similar to a Roth IRA — but unlike a Roth IRA, contributions are tax-deductible above the line (meaning you do not need to itemize to benefit), and withdrawals for medical expenses are also tax-free.
The triple tax advantage is real and significant:
- Tax-deductible contributions: Every dollar you contribute to an HSA reduces your AGI directly. A $4,400 individual contribution at a 22% federal marginal rate saves $968 in federal income tax.
- Tax-free investment growth: Interest, dividends, and capital gains inside the HSA are not taxed annually. Funds compound without drag from taxes.
- Tax-free qualified withdrawals: When you pay for qualified medical expenses — doctor visits, prescriptions, dental, vision, hospital costs — using HSA funds, you owe no tax on the withdrawal.
Unlike a Flexible Spending Account (FSA), HSA funds roll over indefinitely. There is no "use it or lose it" rule. You can accumulate a large balance over many years and use it for medical expenses in retirement.
HDHP Requirement
To contribute to an HSA, you must be covered by a High Deductible Health Plan (HDHP) for the months you contribute. For TY2026, the IRS defines an HDHP as:
| Coverage Type | Minimum Deductible | Maximum Out-of-Pocket |
|---|---|---|
| Self-only (individual) | $1,700 | $8,500 |
| Family | $3,400 | $17,000 |
You cannot contribute to an HSA if you are covered by any other health plan that is not an HDHP — including Medicare (Part A or B), most FSAs, or being listed as a dependent on someone else's non-HDHP plan. Enrollment in a Vision or Dental plan alongside your HDHP does not disqualify you.
Contribution Limits for TY2026
The IRS sets HSA contribution limits annually based on inflation. For TY2026 (estimated; IRS typically announces final figures in May of the tax year):
| Coverage Type | 2026 Contribution Limit |
|---|---|
| Self-only (individual) | $4,400 |
| Family | $8,750 |
| Catch-up (age 55+) | +$1,000 additional |
These limits apply to total contributions — yours plus your employer's. If your employer contributes $1,500 to your HSA, you can only contribute $2,900 on your own (for self-only coverage) to stay within the $4,400 limit. Employer contributions are also tax-free to you — they are excluded from your W-2 wages.
Contributions can be made until the tax return due date (April 15 of the following year), not just December 31. This means you can make a TY2026 HSA contribution as late as April 15, 2027 and still deduct it on your TY2026 return — a useful planning tool if you are short on cash during the year.
Mid-Year Enrollment: The Prorating Rule
If you enrolled in an HDHP mid-year (joined a new employer in July, for example), you can only contribute for the months you were actually covered. The contribution limit is prorated by month: divide the annual limit by 12 and multiply by the number of months covered.
Mid-year enrollment example:
Enrolled in HDHP starting July 1 (6 months covered)
Individual limit: $4,400
Pro-rated limit: $4,400 × (6/12) = $2,200
Contributing more than $2,200 creates an excess contribution.
There is an exception called the "last-month rule." If you are eligible on December 1, you can contribute the full annual limit — but you must remain HDHP-eligible for all 12 months of the following year (the testing period). If you fail the testing period (e.g., switch to a non-HDHP plan in March), the excess contribution becomes taxable income plus a 10% penalty. The last-month rule is a useful way to maximize contributions but carries a trap for job changers.
Form 8889: What You Report
Form 8889 is a two-page form filed with your Form 1040. It has three parts:
- Part I — Contributions: Reports HSA contributions made by you and your employer for the year. The deductible amount (your own contributions, not the employer's) flows to Schedule 1, Line 13 of Form 1040.
- Part II — Distributions: Reports withdrawals from your HSA, the amount used for qualified medical expenses, and any non-qualified withdrawal (which is taxable and penalized).
- Part III — Income and Additional Tax on Excess Contributions: Computes the 6% excise tax if you over- contributed.
Your HSA custodian (the financial institution holding your HSA) sends two forms: Form 5498-SA (contributions made during the year) and Form 1099-SA (distributions taken during the year). Form 5498-SA is often sent by May 31, after the filing deadline — but your HSA custodian's year-end statement has the same information. You need both to complete Form 8889 accurately.
Qualified Medical Expenses
Qualified medical expenses for HSA purposes are defined broadly under IRC Section 213(d). They include:
- Doctor visits, specialist consultations, and hospital stays
- Prescription medications
- Dental care (including orthodontia)
- Vision care (glasses, contacts, LASIK)
- Diagnostic tests and lab work
- Mental health treatment (therapy, psychiatry)
- Physical therapy and chiropractic care
- Over-the-counter drugs and menstrual care products (since 2020)
- COBRA or long-term care insurance premiums (with limits)
What does not qualify: cosmetic procedures unless medically necessary, gym memberships (unless specifically prescribed), health insurance premiums in most cases, and non-prescription vitamins or supplements.
You do not need to take the withdrawal at the same time as the expense. You can pay medical expenses out of pocket, let your HSA grow, and reimburse yourself years later — as long as you keep the receipts. Many financial advisors recommend this "receipt stacking" approach to maximize the tax-free investment growth.
H-1B-Specific Considerations
Employer HSA Contributions
Many U.S. tech employers contribute to employee HSAs as part of the HDHP enrollment benefit — amounts commonly ranging from $500 to $2,000 per year for self-only coverage. These employer contributions are excluded from your W-2 income (shown in Box 12 with code W) and are not deductible by you separately — they are simply not taxed. But they count against your annual contribution limit.
When completing Form 8889 Part I, you enter both your own contributions and your employer's contributions. The deduction you take on Schedule 1 is only for your own contributions — employer contributions are excluded from income but not additionally deducted.
Changing Jobs Mid-Year
If you change employers and your new plan is not an HDHP (or has no HSA), your contribution limit for the year is prorated for the months you were HDHP-eligible. You can still keep and use your existing HSA balance at any time for qualified medical expenses. The HSA is yours — it is not tied to your employer like an FSA.
Leaving the U.S. and Your HSA
If you leave the U.S. — whether returning to India or moving to another country — you can no longer contribute to your HSA (you are no longer HDHP-eligible under a U.S. plan). But you do not have to close the account. The HSA continues to grow tax-free, and you can use the funds for qualified medical expenses globally. Medical expenses incurred in India for qualified healthcare can be reimbursed from your HSA.
However: if you become a nonresident alien after leaving, the U.S. tax treatment of HSA distributions becomes more complex. As a nonresident alien, you are taxed at 30% (or treaty rate) on U.S.-source income. HSA distributions may not qualify for the same exemption as they do for residents. Consult a tax professional before taking large distributions from your HSA after leaving the U.S.
Family Coverage with H-4 Spouse
If you have family HDHP coverage that includes your H-4 spouse and children, you are eligible for the family contribution limit ($8,750 for TY2026). The fact that your dependents are on H-4 visas does not affect this. The key is whether your health plan is a qualifying HDHP with family coverage — the visa status of the covered individuals is irrelevant.
Common Mistakes
- Over-contributing after a mid-year plan change. If your employer switches from an HDHP to a traditional PPO or HMO plan mid-year, your HSA contribution limit is prorated. Contributing the full annual limit when you were only HDHP-eligible for part of the year creates an excess contribution subject to the 6% penalty.
- Not reporting employer HSA contributions. Box 12 of your W-2 (Code W) shows employer contributions to your HSA. These must be entered on Form 8889 Part I. Ignoring them is an error that understates the total contributions and may cause the IRS to recalculate your return.
- Taking non-qualified withdrawals under age 65. The 20% penalty is steep. Before spending HSA money on anything non-medical, remember: you will owe ordinary income tax plus 20% on that amount. An HSA is not a general savings account.
- Forgetting that Medicare enrollment disqualifies contributions. Once you enroll in Medicare (Part A or B), you can no longer contribute to an HSA. This typically happens at age 65 but can happen earlier for those with certain disabilities. Contributions made while enrolled in Medicare are excess contributions.
- Not keeping medical receipts for future reimbursement.If you plan to pay medical expenses out of pocket now and reimburse yourself from the HSA later (the receipt-stacking strategy), you must retain all receipts indefinitely. The IRS requires substantiation that withdrawals were for qualified expenses — there is no statute of limitations on the documentation requirement if you take a deferred reimbursement years later.
How Our Platform Handles This
H1B TaxFile handles HSA reporting in the deductions and adjustments step of the wizard. You enter:
- Your contribution amount (from your HSA custodian statement or Form 5498-SA)
- Employer contributions (from Box 12, Code W of your W-2 — the platform pre-fills this from your W-2 entry)
- Total distributions taken (from Form 1099-SA)
- Qualified medical expenses paid with HSA funds
- Coverage type (self-only or family) and months covered
The engine computes the prorated limit if you were not HDHP-eligible for the full year, flags any excess contribution, computes the Schedule 1 deduction, and generates Form 8889 as part of your PDF return. Any taxable distributions or excess contribution penalties are carried to the correct lines on Form 1040.
Related guides: Standard vs Itemized Deductions | Alternative Minimum Tax (Form 6251)
Frequently Asked Questions
Skip the complexity. We handle all of this for you.
H1B TaxFile supports every form in this guide — FATCA, PFIC, FTC, RSU basis correction, and 22 more H-1B-specific features. Flat price, no surprises.
H1B TaxFile Team
Written by the H1B TaxFile editorial team — tax professionals and software engineers who specialize in U.S. federal tax filing for H-1B visa holders, F-1 students, and nonresident aliens.
Reviewed by a licensed CPA with international tax experience.
Disclaimer: This guide is for educational purposes only and does not constitute tax or legal advice. Tax laws are complex and change frequently. Consult a qualified tax professional for advice specific to your situation.