Editorial process
Money walkthrough

HSA Qualified Expenses Explained: What Counts

This explainer covers HSA qualified expenses: what counts, common over-the-counter items, what does not qualify, and how to document a purchase properly.

Short answer: HSA qualified expenses are generally costs that diagnose, treat, mitigate, or prevent a specific medical condition. That covers most doctor, dental, and vision care, prescriptions, many medical supplies, and a broad list of over-the-counter items. It generally excludes cosmetic procedures, general-wellness purchases, and most insurance premiums. The IRS sets and updates the exact list, so confirm an unfamiliar item against current guidance and keep a receipt either way.

A spiral notebook headed essential expenses beside a calculator and a navy bank card with a chip, on a light wood surface
What's in this walkthrough
  1. What “qualified medical expense” actually means
  2. The organizing principle, restated for edge cases
  3. Core categories that almost always qualify
  4. Dental and vision: where the list runs wider than expected
  5. Prescription drugs and insulin
  6. Over-the-counter items: what changed and what didn’t
  7. Menstrual care products are now qualified
  8. Items that need a letter of medical necessity
  9. What is not a qualified expense, in general terms
  10. Cosmetic procedures and general-wellness purchases
  11. Gym memberships and fitness equipment: the narrow exception
  12. Health insurance premiums: mostly excluded, with exceptions
  13. Can you pay a dependent’s expenses from your HSA
  14. How this list compares with FSA-eligible expenses
  15. Using HSA funds in retirement: when the rules loosen
  16. A quick gut check for an item you haven’t bought with the account before
  17. A mechanism note on state tax treatment
  18. Two ways to use HSA funds: debit card vs reimbursement
  19. Why the pay-and-reimburse strategy can be a long-term play
  20. Recordkeeping: what to keep and for how long
  21. What happens if you spend HSA money on something not qualified
  22. How a letter of medical necessity actually works, step by step
  23. Illustrative chart: a year of qualified HSA spending by category
  24. Illustrative chart: what saved receipts are worth over time
  25. Common mistakes with HSA qualified expenses
  26. A worked example: one household’s receipt strategy
  27. The bottom line

Short answer: HSA qualified expenses are generally costs that diagnose, treat, mitigate, or prevent a specific medical condition. That covers most doctor, dental, and vision care, prescriptions, many medical supplies, and a broad list of over-the-counter items. It generally excludes cosmetic procedures, general-wellness purchases, and most insurance premiums. The IRS sets and updates the exact list, so confirm an unfamiliar item against current guidance and keep a receipt either way.

HSA qualified expenses explained simply: the account can pay for a wide range of real medical costs tax-free, and the list is broader than most people assume, but it is governed by a principle rather than a fixed inventory, which is exactly where confusion tends to creep in. Knowing the organizing principle behind the list, rather than trying to memorize every item on it, is what lets you confidently judge a purchase you have never seen discussed before.

This explainer covers what makes an expense qualify, the broad categories that almost always count, the over-the-counter items that now qualify without a prescription, what generally does not qualify and why, how a letter of medical necessity can bring a gray-area item into bounds, the two practical ways to spend HSA funds, and why careful recordkeeping protects the account’s tax-free treatment. For the account itself, our explainer on what an HSA is covers eligibility and the triple tax advantage, and our explainer on HSA contribution limits covers how much can go in each year. Every dollar figure in this piece that is not an official rule is a labeled illustration; try your own numbers in the calculator as you read.

Key takeaways

  • A qualified medical expense generally diagnoses, treats, mitigates, or prevents a specific medical condition, which is the test to apply to anything not explicitly listed here.
  • Core categories like doctor visits, dental and vision care, prescriptions, and many medical supplies and devices almost always qualify.
  • Many over-the-counter items, including menstrual care products, now qualify without a prescription, though the exact list is set by the IRS and can change.
  • Cosmetic procedures, general-wellness purchases, and most insurance premiums generally do not qualify, with a short list of specific premium exceptions.
  • Keeping receipts and, for gray-area items, a letter of medical necessity protects the account's tax-free treatment if a withdrawal is ever questioned.

