Once funds are deposited into the HSA, the account can be used to pay for qualified medical expenses tax-free, even if you no longer have
Is HSA use it or lose it?
HSAs: The basics
What's more, unlike health flexible spending accounts (FSAs), HSAs are not subject to the "use-it-or-lose-it" rule. Funds remain in your account from year to year, and any unused funds may be used to pay for future qualified medical expenses.
What happens if you don't use all of your HSA money?
If you withdraw HSA funds and don't use them to pay for qualified medical expenses, you'll pay income tax and a penalty. Unlike an FSA, there's no “use it or lose it” provision. ... There's no deadline to reimburse yourself for medical expenses. You can think of your HSA as a long-term investment.