Last Updated: April 2026
The Health Savings Account (HSA) is widely regarded as the most tax-advantaged account in the US tax code โ more efficient than a 401(k) or IRA when used for healthcare expenses. Available only to those enrolled in a High-Deductible Health Plan (HDHP), HSAs offer triple federal tax benefits unavailable anywhere else. The state-level exception matters most for California and New Jersey residents: both states tax HSA contributions and earnings, reducing the HSA's net advantage for high earners in those states.
The HSA triple tax advantage is unique in the US tax code:
Contributions through employer payroll deduction are made pre-tax โ they reduce your taxable wages before FICA (Social Security and Medicare) and income tax. This is actually better than a traditional 401(k) deduction for most employees: 401(k) contributions reduce income tax but still face FICA; HSA payroll contributions avoid FICA as well (saving an additional 7.65% on the contribution amount). Contributions made directly (not through payroll) are deducted above-the-line on your Form 1040 โ they reduce AGI, which can affect other tax calculations (ACA subsidies, NIIT thresholds, etc.) but do NOT save FICA in that case.
All dividends, interest, and capital gains earned within the HSA account are completely tax-free โ no annual income tax, no capital gains tax, ever (for qualified medical withdrawals). This makes the HSA superior to a taxable brokerage for long-term healthcare savings: $10,000 invested in an HSA growing at 7%/year for 20 years = $38,697 โ all tax-free if used for medical expenses. The same investment in a taxable account would generate annual dividends and capital gains taxable each year.
Qualified medical expenses include: doctor visits, hospital care, dental, vision, prescriptions, some insurance premiums (COBRA, long-term care insurance, Medicare premiums after 65), and thousands of over-the-counter items. The IRS Publication 502 lists eligible expenses. Withdrawals for qualified medical expenses are completely tax-free โ no federal income tax, no state income tax (in conforming states).
The most tax-efficient HSA strategy: invest HSA funds for maximum growth, pay medical expenses out-of-pocket in current years, and reimburse yourself tax-free at any future date. The IRS places no time limit on HSA reimbursements โ an expense from 2026 can be reimbursed tax-free from your HSA in 2045. By accumulating a 'receipts folder' of past medical expenses, you create an unlimited reservoir of future tax-free withdrawals. After age 65: use the HSA like a traditional IRA for non-medical expenses (ordinary income tax, no penalty), with the bonus of tax-free withdrawals for medical expenses (including Medicare premiums, long-term care) โ all tax-free.
To contribute to an HSA you must be: (1) enrolled in a High-Deductible Health Plan (HDHP) as defined by the IRS; (2) NOT covered by other non-HDHP health insurance; (3) NOT enrolled in Medicare; (4) NOT claimed as a dependent on someone else's return. Note: dental, vision, and disability insurance do NOT disqualify you from HSA eligibility. FSA conflicts: having a traditional Health FSA disqualifies you from HSA contributions (Limited-Purpose FSA for dental/vision only is compatible).
48 states conform to the federal HSA tax treatment. Two do not:
California does not recognize HSAs for state income tax purposes. The practical consequences for California residents:
For a California resident in the 9.3% state tax bracket contributing $8,550 to a family HSA: $8,550 ร 9.3% = $795 in additional California income tax on the contribution. Over a career, California HSA non-conformity costs thousands of dollars in additional state tax compared to living in a conforming state.
New Jersey, like California, does not recognize HSAs. New Jersey residents face the same situation: HSA contributions are not NJ-deductible, HSA earnings are NJ-taxable, and the state provides no HSA benefit.
The remaining 48 states (including high-tax states like New York, Massachusetts, Oregon, Minnesota, Illinois) conform to the federal HSA tax treatment. In these states: HSA contributions are state-deductible (or payroll pre-tax for state purposes), HSA growth is state-tax-free, and qualified medical withdrawals are state-tax-free. New York residents, despite a 10.9% top rate, receive full state HSA benefits โ this is one area where NY's tax treatment is more favorable than California's.
| State | Conforms to HSA? | Notes |
|---|---|---|
| California | NO | Contributions taxable; earnings taxable; no state benefit |
| New Jersey | NO | Same as California โ no state HSA recognition |
| New York | YES | Full conformity โ state deduction and tax-free growth |
| Texas | YES (no income tax) | No income tax โ full federal benefit + $0 state tax |
| Florida | YES (no income tax) | Same as Texas |
| Massachusetts | YES | Full conformity |
| Oregon | YES | Full conformity |
| Washington State | YES (no income tax) | No income tax โ full federal benefit applies |
CountryTaxCalc.com is reader-supported. When you use our partner links, we may earn a commission at no cost to you. Learn more about our affiliate partnerships
โ 4.8 verified reviews ยท 3,758 reviews
Maximizing HSA tax benefits, coordinating with retirement accounts, and navigating California/NJ non-conformity requires expert tax guidance. TaxHub connects you with retirement tax specialists.
โ Not for simple single-state returns. Free filing is fine for straightforward W-2 situations.
Get HSA & Retirement Tax Planning Help โโ 4.8 Trustpilot ยท 1,625 reviews
US expats returning to the US or maintaining US benefits face complex HSA eligibility and tax questions. Greenback specialises in US expat financial and tax planning.
โ Not the cheapest option โ best for complex situations and expats who want a dedicated CPA.
HSA & Benefits Tax Help for US Expats โYes โ most HSA providers allow you to invest HSA balances in mutual funds, ETFs, and in some cases individual stocks once the account balance exceeds a minimum threshold (often $1,000โ$2,000). Fidelity, HSA Bank, HealthEquity, and Lively are popular HSA custodians with good investment options. Growth within the HSA (capital gains, dividends) is federally tax-free. To maximize the HSA as a long-term investment, invest the HSA balance in low-cost index funds, keep enough cash for expected medical expenses, and let the invested portion compound tax-free. California and New Jersey residents still face state taxation on HSA investment earnings โ but the federal benefit remains.
Existing HSA balances remain in the account and can be used for qualified medical expenses indefinitely โ you do not lose them. You simply cannot make NEW contributions once you are no longer enrolled in an HDHP. The account grows tax-free, and qualified medical withdrawals remain tax-free regardless of current HDHP enrollment. Note: the testing period rule โ if you use the Last Month Rule to contribute a full year's HSA contribution based on December enrollment, you must remain HDHP-enrolled for the following full year or owe taxes plus a 10% penalty on the excess contribution amount.
Generally, HSA funds cannot be used tax-free to pay regular health insurance premiums. Exceptions: COBRA continuation coverage premiums (tax-free HSA withdrawal), qualified long-term care insurance premiums (within IRS age-based limits), Medicare premiums after age 65 (Medicare Part B, Medicare Advantage, but NOT Medigap), and health insurance premiums while receiving unemployment compensation. For retirees on Medicare, the ability to pay Medicare Part B and Part D premiums from the HSA tax-free is a significant benefit โ these premiums run $1,800โ$3,000+/year for a couple, representing $1,800โ$3,000 in annual tax-free withdrawals.