What “qualified medical expense” actually means

An HSA qualified expense is not defined by a single master list you can read top to bottom and check off. It is defined by a principle, applied item by item: generally, the cost has to diagnose, treat, mitigate, or prevent a specific medical condition. The IRS publishes extensive guidance and examples, commonly referenced as the publication on medical and dental expenses, but new products and situations come up faster than any list can be rewritten, so the principle is what actually does the work day to day.

This is why two purchases that look superficially similar can land on opposite sides of the line. A prescribed knee brace after a diagnosed injury treats a specific condition and generally qualifies; a knee brace bought preventively for recreational sports, with no diagnosis behind it, generally does not, because there is no specific condition it is addressing. Holding the principle in mind, rather than hunting for your exact item on a list, is the fastest way to judge an unfamiliar purchase correctly.

The organizing principle, restated for edge cases

Three words do most of the work: specific, condition, and treat (used broadly to include mitigate and prevent). “Specific” rules out general-health purchases that would benefit anyone, diagnosed or not. “Condition” generally means an actual medical diagnosis or a well-established preventive purpose, not a vague wellness goal. “Treat” covers a wide range of legitimate responses to that condition, from a prescription to a medical device to, in some cases, a recommended lifestyle program.

Applying the test to a gray-area item usually means asking: is there a specific diagnosis or well-established preventive purpose behind this, and does the product or service address it directly? If yes, it is likely to qualify, often with documentation to support it. If the honest answer is that the purchase would benefit almost anyone regardless of a diagnosis, like a general vitamin or a basic gym membership, it is likely to fall outside the qualified list, barring a specific doctor-documented exception covered further on.

Core categories that almost always qualify

A large share of everyday healthcare spending clears the bar easily. Doctor visits, specialist consultations, and hospital care are core qualified expenses. Dental care, including cleanings, fillings, and more involved procedures tied to oral health, generally qualifies. Vision care, including eye exams, prescription glasses, and contact lenses, is a reliable category. Prescription medications are qualified as a rule, and medical devices or supplies prescribed or clearly tied to treating a diagnosed condition, such as crutches, blood sugar test strips, or a CPAP machine, generally qualify as well.

Mental health care is an often-overlooked category that generally qualifies on the same basis as physical health care: therapy, psychiatric visits, and related prescribed treatment are treated as qualified medical expenses under the same diagnose-treat-mitigate-prevent principle. Because these core categories make up the bulk of most households’ real medical spending, they are also the safest place to use HSA funds with the least ambiguity.

Dental and vision: where the list runs wider than expected

Dental and vision care deserve their own mention because the qualified list inside each category tends to be broader than people assume. Beyond routine cleanings and eye exams, qualified dental expenses commonly include orthodontics, dentures, and other corrective procedures, while qualified vision expenses commonly include prescription sunglasses, contact lens solution, and in many cases laser vision correction. Cosmetic dental work done purely for appearance, without a functional or health basis, is the usual exception that falls outside the list.

Because dental and vision costs are frequently predictable and recurring, some households deliberately plan around using HSA funds for these categories specifically, timing elective-but-qualified procedures like orthodontics around when the HSA balance can comfortably absorb them. Our HSA vs FSA comparison covers how a limited-purpose FSA restricted to dental and vision can sometimes be paired with an HSA for exactly this kind of planning.

A white piggy bank beside two payment cards, folded cash, and four stacks of coins increasing in size on a light wood surface
HSA funds can move through several channels, a debit card, a reimbursement, or cash paid out of pocket and claimed back later, but every channel needs the same qualified-expense test applied.

Prescription drugs and insulin

