State HSA tax treatment 2026: the 50-state conformity map.
Federal law makes HSA contributions tax-deductible and growth tax-free. But state tax conformity is patchy: California and New Jersey still tax HSA contributions AND earnings on your state return. Nine states have no income tax (HSA conformity moot). The other 39 states conform — your federal HSA deduction flows through to your state return automatically. Here's what to know if you live in CA or NJ, and the full conformity map.
The federal HSA tax rules
Under federal law (IRC §223), an HSA gives you three tax benefits:
- Contributions are deductible from gross income (above-the-line — you don't have to itemize).
- Growth is tax-free — interest, dividends, capital gains inside the HSA aren't taxed.
- Qualified medical withdrawals are tax-free at any age.
This triple advantage makes HSAs the most tax-efficient account in the US tax code — better than a 401(k), traditional IRA, or Roth IRA for any dollar you'll spend on healthcare in retirement.
One more federal wrinkle that trips people up: to contribute to an HSA at all, you have to be enrolled in a qualifying high-deductible health plan (HDHP) and have no other disqualifying coverage. The IRS sets the HDHP deductible and out-of-pocket thresholds each year, and those limits get adjusted for inflation, so what counts as an HDHP in 2026 isn't the same number it was a few years back. If you switch off an HDHP mid-year, your contribution room is prorated for the months you were eligible. None of that changes by state — it's federal — but it matters because your state tax treatment only kicks in once you've actually got money in the account.
The two non-conforming states: California and New Jersey
Both states tax HSAs on the state return in three ways:
- HSA contributions are NOT deductible — you owe state income tax on the contribution amount.
- Interest and dividends inside the HSA ARE taxable in the year earned (even though they're tax-free federally and you didn't withdraw them).
- Capital gains inside the HSA ARE taxable when realized (also even though tax-free federally).
Real impact in California at the 9.3% bracket: a $4,400 HSA contribution costs you an extra $409/year in state tax vs. a neighbor in a conforming state. Plus you have to track your HSA's annual dividends/interest and capital gains on your CA return — a real administrative pain. Many CA residents work around this by holding cash + low-turnover index funds inside the HSA to minimize the tracking burden.
The reporting side is what surprises most people. Your HSA custodian sends you a federal Form 5498-SA showing contributions and a 1099-SA showing distributions, but it does not break out the interest, dividends, and realized gains that California and New Jersey want reported. That means you have to dig into your account's year-end statements yourself, total up the taxable investment income, and add it back on the state return. If your HSA holds a fund that pays a year-end capital-gains distribution, that's a line item you'd never see on a federal return — and it's easy to miss the first year you invest inside the account.
New Jersey works the same way as California in substance: no deduction for the contribution, and investment income inside the HSA is taxable as it's earned. The exact dollar cost depends on your NJ bracket, but the mechanics are identical. Two states, same rule, and they're the only two with income taxes that diverge from the federal treatment in 2026.
The nine no-income-tax states
HSA conformity is moot in these states because there's no state income tax to begin with:
- Alaska
- Florida
- Nevada
- New Hampshire (NH taxes only investment income — and even that was phased out by 2025; wages/HSA contributions aren't taxed)
- South Dakota
- Tennessee (Hall Tax on dividends/interest was repealed 2021; no state income tax at all now)
- Texas
- Washington
- Wyoming
The other 39 states — all conform
Every other state with an income tax conforms to federal HSA rules: contributions deductible on the state return, growth tax-free, qualified medical withdrawals tax-free. Notable history:
- Wisconsin previously did not conform but adopted federal HSA conformity for tax years 2011 onward.
- Alabama previously did not conform but conformed effective tax year 2018 onward via state legislation.
- Pennsylvania allows HSA contributions tax-free at the state level too (PA has its own quirks around investment income inside HSAs — check with a local CPA if you're a heavy HSA investor in PA).
Workarounds for CA and NJ residents
- Still max the HSA. The federal benefit alone (income tax + FICA savings via payroll) typically exceeds the state tax cost. At a 22% federal + 7.65% FICA, a $4,400 contribution saves $1,305 federally; CA state cost is $409. Net +$896.
- Hold low-turnover index funds. Index funds with minimal annual distributions (VTI, VOO) reduce the dividend/capital-gains tracking burden on the CA return.
- Use cash-equivalent positions for short-term medical reserves. Money-market and high-yield savings positions earn interest that's taxable in CA — but the interest is small, and the cash side serves a different purpose (paying upcoming medical bills) than the invested side.
- Move the funds out of CA / NJ when you can. If you later become a resident of a conforming state, future contributions get the full state tax benefit, and ongoing growth on the existing HSA balance is no longer CA-taxable.
What it actually costs you to live in a non-conforming state
People hear "California taxes your HSA" and assume the account stops being worth it. The math says otherwise. The state cost is a slice off the top of the federal benefit, not a reversal of it. Here's roughly how the annual numbers shake out for a single filer maxing the self-only contribution, at a middle federal bracket:
| Scenario | Federal savings | State cost | Net benefit |
|---|---|---|---|
| Conforming state (39 + DC) | Full | $0 | Largest |
| No-income-tax state | Full | $0 (no income tax) | Largest |
| California (~9.3% bracket) | Full | ~$400/yr on a $4,400 contribution | Still strongly positive |
| New Jersey | Full | Varies by bracket | Still positive |
The contribution limits and your exact bracket move the numbers, so treat the figures above as illustrative rather than a quote. But the pattern holds across every income level I've run: the federal deduction plus payroll FICA savings dwarfs the CA or NJ add-back. The state penalty grows with how much investment income your HSA throws off each year, which is exactly why the index-fund approach below matters more in those two states than anywhere else.
If you move between states mid-year
Plenty of people relocate — a job change, retirement, a cheaper cost of living. Your HSA travels with you; it's tied to you, not your address. But the tax treatment can split across a single year if you cross a state line. A few things to keep straight:
- Part-year residency. If you live in California for half the year and then move to a conforming state, your CA return generally only taxes the HSA income earned while you were a CA resident. The conforming state ignores it entirely. Most tax software handles the split if you enter your move date.
- Your existing balance follows the new rules going forward. Once you're a resident of a conforming state, future growth on your old HSA balance is no longer taxed by California. The account didn't change — your residency did.
- Moving into CA or NJ is the harder direction. If you relocate into a non-conforming state with a large invested HSA, the investment income that account generates starts showing up on your new state return. Heavy HSA investors sometimes shift toward lower-distribution holdings before a move into CA or NJ.
None of this affects the federal side. Your federal deduction and tax-free growth are identical no matter where you live. It's purely the state layer that shifts.
Common HSA tax mistakes that cost real money
Most of the expensive errors I see have nothing to do with which state you're in. They're federal slip-ups that hit anyone:
- Over-contributing. Going past the annual IRS limit triggers a 6% excise tax on the excess for every year it stays in the account. Watch this if you have an employer contribution plus your own payroll deductions — they count together against one limit.
- Spending on non-qualified expenses before age 65. Non-medical withdrawals before 65 are taxed as income and hit with an additional 20% penalty. After 65, the penalty drops away, but the withdrawal is still taxed as ordinary income unless it's for a qualified medical expense.
- Tossing receipts. You can reimburse yourself years later for a medical expense you paid out of pocket, but only if you kept the receipt and the expense was incurred after you opened the HSA. No paper trail, no tax-free reimbursement.
- Forgetting Form 8889. This federal form is what claims your deduction and reconciles your distributions. Skip it and you can lose the deduction or get a notice over an unexplained 1099-SA.
If you're sorting out what qualifies for tax-free spending in the first place, the eligible-items guide covers the categories that apply to HSAs too, since the IRS qualified-expense list overlaps heavily between the two accounts.
How HSAs fit with the rest of your healthcare bills
The tax treatment is only worth so much if the underlying medical bill is wrong, inflated, or negotiable. An HSA pays for care tax-free, but it doesn't shrink an overcharge. Two practical pairings:
- Negotiate first, then pay from the HSA. Cash-pay and prompt-pay discounts can knock a real percentage off a bill before you ever touch your account. Settle the number, then reimburse yourself. Our walkthrough on negotiating a medical bill covers the scripts.
- Know your billing protections. Surprise out-of-network charges are a common reason people drain an HSA faster than they should. The No Surprises Act protections rein in a lot of those balance bills, and knowing the rules keeps tax-advantaged dollars from going toward a charge you didn't actually owe.
Browse the full HealthCostHub guides if you want the billing and financing pieces alongside the tax angle.
Frequently asked questions
Does my state tax my HSA if I just leave the money in cash?
In California and New Jersey, the contribution itself isn't deductible, so you pay state tax on the amount you put in regardless of how it's invested. If the balance sits in cash, the only added item is the small amount of interest it earns, which those two states also tax. The other 48 states don't tax any of it.
Do I have to file anything extra in California for my HSA?
You report the HSA contribution as a non-deductible item and add back the account's investment income on the California return. Tax software handles most of this if you enter your year-end HSA investment activity, but you have to feed it the numbers — they don't flow automatically from a federal form.
Is a no-income-tax state better for an HSA than a conforming state?
For HSA purposes specifically, they're a wash. A conforming income-tax state gives you a state deduction that cancels the state tax, and a no-income-tax state has no state tax to begin with. Either way the HSA's state cost is zero. The CA/NJ penalty is the only real outlier.
If I retire to Florida, does my old HSA stop being taxed by my former state?
Generally yes, going forward. Once you're a Florida resident, future growth on the account isn't subject to your prior state's income tax. The income earned while you were still a resident elsewhere is still reportable for that part-year, but after the move the state layer drops off.
Bottom line
Federal HSA rules are the same everywhere. State rules diverge only in CA and NJ — and even there, the federal benefit (income tax + FICA) usually still wins on net. If you live in CA or NJ, the extra ~$400/year state cost is real but doesn't change the strategic verdict: max the HSA, invest the long-term balance, use index funds to reduce tracking burden. For the other 48 states, your federal HSA deduction flows through to your state return automatically — no special handling required.
Run your specific numbers in the HSA tax savings calculator.
Reference information only — not tax advice. State tax laws change; verify current conformity with a state-licensed CPA or your state's Department of Revenue before relying on this for tax planning. Last updated May 2026.