Can I Use My HSA to Buy a Mattress? Rules and Proof

Yes, you can use your HSA to buy a mattress, but only if a licensed healthcare provider prescribes it to treat a diagnosed medical condition and you have the paperwork to prove it. The IRS treats mattresses as ordinary household items by default, so the purchase has to clear a specific medical-necessity threshold before your Health Savings Account can pay for it. Get it wrong and you owe income tax on the distribution plus a 20% penalty.

When a Mattress Counts as a Qualified Medical Expense

HSA-qualified medical expenses follow the definition in Internal Revenue Code Section 213(d): amounts paid for the diagnosis, treatment, mitigation, or prevention of disease, or for affecting any structure or function of the body.1Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses2Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts

IRS Publication 502 is more specific about products like mattresses. You cannot include the cost of something ordinarily used for personal or family purposes unless it is used primarily to prevent or alleviate a physical or mental disability or illness.3Internal Revenue Service. Publication 502 – Medical and Dental Expenses A mattress bought for better sleep, comfort, or general wellness fails this test. To qualify, the purchase has to be one your doctor specifically directs because a standard mattress is making a diagnosed condition worse or preventing recovery.

Full Cost or Just the Cost Difference

Even when a mattress is medically necessary, how much of it counts as a qualified expense depends on the product. Publication 502 separates specialized medical equipment from personal items purchased in a special form to accommodate an illness.

A specialized medical product with no real personal-use equivalent, such as a hospital-grade pressure-relief mattress system, can qualify in full. The entire unit serves a medical function.

An upgraded version of an ordinary mattress is treated differently. Only the difference between the special version and a standard one counts. If a typical mattress runs $1,000 and the prescribed orthopedic model costs $2,500, the qualifying expense is $1,500.3Internal Revenue Service. Publication 502 – Medical and Dental Expenses The same logic applies to prescribed mattress toppers and pillows.

The distinction matters. A prescription for an adjustable bed frame as a device for treating sleep apnea reads more like medical equipment. A prescription that simply calls for a “supportive mattress” reads more like bedroom furniture, and the cost-difference rule is likely to apply.

Conditions That Can Support a Prescription

The IRS does not publish a list of approved conditions. Eligibility turns on whether your provider can document that a specialized sleep surface is medically necessary for your diagnosis. A few conditions come up often.

Severe orthopedic problems and degenerative disc disease can call for mattresses with specific pressure-distribution properties that standard retail models don’t offer. Structural misalignment in the spine or joints often worsens on a surface without targeted support.

Sleep apnea patients sometimes need an adjustable base that elevates the head and torso to keep the airway open. Because the base functions as medical equipment, the case for full-cost eligibility is stronger than for a standard mattress upgrade.

Fibromyalgia involves widespread musculoskeletal pain and specific tender points that react to pressure. A physician may prescribe a mattress with particular foam density and materials designed to minimize irritation, and the prescription should tie those specifications directly to tender-point management.

Severe allergies and chronic respiratory conditions like asthma can sometimes justify a hypoallergenic mattress, but the bar is high. The provider needs to show that your current mattress is actively contributing to the medical problem and that a standard hypoallergenic option off the shelf would not solve it.

The Letter of Medical Necessity

The practical key to the whole process is a Letter of Medical Necessity from your treating provider. The IRS doesn’t use that exact term, but you need evidence that the expense serves a medical purpose, and an LMN is what HSA administrators accept as proof. Without one, most administrators will deny a reimbursement claim outright, and you have nothing to show the IRS in an audit.

A usable letter comes from the treating physician or specialist and includes:

  • The specific medical diagnosis requiring a specialized mattress
  • An explanation of why a standard mattress is insufficient and what features the prescribed one must have
  • How long the treatment is expected to last

Vague language sinks these letters. “Patient would benefit from a better mattress” will not survive scrutiny. The letter needs to read like a prescription, connecting a diagnosed condition to specific product requirements. Get it before you make the purchase, not after.

Most HSA administrators treat an LMN as valid for 12 months from the date it was written. If your condition requires ongoing treatment past that point, get a new letter. Keep a copy of the LMN with your receipt. The IRS generally requires records supporting a tax return for three years after filing, extending to six years if you underreport income by more than 25%.4Internal Revenue Service. How Long Should I Keep Records Because HSA reimbursements have no deadline, holding documentation longer is smart if you might reimburse yourself later.

How to Actually Pay With the HSA

You have two options. Swipe the HSA debit card at the point of sale, which processes the payment immediately as a healthcare distribution. Or pay with personal funds and submit a reimbursement claim through your HSA administrator’s portal.

For a mattress, reimbursement is often the safer route. If you use the debit card and the transaction is later flagged as non-qualifying, clawing funds back gets messy. Paying out of pocket first lets the administrator review your receipt and LMN before any money leaves the account. Approved reimbursements typically land in your linked bank account within five to ten business days.

One detail worth knowing: the IRS imposes no deadline for HSA reimbursements. As long as the medical expense was incurred after your HSA was established, you can reimburse yourself months or years later.5Internal Revenue Service. Instructions for Form 8889 If your balance is low when you need the mattress but grows later, that flexibility matters. Just keep the paperwork.

Buying a Mattress for a Spouse or Dependent

HSA funds are not limited to your own care. You can use distributions for qualified medical expenses of your spouse or any tax dependent under Section 152.2Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts If your spouse or a qualifying child needs a medically prescribed mattress, your HSA can pay for it under the same rules.

The dependent definition for HSA expenses is broader than the usual test: it applies regardless of whether the person filed a joint return or had their own gross income.5Internal Revenue Service. Instructions for Form 8889 A child generally must be under 19, or under 24 if a full-time student. The dependent does not need to be enrolled on your high-deductible health plan. They just need to meet the tax-dependency test, and the mattress must meet the same medical-necessity and documentation standards.

What Happens if the IRS Disallows It

If the IRS decides the mattress purchase doesn’t meet the medical-necessity standard, the full distribution becomes taxable income. On top of ordinary income tax, you owe an additional 20% tax on the non-qualified portion.6Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans On a $2,500 mattress, the 20% penalty alone is $500, before your marginal income tax rate.

Three situations eliminate the 20% additional tax: reaching age 65, becoming disabled, or death of the account holder. After 65, a non-qualified distribution is still added to taxable income, but the extra 20% no longer applies.6Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans

You also cannot double up: if the HSA pays for the mattress tax-free, you cannot also deduct the same cost on Schedule A. It’s one or the other.5Internal Revenue Service. Instructions for Form 8889

The most common reason people get caught is thin documentation. A receipt proves you bought a mattress, not that you needed one. If you’re audited and can’t produce an LMN or medical records tying the purchase to a diagnosed condition, the entire amount gets reclassified as a non-qualified distribution. Line up the letter, the receipt, and the diagnosis before you buy.