Key takeaways
A qualified medical expense must fall under the diagnosis, cure, mitigation, treatment, or prevention of disease, or affect a structure or function of the body.
Form 1099-SA only reports your gross HSA distributions to the IRS; it does not prove your withdrawals were for qualified medical expenses.
You reconcile your shoebox receipts on Form 8889 Line 15, ensuring your documented expenses match or exceed your total distributions to avoid a 20% additional tax.
The CARES Act restored over-the-counter medicines to qualified status for amounts paid after December 31, 2019, but you must keep itemized receipts.
You can reimburse yourself years later for past qualified medical expenses, but you must retain the itemized receipts for the entire deferral period.
Under IRS Section 213 d qualified medical expenses rules, a qualified medical expense is any cost for the diagnosis, cure, mitigation, treatment, or prevention of disease, or for affecting any structure or function of the body, plus premiums in limited cases. For an HSA shoebox strategist, what matters is how that definition maps onto Form 1099-SA, Form 8889, and your custodian's transaction codes.
What does IRS Section 213(d) actually say counts as a qualified medical expense?
The statute defines qualified medical expenses as amounts paid for the diagnosis, cure, mitigation, treatment, or prevention of disease, or for affecting any structure or function of the body (26 U.S.C. § 213(d)). It then lists categories: medical care, prescription drugs, long-term care, and insurance premiums under limited conditions.
The 'diagnosis, cure, mitigation, treatment, or prevention' test
Five verbs, and everything in your expense log has to trace back to one of them. That test is why aspirin and band-aids bought at Walgreens qualify while general wellness purchases do not, and why your grocery-store incidentals are the hardest line item to capture.
Amounts paid, not merely owed
The statute counts what you paid, not what you were billed. For a shoebox strategist deferring reimbursement, the payment date on each itemized receipt is the date that matters years later, which is exactly what a system like SnapHSA is built to preserve.
Which 213(d) categories cover the expenses HSA owners actually pay?
The statutory list breaks into a handful of buckets that map cleanly onto transactions a family HSA sees in a normal year. Doctor visits, specialist copays, and lab work fall under "medical care" as 213(d) defines it. Prescription drugs count, as do insulin and prescribed treatments. Dental and vision get their own explicit mention, which matters because they are excluded from regular health insurance anyway.
OTC medicines and the 2020 rule change
The CARES Act restored OTC medicines to qualified status without a prescription, effective for amounts paid after December 31, 2019. That means aspirin, allergy meds, and first-aid supplies are now reimbursable, but only with a receipt that shows the item, not just a card total.
The gray zone: groceries, incidentals, and general-health items
General-health purchases like vitamins, gym memberships, and most food are not qualified, even at a pharmacy. Grocery-store receipts are the hardest case: a single receipt mixing qualified items (bandages) with non-qualified ones (produce) needs line-item treatment to stay audit-proof. If you skip tracking those incidentals, decide that deliberately and document the policy you follow.
How do 1099-SA qualified medical expenses connect to the statute?
When you take money out of your HSA, the custodian files Form 1099-SA: box 1 shows the gross distribution and box 2a shows earnings. That is all the IRS sees. The form records that money left the account, not that it went to anything qualified under Section 213(d).
Why the 1099-SA is a distribution record, not an expense record
Publication 969 puts the burden on you: distributions are tax-free only if you pay them for qualified medical expenses, and you substantiate that on Form 8889 with your own annual total. The custodian never sees your receipts, so the 1099-SA cannot prove a Walgreens copay was qualified any more than it can prove the receipt's ink still legible.
Practically, this means your expense log, not the 1099-SA, is the audit trail. Reconcile the two each year: every dollar in box 1 should map to a dated, itemized receipt in your log, or be flagged as taxable on Form 8889.
How does Form 8889 turn your qualified medical expenses into tax treatment?
Form 8889 Part II is where your shoebox becomes tax math. Line 15 is where you enter the total qualified medical expenses you paid out of pocket (or reimbursed yourself) during the year, regardless of when the HSA distribution happened. Line 16 carries the amount you're claiming as tax-free for the year.
Line 15 vs line 14a: the reconciliation that matters
Line 14a reports total distributions from your 1099-SA forms. Line 15 is your expense log total for the year. If line 15 is at least as large as line 14b (the taxable portion of distributions), every dollar you pulled out is treated as qualified. This is why the shoebox strategy still works on a delayed-reimbursement schedule: you can reimburse yourself from an old distribution and count the expense in the year you paid it, as long as it was a 213(d) expense and unreimbursed when you claim it.
The 20% additional tax when expenses fall short
If line 14b exceeds line 15, the excess is included as income on line 16 of Form 1040, and Form 8889 Part II line 17b applies the 20% additional tax to that shortfall. If you're 65 or older, the 20% drops away and the amount is simply taxed as income.
How do you reconcile a Fidelity HSA statement against your expense log?
The IRS sees distributions, not receipts. Form 1099-SA reports the gross amount you withdrew, coded by type, and Form 8889 asks you to prove how much was qualified. Your job is tying each statement line to a dated, itemized receipt before those numbers diverge.
Reading custodian transaction codes
Fidelity statements mark HSA distributions with transaction codes: code 1 for a normal distribution, code J for an excess contribution returned to you, and code 4 for a death distribution. Every code 1 line is a withdrawal the IRS will expect you to justify with a qualified medical expense. Filter your statement by those codes and you have the exact population your expense log must cover.
A worked reconciliation example
Say your statement shows a $240 code 1 distribution on March 14. Your log should contain a receipt dated on or near that day, itemized and marked qualified, totaling at least $240. If the receipt says $180, you have $240 of distribution against $180 of documented expenses, and the gap is taxable plus a 20% additional tax on Form 8889 unless you document more. Run this check quarterly, not at filing time, so a missing receipt surfaces while the merchant can still reprint it.
What does the qualified medical expenses deduction have to do with your HSA?
IRS Section 213(d) does two jobs at once: it defines the expenses you can reimburse tax-free from your HSA, and it defines the medical expense deduction for people who itemize on Schedule A. The same statute, but you cannot claim both benefits on the same dollar. An expense reimbursed from your HSA is already tax-free, so it cannot also count toward the itemized deduction. The Form 8889 instructions make this explicit at lines 14a through 17b, where you report qualified expenses paid and then subtract any amount reimbursed or paid by other coverage. For the shoebox strategist, the threshold matters more than the deduction. Expenses you pay out of pocket and never reimburse are the only ones eligible for Schedule A, and only the portion above 7.5% of your AGI counts. Since most deferred-reimbursement households plan to reimburse eventually, the practical answer is simple: the HSA path wins, and your expense log is what keeps it audit-proof.
How long must you keep records, and what makes a receipt audit-proof?
The IRS expects you to substantiate every distribution you report as qualified medical expenses, and under the shoebox strategy that means holding receipts for the full deferral period. If you reimburse yourself 15 years after paying, the receipt from 15 years ago is the evidence. There is no shorter retention shortcut for deferred reimbursement.
What an itemized receipt must contain
An audit-proof receipt identifies the provider or merchant, the date of service or purchase, a description of the service or item, and the amount paid. A card authorization slip or an order confirmation email is not an itemized receipt. Pharmacy printouts that only show a total fail for mixed purchases like groceries plus aspirin, because nothing separates the qualified items from the rest.
Digitizing before the ink fades
Thermal paper is the weak link: the print on a Walgreens or pharmacy receipt can fade within months, well before your deferral horizon ends. Scan or photograph every itemized receipt at the point of payment, before it sits in a wallet or drawer, and store the image with the expense logged. SnapHSA handles this capture and keeps the record under a pay-as-you-go token model, with free manual tracking and no data selling, so the file you build is yours outright.
What does a durable tracking workflow look like for a family HSA?
The four-stage workflow
A durable system has four stages, and the point is that each one takes minutes, not a 30-year tracking project. Capture at the point of sale: photograph the itemized receipt the same day, because thermal paper from pharmacies fades within months and a photo is the only version that survives. Categorize each expense against Section 213(d) the same week, flagging grocery-store incidentals like aspirin separately from office visits so nothing ambiguous sits unreviewed. Reconcile once a year: pull your 1099-SA and confirm the distribution total in box 1 and the code in box 2a (normal distribution) matches what your log implies, per the IRS 1099-SA instructions. Log the reimbursement date and amount for every payout, because that date is what proves an expense was unreimbursed when you later withdraw.
Tool comparison: what each option does and does not do
Run every tool through the same four stages. Tripl, HSA Vault, Steadfast HSA, and Reimbursable all handle capture and storage; check each site for reconciliation features. SnapHSA covers capture, 213(d) categorization, and reimbursement dating with pay-as-you-go tokens and free manual tracking, but its annual 1099-SA reconciliation is manual: you match box 1 yourself. If automated custodian reconciliation is your priority, that is a real gap.
Do state rules change anything? A note on Arizona qualified medical expenses
Federal 213(d) sets the floor, but states add their own layer. Arizona is a useful example: it conforms to the federal definition of qualified medical expenses, so an expense that clears IRC Section 213(d) also clears Arizona's rules. Arizona also excludes HSA contributions, earnings, and distributions from state taxable income, so your Form 8889 numbers flow through without a state adjustment. Not every state does this; California and New Jersey historically taxed HSA earnings because they don't conform. If you move states mid-decade, check whether your new state conforms before assuming your federal log is sufficient for the state return.
FAQ
Do I have to submit receipts to my HSA custodian to prove qualified medical expenses?
No. Your custodian never sees receipts; it files Form 1099-SA reporting only the distribution amount. The substantiation burden falls on you, and you satisfy it on Form 8889 using your own annual total of qualified expenses. Your expense log, not the custodian's paperwork, is the audit trail the IRS expects.
Can I reimburse myself years later for qualified medical expenses I paid out of pocket?
Yes. The shoebox strategy works because the expense counts in the year you paid it, not the year you reimburse yourself. As long as the expense was qualified under 213(d) and remained unreimbursed when you withdraw, the payment date on the itemized receipt is what matters. Keep that receipt for the full deferral period.
What happens on Form 8889 if my qualified medical expenses are less than my HSA distributions?
The shortfall becomes taxable. If line 14b exceeds line 15, the excess is included as income on Form 1040, and line 17b applies an additional 20% tax to it. Once you reach 65, the 20% penalty drops away and the excess is simply taxed as ordinary income.
Are over-the-counter medicines like aspirin and band-aids qualified medical expenses under 213(d)?
Yes. The CARES Act restored OTC medicines to qualified status for amounts paid after December 31, 2019, with no prescription required. Aspirin, allergy meds, and first-aid supplies all qualify. The catch is documentation: you need a receipt showing the specific items, not just a card total.
How do I know if a Fidelity HSA distribution was for qualified medical expenses?
Check the transaction code on your statement. Code 1 marks a normal distribution, and every code 1 line is a withdrawal the IRS expects you to justify with a qualified expense. Filter your statement by that code, then match each line to a dated, itemized receipt in your log totaling at least the distribution amount.



