Sell HSA stocks after moving from California to Texas — state capital gains tax question
I moved from California to Texas in March and I've been holding appreciated index fund shares inside my HSA ever since I lived in CA. Now I want to sell those HSA stocks after moving from California to Texas to lock in some gains and rebalance. My question is about state capital gains tax. I know Texas has no income tax, but California is aggressive about taxing people who leave. I'm a full-year Texas resident now, the HSA is with my current employer's plan, and I haven't filed anything in California since the move. The gains would be realized after my residency change was complete. Does California have any claim on those gains just because I contributed to the HSA while living there? Or am I fully in Texas territory at this point? Tried searching but everything I find is about federal HSA rules, not the state angle.