Prescription medications are one of the most straightforward qualified categories, covering everything from short-term antibiotics to long-term maintenance medications for a chronic condition. Insulin is treated as a qualified expense whether or not it is technically obtained by prescription in your state, reflecting its role in treating a well-established medical condition. Specialty and high-cost medications are qualified on the same basis as any other prescription; cost alone does not change the qualification analysis, only whether the expense is tied to treating a diagnosed condition.

One practical note: a prescription does not need to come with a lengthy paper trail to count as documentation. A pharmacy receipt that identifies the medication is generally sufficient, which is one reason pharmacy purchases tend to be among the easiest HSA expenses to substantiate later if your records are ever reviewed.

Over-the-counter items: what changed and what didn’t

For years, many over-the-counter products required a doctor’s prescription to be HSA-eligible, which surprised people trying to use an HSA debit card at a pharmacy counter. That prescription requirement for most over-the-counter medicines has since been removed, meaning items like pain relievers, allergy medication, cold and flu remedies, and similar everyday health products are now commonly qualified expenses without a prescription attached.

What did not change is the underlying principle: an over-the-counter product still has to serve a genuine medical purpose rather than general wellness to qualify. A pain reliever treating an actual ailment clears the bar; a general vitamin taken for broad wellness, with no specific condition behind it, typically does not. Because the specific list of qualifying over-the-counter categories is set by the IRS and can be revised, confirm an unfamiliar product against current guidance if you are using HSA funds for something you have not purchased with the account before.

Menstrual care products are now qualified

A specific and relatively recent clarification worth calling out on its own: menstrual care products, including items like pads, tampons, and similar supplies, are treated as qualified medical expenses. This was a meaningful expansion of the eligible list and is still a detail many HSA holders are not aware of, so it is worth stating plainly rather than burying it inside a longer list. As with the broader over-the-counter category, confirm the current treatment of any specific product type against current IRS guidance if you are ever unsure.

Items that need a letter of medical necessity

Some purchases sit in a genuine gray area: they would not automatically qualify for a general population, but they can qualify for a specific person with a specific diagnosed condition. A letter of medical necessity, a note from a licensed healthcare provider confirming that a particular item or service treats, mitigates, or prevents a specific diagnosed condition for a specific patient, is the mechanism that brings these items into qualified territory.

Common examples include certain supplements prescribed for a diagnosed deficiency, specialized equipment tied to a specific diagnosis, home modifications made for a documented medical need, and, as noted earlier, a fitness or weight-management program specifically prescribed to treat a diagnosed condition rather than pursued for general health. The letter does not retroactively qualify an expense you have already decided to make on a hunch; it is meant to document a genuine medical recommendation, so it is worth obtaining before the purchase, or very soon after, while the context is fresh and well documented.

What is not a qualified expense, in general terms

Knowing what falls outside the qualified list matters as much as knowing what falls inside it, because a non-qualified withdrawal loses the HSA’s tax advantage. In general, expenses that serve overall wellness or personal comfort rather than treating a specific medical condition fall outside the list. That commonly includes purely cosmetic procedures done for appearance rather than function, everyday toiletries with no medical purpose, and general nutritional supplements taken without a documented deficiency or diagnosis behind them.

The pattern across every non-qualified category is the same one from the organizing principle: if the purchase would plausibly benefit nearly anyone regardless of a specific diagnosis, it tends to sit outside the qualified list, no matter how closely connected to “health” it might feel in a loose sense.

Cosmetic procedures and general-wellness purchases

Cosmetic procedures done purely for appearance, without a functional or medically necessary basis, are a clear and consistent exclusion from the qualified list. A procedure that would otherwise be cosmetic can sometimes qualify if it corrects a condition arising from injury, disease, or a congenital defect, which is another place a letter of medical necessity, or supporting medical records, becomes the deciding factor rather than the procedure’s name alone.

