HSA Guide
Is a Mattress HSA Eligible? What the IRS Test Actually Requires
A standard mattress is not HSA eligible. Only the added cost of a special mattress prescribed to treat a specific diagnosed condition, backed by a Letter of Medical Necessity, may qualify. It is never guaranteed.
Last reviewed November 28, 2026
By Apa Strapac, Founder, FSA Shop
Published November 28, 2026
Check eligibility on the go — browse 7,000+ HSA-eligible products in the free app.
You've probably seen "mattresses may be HSA eligible" on a retailer's site. Read the word *may* carefully, because it's doing a lot of work. Is a mattress HSA eligible? By default, no. Here's the actual IRS test, what a doctor's letter can and can't do, and where your HSA dollars have a cleaner path if sleep is the problem you're trying to fix.
The short answer: a mattress is not automatically HSA eligible
A standard mattress is an ordinary household item. You'd buy one whether or not you had a medical condition, and that's exactly why it fails the default test.
What can qualify is narrow: the incremental cost of a special mattress prescribed to treat a specific diagnosed condition, supported by a Letter of Medical Necessity. The rules live in IRS Publication 502, under capital expenses and special equipment.
So when a brand says its mattress "may be eligible," that's conditional language, not approval. Eligibility turns on your diagnosis, your documentation, and how your plan administrator reads the facts.
Standard mattress: not eligible.
Special mattress for a diagnosed condition, with a letter: possibly eligible, for the added cost only.
What does the IRS actually say qualifies as a medical expense?
The core idea is easy to state and annoying to apply. The expense has to be primarily to alleviate or prevent a physical or mental disability or illness. Being good for your general health doesn't count. The IRS spells this out in its FAQ on nutrition, wellness and general health.
Then there's the personal-use rule. Per Publication 502, items ordinarily used for personal, living or family purposes are not eligible unless used primarily to prevent or alleviate a physical or mental disability or illness. A mattress is the textbook personal-use item. Everyone sleeps on something.
Compare that with things that look obviously medical:
- Medical supplies such as bandages are included in medical expenses.
- Eyeglasses and contact lenses needed for medical reasons are included, along with contact lens supplies like saline solution.
Nobody buys bandages for comfort. That's what "primarily medical" looks like. A mattress sits in the gray zone because comfort and health overlap, and the IRS gives you no credit for the overlap.
When can a doctor's letter make a mattress count?
People overestimate the Letter of Medical Necessity, so let's be precise. It's plan paperwork, not an IRS term. The IRS test doesn't change: the expense must be primarily to alleviate or prevent a physical or mental disability or illness. No IRS page I checked spells out required contents, a validity period, or which items always need a letter.
What the letter does is document the link between a specific diagnosis and the item. "Back pain" in general, or "I sleep better on firm foam," is wellbeing. A named diagnosis, with a doctor explaining why this particular product treats it? Something else entirely.
The IRS applies the same logic elsewhere. Weight-loss programs, nutritional counseling, supplements and therapy count only when tied to a diagnosed condition. Mattresses get the same treatment. The same goes for fertility test strips and HSA coverage: no diagnosis, no case.
A recommendation alone doesn't rescue general-health spending, either. The IRS says exercise like swimming or dancing lessons isn't eligible even if a doctor recommends it. Household help isn't included even if recommended. A doctor saying "you'd feel better on a new mattress" lands in the same bucket.
Honestly, this is where people get tripped up. They treat the letter like a coupon. It's evidence, and the evidence has to support a real diagnosed condition. Everything is case by case. Nothing is guaranteed.
Which diagnoses support a mattress claim, and which don't?
I can't give you a list of conditions the IRS pre-approves for mattresses, because no IRS page I checked contains one. What I can do is show how the primary-purpose test sorts strong cases from weak ones.
Stronger pairings share a pattern: a named, clinician-diagnosed condition, and a specific feature of the mattress that treats it. Think of a documented skin or pressure-related injury where a clinician prescribes a particular support surface, or an orthopedic diagnosis where a doctor explains why a specific design is part of the treatment plan. The letter says what the condition is, what the mattress feature does about it, and why an ordinary mattress wouldn't do the job. Whether any given plan accepts it is still the administrator's call.
Weaker pairings are the ones that sound medical but read as wellness:
- Vague "back pain" with no diagnosis behind it
- "Trouble sleeping" or a general wish to sleep better
- A letter that says the mattress would be "beneficial for health"
- A recommendation that never names a condition
The IRS draws this exact line when it says an expense must be primarily to alleviate or prevent a disability or illness, not merely beneficial to general health. A diagnosis that exists only on a questionnaire doesn't help. Neither does a letter that could apply to anyone who owns a bed.
Here's a gut check. Swap your name for a stranger's. Does the letter still read the same? Then it's describing a comfort preference, not a treatment.
How to figure out the incremental cost of a special mattress
Even a well-supported claim doesn't cover the whole purchase. Per Publication 502 as it applies here, what may be eligible is the incremental cost: the extra amount you pay for the special medical features, beyond what an ordinary mattress would have cost you anyway.
The logic is simple. You were going to buy a bed regardless. The baseline is the price of an ordinary mattress of the type and size you'd normally buy. The medically driven premium is the difference.
A practical way to work it out:
- Pick the baseline honestly. Same size, similar quality tier, no medical features. Don't choose the cheapest possible bed to inflate the difference.
- Document the comparison. Save a quote, product page or receipt for the ordinary alternative, with the date.
- Tie the premium to the diagnosis. The extra cost should map to features your clinician's letter says treat your condition, not to luxury upgrades like a nicer cover or a bigger brand name.
- Show your math. One page: baseline price, price you paid, the difference, and the feature that accounts for it.
Hand that page to your plan administrator along with the letter and receipt. It turns a fuzzy claim into something a reviewer can actually evaluate. What share of a purchase typically qualifies? I can't say. That depends on the product and your documentation. The claim is the premium, not the sticker price.
Brand claims vs. the rules: reading "HSA/FSA eligible" mattress marketing critically
Retailer pages love the phrase "HSA/FSA eligible." What they rarely do is explain the criteria. The impression is blanket eligibility. The reality is the conditional test above, the same one that decides whether a DNA test kit is HSA eligible.
Then come the paid doctor's-note services, where you fill out an online questionnaire and a clinician signs off. The IRS has addressed this head-on. In alert IR-2024-65, it warns that notes from doctors based merely on self-reported online forms do not convert non-medical food, wellness or exercise expenses into medical expenses. That alert covers wellness and nutrition spending, but the principle is the same one governing a mattress. Paperwork doesn't change what an item is.
Here's the part that matters most. If the expense is later deemed non-qualified, the risk is yours. The retailer already has your money, and the letter vendor already has its fee.
Before buying, ask:
- Who evaluates whether my situation meets the IRS test?
- What documentation will I actually receive?
- Is there a real diagnosed condition behind this, or just a survey answer?
- Does the letter come from a clinician who knows my history?
If the answers are vague, treat the "eligible" label as marketing.
What to do before you buy, and what happens if the claim fails
The cheapest time to find out a purchase won't qualify is before you pay for it. A sensible order of operations:
- Ask your HSA administrator first, and get the answer in writing. Plans and administrators apply the rules with different levels of strictness. An email saying what they'd accept beats a verbal guess.
- Get a letter that names the diagnosis. It should say what the condition is and how the specific product treats it.
- Work out the incremental cost and keep the comparison page described above.
- Keep everything together before you swipe the card, not after.
Now the downside. Spending HSA money on something that isn't a qualified expense costs you. Non-qualified distributions are taxable income and generally subject to an additional tax, which does not apply after death, disability or age 65, per IRS Publication 969. If you're unsure how your account works day to day, our explainer on whether an HSA is really a savings or checking account helps.
If an administrator questions or denies a claim, I can't point you to a standard IRS appeals procedure for this, because that process varies by plan and the sources I checked don't define one. Ask your administrator what review options exist. What strengthens any follow-up is the same paper you should have kept anyway: the diagnosis-specific letter, the itemized receipt, your incremental-cost page, and the written pre-purchase answer if you got one. If the claim still fails, you may simply need to treat the distribution as non-qualified and deal with the tax consequences.
Two scope rules also apply. Qualified expenses cover you, your spouse and your dependents. And expenses incurred before the HSA was established don't qualify, however medical they are.
Keep records showing your distributions paid only qualified medical expenses not previously reimbursed or deducted, including any letter of medical necessity. Since contributions are also tracked, it's worth knowing whether HSA contributions are reported to the IRS.
Sleep-related items with a clearer HSA path than a mattress
If your real goal is treating a sleep problem, some items stand on firmer ground than a mattress.
CPAP machine: conditional, but well-grounded. Publication 502 doesn't name CPAP machines, but its definition of medical equipment for treating disease would cover one used to treat a medical condition. Your plan administrator decides on accessories and documentation.
Weighted blanket: conditional. Generally not eligible on its own. It may be eligible only with a Letter of Medical Necessity tying it to a specific diagnosed condition. Same structure as the mattress question, smaller purchase.
Melatonin: conditional. A supplement taken for general health isn't eligible. It may be eligible only with a letter tied to a specific diagnosed condition.
Eight Sleep: conditional, not by default. It's treated as a household sleep product. It may be considered only when bought primarily to treat a specific diagnosed condition.
Sleep trackers and wearables. A wearable with medical and nonmedical uses is eligible only if bought and used primarily to assist in diagnosing, treating or preventing a specific disease. A generalized wish to monitor or improve health is not sufficient.
So if a clinician has diagnosed a sleep disorder, start with equipment that treats it directly. Chasing a mattress claim with no diagnosis behind it? Your HSA dollars are probably better spent elsewhere. For the broader picture, see our complete guide to FSA-eligible items, and for a closely related question, our explainer on whether a doctor can prescribe a mattress for HSA spending.
FAQ: quick answers on mattress and HSA eligibility
Does unused HSA money expire if I don't spend it on a mattress?
No. HSA balances remain and carry over to the next year. There's no use-it-or-lose-it rule, so you're never forced into a borderline purchase.
Is a mattress eligible just because my doctor suggested a firmer one?
No. A recommendation alone doesn't make general-health expenses eligible. The item has to be primarily for a specific diagnosed condition, with documentation to match.
Do I need a letter for items the IRS already treats as medical, like over-the-counter medicine?
No. Over-the-counter medicine and menstrual care products may be paid without a prescription or letter, though your plan sets its own paperwork.
Can I get reimbursed later instead of paying with the HSA card, and does eligibility change?
Eligibility doesn't change based on how you pay. The same test applies either way, and the expense must have been incurred after your HSA was established. Check your plan documents for how reimbursement is handled.
Sources
- IRS Pub 502 (nutritional supplements) / plan administrator guidance
- IRS FAQ, nutrition, wellness and general health; IRS Pub 969
- IRS news release IR-2024-65
- IRS Pub 969
This article summarizes IRS guidance on whether mattresses and related sleep products may qualify as HSA medical expenses, and it notes that eligibility depends on the facts of each case and the plan administrator's review.
Related articles
- Are Condoms HSA Eligible? IRS Guidelines and Savings Account Benefits Explained
- Are Contributions to HSA Reported to IRS?
- Are DNA Test Kits HSA Eligible? Exploring Eligibility for Health Savings Accounts
New to HSA eligibility? Start with What's HSA Eligible? The Complete Guide.