Should I max HSA to avoid capital gains tax if not using for medical expenses?
So I've been reading that you can invest your HSA balance in index funds and let it grow tax-free, and that gains inside the HSA don't generate a 1099-B or anything you report on Schedule D. My situation: I have taxable brokerage gains piling up every year and I'm trying to reduce what hits Form 8949. Someone told me to just max my HSA and invest it aggressively instead of the brokerage, specifically to avoid capital gains tax if not using for medical expenses. I'm single, have an HDHP, and I'm not planning to spend the HSA on medical stuff anytime soon — just let it compound. Is this actually a real strategy or am I misunderstanding how HSA taxation works? And does the "not using for medical expenses" part eventually come back to bite you at withdrawal?