General-wellness purchases, from nutritional supplements with no diagnosed deficiency to wellness retreats and most self-improvement programs, follow the same logic. They may genuinely support overall health in a broad sense, but without a specific diagnosed condition behind them, they typically do not meet the qualified-expense test. This is one of the more common sources of an accidental non-qualified withdrawal, because these purchases often feel health-related even though they fall outside the IRS’s narrower definition.

Gym memberships and fitness equipment: the narrow exception

A general gym membership, taken for overall fitness rather than to treat a diagnosed condition, is a frequently asked-about expense that typically does not qualify. The exception is narrow but real: if a physician specifically recommends a fitness program, piece of equipment, or treatment to address a diagnosed condition, such as a documented cardiac rehabilitation program or physical therapy equipment tied to an injury, that specific recommended item can qualify, usually supported by a letter of medical necessity.

The distinction is between a program pursued for general fitness, which does not qualify, and a specific, physician-recommended intervention tied to a diagnosed condition, which can. Because this is one of the more commonly misunderstood areas, do not assume a membership or piece of equipment qualifies just because a provider mentioned exercise would help in general terms; the documentation needs to tie the specific item to a specific diagnosis.

Four sealed glass jars with blank white labels on a wooden shelf, holding progressively larger amounts of coins
Sorting a purchase into qualified or not qualified comes down to one test applied consistently: does it diagnose, treat, mitigate, or prevent a specific medical condition.

Health insurance premiums: mostly excluded, with exceptions

As a general rule, HSA funds cannot be used to pay most health insurance premiums, including the kind of individual-market premium many people assume would be a natural fit for the account. This surprises some HSA holders, since the account is health-related by design, but premiums are treated differently from direct medical expenses under the rules.

The recognized exceptions are specific and worth knowing because they come up more often than people expect: certain premiums paid while receiving unemployment compensation, some continuation coverage such as a period of extended employer coverage after a job change, long-term care insurance premiums up to specific limits that vary by age, and, once you reach a qualifying age, certain Medicare premiums. Because these exceptions are narrow and depend on your exact situation, confirm the current treatment with your HSA provider or a tax professional before paying any premium from HSA funds.

Can you pay a dependent’s expenses from your HSA

A feature many HSA holders underuse: you can generally pay for the qualified medical expenses of your spouse and your tax dependents from your HSA, even if they are not covered under your HDHP and do not have an HSA account of their own. The qualifying test, diagnose, treat, mitigate, or prevent a specific condition, applies the same way to a dependent’s expense as it does to your own.

This widens the practical usefulness of a single HSA considerably in a household with several people generating medical costs, and it is worth remembering specifically during open enrollment or when a family member’s medical needs change, since it is easy to assume incorrectly that the account only covers the primary holder.

How this list compares with FSA-eligible expenses

A general health FSA and an HSA share most of the same qualified-expense logic, since both ultimately apply the diagnose-treat-mitigate-prevent principle to the same body of IRS guidance. For everyday spending, doctor visits, dental and vision care, prescriptions, and most over-the-counter items that qualify for an HSA also qualify for a general health FSA, which is why the two accounts are so often confused when people compare them feature by feature.

Where the two diverge is less about which specific items qualify and more about the account rules wrapped around them: an FSA generally follows a use-it-or-lose-it timeline within the plan year, while an HSA carries no such deadline, which is exactly what makes the pay-and-reimburse strategy from earlier an HSA-specific move rather than something an FSA can replicate. Our HSA vs FSA comparison goes deeper on these structural differences, including the limited-purpose FSA that some households pair alongside an HSA specifically for dental and vision spending.

Using HSA funds in retirement: when the rules loosen

Once you reach age 65, the qualified-expense rules loosen in one specific way: you can withdraw HSA funds for any purpose, not just qualified medical expenses, without the additional early-withdrawal penalty that applies to non-medical withdrawals before that age. The qualified-expense test and its tax-free treatment do not disappear at 65, though; a withdrawal still needs to be for a qualified medical expense to come out entirely tax-free. A withdrawal for a non-medical purpose after 65 is simply taxed as ordinary income, without the additional penalty, functioning much like a traditional retirement account withdrawal at that point.

