How to report HSA dividends and capital gains on California or NJ return

My employer switched to a high-deductible plan last year so I finally opened an HSA. The account earned some dividends and had a small capital gain from the invested portion. Federal side seems fine — I file Form 8889 for the payroll contributions even though I didn't take any distributions, and the earnings inside the account don't get reported there. But now I'm doing my California state return in tax software and it's pulling up a screen asking about HSA adjustments. I read somewhere that CA doesn't recognize HSAs the same way the IRS does. New Jersey came up in a search too and apparently it's even different there. I already contributed through payroll so my W-2 box 12 has code W. I'm not sure if I need to report the dividends and capital gains that grew inside the account on my state return, or if the software is just handling this automatically. What actually needs to happen on the CA and NJ side for HSA investment income?

35 comments

California does not conform to federal HSA law at all. The state treats your HSA like a regular taxable brokerage account. That means the dividends and capital gains that grew inside the account during the year are taxable income on your CA 540. You also don't get a deduction for the contributions. The Franchise Tax Board has its own HSA addition lines on Schedule CA (540). Your software should be generating those adjustments but it's worth checking the numbers match what your HSA custodian shows.

So the custodian would have records of exactly how much in dividends and capital gains the account earned during the year? Do they send a form for that or do I have to pull it from the account portal?

Yes, most custodians provide a year-end statement showing earnings inside the HSA. It's not a 1099 the way a regular brokerage sends — it's usually just a detailed account statement. Download it from the portal and use those figures for Schedule CA.

I ran into this last year on my CA return. Had Taxr at taxr.ai read through my HSA custodian's annual statement and my Schedule CA draft side by side — it flagged that my software had pulled in the contribution addition correctly but had missed the capital gain from a fund rebalance I did mid-year. I added that amount to the Other Income line on Schedule CA (540) Part I, Section B myself after seeing what it identified. Worth double-checking yours the same way.

That's exactly the kind of thing I was worried about — the software getting the contribution piece right but missing the investment income. I'll check the Schedule CA Part I Section B lines carefully.

New Jersey is in the same boat as CA — no HSA conformity. NJ taxes both the contributions and the investment income inside the account. On the NJ-1040 you add back the HSA contribution that came out of your pay (the box 12 code W amount) on the wages line since NJ never excluded it. Then dividends and capital gains earned inside the HSA also go on your NJ return on the same lines you'd use for ordinary investment income.

So for NJ the W-2 box 12 code W amount gets added back to wages, and separately the dividends and gains get reported as investment income — those are two different adjustments?

Yes, two separate things. The wage add-back restores the contribution to NJ income. The investment income is on top of that, reported the same way it would be if the money were in a regular taxable account. NJ doesn't get to pretend none of that happened just because the federal return ignores it.

Worth clarifying one thing on the CA side: dividends earned inside the HSA go on Schedule CA (540) Part I Section B line 3 as an addition to federal interest/dividend income. Capital gain distributions or realized gains from selling funds inside the HSA go on Part II (the capital gain section) as California additions. Some software splits these automatically; some lumps everything into Other Income. Check which lines your software actually used.

Yes, this matches what I've seen. The software I used put the dividend piece on the right line but dropped the capital gain into a catch-all. Worth verifying each line individually.

I moved from NJ to CA mid-year a couple years ago and had to deal with both states in the same filing. The NJ part-year return still required the wage add-back for the months I was a NJ resident, and CA wanted the investment income for the whole year I was there. Part-year situations get messy — if that applies to anyone here, a CPA who handles multi-state returns is worth the cost.

Does your HSA custodian even break out capital gains versus dividends on the year-end statement? Mine showed a total "earnings" figure and I had to call them to get the breakdown. Took about 20 minutes but they emailed a detailed report.

Mine shows dividends separately but I'm not sure about gains from fund switches. I'll call if the portal statement isn't detailed enough.

Yes, definitely call if the statement is vague. The detailed report is what you need for the Schedule CA lines — a single earnings number isn't enough to fill in the right lines.

One thing that tripped me up: I had transferred money from my HSA into investments inside the same account (just moved cash to a mutual fund). CA treated any gain from that fund as taxable even though I never took a distribution out of the HSA. The money was still in the account, just in a fund instead of cash. That still counts as a realized capital gain for CA purposes if you sold the fund.

