What Happens If You Use HSA for Non-Medical?

If you use your HSA for non-medical expenses, you’ll owe income tax on the amount you withdrew plus a 20% penalty tax. That combination can eat up a third or more of the money, depending on your tax bracket. The penalty disappears once you turn 65, but the income tax still applies.

The Two Taxes You’ll Pay

When you take money out of your HSA for something other than a qualified medical expense, the IRS treats it as though that money was never in a tax-advantaged account. First, the full withdrawal amount gets added to your gross income for the year, so you’ll pay your regular income tax rate on it. Second, you owe an additional 20% penalty tax on top of that.

Here’s what that looks like in practice. Say you withdraw $2,000 to cover a security deposit on a new apartment. If your income tax rate is 25%, you lose $500 to income tax and another $400 to the 20% penalty. That $2,000 withdrawal nets you just $1,100. Even a small withdrawal stings: pull out $100 for a non-medical purchase at a 25% tax rate, and between the income tax and the penalty, you keep only $55.

You report the non-qualified distribution on Form 8889, which you file with your regular tax return. Your HSA custodian will send you a Form 1099-SA showing all distributions for the year, and the IRS gets a copy too. There’s no way to quietly skip this step.

What Counts as Non-Medical

The IRS defines qualified medical expenses under Section 213(d) of the tax code. That covers a wide range of costs: doctor visits, prescriptions, dental work, vision care, mental health services, and many over-the-counter items like bandages and sunscreen. But anything outside that list is a non-qualified expense. Groceries, rent, clothing, gym memberships, cosmetic procedures, and general wellness products that aren’t treating a specific condition all fall on the wrong side of the line.

The distinction matters even for purchases that feel health-related. A gym membership, for example, doesn’t qualify unless it’s prescribed by a doctor to treat a diagnosed condition. Vitamins and supplements generally don’t qualify either. If you’re unsure, the safest approach is to check IRS Publication 502, which lists eligible expenses in detail, before swiping your HSA card.

What Changes After Age 65

Once you turn 65, the 20% penalty goes away entirely. You can use HSA funds for anything, groceries, travel, a new roof, without facing that extra tax. The same exception applies if you become disabled at any age.

There’s a catch, though. The withdrawal still counts as taxable income. So after 65, your HSA essentially works like a traditional IRA for non-medical spending: you pay income tax but no penalty. If you use the money for actual medical expenses, it remains completely tax-free at any age. That’s why many financial planners suggest keeping HSA funds earmarked for healthcare costs in retirement, where they retain their full triple-tax advantage.

How to Fix a Mistake

If you accidentally used your HSA for a non-medical purchase, you have a narrow window to correct it. The IRS allows you to repay a mistaken distribution back into your HSA as long as the error was due to “a mistake of fact due to reasonable cause.” The deadline to return the money is April 15 of the year after you first knew (or should have known) the distribution was a mistake.

This provision is designed for genuine errors, like a pharmacy charge that turned out not to be eligible, or a reimbursement you received after already paying with HSA funds. It’s not a loophole for borrowing from your HSA and returning the money later. If the IRS determines the withdrawal was intentional, the repayment won’t erase the tax consequences.

The Hidden Cost: Lost Growth

Beyond the immediate tax hit, pulling money from your HSA for non-medical expenses costs you future investment growth. HSA balances can be invested in mutual funds and other assets, and any gains grow completely tax-free as long as they’re eventually spent on medical expenses. Every dollar you withdraw early is a dollar that stops compounding.

This matters more than it might seem. Healthcare costs in retirement are substantial, and an HSA is one of the most tax-efficient ways to prepare for them. Money inside the account grows tax-free, comes out tax-free for medical costs, and went in tax-free in the first place. No other account offers all three benefits. Withdrawing $2,000 today for a non-medical expense doesn’t just cost you the $700 or $900 in taxes and penalties. It also costs you the decades of growth that $2,000 could have generated.

State Taxes Add Another Layer

Most states follow the federal tax treatment of HSAs, but California and New Jersey do not recognize HSA tax benefits at the state level. If you live in either state, your HSA contributions were already taxed as state income, and distributions may trigger additional state tax consequences regardless of whether the expense is medical. Residents of these states face a slightly different calculus when deciding how to use their HSA funds, since the state-level tax advantage was never there to begin with.

Keeping Records to Protect Yourself

Your HSA provider won’t verify whether each purchase is medically qualified at the time of the transaction. That responsibility falls on you. If the IRS audits your return and you can’t prove a distribution was for a qualified medical expense, the amount gets reclassified as non-qualified, and you’ll owe the income tax plus the 20% penalty.

Save receipts for every HSA purchase. Keep them for at least three years after filing the tax return that covers the distribution, since that’s the standard IRS audit window. Some people hold receipts even longer, particularly if they’re using a strategy of paying medical costs out of pocket now and reimbursing themselves from the HSA years later. In that case, the receipt needs to survive until you actually take the distribution, plus three more years after that.