This is part of why many savers treat a well-funded HSA as a flexible piece of their retirement picture: qualified medical expenses, which tend to grow with age, continue to come out tax-free indefinitely, while the account quietly gains the option to function as ordinary retirement income if medical costs end up lower than expected. Our explainer on what an HSA is covers this retirement-account angle in more depth, including how the balance behaves differently before and after 65.

A quick gut check for an item you haven’t bought with the account before

When you are weighing an unfamiliar purchase, a short mental checklist tends to resolve most cases quickly. Ask whether a specific diagnosed condition is behind the purchase, rather than a general wellness goal. Ask whether a licensed provider has recommended this specific item or service, which matters most for anything in a gray area. Ask whether the item would plausibly benefit nearly anyone, diagnosed or not, since that is usually a sign it falls outside the qualified list. And if the answer is still unclear after those three questions, treat it as a case for a letter of medical necessity or a quick confirmation against current IRS guidance rather than a guess either way.

This checklist will not resolve every edge case on its own, since some genuinely do depend on documentation specific to your situation, but it correctly sorts the large majority of everyday purchases without needing to consult a lengthy published list each time.

A mechanism note on state tax treatment

Nearly all of this explainer describes federal tax treatment, which is where the HSA’s qualified-expense rules and tax advantages primarily live. A small number of states do not fully conform to the federal HSA tax treatment, which can affect how contributions, growth, or qualified withdrawals are treated on a state tax return even when the federal treatment is straightforward. This is a mechanism worth knowing exists rather than a rule this explainer can state for every state, since the specifics depend entirely on where you file.

If you live in a state with its own separate tax treatment of HSAs, confirm the details with a state-specific tax professional, particularly if you are relying heavily on the account’s growth or using the pay-and-reimburse strategy across many years, since the federal and state pictures can diverge more over a longer holding period.

Two ways to use HSA funds: debit card vs reimbursement

There are two practical paths for spending HSA money on a qualified expense. The direct path uses an HSA debit card or online bill-pay feature at the point of purchase, which is simple and immediate but requires the balance to be sitting in cash rather than invested. The reimbursement path involves paying for a qualified expense out of pocket, with a regular bank account or card, and later withdrawing an equal amount from the HSA to reimburse yourself, which can happen the same week or, notably, years later.

Both paths are equally valid uses of the account, and the choice mostly comes down to strategy: the direct path is simpler for routine, predictable costs, while the reimbursement path is what makes the delayed-reimbursement strategy covered next possible.

Why the pay-and-reimburse strategy can be a long-term play

Because there is generally no deadline on when you must reimburse yourself for a qualified expense you paid out of pocket, some savers deliberately pay current medical costs from a regular account, keep the receipt, and leave the HSA balance invested and growing instead of tapping it immediately. Years or even decades later, that saver can withdraw an amount from the HSA tax-free to reimburse themselves for the old, documented expense, effectively turning the HSA into a long-horizon, tax-free withdrawal source funded by expenses already paid elsewhere.

This strategy depends entirely on keeping thorough, dated records of every qualified expense you intend to reimburse later, since you need to be able to substantiate the original expense whenever you eventually make the withdrawal. It is a deliberate trade-off, more paperwork discipline in exchange for more years of tax-free compounding, and it is exactly why the next section on recordkeeping matters as much as the expense rules themselves.

Recordkeeping: what to keep and for how long

For any HSA-funded purchase, keep the receipt, invoice, or statement that shows what was purchased, the amount, and the date. For anything paid through the pay-and-reimburse strategy, keep that documentation until you actually make the reimbursing withdrawal, which, as covered above, could be years away, so a simple dedicated folder or scanned-document system tends to work far better than loose paper. For a letter of medical necessity, keep the letter itself alongside the related purchase records, since the letter is what supports the qualification if it is ever questioned.

A practical habit is to review and organize HSA records at the same cadence as other financial housekeeping, such as during an annual or mid-year check. Our financial checkup walkthrough covers this kind of periodic review in a broader context, and folding HSA recordkeeping into that same habit keeps it from becoming a once-a-decade scramble.

A man resting his chin on his hand while reviewing a laptop screen at a kitchen table, a mug beside him
A periodic review of HSA receipts and statements, done a couple of times a year rather than once at tax time, is what makes the reimburse-later strategy and any future audit question easy to handle.

What happens if you spend HSA money on something not qualified

A withdrawal spent on a non-qualified expense loses the HSA’s tax-free treatment on that specific amount. Before a certain age, the amount is generally added to your taxable income for the year and hit with an additional penalty on top of that, making a non-qualified withdrawal meaningfully more expensive than simply paying for the item with after-tax money in the first place. After that age threshold, the additional penalty no longer applies, but the withdrawal is still taxed as ordinary income if it was not for a qualified expense, functioning much like a traditional retirement account withdrawal at that point.

If you realize after the fact that a past withdrawal may not have been for a qualified expense, this is a situation worth discussing with a tax professional rather than guessing at the correction, since the right response depends on your specific tax year and filing status.

How a letter of medical necessity actually works, step by step

Obtaining a letter of medical necessity generally follows a consistent pattern. First, a licensed healthcare provider evaluates and diagnoses the specific condition. Second, the provider documents, in writing, that a specific item, service, or program is being recommended to treat, mitigate, or prevent that specific diagnosed condition, ideally naming the item or program explicitly rather than describing it vaguely. Third, you keep that letter with your HSA records, alongside the receipt for the actual purchase, in case the expense is ever questioned.

The letter works best when it is specific: a letter that says “exercise would benefit this patient’s general health” is far weaker support than one that says “this patient has been diagnosed with [a specific condition] and a membership at a specialized rehabilitation facility is recommended to treat it.” If your provider’s office is unfamiliar with writing these letters for HSA purposes, many HSA providers and benefits administrators offer a template that helps make sure the letter includes what is needed.

Illustrative chart: a year of qualified HSA spending by category

The chart below sketches an illustrative household’s qualified HSA spending across a single year, split by category, purely to show how a typical mix might break down. The dollar amounts are a round, made-up illustration and not a claim about any real household’s costs or any official average.

Illustrative annual HSA spending by category

One household's illustrative split across a year. Dollar amounts are a made-up example, not an average or a claim about typical costs.

Doctor & dental 30% Prescriptions 20% Vision 20% OTC items 15% Other supplies 15%
Doctor and dental visits, about 30% Prescriptions, about 20% Vision care, about 20% Over-the-counter items, about 15% Other qualified supplies, about 15%

The split is illustrative and will look different for every household and every year. The point is the range of categories, not the specific shares, since a genuinely useful HSA spending habit usually touches several of these at once rather than just one.

Illustrative chart: what saved receipts are worth over time

This second chart illustrates the pay-and-reimburse strategy from earlier: an illustrative household pays qualified expenses out of pocket each year, saves the receipts, and leaves the equivalent HSA room invested instead of withdrawing it immediately. The bars show, purely as an illustration, how a running total of saved, reimbursable receipts could stack up if a household consistently keeps a documented but unreimbursed qualified expense each year.

Illustrative running total of saved, unreimbursed qualified expenses

Illustrative pattern only, assuming $1,500 in documented qualified expenses paid out of pocket and saved each year. Not a projection of any real household's costs.

After 5 years$7,500
After 10 years$15,000
After 15 years$22,500
After 20 years$30,000

This running total is simple addition, not investment growth, and it represents documented, reimbursable room, not money sitting anywhere separate. The HSA balance itself, left invested across those same years, is a different and separately growing number.

The two charts tell related but distinct stories: the first shows where a year’s spending tends to go, and the second shows how patiently saved documentation can accumulate into a meaningful pool of future tax-free withdrawal room. Put your own illustrative expense total into the calculator to see your own running total.

Common mistakes with HSA qualified expenses

A handful of mistakes account for most HSA qualification errors. Assuming a product qualifies just because it is sold near the pharmacy counter, without checking whether it serves a specific medical purpose, is common. Forgetting that most insurance premiums do not qualify, and assuming the account can simply pay a monthly premium bill, is another. Skipping documentation for a gray-area purchase, then struggling to reconstruct the medical justification years later, undermines the reimburse-later strategy specifically. Assuming a gym membership qualifies because a doctor made a general comment about exercise, rather than a specific documented recommendation tied to a diagnosis, is a frequent and avoidable one. Finally, losing track of receipts entirely, rather than keeping even a simple running folder, turns an easy habit into a stressful scramble if the account is ever reviewed.

Each of these is avoidable with the same discipline: apply the diagnose-treat-mitigate-prevent test deliberately rather than by instinct, get a letter of medical necessity for anything genuinely gray, and keep records as a habit rather than an afterthought.

A worked example: one household’s receipt strategy

Make the pay-and-reimburse approach concrete with a single illustrative household. Suppose the Alvarez household pays a $600 dental procedure out of pocket in a given year, rather than using their HSA debit card, because they want to keep the HSA balance invested. They save the itemized receipt in a dedicated folder, noting the date and the amount. Over the following years they repeat this pattern with a handful of other qualified expenses, building a running total of documented, unreimbursed qualified costs.

A decade later, needing cash for an unrelated goal, the household withdraws an amount from the HSA equal to their running total of saved receipts, tax-free, because each dollar is backed by a genuinely qualified expense that was never previously reimbursed. The HSA balance itself, left invested that whole time, has also grown separately through its own investment returns. None of the figures here are promises; the structure, pay out of pocket, document thoroughly, reimburse whenever it suits you, is the part worth taking away, and the calculator can model your own running total using your own numbers.

The bottom line

HSA qualified expenses explained at the mechanism level come down to one test applied consistently: does the cost diagnose, treat, mitigate, or prevent a specific medical condition. Core categories like doctor visits, dental and vision care, prescriptions, and a wide range of over-the-counter items clear that test easily. Cosmetic procedures, general-wellness purchases, and most insurance premiums generally do not, though a letter of medical necessity can bring a genuine gray-area item into bounds. Keep receipts for everything, consider the pay-and-reimburse strategy if you can afford to pay current costs out of pocket, and confirm anything unfamiliar against current IRS guidance rather than guessing. Put your own expense categories into the calculator to see how a year of qualified spending, or a decade of saved receipts, adds up for your own household.


This explainer is educational only and is not tax, financial, legal, or medical advice. The definition of a qualified medical expense, the eligible over-the-counter list, letter of medical necessity requirements, insurance premium exceptions, and the tax and penalty treatment of non-qualified withdrawals are all set by the IRS and other authorities and can change over time, so every example, category, and illustrative dollar figure here should be read as a simplified explanation of the underlying principle, never as a current, exhaustive, or guaranteed list. Before using HSA funds for an unfamiliar expense, relying on a letter of medical necessity, or planning a reimburse-later strategy, confirm the current rules and consult a qualified tax professional and, where relevant, your healthcare provider, for guidance built around your specific situation.

Frequently asked questions

What counts as a qualified medical expense for an HSA?

A qualified medical expense is generally one that diagnoses, treats, mitigates, or prevents a specific medical condition, rather than something for general health or personal comfort. In practice that commonly includes doctor and dental visits, hospital care, prescriptions, vision care such as glasses and contacts, and many medical supplies and devices. The exact list is defined and updated by the IRS, so confirm whether a specific item qualifies against current IRS guidance before assuming it does, especially for anything that sits near the line between medical and general wellness.

Can I use my HSA for over-the-counter medicine?

