Can you buy a mattress with HSA funds? Trying to figure out what counts
My doctor gave me a letter last month saying I need a specific kind of mattress for my back condition, and now I'm trying to figure out if I can use my HSA to pay for it. I've seen conflicting things online — some places say yes if you have a prescription or letter of medical necessity, some say the IRS only allows it in very limited cases. I already spent a chunk of my HSA on physical therapy this year and I'm trying to be careful about what else I pull from it. If the IRS rejects the expense later I'd have to pay taxes on it plus a penalty and that sounds like a nightmare. Has anyone actually done this or gotten a clear answer from the IRS on what documentation you need?
77 comments

Louisa Ramirez
Did your doctor's letter say exactly why a specific mattress is medically necessary, or just that your back hurts? I ask because the difference apparently matters a lot here. My chiropractor wrote me something vague last year and when I looked into it more, the IRS standard is that the expense has to be primarily for treatment of a medical condition, not just for general health or comfort. A mattress that helps anyone sleep better doesn't clear that bar even if your back does ache. If the letter ties the mattress to a diagnosed condition and says it's treatment — not prevention, not comfort — you're in a stronger position. I still ended up calling the IRS to ask about my own situation before I touched my HSA for something like this.
0 coins
Marilyn Dixon
AuthorThe letter does mention my diagnosis by name and says the mattress is part of my treatment plan. Would that be enough, or does the IRS want something more specific like a model number or price range?
0 coins
TommyKapitz
Mine had the diagnosis and the word 'treatment' and my tax preparer said that was solid. The IRS doesn't specify a model — the documentation is about the medical reason, not the product details.
0 coins
Angel Campbell
Worth noting that even with good documentation you should keep everything. The IRS can ask for it years later if they look at your HSA withdrawals.
0 coins
Payton Black
Amended return for tax year 2024 sitting out there, and the status tool still showed 'received' with no processing date after three months. Claimyr (claimyr.com) sat on hold with 866-464-2050 for me, and when the agent picked up I asked about the amended return's received date. The agent confirmed the IRS had it and gave me the exact date it was logged — mid-February — and said to allow up to 16 weeks from that date for processing. Claimyr's video on reaching a live person at the IRS: https://youtu.be/_kiP6q8DX5c. Anyway, back to the HSA question — I had to research this same issue because I bought a special pillow on my doctor's advice and wasn't sure it qualified. The IRS's rule as I understand it: the expense has to be for diagnosing, curing, treating or preventing a specific disease or condition, not just for general wellbeing. A mattress for a diagnosed spinal condition with a letter of medical necessity from your doctor is a lot closer to qualifying than a mattress someone buys because their back is a little stiff.
0 coins
Marilyn Dixon
AuthorHow did you keep the documentation for the pillow? Did you file anything with the IRS or just keep it in case of an audit?
0 coins
Payton Black
Kept the doctor's letter and the receipt together in a folder. Nothing gets filed proactively — you only need it if the IRS questions the withdrawal later.
0 coins
Harold Oh
That 16-week window for amended returns is real, by the way. Filed a 1040-X in the spring and mine took almost exactly that long.
0 coins
Amun-Ra Azra
Does the IRS specify anywhere what 'letter of medical necessity' has to include? Like is there a form for it or is it just whatever the doctor writes?
0 coins
Summer Green
My tax preparer flagged this for me when I asked about using my FSA for a back brace — she said the IRS looks at whether the item would have a reason to exist if the person weren't sick or injured. A mattress has an obvious everyday use even for healthy people, so the bar is higher than it is for, say, a prescription medication. That doesn't mean it's disqualified automatically, but it does mean the documentation has to be really clear that this specific purchase is treatment, not just a comfort upgrade. She told me to get the letter, keep the receipt, and be prepared to explain it.
0 coins
Marilyn Dixon
AuthorSo the fact that everyone needs a mattress works against me here, even with the letter? That's frustrating.
0 coins
Summer Green
Basically yes — the IRS calls it a 'dual use' item. The letter of medical necessity is what shifts it from personal expense to medical expense, but it has to be really specific about why this mattress is treatment for your condition and not just a comfort purchase.
0 coins
Gael Robinson
My preparer said the same thing about dual-use items. Glasses are always medical, but something like a gym membership is almost never going to qualify even if your doctor says exercise helps your condition.
0 coins
TommyKapitz
Went through almost this exact situation two years ago — herniated disc, doctor's letter, special orthopedic mattress. My tax preparer reviewed everything and said the letter had to do two things: name the medical condition and say the mattress was specifically prescribed as treatment for that condition, not recommended for comfort or general health. She also said to buy the specific mattress the doctor referenced, not just 'any ortho mattress,' so there was a clear link between the prescription and the purchase. I kept all of it and had no issues. HSA administrators vary in how they handle it too — mine asked me to submit the letter when I tried to use the card directly, so check with your plan.
0 coins
Marilyn Dixon
AuthorYour administrator asked for the letter upfront? Mine just lets the card run and then I keep documentation myself. I wonder if that means mine is more lenient or just more hands-off.
0 coins
TommyKapitz
Probably more hands-off. The IRS is who you're ultimately accountable to, not the administrator, so the documentation requirement exists either way — your administrator just isn't checking it in real time.
0 coins
Edward McBride
My HSA card got declined on a chiropractic wrap thing that my doctor absolutely said was for treatment. Had to pay out of pocket and then get reimbursed from the HSA separately. The administrator's rules and the IRS rules aren't always the same.
0 coins
Darcy Moore
The 20% penalty thing you mentioned in your post is what most people don't realize until it's too late. If the IRS determines an HSA withdrawal wasn't for a qualified medical expense, it's not just the taxes — it's income tax on the amount plus a 20% additional tax on top. That's a painful combo. The IRS has a publication that lists categories of qualifying expenses; the general rule is medical care as defined in the tax code. I'd look at that before making a large purchase and when in doubt, talk to a tax professional about your specific situation before spending, not after.
0 coins
Marilyn Dixon
AuthorIs the 20% on the whole withdrawal or just on the part that wasn't qualified? Like if I took out more than the mattress costs for some reason.
0 coins
Darcy Moore
On the nonqualified portion. So if you withdrew exactly the cost of the mattress and that expense doesn't qualify, the 20% is on that full amount.
0 coins
Louisa Ramirez
The exception to the 20% is if you're 65 or older — after that the additional tax goes away and you just pay income tax on nonqualified distributions, same as a traditional IRA. The OP sounds younger, though.
0 coins
Dana Doyle
Does 'HSA' even cover this — wait, are you asking about an HSA or an FSA? They have similar rules for what's a qualifying expense but they work pretty differently otherwise. With an FSA you usually have to use the money in the year or lose it, and with an HSA it rolls over. The qualifying expense rules come from the same part of the tax code though so the answer about whether a mattress qualifies would be the same either way.
0 coins
Marilyn Dixon
AuthorHSA — I specified in the post but yeah, I know people mix them up. Good point that the qualifying expense test is the same regardless.
0 coins
Liam Duke
There's also a limited-purpose FSA that some people have alongside their HSA. That one is restricted to dental and vision expenses only. If someone has both and uses the wrong account, that's a problem.
0 coins
Manny Lark
My wife and I dealt with a similar question about a CPAP machine a few years back. That one's clearly a qualified medical expense, no debate. The mattress question is trickier specifically because of the dual-use issue the others mentioned. What helped us was asking the doctor to write in the letter that the item serves no purpose other than to treat the specific condition — obviously not literally true for a mattress but some doctors will phrase it in a way that at least emphasizes the treatment angle. The IRS evaluates intent and documentation together, and a detailed letter helps even if the item isn't a slam dunk.
0 coins
Marilyn Dixon
AuthorThe 'serves no purpose other than treatment' language is interesting — did the IRS ever review yours or were you just being cautious with the documentation?
0 coins
Manny Lark
Just cautious. Never had it reviewed, but we've kept all of it. For anything gray like this I'd rather have too much documentation than the right amount.
0 coins
Rita Jacobs
CPAP is a perfect example of an obvious one. The mattress is gray. I'd put a prescription sleep study or a diagnosed apnea right up there with CPAP — nobody buys those things for fun.
0 coins
Khalid Howes
Has anyone had the IRS actually audit an HSA withdrawal? I'm curious how often that happens in practice versus how often people worry about it. I've used my HSA for things that I was pretty confident were qualified but never 100% sure.
0 coins
Louisa Ramirez
The audit rate is low in general but HSA distributions get reported on your return. If the IRS notices a large withdrawal that doesn't have a clear medical expense reported alongside it, that could draw attention. For most routine expenses nobody's looking, but a mattress-sized withdrawal that looks like a household purchase might be more noticeable.
0 coins
Dana Doyle
My understanding is that the HSA trustee reports distributions to the IRS and you report them on Form 8889. So the IRS does see that money came out — it's not invisible. Whether they question it depends on a lot of factors.
0 coins
Khalid Howes
Form 8889 is where you show qualified versus nonqualified distributions, right? So if you code it as qualified and it isn't, that's what could get flagged.
0 coins
Ben Cooper
Got a letter asking for documentation on a 2024 health-related deduction I had claimed. Claimyr sat on hold with 800-829-1040 until an agent picked up, and I asked what specifically the notice was asking me to submit and by when. The agent pulled up the notice and read me the exact documentation they needed along with the response deadline on the letter. That detail mattered because I'd almost missed the deadline guessing at what they wanted. On the mattress question — the IRS does allow medical expense deductions and HSA withdrawals for items that treat a specific medical condition, but the burden of proof is on you, not the IRS, so your records need to be solid before you spend.
0 coins
Marilyn Dixon
AuthorHow fast did you get the notice situation resolved once you knew what they needed?
0 coins
Ben Cooper
Sent in the documentation the same week. Got a letter confirming they received it about a month later. The key was knowing exactly what to send — that saved me from sending everything I had and hoping something worked.
0 coins
Angel Campbell
The deadline on notices is real. Missing it usually makes things worse. Getting a clear answer on what's actually needed before scrambling is the smart move.
0 coins
Naila Gordon
There's a Publication 502 on the IRS website that lists medical and dental expenses — it's worth reading through before you make a decision like this. It won't say 'mattress' by name but it explains the general standard and gives examples of items that do and don't qualify. For gray-area items it usually says something like 'it depends on whether the purpose is treatment of a specific condition.
0 coins
Marilyn Dixon
AuthorI did look at Pub 502 — the section on equipment and supplies was helpful. It doesn't mention mattresses specifically but the dual-use framing the others mentioned is basically what that publication is describing.
0 coins
Naila Gordon
That's the one. The dual-use concept isn't a term they use explicitly but it's the logic behind all the examples they give where something is or isn't qualified.
0 coins
Harold Oh
The IRS's site has the full text. If you want to research it yourself rather than trust a summary, that's the right place to start before you ask a tax professional.
0 coins
Amun-Ra Azra
Waiting to use the HSA until after I'd confirmed with my tax preparer was the best call I ever made. I had a physical therapist who wanted to sell me a specific chair as part of treatment and I was going to put it on my HSA card. My preparer said the documentation had to come from an MD or DO, not a physical therapist, for the deduction to hold up. Ended up not buying the chair. I would double-check who signed your letter and whether the IRS would consider that doctor's documentation sufficient.
0 coins
Marilyn Dixon
AuthorMine is from my actual physician, board-certified, the whole thing. I'm glad you raised this though because I could see how a letter from a chiropractor or PT might be on shakier ground.
0 coins
Amun-Ra Azra
Not saying those never work — I'm not a tax professional. But I know my preparer flagged it as a potential issue, and it was enough for me to hold off. For something as big as a mattress I'd get it from your primary or a specialist.
0 coins
Liam Duke
This is a good point. The source of the letter isn't defined in the tax code as far as I know, but documentation quality matters for audit purposes. A letter from a specialist who's actively treating the condition is a stronger piece of paper than one from someone who's just made a recommendation.
0 coins
Cynthia Love
Refund from my 2025 return filed in April still hadn't moved in Where's My Refund by September — just stuck on 'received.' Claimyr sat on hold with 800-829-1040 and once the agent answered I asked about the refund amount and the date it was issued. The agent confirmed the exact refund amount on record and told me it had been issued in late August — my bank just hadn't updated when I first checked. On the HSA and mattress issue: the same logic from these other comments applies to the Schedule A medical deduction too, if your medical expenses are high enough to itemize. Same qualifying standard, same documentation need.
0 coins
Marilyn Dixon
AuthorAre you saying you can deduct the mattress on Schedule A instead of going through the HSA? Or on top of it?
0 coins
Cynthia Love
You can't double-dip — if you pay for it with HSA funds, that money was already tax-advantaged so you can't also deduct it on Schedule A. It's one or the other.
0 coins
Rita Jacobs
The threshold for Schedule A medical deductions is also high — only the amount above 7.5% of your AGI counts. For a lot of people HSA is the better path because there's no floor like that.
0 coins
Angel Campbell
My whole question before I read this thread was whether keeping a receipt was enough or if you actually need the letter too. Sounds like you need both — receipt proves what you spent and on what, letter proves why it was medical. The IRS apparently expects both pieces if they ever look.
0 coins
TommyKapitz
Exactly both. The receipt alone doesn't tell them why you bought a mattress, and the letter alone doesn't prove what you spent or when. They work together.
0 coins
Marilyn Dixon
AuthorMakes sense. I'll make sure to file both together and date everything clearly.
0 coins
Edward McBride
The HSA penalty question you asked about — the 20% additional tax applies as long as you're under 65. After 65 that goes away. I found this out when I was helping my dad figure out his HSA and realized he had way more flexibility at that point than I do with mine. He can basically use it like a regular retirement account for nonmedical stuff, just paying income tax. Doesn't change the qualifying expense analysis you need to do, but good to know the rules shift.
0 coins
Marilyn Dixon
AuthorHow old do you have to be for the penalty to disappear — is it 65 exactly, or Medicare-eligible age, or something else?
0 coins
Edward McBride
My understanding is 65, though I'd verify that with a tax professional for your specific situation. I know that's the number that came up when researching my dad's case.
0 coins
Darcy Moore
65 is correct per the IRS. At that age nonqualified distributions are taxed as ordinary income, same as a traditional IRA withdrawal, with no additional 20% tax.
0 coins
Rita Jacobs
Has anyone tried submitting the documentation to the IRS proactively, before there's ever an audit? Like, is there a way to get pre-approval on something like this?
0 coins
Louisa Ramirez
There's a private letter ruling process where you can ask the IRS for guidance on a specific tax situation, but it's formal, expensive, and takes a long time. For an HSA expense the size of a mattress it's almost certainly not worth it. The standard advice is document well and keep records for at least a few years.
0 coins
Summer Green
Pre-approval isn't really a thing in the way you're describing for routine transactions like this. The IRS isn't set up to review every HSA purchase before it happens. The burden is on you to follow the rules and document it.
0 coins
Darren Brooks
Balance showing on my IRS Online Account for 2023 didn't match what I thought I owed after a payment I'd made last spring. Claimyr sat on hold with 800-829-1040 until an agent answered, and I asked about the balance owed for tax year 2023. The agent pulled up my account and confirmed the current balance including interest, and told me the payment I was asking about had posted correctly on the date I sent it — the online account just showed a different total because of interest accrued since. Got clarity in that one call. Switching back to HSA — if you've already got the doctor's letter for the mattress, the main thing now is making sure you buy the specific product your doctor referenced and keep the letter with the receipt from that exact purchase.
0 coins
Marilyn Dixon
AuthorThe 'specific product your doctor referenced' part — does that mean if the doctor said a medium-firm mattress in general, I should ask them to get more specific before I buy?
0 coins
Darren Brooks
If your doctor's letter says a specific type or brand, buy that. If it says 'orthopedic mattress' in general, you probably have more flexibility, but I'd ask the doctor what they had in mind and get that in writing so the documentation matches the purchase.
0 coins
Manny Lark
This is the detail I'd push on. The more the receipt can be matched to the letter, the stronger the documentation. If your letter says 'XYZ type mattress' and you buy something completely different, that gap could be a problem.
0 coins
Gael Robinson
Something I haven't seen mentioned yet — your HSA administrator's rules on what you can submit claims for aren't the same as the IRS rules. Some administrators have approved lists or will reject claims on certain categories even if the IRS would potentially allow them. If you're using the HSA debit card directly, that's on the administrator's side. If you're submitting for reimbursement, same thing. You could technically have a qualifying medical expense that your administrator won't process. If that happens you'd need to pay out of pocket and document it, which isn't the end of the world but it's worth knowing before you show up at the mattress store.
0 coins
Edward McBride
The administrator thing bit me once. Bought something the IRS would almost certainly allow and the administrator's auto-rejection system flagged it. Had to submit the documentation manually and wait. It got approved eventually but it wasn't instant like a regular debit card purchase.
0 coins
Marilyn Dixon
AuthorGood to know. I'll check with my HSA administrator before I go buy anything — I didn't realize they have their own layer of rules on top of the IRS standard.
0 coins
Harold Oh
Went through filing season earlier this year with a question about whether my medical travel expenses qualified for HSA, which is a similar category — the IRS allows it but the documentation requirements caught me off guard. The common thread with all these edge cases is that the IRS standard requires a clear tie between the expense and the treatment of a specific medical condition. If you can draw that line clearly with documentation, you have a defensible position. If the line is blurry, you're taking on risk.
0 coins
Marilyn Dixon
AuthorMedical travel qualified? I didn't know that was even a category. How did you document that?
0 coins
Harold Oh
Mileage and costs directly related to getting medical care — the IRS does include that. The documentation is similar: the reason for the trip has to be medical, not incidental. I kept the appointment records and receipts together.
0 coins
Khalid Howes
The mileage rate for medical travel is different from the business mileage rate — lower. I looked it up once and it surprised me how often people mix those up.
0 coins
Liam Duke
My tax preparer told me to treat every gray-area HSA withdrawal the same way: document it like you expect to explain it to someone who's never met you and doesn't know your medical situation. Because that's literally who would review it if it ever came up — an IRS examiner who has no context. The letter needs to give them that context, the receipt needs to show exactly what was bought, and together they need to tell a clear story about treatment of a medical condition.
0 coins
Marilyn Dixon
AuthorThat framing is actually really helpful. Document it for a stranger who knows nothing about me. I'm going to ask my doctor to be really explicit in the letter with that in mind.
0 coins
TommyKapitz
That's the right approach. I've heard the same thing — write your documentation as if you're explaining it to someone who starts skeptical. If they'd be convinced, you're in good shape.
0 coins
Darcy Moore
And don't wait until after the purchase to get the letter — get it first so the documentation predates or at least matches the purchase. A letter written six months after you bought the mattress is harder to defend.
0 coins
Marilyn Dixon
Update from me: I went back to my doctor and asked her to revise the letter to be more specific — she added my diagnosis code, the name of the mattress type she's recommending, and a sentence explaining why this specific product is part of my treatment plan rather than a general comfort measure. I also checked with my HSA administrator and they said they'd want me to submit documentation with the claim, which I hadn't expected. Going ahead with the purchase now that I have everything lined up. Thanks everyone — the dual-use framing and the 'document it for a stranger' advice were the most useful things here.
0 coins
Louisa Ramirez
The diagnosis code in the letter is a smart addition. That ties the documentation to your actual medical record in a way a vague description wouldn't.
0 coins
Summer Green
Glad the administrator heads-up was helpful. The fact that they want documentation upfront actually makes it easier — you get confirmation from them before the purchase instead of wondering later.
0 coins
Liam Duke
The revised letter sounds solid. Keep copies of both versions too — the original and the revised one — so there's a record of your due diligence in getting this right.
0 coins