You can withdraw money from your HSA at any time, but only certain expenses may have access to for tax-free withdrawal
Money in your HSA belongs to you. You can take it out whenever you want. The catch is that if you spend it on something that is not a may have access to medical expense, you will owe income tax on that withdrawal plus a 20 percent penalty — unless you are 65 or older, in which case you owe only the income tax.
The IRS maintains a detailed list of what counts as a may have access to medical expense. It includes doctor visits, prescriptions, dental work, vision care, mental health treatment, and medical equipment like crutches or glucose monitors. It does not include cosmetic procedures, gym memberships, or over-the-counter vitamins (though some over-the-counter medicines do may have access to). The line between what is and is not covered can be surprisingly specific, which is why many people get it wrong.
Your HSA provider — usually a bank or investment company — does not police what you spend the money on. You make the call about whether an expense qualifies. The IRS can audit you years later and demand repayment plus penalties if they disagree. That risk is real but uncommon for straightforward medical expenses.
Key Takeaways
- You can withdraw HSA money at any time for any reason, but non-medical withdrawals trigger income tax plus a 20 percent penalty until age 65.
- may have access to medical expenses include doctor visits, prescriptions, dental work, vision care, and certain medical equipment, but not cosmetic procedures or gym memberships.
- Your HSA provider does not verify that withdrawals are for may have access to expenses — you are responsible for keeping records and knowing the rules.
- After age 65, you can withdraw money for any reason and owe only income tax, not the 20 percent penalty.
- Receipts and documentation matter: keep them for at least three years in case the IRS questions your withdrawals.
How to actually withdraw the money
The mechanics depend on your HSA provider. Most offer a debit card linked to the account, which works like any other card at pharmacies, doctors' offices, and hospitals. Some let you write checks. Others require you to submit a claim form with receipts, then reimburse you by check or direct deposit.
If your HSA is held at a bank, you can usually transfer money to your checking account and pay out of pocket, then keep the receipt as proof the expense was may have access to. If your HSA is invested in mutual funds or stocks, you may need to sell those holdings first before you can withdraw cash — that process can take a few business days.
There is no limit on how much you can withdraw per year, as long as the expenses are may have access to. You can also withdraw more than you spent in a given year; the HSA is meant to be a long-term savings vehicle, not a use-it-or-lose-it account.
What counts as a may have access to medical expense
The IRS publishes a list called Publication 502, which runs dozens of pages. Here are the categories that cover most withdrawals: insurance premiums (for long-term care insurance, Medicare premiums after age 65, and COBRA continuation coverage), doctor and dentist visits, prescription drugs, vision and hearing care, mental health treatment, hospital stays, surgery, physical therapy, and medical equipment prescribed by a doctor.
Over-the-counter medicines are trickier. Aspirin, cold medicine, and antacids do not may have access to unless a doctor prescribes them. Bandages, crutches, and glucose test strips do may have access to. Sunscreen does not. Vitamins do not, unless they are prescribed for a specific medical condition.
Things that definitely do not may have access to: cosmetic procedures (including cosmetic dentistry), gym memberships, weight loss programs, general wellness products, and most toiletries. Therapy or counseling counts only if it treats a diagnosed mental health condition, not for general life coaching or stress management.
When in doubt, keep the receipt and the doctor's note. If the IRS questions it, you will need proof that the expense was medically necessary.
The tax penalty and when it does not apply
If you withdraw money for a non-may have access to expense before age 65, you owe two things: ordinary income tax on the withdrawal, plus a 20 percent penalty. That penalty is on top of the income tax, not instead of it. So if you withdraw $1,000 for a non-may have access to expense and you are in the 24 percent tax bracket, you owe $240 in income tax plus $200 in penalty — $440 total.
The 20 percent penalty goes away at age 65. After that, you can withdraw money for any reason and owe only income tax. This makes HSAs a powerful retirement savings tool if you do not need the money for medical expenses while you are working.
There is one exception to the penalty: if you are disabled or have received a information of disability from the Social Security Administration, non-may have access to withdrawals are not penalized (though you still owe income tax). The same is true if you are a beneficiary receiving distributions after the account holder dies.
Keeping records and avoiding IRS trouble
Your HSA provider sends you a year-end statement showing all deposits and withdrawals, but it does not track whether those withdrawals were for may have access to expenses. The IRS does not require you to submit receipts with your tax return, but you must keep them for at least three years. If you are audited, you will need to show that the expenses were may have access to.
The best practice is to keep a simple spreadsheet or folder with the date, amount, and type of expense for each withdrawal. Include the receipt or invoice. If you used the HSA debit card, your statement will show the merchant name, which helps prove the expense was medical.
If you cannot find a receipt, you can still claim the expense was may have access to, but you will have a harder time proving it if audited. The IRS is more likely to scrutinize large or unusual withdrawals than routine pharmacy or doctor office charges.
Withdrawing money after you leave your job
Your HSA stays yours even after you leave the employer that offered it. You do not have to close it or spend down the balance. You can keep it open indefinitely, continue to withdraw money for may have access to expenses, and even roll it over to a new HSA if your new employer offers one.
If you switch to a non-HSA health plan, you can no longer contribute to the HSA, but you can still withdraw money from the existing balance for may have access to expenses. The same tax rules apply: may have access to expenses are tax-free, non-may have access to expenses trigger the 20 percent penalty (until age 65).
Some people move their HSA to a different provider for better investment options or lower fees. This is called a trustee-to-trustee transfer and does not count as a withdrawal, so there are no tax consequences. You can do this once per year per HSA.
Using HSA money for family members
You can withdraw HSA money to pay for may have access to medical expenses of your spouse and dependents, even if they are not covered by your HSA-may be able to access health plan. The expense must still be may have access to — a dental filling for your spouse counts, a gym membership for your child does not.
You cannot withdraw money to pay for someone else's health insurance premium unless they are your spouse or dependent and the premium is for COBRA continuation coverage, long-term care insurance, or Medicare (if they are 65 or older).
Frequently Asked Questions
Can I withdraw HSA money and pay it back later?
No. An HSA is not a loan. Once you withdraw money, it is gone from the account. You cannot redeposit it unless you make a new contribution during open enrollment. Some people keep receipts for medical expenses they paid out of pocket, then reimburse themselves from the HSA later — that is allowed, but the withdrawal itself is permanent.
What happens if I withdraw money for a non-may have access to expense and do not report it?
The IRS can audit your HSA records years later. If they find non-may have access to withdrawals, you will owe back taxes, the 20 percent penalty, and interest. The penalty and interest compound over time, so the longer you wait to correct it, the more you owe. It is better to report the error yourself if you realize you made one.
Can I withdraw HSA money to pay off medical debt?
Yes, if the debt is for a may have access to medical expense. If you owe a hospital bill or dentist bill, you can withdraw HSA money to pay it. If you owe credit card debt that includes non-medical charges, you cannot use HSA money to pay the credit card — only the portion that is actually medical debt.
Do I have to withdraw money in the year I incur the expense?
No. You can incur a medical expense in 2024, pay for it out of pocket, keep the receipt, and withdraw HSA money to reimburse yourself in 2025 or later. This is a common strategy for people who want to let their HSA grow as an investment and withdraw money only when they need it.
What if my HSA provider denies a withdrawal?
Most providers do not deny withdrawals — they process them and leave it to you to ensure the expense qualifies. If a provider does deny one, ask them in writing why. If you disagree, you can file a complaint with your state's insurance commissioner or the Department of Labor, depending on how your HSA is structured.