You cannot borrow from an HSA the way you borrow from a bank or retirement account

An HSA is not a loan product. Your account holds money you have set aside for medical expenses, and the rules that govern it do not include a borrowing mechanism. You cannot take out a loan against your HSA balance, and you cannot use your HSA as collateral for a loan elsewhere. If you need cash and you are thinking about your HSA, you have two actual options: withdraw money (which has tax and penalty consequences depending on what you use it for), or leave the account untouched and find money another way.

The confusion usually comes from the fact that an HSA feels like it should work like a 401(k) or IRA—accounts where borrowing is sometimes possible. It does not. The IRS treats HSAs differently, and borrowing is straightforward not allowed under the rules that define them.

Key Takeaways

  • HSAs have no borrowing feature; you cannot take a loan against the balance or use it as collateral.
  • Withdrawing money for non-medical expenses triggers income tax plus a 20 percent penalty on the withdrawn amount.
  • Withdrawals for may have access to medical expenses are tax-free and penalty-free, even if you take the money out when ready.
  • If you need cash for a non-medical reason, you will need to find it outside your HSA or accept the tax hit.

What happens if you withdraw money for non-medical reasons

If you take money out of your HSA and spend it on something other than a may have access to medical expense, the IRS taxes you on that withdrawal as ordinary income. On top of that, you pay a 20 percent penalty. So if you withdraw $1,000 for a non-medical reason and you are in the 22 percent tax bracket, you owe $1,000 × 0.22 = $220 in income tax, plus $1,000 × 0.20 = $200 in penalty, for a total of $420 in taxes and penalties on a $1,000 withdrawal. You keep $580.

This penalty does not explore after age 65. Once you turn 65, you can withdraw HSA money for any reason without the 20 percent penalty—though you still owe income tax on non-medical withdrawals. That makes an HSA function somewhat like a traditional IRA after 65, but it is not a borrowing feature; it is straightforward a change in the penalty rules.

Before age 65, the penalty is steep enough that most people treat their HSA as off-limits for non-medical spending. If you are considering a withdrawal, run the math first. The tax and penalty bill may be larger than you expect.

may have access to medical expenses you can withdraw for tax-free

If you withdraw HSA money to pay for something the IRS considers a may have access to medical expense, there is no tax and no penalty, regardless of when you take the money out. may have access to expenses include doctor visits, prescription medications, dental work, vision care, mental health treatment, and many medical devices and supplies. You do not have to use the money when ready after you set it aside—you can let it sit in your HSA for years and withdraw it whenever you need it for a may have access to expense.

The catch is that you have to be able to document that the money went to a may have access to expense. Keep receipts and invoices. If the IRS audits your HSA, you will need to show proof that the withdrawal matched a real medical bill. If you cannot document it, the IRS will treat it as a non-medical withdrawal and assess the tax and penalty retroactively.

A common strategy is to pay medical expenses out of pocket using a regular bank account or credit card, keep the receipts, and leave your HSA untouched. Years later, when you need cash, you can withdraw from your HSA and reimburse yourself for those old medical expenses—as long as you have the documentation. This is legal and lets your HSA grow longer before you tap it.

Why you cannot use your HSA as collateral

Some financial institutions offer loans or lines of credit where you pledge an asset as collateral—meaning if you do not repay, the lender can take the asset. You cannot do this with an HSA. The account is held in trust for medical expenses, and the rules prohibit using it as security for a debt. If a lender asks you to pledge your HSA, that lender is either mistaken about HSA rules or is not a legitimate financial institution.

This restriction exists because HSAs are meant to be protected accounts. The money in them is supposed to stay available for medical costs, not be at risk of seizure if you fall behind on another debt. The same protection applies to other retirement and health-related accounts like IRAs and 401(k)s, though the rules vary slightly by account type.

Alternatives if you need cash and have an HSA

If you need money and you have an HSA, consider these routes before touching the account:

  • A personal loan or line of credit from a bank or credit union. These are unsecured, meaning you do not pledge any asset. The interest rate depends on your credit score, but you avoid the HSA penalty.
  • A credit card for the expense itself. If the expense is medical, you can charge it to a card and pay the card off later, leaving your HSA intact.
  • A payment plan with the provider. Many hospitals, dental offices, and medical providers offer payment plans with little or no interest. Ask before you assume you have to pay in full when ready.
  • A 401(k) loan, if you have one. Unlike HSAs, 401(k)s do allow loans in most cases. You borrow from your own balance and repay it with interest. This is not ideal, but it avoids the HSA penalty.

Each of these has its own costs and trade-offs. A personal loan means interest payments. A credit card means interest unless you pay it off quickly. A payment plan may have fees. A 401(k) loan reduces your retirement savings. But all of them preserve your HSA, which is usually the better choice unless the expense is medical and you are confident you will not need that HSA money later.

How HSA withdrawals are reported to the IRS

Your HSA custodian (the bank or financial company that holds the account) reports all withdrawals to the IRS on Form 5498-SA. You receive a copy, and the IRS receives a copy. If you withdraw $5,000 and report only $3,000 as medical expenses on your tax return, the IRS will notice the discrepancy. You will owe tax and penalty on the $2,000 difference, plus interest.

This is not a gray area. The IRS has clear rules about what counts as a may have access to medical expense, and the reporting is automated. If you are unsure whether an expense qualifies, check the IRS publication on HSAs or ask a tax professional before you withdraw. It is easier to avoid the problem than to fix it after the fact.

Frequently Asked Questions

Can I take a loan from my HSA and pay it back later?

No. HSAs do not have a loan feature. You can withdraw money, but if you use it for non-medical reasons, you owe income tax plus a 20 percent penalty. There is no repayment option that makes this a loan.

What if I withdraw from my HSA by mistake?

If you withdraw money and realize it was a mistake, you can redeposit it into your HSA within a certain timeframe (usually 60 days, depending on your plan). Contact your HSA custodian when ready. If you redeposit before the important date, the withdrawal is reversed and there are no tax consequences.

Can I borrow from my HSA after I turn 65?

No, but the penalty changes. After 65, you can withdraw HSA money for any reason without the 20 percent penalty. You still owe income tax on non-medical withdrawals, but the penalty goes away. This is not borrowing; it is a change in the penalty rules.

Does my employer have to let me borrow from my HSA?

Your employer does not control HSA borrowing rules—the IRS does. No employer can create a borrowing feature that the IRS does not allow. If your employer or HSA custodian tells you that you can borrow from your HSA, they are mistaken about the rules.

What counts as a may have access to medical expense for a tax-free withdrawal?

may have access to expenses include doctor visits, prescription drugs, dental and vision care, mental health treatment, medical equipment, and many over-the-counter health products. The IRS publishes a full list in Publication 969. When in doubt, keep the receipt and ask a tax professional before you withdraw.