Complete guide

The HSA shoebox strategy: the complete guide

Pay medical bills out of pocket today, leave your HSA invested, and reimburse yourself tax-free years or decades later. Here's how it works, what the IRS requires, and how to do it without losing a single receipt.

On this page
  1. What is the HSA shoebox strategy?
  2. The IRS rule that makes it work
  3. Why waiting can be worth thousands
  4. The records you need to keep
  5. How to run the strategy, step by step
  6. Risks and tradeoffs
  7. What happens after 65?
  8. How SnapHSA keeps your shoebox audit-ready
  9. FAQ

What is the HSA shoebox strategy?

A health savings account (HSA) is the only account in the US tax code with three tax breaks: contributions go in pre-tax (or are deductible), investments grow tax-free, and withdrawals for qualified medical expenses come out tax-free.

The shoebox strategy squeezes the most out of the middle break. Instead of using your HSA to pay a doctor's bill today, you pay it with regular money, save the receipt, and leave the HSA invested. Years later, you can withdraw the amount of that old bill tax-free, while the growth it earned in the meantime stays in your HSA.

The name comes from the shoebox people used to keep their paper receipts in. The strategy only works if you can prove every expense when you finally reimburse yourself, which is exactly where most people get stuck.

The IRS rule that makes it work

There is no deadline to reimburse yourself from an HSA. The IRS addressed this in Notice 2004-50, Q&A-39: you can take a tax-free distribution in a later year for qualified medical expenses from an earlier year, as long as the expenses were incurred after your HSA was established.

Three conditions must hold for every expense you reimburse later (see Publication 969):

  • It happened after your HSA was opened. Expenses from before the account existed don't qualify, even if you were already on a high-deductible plan.
  • It hasn't been paid or reimbursed from another source, such as insurance, an FSA, or a previous HSA withdrawal.
  • You didn't deduct it as an itemized medical deduction on your tax return.

When you take the reimbursement, you report it on Form 8889 for the year you take the money out, not the year of the expense.

The rule rests on the statute itself: 26 U.S.C. § 223(f) makes HSA distributions tax-free when they pay qualified medical expenses, and it sets no time limit between the expense and the withdrawal.

Why waiting can be worth thousands

Suppose you pay a $1,000 medical bill out of pocket and leave $1,000 invested in your HSA instead. At a hypothetical 7% average annual return, that $1,000 grows to about $3,870 after 20 years. You can still withdraw the original $1,000 tax-free at any point by matching it to the saved receipt. The other $2,870 of growth stays in the account, available for future medical costs tax-free.

Do that every year with your out-of-pocket medical costs and the difference compounds. A family spending $3,000 a year out of pocket and leaving it invested for 20 years at 7% would have roughly $123,000 in the HSA, of which $60,000 is reimbursable tax-free at any time from saved receipts.

Returns aren't guaranteed and markets go down as well as up. Run your own numbers with the HSA shoebox calculator.

The records you need to keep

The IRS doesn't ask for receipts when you withdraw. Your HSA custodian doesn't either. But if your return is ever audited, Publication 969 says you must be able to show that each distribution paid for qualified medical expenses that weren't reimbursed elsewhere or deducted.

For each expense, keep an itemized receipt or Explanation of Benefits (EOB) that shows:

  • Who provided the care or sold the item
  • The date of service or purchase
  • What it was: the treatment, service or product
  • The amount you personally paid

Keep these records until at least three years after you file the return for the year you finally reimburse yourself. With the shoebox strategy, that can mean holding a receipt for 20 years or more. Read the guide to audit-proof HSA receipts for the details, or print the HSA audit-ready checklist.

How to run the strategy, step by step

  1. Open and fund your HSA. You need HSA-eligible coverage to contribute. See the HSA contribution limits guide for this year's maximums.
  2. Invest the balance. Many custodians require a cash minimum before you can invest; the rest can go into low-cost funds. Compare options in our guide to switching HSA providers.
  3. Pay medical bills with regular money. A rewards credit card or checking account works; just make sure the payment can be matched to an itemized receipt.
  4. Capture every receipt the day you get it. Thermal paper fades in a few years. Snap it, save the EOB, and record who it was for.
  5. Track what's reimbursable. Keep a running total of expenses you haven't reimbursed yet, and mark each one when you do.
  6. Reimburse yourself whenever you choose: next year, in retirement, or during an emergency. Withdraw the exact amount, note which receipts it covers, and report it on Form 8889.

Risks and tradeoffs

  • Market risk. Invested HSA money can lose value. Keep enough cash elsewhere for your deductible.
  • Lost records. One missing receipt means one expense you can't prove. Digital copies with the original image attached solve this.
  • State taxes. California and New Jersey don't follow federal HSA tax treatment. See our HSA state tax guide.
  • Inheritance. A spouse who inherits your HSA can keep it as their own. For anyone else, the account generally becomes taxable to them, so plan to reimburse yourself during your lifetime (Publication 969 covers the rules).
  • Rule changes. Congress could change HSA rules in the future. Good records protect you either way.

What happens after 65?

At 65 the HSA gets even more flexible: non-medical withdrawals are taxed as income but no longer face the 20% additional tax, and you can use the HSA for most Medicare premiums. Your saved receipts still let you take tax-free money at any age. Read our guide to HSAs after 65 and Medicare.

How SnapHSA keeps your shoebox audit-ready

SnapHSA is built for this strategy. Snap a receipt and SmartSnap reads the provider, date, amount and items, flags anything that may not qualify, and attaches the original image to the record. The Reimbursement Bank keeps a running total of what you can still reimburse tax-free, flags expenses dated before your HSA opened, and records each reimbursement, including partial ones. Your records live in SnapHSA, not at your bank, so they move with you if you change HSA providers.

Frequently asked questions

Is there a time limit to reimburse myself from an HSA?

No. Under IRS Notice 2004-50, Q&A-39, you can reimburse qualified medical expenses in a later year, as long as they were incurred after your HSA was established and you keep records.

Can I reimburse expenses from before I opened my HSA?

No. Only expenses incurred after the HSA was established qualify.

Do I send receipts to my HSA provider?

Usually not. Custodians don't check receipts, but the IRS can ask for them if you're audited, so you must keep them yourself.

Adam Hansen
Adam Hansen · Founder of SnapHSA

Adam is a long-term HSA investor and dad of two who uses the shoebox strategy for his own family. He built SnapHSA after his bank's app made tracking receipts a second job. SnapHSA is a record-keeping tool, not a tax advisor; check your situation with a tax professional.

This guide is general information, not tax or legal advice. Rules can change; check your situation with a tax professional.

Track HSA receipts freeGet the app
HIPAA-aligned securityBuilt with HIPAA-aligned security standards: encrypted in transit and at rest, zero data selling, and no bank logins required.SnapHSA isn't a HIPAA covered entity and isn't HIPAA certified (there's no official HIPAA certification). Aligned means we use similar safeguards. How we protect your data →

Like SnapHSA? Review us on Trustpilot