Key takeaways
- No federal deadline: IRS rules set no time limit on reimbursing yourself for qualified medical expenses, as long as the expense happened after your HSA was established.
- Tax-free compounding: Paying bills out of pocket leaves your HSA invested to grow free of federal tax, as long as it's eventually spent on medical costs. Investment risk and state exceptions (such as California) still apply.
- Keep records: The IRS asks for records showing each withdrawal paid for qualified expenses that weren't reimbursed some other way. An itemized receipt, plus the insurer's EOB when insurance was involved, is the usual way to show it.
The shoebox strategy treats a Health Savings Account (HSA) as a long-term investment account instead of a debit card. You pay today's medical bills with your own money, keep the receipts, and leave the HSA invested. Years or even decades later, you can reimburse yourself for those old bills from the HSA, free of federal tax. The name comes from the shoebox people once kept the receipts in.
Why use the HSA shoebox strategy?
An HSA gets three federal tax breaks: contributions are deductible (or pre-tax, if they come out of your paycheck), growth isn't taxed, and withdrawals for qualified medical expenses aren't taxed either (IRS Publication 969). Some states don't go along with all of this, as covered below.
The strategy doesn't change your deduction; you get that whether you spend the HSA right away or not. What it changes is where your savings grow. Spend the HSA on this year's bills and invest your own cash in a brokerage account, and you owe tax on the dividends every year and on the gains when you sell. Pay the bills yourself and leave the HSA invested, and the same growth isn't taxed, as long as it's eventually spent on medical costs. Growth you take out for anything else is taxed as income.
Here's an example with made-up numbers. You pay a $1,200 dental bill in 2026 out of pocket and leave $1,200 invested in your HSA. By 2040 it has grown to $2,600. You withdraw $1,200 to reimburse yourself for the 2026 bill and owe no federal tax on it, and the other $1,400 stays invested. Had that $1,200 sat in a brokerage account instead, you would have paid tax on the dividends along the way and on the gain when you sold.
Your results will differ. Investments can lose value, HSA fees eat into growth, and for some people the brokerage taxes would be small or nothing at all. The calculator runs the comparison with your own numbers.
| Spend HSA now | Shoebox strategy | |
|---|---|---|
| What you do | Pay medical bills directly from the HSA; keep your own cash free to spend or invest elsewhere. | Pay medical bills out of pocket now and leave the HSA balance invested for years or decades. |
| Taxes on growth | Extra cash invested in a taxable brokerage account can owe tax on dividends each year and on gains when sold. | HSA growth is free of federal tax when eventually withdrawn for qualified medical expenses. |
| Records | Keep each receipt for as long as the IRS can review the return for the year you were reimbursed. | Keep itemized receipts and a running claim total until you withdraw, then for as long as the IRS can review that year's return. |
What are the IRS rules for delayed HSA reimbursement?
There's no deadline. A withdrawal this year can reimburse a qualified expense from any earlier year, or in the IRS's words, “there is no time limit on when the distribution must occur” (IRS Notice 2004-50, Q&A 39). The rules that do apply are about which expenses count.
First, the expense must come after your HSA was established. Bills from before that date never qualify (IRS Notice 2004-2, Q&A 26). State law decides when an HSA counts as established, and your HSA provider can tell you the date.
Second, you can reimburse only what you actually paid. Anything insurance or an FSA covered is out, and so is anything you already deducted as a medical expense on your tax return (IRS Publication 969). When insurance was involved, the insurer's statement (EOB) is what shows your share.
Third, the expense has to be for you, your spouse, or your dependents. IRS Publication 969 lists a few exceptions for people you support but can't claim as a dependent.
How does the HSA shoebox strategy work step by step?
- Contribute to your HSA and invest the balance, if your provider offers investments.
- Pay medical, dental, and vision costs with your own money, not the HSA card.
- Save an itemized receipt for each one, plus the insurance statement (EOB) when insurance was involved. A card slip that shows only a total usually isn't enough.
- Keep a running list of the expenses you haven't reimbursed yet, so nothing gets claimed twice.
- When you want the money, withdraw up to the total of those receipts, and note which receipts the withdrawal covers.
How do withdrawals match up with saved receipts?
Withdrawals don't have to line up with receipts one to one. A single withdrawal can cover a dozen receipts, and you can reimburse part of a large bill now and the rest later. The only limit is the total: what you take out can't be more than your qualified expenses that haven't been reimbursed yet. It doesn't matter which dollars you use, either. Money in an HSA is interchangeable, so there's no need to tie a bill to a particular contribution or investment.
The IRS asks for records that can later show a withdrawal paid for qualified expenses that weren't reimbursed before (IRS Notice 2004-50, Q&A 39). It doesn't say you must name the receipts when you withdraw. That's one more reason to hold on to unreimbursed receipts: if the IRS questions a receipt behind a withdrawal, other unreimbursed qualified expenses may be able to cover the gap. The IRS hasn't addressed this directly, so treat it as a backup, not a plan, and get help from a tax professional if it ever comes up. Any receipt you use this way counts as reimbursed from then on.
What about money beyond your receipts?
Your HSA may grow well past the total of your saved receipts. The extra is still yours, and how it's taxed depends on what you spend it on and how old you are (IRS Publication 969).
New medical costs come out tax-free at any age. They include long-term care insurance premiums, up to an age-based limit, and from age 65, Medicare premiums (but not a Medigap policy). From 2026, they also include direct primary care membership fees, within a monthly limit (26 U.S.C. § 223(d)(2)(C)(v)).
Anything else is taxed as income, plus a 20% additional tax if you're under 65. Once you turn 65 or become disabled, the additional tax goes away, and a non-medical withdrawal is taxed much like one from a traditional IRA or 401(k).
When you die, what happens depends on whom you named as beneficiary. A spouse takes the account over as their own HSA. Anyone else owes income tax on its value in the year you die, reduced by any of your medical bills they pay within one year after your death. If your estate is the beneficiary, the value goes on your final tax return.
What are the risks of the HSA shoebox strategy?
The biggest risk is losing your records. If you can't show what a withdrawal paid for, it can be taxed as income, and before age 65 you'd generally owe the 20% additional tax on top. Keep copies somewhere safe, and back them up.
The strategy also assumes you can pay medical bills without borrowing. Credit card interest usually costs more than an HSA earns.
Finally, the rules aren't the same everywhere, or forever. Some states don't follow the federal HSA rules; California, for example, taxes HSA contributions and earnings (California FTB Schedule CA (540) instructions). And Congress or the IRS could change the federal rules.
How should you keep your HSA receipts?
Don't throw a receipt away just because you've reimbursed yourself for it. Keep it, along with a record of which withdrawal used it, for as long as you have the HSA, plus the period the IRS can review your return after your last withdrawal. A list of what you claimed is a start, but the receipts are what prove each withdrawal paid for real medical costs and that you never claimed the same one twice. Our guide to how long to keep HSA receipts walks through the timing.
A folder of scans and a spreadsheet will do the job for free. The catch is that you have to keep the files, the totals, and the list of what you've claimed up to date yourself, possibly for decades.