California taxable income: should HSA contributions be added back or not?
Hi, when preparing my California state tax in FreeTaxUSA, I noticed that the software is treating my HSA contributions as "California Additions to Income", hence it increased my California taxable income. However, I looked up on the California Franchise Tax Board website, and it looks like a bill was passed in 2022 to exclude HSA contributions from California taxable income. Is my understanding correct? Please see link to the bill below:
Comments
-
Thanks for asking. The bill that you linked to was a proposed bill, but the bill did not pass. It is correct to have your HSA contributions added to your CA taxable income since the state does not conform to the IRS' treatment of the contributions as pre-tax.
1 -
I noticed this too, and I think there's a bug with the calculation on this website. My employer subtracts HSA contributions automatically on the W2 state income (so box 16 is less than box 1 by that amount). This website fails to consider that. Instead, it appears to use the federal AGI and adds the HSA contribution to that. When I filed for free using the CalFile state website, my refund was about $400 higher than FreeTaxUSA's calculation.
0 -
I wrote that backwards. I meant to say, box 16 is $4300 higher than box 1.
0 -
Hi llamafilm,
I understand the confusion here — this is actually a common point of misunderstanding, and it's a fair question to raise.
Your employer is correct to report a higher amount in box 16 than box 1. Since California doesn't recognize HSAs, your employer added the HSA contribution back into your CA state wages on the W-2. However, the way California calculates your state taxable income is not based on box 16 at all.
Here's how it works: California starts with your federal Adjusted Gross Income (AGI) and then makes additions or subtractions for differences between federal and CA law. Since your federal AGI already excludes your HSA contributions (they were pre-tax at the federal level), California requires those contributions to be added back in as a CA addition to income. This is what you're seeing in our software, and it's the correct treatment per FTB instructions.
Box 16 from your W-2 does appear on line 12 of your CA Form 540, but that line is not used to calculate your CA taxable income. The actual CA AGI is calculated on lines 13–19 of the return. So there is no double-counting — the software is only adding the HSA contribution back once, starting from your federal AGI.
As for the difference you saw with CalFile, it's possible that CalFile used box 16 as a starting point rather than federal AGI, which would produce a different (and likely incorrect) result. The FTB's own instructions confirm that CA AGI is derived from federal AGI with adjustments, not from the W-2 state wages box.
You can verify this by previewing your CA return in the Final Steps menu and reviewing lines 13–19 of your CA 540.0


