You can write off medical expenses on your taxes, but only the unreimbursed portion that exceeds 7.5% of your adjusted gross income, and only if you itemize deductions instead of taking the standard deduction. That combination narrows the benefit to people who had unusually high healthcare costs relative to their income, or whose other itemized deductions were already large enough to beat the standard deduction on their own.
The 7.5% AGI Floor
Under Internal Revenue Code Section 213, only the portion of qualifying medical expenses that exceeds 7.5% of your AGI is deductible.1Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses Your AGI is the figure on your tax return after adjustments like retirement contributions and student loan interest but before the standard or itemized deduction.
Say your AGI is $80,000. Your floor is $6,000. Spend $14,000 on qualifying care and you can deduct $8,000. Spend $5,500 and you get nothing, because you never cleared the floor. The 7.5% figure applies to every taxpayer regardless of filing status or tax bracket.1Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses
You Only Benefit If You Itemize
Clearing the 7.5% floor is only step one. The deduction lives on Schedule A, so it only helps you if your itemized deductions together (medical, mortgage interest, state taxes, charitable gifts) exceed the standard deduction for your filing status.
For tax year 2026, the standard deduction amounts are:2Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026
- Single or married filing separately: $16,100
- Married filing jointly: $32,200
- Head of household: $24,150
A married couple filing jointly needs itemized deductions above $32,200 to come out ahead. Run the numbers both ways before committing.3Internal Revenue Service. Publication 501 (2025), Dependents, Standard Deduction, and Filing Information
What Counts as a Qualifying Medical Expense
The IRS defines medical expenses as costs for diagnosing, treating, or preventing disease, along with treatments affecting any part or function of the body. The expense must address a specific medical condition rather than just support general health.4Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
Common qualifying expenses include:
- Fees for doctors, dentists, surgeons, psychologists, chiropractors, and other licensed practitioners
- Hospital stays, diagnostic tests, X-rays, and lab work
- Prescription drugs and insulin (over-the-counter drugs do not qualify unless prescribed)
- Wheelchairs, hearing aids, prescription eyeglasses, contact lenses, and prosthetic limbs
- Therapy, psychiatric treatment, and addiction treatment programs
Every expense you claim must be unreimbursed. If insurance covered part of a hospital bill, only your out-of-pocket share counts.1Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses
Health Insurance Premiums
Premiums paid with after-tax dollars are deductible. That includes Medicare Part B and Part D, voluntary Medicare Part A enrollment if you were not automatically enrolled through Social Security, and premiums for supplemental or private coverage.4Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
The catch: premiums your employer takes out of your paycheck pre-tax are not deductible, because they were never in your taxable income to begin with. Check your W-2 or pay stubs to see how yours are handled.4Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
Long-Term Care Insurance
Premiums for qualified long-term care insurance are deductible up to age-based caps. For 2025 returns, the per-person limits are:5Internal Revenue Service. Eligible Long-Term Care Premium Limits
- Age 40 or under: $480
- 41 to 50: $900
- 51 to 60: $1,800
- 61 to 70: $4,810
- Over 70: $6,020
Only the amount within the cap for your age bracket counts, even if you paid more.
Self-Employed Health Insurance
If you are self-employed, you may skip itemizing altogether. Under IRC Section 162(l), you can deduct health insurance premiums for yourself, your spouse, and your dependents as an adjustment to income rather than an itemized deduction.6Office of the Law Revision Counsel. 26 USC 162 – Trade or Business Expenses That reduces AGI directly and can unlock other tax benefits that phase out at higher incomes.
Two limits apply. The deduction cannot exceed your net self-employment income from the business sponsoring the plan; if the business had a loss, the deduction is zero. And you cannot claim it for any month you were eligible to participate in a subsidized plan through your own or your spouse’s employer.6Office of the Law Revision Counsel. 26 USC 162 – Trade or Business Expenses Premiums deducted this way cannot also appear on Schedule A.
Home Modifications for Medical Needs
Capital improvements to your home can qualify when they are medically necessary for you, your spouse, or a dependent living with you. How much you can deduct depends on whether the improvement adds value to the property.
Certain accessibility modifications are presumed not to increase property value and are fully deductible, including:4Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
- Entrance or exit ramps
- Widened doorways and hallways
- Bathroom grab bars, railings, and support bars
- Lowered kitchen cabinets and equipment
- Porch lifts
- Modified stairways, fire alarms, or electrical outlets
- Grading the ground for wheelchair access
Improvements that do increase your home’s value, such as an elevator or a first-floor bathroom addition, are only partially deductible. Subtract the increase in property value from the cost. If an elevator costs $20,000 and adds $12,000 in value, you can deduct $8,000. Ongoing maintenance and operating costs for the improvement are fully deductible as medical expenses even when the original installation was only partly deductible.4Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
Travel and Lodging for Medical Care
Transportation to and from medical appointments is deductible, including bus fare, ambulance costs, and driving your own car. For 2026, the standard medical mileage rate is 20.5 cents per mile.7Internal Revenue Service. IRS Sets 2026 Business Standard Mileage Rate You can use that rate or track actual gas and oil costs, whichever is larger. Parking fees and tolls are deductible on top of either method.4Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
Lodging during medical travel is deductible up to $50 per night per person. A parent traveling with a sick child can claim up to $100 per night. Meals during medical travel are not deductible.4Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
Whose Expenses You Can Deduct
You can deduct qualifying medical expenses you paid for your spouse and your dependents. You can also deduct expenses for someone who would qualify as your dependent except for failing the gross income test (a gross income of $5,300 or more in 2026).4Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
Divorced or separated parents have a special rule. Either parent can deduct medical expenses they personally paid for a child, so long as the child spent more than half the year in the custody of one or both parents and received over half of their support from the parents. It does not matter which parent claims the child as a dependent for other tax purposes.4Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
What Does Not Qualify
The IRS separates medical care from general wellness. Vitamins, nutritional supplements, gym memberships, and vacations do not qualify even if a doctor recommends them.4Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
Cosmetic procedures are also excluded: face lifts, hair transplants, electrolysis, liposuction, and teeth whitening. The exception is cosmetic surgery that corrects a deformity from a congenital abnormality, an accident or trauma, or a disfiguring disease. Breast reconstruction after a mastectomy is the classic example.4Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
No Double-Dipping With HSAs and FSAs
Expenses reimbursed by a Health Savings Account or Flexible Spending Account cannot be deducted. If tax-free HSA distributions or pre-tax FSA dollars paid the bill, that bill already got a tax benefit and cannot appear on Schedule A.4Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
This is where people slip up. In a year when your medical costs are already well over the 7.5% floor, it can make sense to leave some expenses unreimbursed by the FSA so they count toward the itemized deduction instead.
When an Expense Counts
Medical expenses are deductible in the year you pay them, not the year you receive care or get billed. Surgery in December 2025 paid in February 2026 belongs on the 2026 return.
Credit cards can help with timing. The IRS treats a medical charge as paid in the year you made the charge, regardless of when you pay off the balance.4Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses Charging a large bill in December rather than waiting until January can pull the expense into a year where your other costs already put you over the floor.
How to Claim the Deduction
Medical deductions go on Schedule A (Form 1040). Line 1 is where you enter your total qualifying medical and dental expenses. The form walks you through the 7.5% AGI calculation, and the deductible amount flows into your other itemized deductions. The total from line 17 of Schedule A transfers to your Form 1040.8Internal Revenue Service. 2025 Schedule A (Form 1040) Itemized Deductions
Tax software handles most of the math automatically and flags common errors like claiming reimbursed expenses. Self-employed taxpayers claiming the above-the-line health insurance deduction use Form 7206 and report the result on Schedule 1 instead of Schedule A.
Records to Keep
You do not submit medical records with your return, but you need them if the IRS asks.4Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses Keep the following for each expense you claim:
- Itemized bills showing the date, service, and amount paid
- Explanation of Benefits statements from your insurer
- Pharmacy annual prescription summaries
- Mileage logs with date, destination, purpose, and miles driven
- Cancelled checks, credit card statements, or bank records showing payment
Organize by year and keep everything for at least three years after filing, which is the standard IRS audit window.
If You Are 65 or Older
Seniors face a higher bar for itemizing because their standard deduction is larger. On top of the regular standard deduction, taxpayers 65 or older qualify for an enhanced deduction worth $6,000 per eligible individual through 2028. A married couple where both spouses are 65 or older can add $12,000 to the regular standard deduction.9Internal Revenue Service. Check Your Eligibility for the New Enhanced Deduction for Seniors
For a couple both over 65 filing jointly in 2026, the combined standard deduction can exceed $44,000. Itemized deductions have to top that figure to make itemizing worthwhile. That said, seniors tend to have the highest out-of-pocket medical costs of any age group, and Medicare premiums alone can push the total up quickly. If you are over 65 and facing a major health event or ongoing treatment, run the comparison carefully rather than assuming the larger standard deduction wins.