213(D) & COMPLIANCE

What Qualifies as a Medical Expense Under Section 213(d)?

By Brian Berkenbile · July 14, 2026
If you have ever wondered whether a particular cost counts as a medical expense for tax purposes, the answer lives in Section 213(d) of the Internal Revenue Code. It is the definition that sits underneath health savings accounts, flexible spending accounts, and fixed-indemnity benefit designs, and it is broader than most people assume, with a boundary that is firmer than most people realize. This article lays out what Section 213(d) actually reaches, where the line runs, and the single test that decides any close case.

The definition, in plain terms

Section 213(d) defines medical care as amounts paid for the diagnosis, cure, mitigation, treatment, or prevention of disease, and amounts paid for the purpose of affecting any structure or function of the body. Read that again, because the second half is the part people forget. Medical care is not only treating an illness that already exists. It also includes diagnosis and prevention, and it reaches care directed at how the body works, not only at a named disease. That is a wide definition, and the breadth is real.

What counts, inside the boundary

Drawing on the definition and IRS Publication 502, the following are all medical care under Section 213(d):

Diagnostic visits, laboratory work, and diagnostic devices. Fees paid to physicians, surgeons, dentists, and other medical practitioners. Prescribed medicines and insulin. Dental treatment, vision correction including eyeglasses and laser eye surgery, and hearing aids. Equipment and supplies needed for medical care. Transportation that is primarily for and essential to medical care. Lodging tied to medical care within the stated limit. Nursing services of the kind a nurse generally performs. Psychiatric care and physical therapy. Qualified long-term care for a chronically ill individual under a prescribed plan of care. Even items usually thought of as personal can qualify in a medical form, such as the added cost of Braille books over regular editions for a person with a visual impairment.

None of these is exotic. Each is settled, published, and routinely applied. The point of listing them is that a person who pictures only the doctor's bill is working with a fraction of the definition.

What does not count, outside the boundary

The same regulation that gives the definition its reach also gives it a limit, and the limit is a single governing idea: an expense is medical care only when it is primarily for the prevention or alleviation of a physical or mental defect or illness. An expense that is merely beneficial to general health is not medical care. Section 262 of the Code holds the personal-expense line from the other direction.

So the following generally sit outside the definition: vitamins and nutritional supplements taken for general health, health club and gym dues, cosmetic procedures directed at appearance, a weight-loss program undertaken for general fitness, and spending that is merely good for overall wellbeing.

The test that decides every close case

Here is the part worth internalizing, because it resolves nearly any question you will actually face. The same category of spending can fall on either side of the line depending on why it was incurred. Purpose decides, not category.

A weight-loss program is not medical care when its purpose is general health or appearance, but it is medical care when it treats a specific disease a physician has diagnosed, such as obesity, hypertension, or heart disease. A vitamin taken for general health is not medical care; the same supplement recommended by a physician to treat a diagnosed condition can be. Cosmetic surgery is generally not medical care, but it becomes medical care when it corrects a deformity from a congenital abnormality, an accident, or a disfiguring disease. Meals at a hospital are medical care when they are part of inpatient care, and not when they are not.

The dollar does not announce which side it is on. The purpose does. Once you hold that test, you can place almost any expense, because the question is never what the spending is called. It is whether it was primarily for the prevention or alleviation of a defect or illness.

Section 213(d) draws medical care broadly, but the boundary is firm.

Why this matters for a benefit design

Section 213(d) is not just an itemized-deduction rule. It is the boundary that a fixed-indemnity benefit runs through. When a benefit is funded through a Section 125 election, the premium is excluded from income under Section 106, and the benefit the plan pays is excluded under Section 105(b), but only to the extent it reimburses the employee for Section 213(d) medical care. Any portion of a benefit that exceeds a person's unreimbursed qualified expense is not inside that exclusion; the excess is potentially taxable and is reconciled by the employee.

That is why the boundary is the whole game. A benefit paid on a documented Section 213(d) medical event is on the right side of the line. A benefit paid on general-health activity is the pattern that draws scrutiny. Understanding the full scope of Section 213(d), and respecting its edge, is what separates a design that uses the statute as written from one that overreaches it.

Where Optiv fits

The Optiv Advantage is a fixed-indemnity benefit that pays on documented Section 213(d) medical events, funded through a Section 125 election. It reaches across the genuine breadth of the definition and stops where the definition stops. Our gated white paper Care, Not Code works through the full scope, the boundary cases, and the documentation that ties each payment to a qualifying event.

SECTION 125 · OPTIV ADVANTAGE PLAN

KNOW YOUR NUMBERS, BEFORE YOU MAKE THE CALL.

The plan is engineered. The math is yours. Exact figures are modeled to your own census before anything is presented.

This article is educational and is not legal or tax advice, and it does not address the law of any state. Source: IRC Sections 213(d), 105(b), 106, 262; Treas. Reg. Section 1.213-1(e); IRS Publication 502 (2024). Fixed-indemnity benefit payments may be potentially taxable on the excess, and the wage-treatment question is genuinely unsettled.

The Optiv Group helps employers evaluate tax-advantaged benefits strategies, payroll-linked savings opportunities, and modern coverage paths with compliance-aware plan design.

Get strategy updates

Receive calculator updates, compliance education, and benefits strategy resources.
833-MY-OPTIV
info@theoptivgroup.com
© 2026 The Optiv Group. All rights reserved.
Educational content only. Savings estimates are not guarantees and require plan-specific review.
Secret Link