Yes, in most cases. The range of eligible over-the-counter items has broadened over recent years to commonly include products like pain relievers, allergy medicine, and cold and flu remedies, generally without needing a prescription. Menstrual care products are also treated as qualified. Because the exact list and any conditions attached to specific products are set by the IRS and can change, confirm an item against current guidance if you are unsure, and keep the receipt either way.

Can I use my HSA to pay insurance premiums?

Generally no, with a short list of specific exceptions. As a general rule, HSA funds cannot be used for most health insurance premiums, including typical individual market premiums. The recognized exceptions commonly include certain premiums paid while receiving unemployment benefits, some continuation coverage, and specific Medicare premiums once you reach a qualifying age. Because these exceptions are narrow and rule-bound, confirm your specific situation against current IRS guidance before paying a premium from an HSA.

Can I use my HSA for a gym membership?

Generally no, because a gym membership is typically treated as a general-health expense rather than treatment for a specific diagnosed medical condition. There is a narrow exception: if a doctor specifically recommends a program, including certain fitness-related treatment, to treat a diagnosed condition, that specific recommended treatment may qualify, often supported by a letter of medical necessity. A general membership taken for overall fitness, without that specific medical justification, typically does not qualify.

What happens if I use HSA funds for something that is not qualified?

A withdrawal for a non-qualified expense loses the HSA's tax-free treatment. Before a certain age, the amount is generally added to your taxable income and hit with an additional penalty on top. After that age, the penalty no longer applies, but the withdrawal is still taxed as ordinary income if it is not for a qualified expense, similar to how a traditional retirement account is taxed. The straightforward fix is to spend HSA money on genuinely qualified expenses and keep documentation for anything ambiguous.

Do I need to keep receipts for HSA purchases?

Yes, this is one of the more important habits with an HSA. You may need to substantiate that a withdrawal was for a qualified medical expense, particularly if your account is ever reviewed, so keeping receipts, invoices, or statements for anything paid with HSA funds protects the account's tax-free treatment. Some savers also use records from unreimbursed qualified expenses to support a reimburse-later strategy years down the line, which makes thorough recordkeeping worth the small effort it takes.

Can I pay for my spouse's or child's medical expenses with my HSA?

Generally yes. You can typically use your HSA to pay for the qualified medical expenses of your spouse and your tax dependents, even if they are not covered by your high-deductible health plan and do not have an HSA of their own. This is a commonly underused feature, since many people assume HSA funds only cover the account holder's own costs. Confirm the dependent-eligibility details for your specific household situation if anyone's filing status is unusual.

What is a letter of medical necessity?

A letter of medical necessity is a note from a licensed healthcare provider confirming that a specific item or service, one that would not otherwise clearly qualify, is being used to treat, mitigate, or prevent a particular diagnosed medical condition for a specific patient. It is commonly used for items that sit in a gray area, such as certain supplements, specialized equipment, or a fitness program tied to a diagnosis. Keep the letter with your other HSA records, since it is the documentation that supports the expense if the qualification is ever questioned.

Editorial team · Personal-finance explainers

SumLoft calculators and explainers are written by our editorial team, turning intimidating math into steps a reader can follow and check by hand. Figures are illustrative and labelled, and articles are edited by Hamza Hai, MBA. They are educational general information, not financial advice.

Hamza Hai, Editor
Edited by Hamza Hai, MBA · Editor

Hamza Hai is the editor of SumLoft. She holds an MBA and reviews the site's articles against our editorial standards, checking that every figure is labelled for what it is, that nothing is presented as verified fact without a source the reader can check, and that the writing stays useful to a non-specialist.

How we research, write and review · LinkedIn

Get a planning breakdown by email

Tell us what you are working toward and we will email you a breakdown of the numbers behind it: what the goal costs, and what it takes to get there. We are not an advisor or a broker, we do not manage money, and we will not pass your details to anyone.

We store your details to reply to you. See our privacy policy.