Qualified Medical Expenses: What Counts and How to Claim Them


Author: InnerBuddies

Updated: August 8, 2026


What Are Qualified Medical Expenses?

Qualified medical expenses are costs for the diagnosis, treatment, or prevention of disease that can be deducted from your taxes when you itemize. The IRS defines these as amounts paid for medical care—including doctor visits, lab tests, prescriptions, and certain therapies—that are prescribed or recommended by a healthcare professional. For gut health, this may include visits to gastroenterologists, stool tests ordered by a clinician, and medications for digestive conditions. Keeping clear records of these expenses is essential, as you must substantiate each claim with receipts, prescriptions, or medical statements.

How to Claim Deductible Medical Costs

To claim qualified medical expenses on your federal tax return, you must itemize deductions using Form 1040 and Schedule A. Your total medical expenses must exceed 7.5% of your adjusted gross income (AGI) before you can deduct the excess amount. For example, if your AGI is $60,000, only expenses above $4,500 count. You cannot claim expenses reimbursed by insurance or paid through a tax-advantaged account like an HSA or FSA. It is wise to consult a tax professional to ensure you meet all IRS requirements and to explore the best strategy for your situation.

Gut Health Testing and Tax Deductions

When a healthcare provider prescribes microbiome testing as part of diagnosing or treating a gastrointestinal condition, the cost may qualify as a deductible medical expense. Tests like 16S rRNA sequencing or comprehensive stool analysis can reveal microbial imbalances that inform personalized care plans. However, over-the-counter tests without a clinician's order are not deductible. If you experience persistent digestive symptoms, discuss testing with your doctor—not only for medical insight but also to potentially claim the cost on your taxes if it meets IRS guidelines.

2-minute self-check Is a gut microbiome test useful for you? Answer a few quick questions and find out if a microbiome test is actually useful for you. ✔ Takes 2 minutes ✔ Based on your symptoms & lifestyle ✔ Clear yes/no recommendation Check if a test is right for me

Discover the Microbiome Test

ISO-certified EU lab • Sample stays stable during shipping • GDPR-secure data

Microbiome Test Kit

Qualified medical expenses are costs you pay for medical care that the IRS allows you to deduct from your taxes, potentially lowering your taxable income. If you are exploring gut health testing or treatment for digestive issues, understanding what qualifies can help you make financially informed decisions. This guide explains what the IRS considers a qualified medical expense, provides examples of deductible and non-deductible costs, and shows how to claim them on your tax return—while also connecting these rules to common gut health services like microbiome testing.

What Are Qualified Medical Expenses?

The IRS defines qualified medical expenses as amounts paid for the diagnosis, cure, mitigation, treatment, or prevention of disease, or for treatments affecting any part or function of the body. To qualify, the expense must be primarily for medical care, not for general health or personal use. A doctor or other qualified provider must typically prescribe or recommend the service. You must also keep proper documentation, such as receipts and a written recommendation from your healthcare provider.

Common examples of qualified medical expenses include:

  • Doctor visits, including specialists like gastroenterologists
  • Prescription medications and some over-the-counter items if prescribed by a doctor
  • Lab tests and imaging ordered by a physician, such as stool analysis or colonoscopy
  • Dental and vision care, including exams, cleanings, and corrective lenses
  • Therapies like physical therapy or counseling (when medically necessary)
  • Medical equipment and supplies, such as blood glucose monitors or wheelchairs

What Expenses Are 100% Deductible?

No medical expense is “100% deductible” in the sense that the IRS does not allow you to deduct the full amount directly. Instead, you can deduct the portion of your total medical expenses that exceeds 7.5% of your adjusted gross income (AGI) when you itemize deductions on Schedule A. For example, if your AGI is $50,000 and your medical expenses total $5,000, you can deduct $1,250 (the amount above $3,750). If your expenses are lower than that threshold, you won't benefit from the deduction—so it’s important to track all eligible costs carefully.

Some expenses are not deductible at all, including cosmetic procedures (unless medically necessary), over-the-counter items without a prescription, health club dues, and most long-term care insurance premiums paid through an employer. Always verify with IRS Publication 502 or a tax advisor before assuming an expense qualifies.

How to Claim Medical Expenses on Your Taxes

Claiming medical expense deductions requires itemizing rather than taking the standard deduction. Here’s a step-by-step process:

  1. Gather all receipts, invoices, and insurance statements that show your out-of-pocket medical costs.
  2. Calculate your total medical expenses for the tax year.
  3. Determine if your expenses are enough to exceed the 7.5% AGI threshold.
  4. Fill out Schedule A (Form 1040) and enter your medical and dental expenses.
  5. Attach Schedule A to your tax return and file it with the IRS.

Remember: you can only deduct expenses that were not reimbursed by insurance, your employer, or a tax-advantaged account like an HSA or FSA. If you use an HSA or FSA, you cannot also deduct those same expenses on Schedule A.

HSA, FSA, and HRA: What’s the Difference?

Health Savings Accounts (HSAs), Flexible Spending Accounts (FSAs), and Health Reimbursement Arrangements (HRAs) all allow you to use pre-tax money for qualified medical expenses, but they have different rules:

  • HSA: You own the account, funds roll over year to year, and you can use it for a wide range of IRS-approved medical expenses.
  • FSA: Employer-owned account with a “use it or lose it” rule (though some plans allow a carryover). Funds are available immediately at the start of the plan year.
  • HRA: Employer-funded account that reimburses you for out-of-pocket medical costs. Funds do not roll over and you lose them if you leave the job.

These accounts can be used for gut health–related expenses like doctor visits, prescription medications, and lab tests, as long as they meet IRS guidelines. Unlike the tax deduction, you do not need to itemize to use these accounts—just ensure the expense is qualified under your plan.

Gut Health Testing and Qualified Medical Expenses

Microbiome testing is an emerging tool for evaluating digestive health. When a healthcare provider orders a stool test to diagnose or manage a gastrointestinal condition, the cost may be considered a qualified medical expense. This is because the test is used for diagnostic purposes, which IRS rules specifically allow. However, if you take a test without a clinician’s order—for curiosity or general wellness—it likely will not qualify.

If you are considering a gut microbiome test, discuss with your doctor whether it is medically necessary for your symptoms. If they prescribe it, keep the prescription and the invoice to support your tax deduction claim. Some health plans may even reimburse the cost if it’s deemed medically appropriate.

Examples of Deductible Gut Health Expenses

  • Visits to a gastroenterologist or dietitian for a diagnosed digestive condition
  • Stool tests, breath tests, or endoscopy ordered by a physician
  • Prescription medications for IBS, Crohn's disease, or acid reflux
  • Probiotics or supplements only if prescribed by a doctor (rare, but possible)

On the flip side, general wellness items like OTC probiotics, gluten-free foods, and health coaching (unless medically prescribed) are not deductible.

Is It Worth Claiming Medical Expenses on Taxes?

Claiming medical expenses is only worthwhile if your total expenses exceed the 7.5% AGI threshold and you can itemize. For many people, the standard deduction is higher, making itemizing less beneficial. However, if you have significant healthcare costs—especially from chronic gut issues or major procedures—itemizing could reduce your tax bill. Use your records to estimate whether you’re close to the threshold. If you are, consider ‘bunching’ non-urgent medical costs into one tax year to exceed it in that year.

Even if you don't itemize, you can still save on medical expenses using an HSA or FSA, which lower your taxable income directly. These accounts are often easier to use for day-to-day healthcare costs.

Latest IRS Updates and Publication 502

The IRS annually updates Publication 502, which details deductible medical expenses. Recent years have seen the AGI threshold remain at 7.5% through 2025, thanks to legislative changes. Telehealth services, certain COVID-19 tests, and some mental health services have been clarified as deductible in recent updates. Always check the latest version of Publication 502 or consult a tax professional, as rules can change and your specific situation may have unique considerations.

Frequently Asked Questions About Qualified Medical Expenses

What kind of medical expenses can be claimed on taxes?

You can claim expenses for diagnosis, treatment, or prevention of disease—such as doctor visits, prescriptions, lab tests, dental care, and medical equipment. The expense must be medically necessary and not reimbursed by insurance or a tax-advantaged account. Always keep receipts and a healthcare provider’s recommendation.

How much does the IRS allow for medical expenses?

The IRS allows you to deduct the amount of your total medical expenses that exceeds 7.5% of your adjusted gross income. There is no upper limit on the deductible amount, but you must itemize on Schedule A to benefit.

Are all healthcare expenses eligible for tax deductions?

No. Only qualified medical expenses as defined by the IRS are deductible. Cosmetic procedures, OTC items without a prescription, and general wellness products typically do not qualify. Check IRS guidance for the full list.

What gut health-related expenses can I deduct?

You can deduct costs for doctor visits, prescribed lab tests (like stool analysis), and medications for digestive conditions if they are medically necessary and ordered by a clinician. Over-the-counter probiotics or supplements without a prescription are not deductible.

Is microbiome testing covered by insurance?

Coverage varies by insurer. Some plans cover microbiome testing when ordered by a doctor for a specific medical reason. Check with your insurance provider to determine if your test is covered and what documentation is required.

How can I track my qualified medical expenses?

Keep a dedicated folder—physical or digital—for all medical receipts, insurance statements, and prescriptions. Record the date, provider, amount paid, and purpose of each expense. This organization will make tax filing much easier and ensures you have evidence if the IRS asks.

Final Thoughts

Understanding qualified medical expenses empowers you to manage both your health and your finances. Whether you’re exploring gut health testing, managing a chronic condition, or planning for future medical needs, knowing what the IRS allows can help you reduce your tax burden. Always keep meticulous records and consult a tax professional to ensure you’re making the most of your eligible deductions. For more insights into gut health testing, consider exploring the benefits of a gut microbiome test—just be sure to talk to your healthcare provider first.