If you pulled money out of your Health Savings Account for what turned out to be a non-medical expense, or your insurance later reimbursed a bill you already paid from the account, you can return the funds and avoid income tax and the 20% penalty by treating the withdrawal as an HSA mistaken distribution under IRS Notice 2004-50. The correction only works if the withdrawal was a genuine mistake of fact, your custodian is willing to accept the return, and you repay the money by April 15 of the year after you discovered the error.1Internal Revenue Service. IRS Notice 2004-50 – Health Savings Accounts
What Qualifies as a Mistake of Fact
The IRS does not let you unwind any HSA withdrawal you regret. The distribution must have resulted from a “mistake of fact due to reasonable cause,” meaning you were wrong about something factual at the moment you took the money.1Internal Revenue Service. IRS Notice 2004-50 – Health Savings Accounts
The classic example is paying a medical bill from your HSA and then learning your insurance covered the charge, leaving you with a duplicate payment. Another common one: you use the HSA debit card for something you reasonably believed was a qualified medical expense, and the charge turns out to be ineligible. Swiping the wrong card at a grocery store lands in the same category.
What doesn’t qualify is a change of heart or a misunderstanding of the tax rules themselves. Deciding after the fact that you’d rather have paid out of pocket doesn’t count. Neither does using HSA funds for cosmetic surgery on the belief that it qualified. That’s a mistake of law, and the IRS treats it differently from a mistake of fact.
Ask Your Custodian Before You Do Anything Else
Your HSA custodian is not required to accept the return of a mistaken distribution. Notice 2004-50, Q&A 76 leaves that decision entirely to the custodian’s internal policy.1Internal Revenue Service. IRS Notice 2004-50 – Health Savings Accounts
Call before you gather paperwork or move any money. Some larger custodians have a dedicated “Mistaken Distribution Request” form and a routine process. Others don’t offer the option at all. If your custodian refuses, the withdrawal will be treated as taxable income, and finding that out on the front end saves you from a correction that was never going to go through.
The April 15 Deadline
You must return the funds no later than April 15 following the first year you knew or should have known the distribution was a mistake.1Internal Revenue Service. IRS Notice 2004-50 – Health Savings Accounts The clock starts when you discover the error, not when you took the money out.
Say you withdrew $800 from your HSA in March 2025 for a medical bill, and your insurance reprocessed the claim in October 2025 and refunded you. You now know the HSA distribution was a mistake, so your deadline to return the $800 is April 15, 2026. If you didn’t discover the reimbursement until February 2026, the deadline shifts to April 15, 2027.
Filing extensions do not extend this window. Even if you extend your tax return to October, the repayment deadline still closes on April 15.2Internal Revenue Service. Instructions for Forms 1099-SA and 5498-SA
How to Make the Return
Once your custodian confirms it will accept the correction, the mechanics are simple. Many custodians allow electronic transfers through their online portal with a specific transaction type for corrections. If no online option exists, mail a check with your HSA account number and a note identifying the deposit as a mistaken distribution repayment.
The coding matters more than the transfer method. The returned money has to be recorded as a mistaken distribution repayment, not a regular contribution. If the custodian logs it as a standard deposit, the amount eats into your annual contribution limit, and pushing yourself over that limit triggers a 6% excise tax on the excess for every year it stays in the account.3Office of the Law Revision Counsel. 26 USC 4973 – Tax on Excess Contributions to Certain Tax-Favored Accounts and Annuities
Verify the transaction within about ten business days. Your confirmation should show the deposit classified as a return of mistaken distribution. If it doesn’t, call the custodian’s compliance department and get the coding fixed before year-end reporting goes to the IRS.
Documentation You’ll Need
Notice 2004-50 requires “clear and convincing evidence” that the withdrawal was a genuine mistake. That’s a higher bar than a plausible story, and you should build the paper trail before you initiate the return.
- The HSA transaction record or bank statement showing the date, amount, and recipient of the original withdrawal.
- An insurance explanation of benefits showing later coverage, a corrected provider bill, or similar proof that you paid based on wrong information.
- The custodian’s correction form, typically titled something like “Mistaken Distribution Request,” which asks you to certify the withdrawal meets the IRS definition and identify the exact amount and tax year.
- A short written explanation of what happened. Some custodians require it; if yours doesn’t, keep one on file anyway.
Identifying the tax year of the original distribution correctly is important. The custodian needs to know which reporting period to adjust, and a mismatch between your tax return and the custodian’s forms can trigger an IRS notice on its own.
Keep everything for at least three years after filing the return that reflects the correction, which lines up with the standard IRS audit window. If you claimed the correction on an amended return, count three years from the amendment date instead.
How the Correction Shows Up on Your Tax Forms
Three forms move when you fix a mistaken distribution, and they should all line up before you file.
Form 1099-SA
Your custodian reports HSA distributions on Form 1099-SA. If you repay the mistaken distribution before the custodian files the form, the withdrawal should not appear on it at all. If the form was already filed, the custodian must issue a corrected 1099-SA removing the mistaken amount once it learns of the repayment.2Internal Revenue Service. Instructions for Forms 1099-SA and 5498-SA A properly corrected 1099-SA reads as though the mistaken withdrawal never happened.
Form 5498-SA
Form 5498-SA reports your year-end balance and contributions. The custodian should not treat the mistaken distribution repayment as a contribution.2Internal Revenue Service. Instructions for Forms 1099-SA and 5498-SA The repayment restores your balance without touching your annual contribution limit. If your 5498-SA shows an inflated contribution figure that includes the returned amount, get the custodian to correct it before the form goes to the IRS.
Form 8889
You file Form 8889 with your personal return to report HSA activity. Line 14a captures total distributions from your 1099-SA, line 15 reports the portion used for qualified medical expenses, the difference flows to line 16 as taxable, and line 17b calculates the 20% additional tax. If the 1099-SA was properly corrected, the mistaken distribution shouldn’t appear on Form 8889 at all. The Form 8889 instructions acknowledge mistaken distributions but don’t provide a dedicated line, pointing back to Notice 2004-50, Q&A 37 and 76.4Internal Revenue Service. Instructions for Form 8889
Cross-check all three forms against your own records before filing. If your 1099-SA still shows the mistaken distribution but you’ve already repaid it, Form 8889 will overstate your taxable distributions and calculate a 20% penalty that shouldn’t apply. Catching the mismatch before you file is far easier than untangling an IRS notice later.
If You Already Filed Your Tax Return
Discovering the mistake after filing complicates things. You may need to file an amended return on Form 1040-X to remove the distribution from taxable income and reverse any 20% penalty you paid. The Form 8889 instructions describe a related amendment process for excess employer contributions but don’t spell out the mistaken distribution version in detail.4Internal Revenue Service. Instructions for Form 8889 Given how easy it is to introduce new errors while fixing the original one, working with a tax professional on the amendment is usually worth the cost.
What Happens If You Miss the Deadline
Miss April 15 and the distribution becomes permanent. The withdrawn amount is included in your gross income for the year of the distribution, and you owe an additional 20% tax on top of your regular income tax rate.5Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts On an $800 distribution, that’s $160 in penalty alone before your marginal income tax rate is applied.
Three situations waive the 20% penalty even when funds weren’t used for qualified medical expenses: distributions made after you turn 65, after you become disabled, or after death. Income tax still applies to the amount, but the penalty drops away.5Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts