California HSA Tax Rules: Why the State Taxes Your HSA

Your health savings account is tax-free on your federal return. On your California return it's a different story.

Reviewed by the CA Tools Editorial Team against official agency sources. Not reviewed by a licensed attorney or CPA. See our editorial methodology.

California does not recognize health savings accounts. The HSA contributions you or your employer make are added back to your California income, and the interest, dividends and gains inside the account are taxed by California every year. The flip side: withdrawals are not taxable in California, even ones not spent on medical care. The federal tax breaks are unchanged.

What California taxes

Your California return starts from your federal income, and Schedule CA (540) adjusts it to California law. The Franchise Tax Board's instructions list every HSA adjustment:

  • Payroll and employer contributions. Amounts in box 12 of your W-2 with code W (your pre-tax salary contributions plus anything your employer added) are added on line 1h, column C.
  • Contributions you deducted yourself. The federal HSA deduction (Schedule 1, line 13) isn't allowed. It goes on Schedule CA line 13, column B, which cancels it.
  • Earnings. HSA interest and dividends are taxable in the year earned, and gains or losses on investments you sell inside the HSA are reported like any other sale.

What California doesn't tax

  • Withdrawals. Distributions not used for qualified medical expenses are included in federal income, but FTB says they are not taxable for California: subtract them on line 8f, column B. Medical withdrawals are tax-free on both returns.
  • The 20% penalty. The additional tax on non-medical withdrawals before 65 is a federal tax.

One more difference: because California treats the HSA as ordinary money, medical bills you pay from it can count toward the California itemized medical deduction (the part over 7.5% of federal AGI), something the federal return doesn't allow.

What it costs

The cost is your California tax rate times what you add back. A single filer with $100,000 of federal AGI who puts the 2026 self-only maximum of $4,400 into an HSA through payroll, and earns $250 inside it, adds $4,650 to California income. At 2025 rates that is about $432 of extra California tax, 9.3% of the amount.

Payroll contributions still save federal income tax and, generally, Social Security and Medicare taxes, so an HSA usually still comes out ahead. It's just less of a deal in California than the HSA brochures suggest.

Contribution limits

California doesn't set its own limits; the federal ones apply to the account:

YearSelf-only coverageFamily coverage
2025$4,300$8,550
2026$4,400$8,750
2027$4,500$9,000

If you are 55 or older you can add $1,000 a year. Contributions over the limit are taxable federally too and owe a 6% federal excise tax for each year they stay in the account, unless you withdraw them (with their earnings) by your return's due date.

Keep records of your California basis

Because you pay California tax on contributions and earnings as you go, keep your W-2s and year-end HSA statements. They show what California has already taxed, which is why your HSA withdrawals stay off your California return.

Run your numbers

Our HSA State Tax Calculator adds back your contributions and earnings, shows the extra California tax, and checks your contributions against the federal limit.

Frequently Asked Questions

Does California recognize health savings accounts?

No. California law does not follow the federal HSA rules, so an HSA is treated like an ordinary taxable account on your California return. Contributions are not deductible and earnings are taxed each year.

Do I pay California tax on HSA contributions made through payroll?

Yes. Pre-tax contributions made through your employer, including the employer's own contributions, are reported in box 12 of your W-2 with code W. California adds that amount back to your income on Schedule CA (540), line 1h.

Is HSA interest taxable in California?

Yes. Interest, dividends and gains on investments you sell inside the HSA are taxable in California in the year they are earned, even though the money stays in the account.

Are HSA withdrawals taxed in California?

No. Since the money was already taxed by California going in, distributions are not taxable on your California return, whether or not you use them for medical expenses. The federal 20% additional tax on non-medical withdrawals is federal only.

Is it still worth having an HSA in California?

Often, yes. The federal deduction, federal tax-free growth and tax-free medical withdrawals still apply, and payroll contributions generally skip Social Security and Medicare taxes. You just lose the state tax break, which is worth your top California rate on what you put in.

This article is for general information only and is not tax advice. Sources: FTB Schedule CA (540) instructions; IRS Revenue Procedures 2024-25, 2025-19 and 2026-24; IRS Publication 969.