Yes, correct. CA taxes the economic event — the sale of the fund — not the withdrawal. Staying inside the HSA wrapper doesn't shelter the gain from CA or NJ the way it does federally.

My situation was a bit different — I had NJ wages with the HSA add-back and then sold some ETFs inside the account. I uploaded my NJ-1040 draft and the custodian statement to Taxr and it walked through which amounts belonged on which NJ income lines, then drafted a summary worksheet I could hand to my preparer. That saved a lot of back and forth. My preparer confirmed the allocation was right.

Did your preparer end up changing anything, or was the worksheet basically what they used?

They adjusted one rounding figure but otherwise used it as-is. The main value was having everything labeled clearly before the meeting so we didn't spend time just identifying what numbers came from where.

Just to flag something for NJ filers: NJ also taxes distributions from an HSA as income unless the money was used for qualified medical expenses — same as it treats the account as never being an HSA to begin with. So if you took any distributions, those go on NJ income too unless they're for medical. No special HSA distribution exclusion in NJ.

Yes, that's right. NJ basically pretends the HSA is a regular savings account for all purposes — contributions taxable, earnings taxable, distributions taxable unless for medical. The federal treatment is completely irrelevant to NJ.

I was confused about whether the federal 1099 forms matter here. My custodian didn't send a 1099-DIV or 1099-B for my HSA — just the annual account statement. That's normal because federally the HSA earnings aren't reportable. But CA and NJ need the numbers anyway, so you pull them from the account statement rather than a tax form.

Yes, no 1099 for HSA earnings is exactly what you'd expect federally. The custodian statement is your source document for state purposes. Keep it with your records in case either state questions the figures.

I called the CA Franchise Tax Board once about this and the agent confirmed: every dollar the HSA earns — dividends, interest, capital gains — is CA taxable income in the year it's earned, not the year you withdraw it. So you're reporting it annually, not deferred like a traditional IRA.

That's an important distinction. I had assumed it might be deferred until withdrawal like an IRA. So I need to report the 2024 earnings on my 2024 CA return, not wait.

Something I noticed in my software: it auto-populated the Schedule CA HSA contribution add-back from the W-2 box 12 code W, which was correct. But for the investment income it left the field blank and had a note saying "enter amounts from HSA custodian statement." So the software knew it couldn't pull that number automatically. Don't assume a blank field means zero.

Yes, same behavior in the software I used. The blank field is intentional — the program has no way to know what the custodian earned. You have to enter it manually.

If the capital gain inside the HSA came from a fund that you held for more than a year before selling, does CA treat that as long-term? CA does have different rates for long-term gains, right?

No, California taxes all capital gains as ordinary income regardless of holding period. There's no preferential long-term rate at the CA state level. Everything goes on Schedule CA and flows to the CA 540 as regular income.

Oh, I did not know that. So the holding period distinction matters federally but not for CA purposes at all.

I live in CA and my spouse is on a separate employer plan, not an HDHP. We file jointly. My HSA is only in my name. CA still taxes my HSA earnings on our joint 540 — the account being in one spouse's name doesn't change anything, the income is still CA income.

Worth mentioning that if your CA HSA earnings are small — like a few dollars of a money market dividend — it still technically needs to be reported. There's no de minimis exception in the CA instructions for this. I reported $4 in earnings last year just to be clean.

Yes, no threshold. The CA Schedule CA instructions don't carve out small amounts. Report what the account earned, whatever it is.

Has anyone dealt with an HSA that had an excess contribution that the custodian returned before the federal deadline? I had that situation and the CA treatment got strange because the returned amount included earnings. The earnings on the excess are federal income, but CA was already going to tax those earnings anyway since it doesn't recognize the HSA. I ended up with a potential double-count and had to work through it carefully. If that applies to anyone, it's worth flagging to a CPA or enrolled agent before filing.

Yes, excess contribution returns are complicated. The interaction between the federal 1099-SA coding for the returned earnings and CA's parallel taxation of HSA income isn't something I'd try to work out alone. Good call flagging an enrolled agent for that.