Can I withdraw the funds from my HSA at any time?
Yes. You can withdraw funds from your HSA anytime. But keep in mind that if you use HSA funds for any reason other than to pay for a qualified medical expense, those funds will be taxed as ordinary income, and the IRS will impose a 20% penalty.
After you reach age 65 or if you become disabled, you can withdraw HSA funds without penalty, but the amounts withdrawn will be taxable as ordinary income if not used for qualified medical expenses.