You can use an HSA for previous years’ expenses with no federal deadline, as long as the medical cost was incurred after your HSA was established, you were an eligible individual on the date of service, and you have not already deducted or otherwise been reimbursed for that expense. Pay a bill out of pocket today, save the receipt, and you can withdraw the matching amount tax-free next year or twenty years from now. This is sometimes called the “shoebox rule.”
Your HSA Establishment Date Is the Earliest Point
Every retroactive reimbursement hinges on one date: when your HSA was established. State law controls when that happens, and the date usually corresponds to when your account was opened under state trust or custodial rules.1Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans A medical cost you incurred before that date is permanently ineligible for tax-free reimbursement, even if you had qualifying HDHP coverage at the time.
Rollovers help here. If your current HSA was funded by a rollover from an Archer MSA or another HSA, the establishment date reaches back to the date the original account was created.1Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans Moving your balance to a new custodian does not reset the clock and lock out older expenses.
A practical takeaway: if you have HDHP coverage but no HSA yet, opening and funding one now (even with a small deposit) starts the clock. Every qualifying expense you incur after that date is fair game for future reimbursement.
You Had to Be HSA-Eligible on the Date of Service
Beyond the establishment date, you also need to have been an “eligible individual” on the date the medical service was provided. That means you were covered under a High Deductible Health Plan and had no disqualifying coverage at the time.2Office of the Law Revision Counsel. 26 U.S. Code 223 – Health Savings Accounts Disqualifying coverage includes a general-purpose Flexible Spending Account, Medicare enrollment, or most Health Reimbursement Arrangements. A limited-purpose FSA that covers only dental and vision does not disqualify you.
Eligibility is only required on the date the expense was incurred, not the date you take the reimbursement. If you have since switched to a standard PPO or enrolled in Medicare, you can still withdraw HSA funds tax-free for expenses that occurred while you were eligible.3Internal Revenue Service. Instructions for Form 8889 (2025)
HDHP thresholds change every year, so a prior-year expense needed to be paid while you were covered by a plan meeting that year’s minimum deductible and out-of-pocket limits, not today’s numbers.
There Is No Federal Deadline
Federal tax law imposes no deadline, expiration, or statute of limitations on when you take an HSA distribution for a qualified expense. The IRS requires only that the expense was incurred after your HSA was established and that you keep adequate records.[mfm][/mfn]1Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans The reimbursement does not have to happen in the same tax year as the medical service.
Consider what that flexibility is worth. Say you paid $3,000 out of pocket for a surgical procedure in 2024, and your HSA was already open. You could wait until 2040 to withdraw that $3,000 tax-free. During those 16 years, the money stays invested in the HSA, growing through contributions and market returns. When you finally reimburse yourself, the entire $3,000 comes out tax-free because it matches a qualified expense, regardless of how much time has passed.
This is why many savers treat the HSA as a stealth retirement account. Pay current medical costs with outside cash, bank the receipts, and let the balance grow. Each saved receipt is a tax-free withdrawal waiting to be triggered when it makes financial sense.
The Expense Cannot Have Been Deducted or Reimbursed Already
If you claimed a medical expense as an itemized deduction on Schedule A in any prior year, that same expense cannot later be reimbursed tax-free from your HSA. The IRS treats this as a core recordkeeping requirement: you must be able to show that the expense was not previously reimbursed from another source and was not taken as an itemized deduction.1Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans If you take a tax-free HSA distribution for an expense you already deducted, that distribution becomes non-qualified, triggering income tax and potentially a 20% penalty.
The same principle applies to insurance reimbursements. You cannot pull HSA money for the portion of a bill that your health insurer or another plan already paid. Only your true out-of-pocket cost after insurance is eligible.
Before reimbursing yourself for an old expense, confirm you did not deduct it in the year it was incurred. A simple log noting whether each expense was deducted, covered by insurance, or left unreimbursed makes this easy to verify years later.
Records to Keep for Old Expenses
The IRS does not require you to submit receipts when you take a distribution, but you must be able to prove three things if questioned: the distribution paid for a qualified medical expense, the expense was not reimbursed from another source, and the expense was not claimed as an itemized deduction.1Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans
For each expense you plan to reimburse later, save records showing:
- The date of service.
- The provider’s name (doctor, hospital, pharmacy, or other).
- A description of the service, in enough detail to show it was a qualified medical expense.
- The amount paid after insurance, backed by the Explanation of Benefits and the itemized bill or receipt.
- Proof of payment with non-HSA funds, such as a credit card statement, bank record, or canceled check.
The longer you plan to wait, the more digital storage matters. Thermal receipts from pharmacies fade within a few years, so scan or photograph them promptly. A spreadsheet linking each expense to its receipt, the date of any future reimbursement, and the corresponding transfer or check number creates a clear audit trail.
If a provider goes out of business before you seek reimbursement, your Explanation of Benefits, bank statements, and any copies of bills you saved will have to carry the full burden of proof. The IRS has no special procedure for this situation, so the strength of your personal records is all that matters.
How to Take the Withdrawal and Report It
Most HSA custodians offer an online portal where you can request a transfer to a linked checking or savings account. Some also provide checks or debit cards. The mechanics do not change based on how old the receipt is. You take a distribution and keep the matching documentation in your files.
You do not have to reimburse an expense all at once. If you had a $5,000 medical bill but your HSA balance is only $2,000, you can withdraw $2,000 now and reimburse the remaining $3,000 in a later year. Just make sure the total reimbursed for a given expense never exceeds what you actually paid out of pocket.
Every dollar distributed from your HSA during the year must be reported on IRS Form 8889, filed with your tax return. The form separates qualified distributions (used for medical expenses) from other withdrawals.3Internal Revenue Service. Instructions for Form 8889 (2025) You must file Form 8889 in any year your HSA receives contributions or makes distributions, even if you would not otherwise need to file a return.4Internal Revenue Service. About Form 8889, Health Savings Accounts (HSAs)
Early the following year, your custodian issues Form 1099-SA showing the total distributions. Those figures should match what you report on Form 8889.3Internal Revenue Service. Instructions for Form 8889 (2025) Keep the 1099-SA with the matching medical receipts in case of an audit.
Fixing a Withdrawal That Did Not Qualify
If you withdrew HSA funds for an expense you reasonably believed was qualified and later discover it was not, you may be able to return the money. The IRS allows repayment of a mistaken distribution no later than April 15 of the year after you first knew or should have known the distribution was a mistake. When corrected this way, the distribution is not included in your income and the 20% penalty does not apply.5Internal Revenue Service. Notice 2004-50
Your custodian is not required to accept the returned funds. Whether they allow mistaken distribution returns depends on the terms of your account agreement.5Internal Revenue Service. Notice 2004-50 If yours declines, the withdrawal stands as a non-qualified distribution and will be subject to income tax and potentially the additional penalty.
The One Deadline That Does Apply: After Death
The no-deadline rule is a lifetime rule. Once the account holder dies, the treatment shifts and depends on who the beneficiary is.
If a surviving spouse is the named beneficiary, the HSA simply becomes the spouse’s own HSA. The spouse can keep using it for their own qualified medical expenses going forward, with no immediate tax consequences.1Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans
If anyone else inherits the HSA (a child, a sibling, or the estate), the account stops being an HSA on the date of death. The fair market value becomes taxable income to the beneficiary in the year the account holder died. A non-spouse beneficiary can reduce that taxable amount by paying the decedent’s qualified medical expenses within one year of the date of death.2Office of the Law Revision Counsel. 26 U.S. Code 223 – Health Savings Accounts If the estate is the beneficiary, the account value is included on the decedent’s final income tax return instead.
That 12-month window is a sharp departure from the unlimited timeline available during the account holder’s lifetime. A large stack of unreimbursed receipts loses much of its value if it is not acted on quickly after death. Anyone using the shoebox strategy should give some thought to how a beneficiary will find and process those records.