Free — No Account Required We Never Share Your Data Sources & method · Updated Nov 2026

Medical Expense Deduction Calculator: Which of Your 2026 Medical Costs Are Tax Deductible?

Quick Answer

You can deduct only the part of your medical and dental expenses that is more than 7.5% of your adjusted gross income, and only if you itemize on Schedule A. Medicare premiums, long-term care costs, nursing home care, and medical travel all count. For most retirees the standard deduction is larger, so itemizing pays off mainly in years with big costs, such as nursing home or assisted living bills.

Source: IRS Publication 502, Medical and Dental Expenses

Your tax situation

Line 11 of Form 1040. It includes the taxable part of Social Security, pensions and IRA withdrawals. The 7.5% floor is based on it.

State and local taxes (up to the legal cap), mortgage interest, charitable gifts. Leave at 0 if you do not itemize now.

Insurance premiums you paid in 2026

Part B, Part D, Medicare Advantage and Medigap premiums, including amounts taken out of your Social Security check. Include Part A only if you pay a premium for it.

Dental and vision plans and other coverage you paid with after-tax money. Not premiums paid by an employer or with pre-tax pay.

Only up to the age-based limit counts.

Care and out-of-pocket costs you paid in 2026

What you paid yourself, including copays and deductibles. Do not include what insurance paid.

The total you paid the facility for the year.

If yes, the whole cost, including meals and lodging, counts. If the reason is mainly personal, only the part for medical or nursing care counts.

Qualified long-term care services for a chronically ill person under a plan of care from a licensed health professional. Ordinary housekeeping does not count.

Travel and home changes

Counts up to $50 a night for each person.

Ramps, wider doorways, grab bars, a stair lift. Enter the cost you paid.

Many changes add no value. An appraisal gives this number. Leave at 0 if it did not add value.

Money you got back

Anything that paid for the costs above. These cannot be deducted twice.

Figures are for expenses you pay in 2026 and a federal return. State rules differ. The tax estimate uses ordinary 2026 rates and does not model capital gains rates, credits, or the alternative minimum tax. The calculator does not cover married filing separately.

How the Medical Expense Deduction Works

The medical expense deduction is one of the few tax breaks that rewards you for spending money on your own health, but it comes with a catch: the first slice of your costs is ignored. It works in three steps, and they match lines 1 through 4 of Schedule A.

  1. Add up what you paid. Count the qualifying medical and dental costs you paid during the year for yourself, your spouse and your dependents, then subtract anything insurance or a tax-free account paid back.
  2. Subtract 7.5% of your AGI. Only the amount above that floor is deductible. The 7.5% rate has been permanent since 2021.
  3. Compare with the standard deduction. The medical deduction goes on Schedule A along with other itemized deductions. It only helps if the itemized total beats your standard deduction.

That third step is where most retirees stop. For 2026 the standard deduction is $16,100 for a single filer, $32,200 for a married couple filing jointly, and $24,150 for a head of household, and each person who is 65 or older adds another $2,050 (unmarried) or $1,650 (married). A single person who is 65 has a standard deduction of $18,150, and a couple who are both 65 has $35,500. Medical expenses have to push your itemized total above those numbers before they save a dollar. The amounts come from Rev. Proc. 2025-32.

The calculator above runs all three steps and then tells you whether to itemize. It also shows how much more medical spending you would need before itemizing wins, which is the number most people are looking for when they ask whether any of this matters for them.

The 7.5% AGI Floor and How Much You Need to Spend Before Itemizing Pays Off

The floor is based on your adjusted gross income, line 11 of Form 1040. That number includes the taxable part of Social Security, pensions, IRA withdrawals, interest and gains. The higher your income, the higher the floor, which is why the deduction helps people with low and moderate income who have very large medical bills.

The table shows the break-even point for someone with no other itemized deductions: the medical spending at which itemizing ties with the standard deduction. Spend more than that and itemizing wins.

Medical expenses needed before itemizing beats the standard deduction, 2026
Your AGI7.5% floorSingle, 65 or olderMarried, both 65 or older
$30,000$2,250$20,400$37,750
$50,000$3,750$21,900$39,250
$75,000$5,625$23,775$41,125
$100,000$7,500$25,650$43,000

If you also pay mortgage interest, state and local taxes or make large charitable gifts, those add to the itemized side, and the medical spending you need is lower. The calculator has a box for that.

The $6,000 senior deduction does not change this comparison. It is allowed whether you itemize or take the standard deduction, so it is applied on top of either. Our senior deduction calculator shows how much of it you get at your income.

What Medical Expenses Are Tax Deductible, and What Is Not

The IRS definition of medical care is broad. It covers the diagnosis, treatment and prevention of disease, and the cost of equipment, supplies and transportation that go with it. Here is how the common items line up, based on Publication 502.

Common medical expenses for retirees
Counts as a medical expenseDoes not count
Doctor, dentist, hospital and lab fees you paidCosmetic surgery such as face lifts, hair transplants and liposuction, unless it corrects a deformity from a congenital condition, injury or disease
Prescription medicines and insulinOver-the-counter medicines without a prescription, and nutritional supplements
Hearing aids, with batteries and repairsWeight-loss programs for general health or appearance
Eyeglasses and contact lenses needed for medical reasonsMarijuana and other drugs that are illegal under federal law, even if a state allows them
Wheelchairs, walkers, and their upkeepFuneral expenses
Guide dogs and other service animals, including food and vet careLife insurance and income-replacement insurance premiums
Medicare Part B and Part D premiums, Medicare Advantage and other health insurance paid with after-tax moneyPremiums paid by an employer plan or with pre-tax pay
Qualified long-term care services and nursing home careThe payroll tax you paid for Medicare Part A while working
Ambulance, bus, taxi, and mileage to medical careExpenses reimbursed by insurance, or paid from an HSA, FSA or HRA

Two rules cut across the list. First, only expenses you paid during the tax year count, whenever the care itself happened, and prepaying for care you will get in a later year does not count. A payment by credit card counts in the year you charge it. Second, you cannot count any cost that someone else paid back to you, including insurance, a flexible spending arrangement and a health reimbursement arrangement.

Are Medicare Premiums Tax Deductible?

For people who itemize, yes. Publication 502 lists both Part B and Part D premiums as medical expenses. Medicare Advantage premiums and Medicare supplement (Medigap) premiums are health insurance premiums that you pay with after-tax money, and they count the same way.

  • Part B. The standard premium for 2026 is $202.90 a month, which is $2,434.80 for the year. If you pay an income-related surcharge (IRMAA), the whole premium counts. Check the amount on your Social Security Administration statement, because the premium is usually taken from your benefit before it reaches you. You still count the full amount.
  • Part D. Prescription drug plan premiums count, including any IRMAA surcharge on the plan.
  • Part A. Most people pay nothing for Part A, and the payroll tax you paid while working is not a medical expense. If you are not covered by Social Security and you enroll voluntarily, the Part A premium counts.
  • Medigap and Medicare Advantage. The premiums for these plans count. Plan costs you pay at the doctor, such as copays and coinsurance, also count.

Because Medicare premiums are a fixed cost, they make a decent head start toward the floor. A single retiree with $50,000 of income has a floor of $3,750, and the Part B premium alone is about two-thirds of it. To estimate the Part B and Part D costs you will pay, use our Medicare premium calculator, and see the IRMAA calculator if your income is high enough to trigger a surcharge.

If you are covered by an employer or retiree plan and the premium comes out of your pay before tax, you cannot deduct it. If you are self-employed, you may be able to deduct your health insurance premiums as an adjustment to income instead of on Schedule A, which is better because it does not depend on itemizing. That uses Form 7206 and has its own rules.

Is Nursing Home Care Tax Deductible? Assisted Living and Home Care Too

Long-term care is where the medical deduction can be worth the most, because the bills are large enough to clear both the 7.5% floor and the standard deduction. Publication 502 splits the rules by type of care.

Nursing homes

If a principal reason for being in the nursing home is to get medical care, the whole cost counts, including meals and lodging. If the reason is mainly personal or social, you cannot include meals and lodging, but you can still include the part of the cost that is for medical or nursing care. Ask the facility for a statement that shows how the bill divides.

Assisted living and care at home

Maintenance and personal care services count when they are required by a chronically ill individual and provided under a plan of care prescribed by a licensed health care practitioner. A person is chronically ill when a licensed practitioner certifies, within the past 12 months, that:

  • they cannot do at least two activities of daily living (eating, toileting, transferring, bathing, dressing or continence) without substantial help for at least 90 days because of lost function, or
  • they need substantial supervision to be protected from threats to health and safety because of severe cognitive impairment, such as Alzheimer's disease.

When an aide does both care and household chores, the pay has to be divided between medical and household time. Household services alone are not deductible.

Retirement community fees

If you pay a life-care fee or entrance fee to a retirement home, the part that is allocable to medical care can be included, whether you pay it monthly or as a lump sum. The agreement must require the fee as a condition of lifetime care, and the facility's statement should show the percentage that is for medical care. The calculator accepts the medical part in the nursing home box when you uncheck the whole-cost box.

ExampleA single retiree in a nursing home for medical reasons

Hypothetical.

A single 82-year-old with $36,000 of AGI pays $72,000 to a nursing home where the main reason for being there is medical care, plus $2,435 in Medicare premiums. Her total medical expenses are $74,435. After the 7.5% floor of $2,700, her medical deduction is $71,735. That is far more than her standard deduction of $18,150, so she itemizes. Her income after the deduction and the senior deduction is $0, so she owes no federal income tax, and the deduction saves her about $1,185. Because the deduction is bigger than her income, the extra is wasted for the year, which is a common outcome for people in care.

ExampleA couple with one spouse in assisted living

Hypothetical.

A married couple, both 70, have $85,000 of AGI and pay $54,000 a year to an assisted living community, where $18,000 is for personal care services under a plan of care, plus $4,870 in Medicare premiums. They also have $9,000 of other itemized deductions. Only the care portion counts, so their medical expenses are $22,870. The 7.5% floor is $6,375, which leaves a medical deduction of $16,495. With the other deductions their itemized total is $25,495 against a standard deduction of $35,500, so they take the standard deduction. Their medical expenses would have to reach about $32,875 before itemizing helps.

If you are weighing the cost of each type of care, the care facility cost comparison shows the typical range, and the long-term care savings runway calculator estimates how long your savings can pay for it.

Long-Term Care Expenses Tax Deductible: Insurance Premium Limits by Age for 2026

Premiums for a qualified long-term care insurance contract are a medical expense, but only up to a limit based on the age of the insured person at the end of the year. The limit is per person, and the premium above it is not deductible. The 2026 limits are in section 4.27 of Rev. Proc. 2025-32.

Deductible long-term care premiums per person, 2026
Age at the end of 2026Most you can include
Age 40 or younger$500
Age 41 to 50$930
Age 51 to 60$1,860
Age 61 to 70$4,960
Age 71 or older$6,200

A couple who both have policies applies the limit to each of them separately. A 72-year-old who pays $7,000 for a policy can include $6,200, and the other $800 does not count.

A separate limit applies to money coming back from a policy. Benefits paid under a qualified long-term care contract on a per-day basis are generally tax-free up to $430 a day for 2026 (Rev. Proc. 2025-32, section 4.62). Ask your insurer how your policy pays and which rule applies to you.

Hybrid life insurance and annuity policies with long-term care riders have their own rules about what part of the premium is deductible. If you are not sure whether your policy is "qualified," your insurer can tell you, and the answer decides whether any of the premium counts.

Medical Mileage, Lodging and Travel

The cost of getting to and from medical care counts. Bus, taxi, train, plane and ambulance fares are included when the trip is primarily for and essential to medical care. For a car you can either deduct the actual out-of-pocket costs, such as gas and oil, or use the standard medical mileage rate. Depreciation, insurance and general repairs do not count, and commuting does not count. Parking and tolls can be added on top of either method.

The IRS sets the medical rate separately from the business rate, and it changed in the middle of 2026.

Standard medical mileage rate, 2026
Dates of travelCents per mileSource
January 1 to June 30, 202620.5IRS Notice 2026-10
July 1 to December 31, 202623.5IRS Announcement 2026-11

That is why the calculator has two mileage boxes. Keep a simple log with the date, the destination and the miles.

Lodging. If you have to stay overnight away from home to get treatment at a licensed hospital or equivalent facility, the lodging counts up to $50 per night for each person. When someone must travel with the patient, such as a parent with a sick child, that person's lodging also counts, so two people can claim up to $100 a night. The lodging cannot be lavish, and there can be no significant element of vacation. Meals during the trip do not count unless you are at the hospital or a similar institution for medical care.

Home Modifications for a Medical Need

Changes you make to your home to treat or ease a medical condition count, even though they are capital improvements. The rule is that you subtract any increase in the home's value from what you paid, and only the rest is a medical expense. Ramps, widened doorways, grab bars, lower cabinets and roll-in showers usually add little or no value, so their full cost often counts. An elevator or a pool, on the other hand, tends to raise a home's value, so less of the cost counts. An appraisal before and after is how the value difference is proven.

If you are making a home safer so you can stay in it, this can be the largest single medical item in the year, and it is often not planned. Grouping it with other expenses, as the next section explains, can matter.

Bunching Medical Expenses Into One Year

Because of the floor and the standard deduction, the same total spending can produce a big deduction in one year and nothing in another. If you have some control over the timing of elective care, such as dental work, hearing aids, glasses or a planned procedure, paying for it in one tax year instead of two can cross the line.

Take a single 68-year-old with $60,000 of AGI, $12,000 of other itemized deductions such as property tax and charitable gifts, and $2,435 of Medicare premiums, who has $14,000 of elective dental and hearing work to pay for.

The same $14,000 of care, paid in two years or in one
PlanMedical expenses that yearMedical deductionItemized totalFederal tax saved by medical costs
Spread out: $7,000 in each of two years$9,435$4,935$16,935$0
Bunched: all $14,000 in one year$16,435$11,935$23,935$694
The year after bunching, no elective care$2,435$0$12,000$0

The standard deduction for this person is $18,150. When the care is spread out, the itemized total each year is $16,935, which falls short, so the medical costs save nothing. Bunched into one year it is $23,935, which beats it, and the medical costs lower the tax by about $694. The off year goes back to the standard deduction either way. Run your own numbers in the calculator by changing the out-of-pocket box. Timing only works for care you can schedule, and a payment for care you will receive in a later year does not count in the year you pay. Do not let a tax result drive a medical decision.

Example: A Retiree With High Premiums and Out-of-Pocket Costs

ExampleMany costs, but the standard deduction still wins

Hypothetical.

A single 70-year-old with $48,000 of AGI pays $4,535 for Medicare Part B, a drug plan and a Medigap policy, and spends $7,500 out of pocket on prescriptions, a hearing aid and dental work. That is $12,035 of medical expenses. The floor is $3,600, so the deductible part is $8,435. The standard deduction is $18,150, which is higher, so she takes it and the medical costs do not reduce her tax. Her medical expenses would need to reach about $21,750 to change that.

This is the typical result, and it is worth knowing before you spend hours collecting receipts. The calculator tells you in a minute whether the effort is likely to pay off. Even when the standard deduction wins this year, keep your records. A hospital stay, a move to a care facility, or a major home change can change the answer.

Paying Medical Bills for a Spouse, Parent or Someone Who Has Died

You can include medical expenses you pay for yourself, your spouse and your dependents. A spouse counts if you were married when the care was given or when you paid for it. A dependent counts if they were your dependent when the care was given or when you paid. An aging parent can be your dependent if they meet the qualifying relative tests, including an income limit and a support test. If several family members share the cost of a parent's care, special rules on multiple support declarations decide who may claim the parent. See the dependent rules in IRS Publication 501.

Our family caregiver cost calculator helps estimate what caring for a parent costs, and the medical portion may be deductible.

For someone who has died, medical expenses they paid before death go on their final return. If the estate pays the person's medical bills within the year after the date of death, the executor can elect to treat those expenses as paid by the decedent when they were incurred, which may allow a deduction on the final return. A statement that the expenses will not be claimed on the estate tax return must be attached. If you are settling an estate, ask the preparer to check this. The probate timeline explainer shows the stages of that process.

HSAs, FSAs and Insurance Reimbursements: Do Not Count Them Twice

A medical expense can only be used once. If you paid for it with tax-free money from a health savings account, a flexible spending arrangement funded with pre-tax pay, or a health reimbursement arrangement, you already got the tax benefit and cannot deduct it again. The IRS says you cannot take the expense even if you put other money back into the HSA. Anything an insurer reimbursed is also excluded. Enter these amounts in the last box of the calculator and it subtracts them from your total.

If you are in a high-deductible plan and have an HSA, you might prefer to pay medical costs out of pocket and let the HSA grow, but that is a tradeoff to talk over with a tax professional. If you can itemize, paying with the HSA does not stop your other medical costs from counting.

Records to Keep and What to Do If You Missed Deductions in the Past

You do not send receipts with your return, but you must be able to support the deduction if asked. Keep the following for at least as long as the period for amending or auditing that return:

  • Insurance statements showing premiums and what the plan paid.
  • Itemized bills and proof of payment for doctors, dentists, hospitals and care facilities.
  • Your Social Security statement showing the Medicare premiums taken out of your benefit.
  • A mileage log, plus receipts for tolls, parking, lodging and fares.
  • The doctor's plan of care and the facility's breakdown of care costs for long-term care claims.
  • Appraisals and receipts for any home changes.

If you realize you left out a deductible expense in a past year, you can file Form 1040-X for that year. Refund claims generally must be made within 3 years of filing the original return or 2 years after paying the tax, whichever is later.

If you sell medical equipment you deducted, such as a lift or a hospital bed, the sale may have tax consequences, and Publication 502 has worksheets for it.

Medical Expense Deduction FAQs

Can I deduct medical expenses on my taxes?

Yes, but only if you itemize deductions on Schedule A and only the part that is more than 7.5% of your adjusted gross income. If your itemized deductions total less than your standard deduction, you take the standard deduction and your medical expenses give no extra tax benefit.

What is the 7.5% AGI floor?

It is the amount of medical expenses you must absorb before any are deductible. If your AGI is $50,000, the first $3,750 of medical expenses is not deductible. Only the amount above that counts. The floor has been 7.5% of AGI since 2021.

Are Medicare premiums tax deductible?

Yes, for people who itemize. Medicare Part B and Part D premiums count as medical expenses, including the amounts taken out of your Social Security check and any IRMAA surcharge. The payroll tax you paid for Part A while working does not count. If you pay a premium for Part A because you do not have enough work credits, that premium does count.

Is nursing home care tax deductible?

Often yes. If a principal reason for being in the nursing home is to get medical care, the whole cost counts, including meals and lodging. If the reason is mainly personal, only the part of the cost for medical or nursing care counts. The facility can tell you how to divide the bill.

Is assisted living tax deductible?

Partly. For assisted living, the cost of qualified long-term care services is deductible for a chronically ill person under a plan of care from a licensed health professional. Rent, meals and housekeeping generally are not, unless a principal reason for being there is medical care.

Are long-term care expenses tax deductible?

Qualified long-term care services are medical expenses when they are required by a chronically ill person and provided under a plan of care prescribed by a licensed health care practitioner. Qualified long-term care insurance premiums are also deductible, but only up to an age-based limit. For 2026 the limits run from $500 for people 40 or younger up to $6,200 for people over 70.

What is the medical mileage rate for 2026?

The medical mileage rate was 20.5 cents per mile for travel from January 1 through June 30, 2026. The IRS raised it to 23.5 cents per mile for travel from July 1 through December 31, 2026. You can instead deduct your actual gas and oil costs. Parking and tolls can be added with either method.

Can I deduct medical expenses I pay for my parents?

Yes, if your parent was your dependent either when the care was given or when you paid for it. The qualifying relative tests include an income limit and a support test, so check the rules before you count them. Payments you make for a parent who is not your dependent are not deductible by you.

Do I lose the extra standard deduction for being 65 if I itemize?

Yes. The additional standard deduction for age 65 or older applies only if you take the standard deduction. The separate $6,000 senior deduction is different. It is allowed whether you itemize or not, so it is not lost.

Can I deduct expenses I paid with my HSA?

No. You cannot deduct expenses that you paid with a tax-free HSA distribution, and you cannot replace the money and then claim them. The HSA already gave you the tax benefit.

Official Sources and How We Calculate

The calculator adds the qualifying expenses, applies the age-based limit to long-term care premiums, subtracts reimbursements, takes away 7.5% of your AGI, and compares the result, plus any other itemized deductions you enter, with the 2026 standard deduction including the additional amount for age 65 or older and blindness. The tax estimate uses the 2026 ordinary rate tables and subtracts the senior deduction from Schedule 1-A on top of either choice.

SourceWhat we used it for
IRS Publication 502, Medical and Dental ExpensesThe 7.5% floor, what counts, nursing home and long-term care rules, lodging, home changes, timing, reimbursements, HSA rules
IRS Rev. Proc. 2025-322026 standard deduction, additional standard deduction, long-term care premium limits (section 4.27), per diem limit (section 4.62), tax brackets
IRS Topic no. 502, Medical and dental expensesOverview of the deduction and Schedule A
Schedule 1-A (Form 1040)The $6,000 senior deduction, allowed with or without itemizing

The 2026 medical mileage rates come from IRS Notice 2026-10 (20.5 cents) and IRS Announcement 2026-11 (23.5 cents from July 1). Estimate only, federal tax only. Your tax return and a tax professional decide the final amount. We do not store what you enter.

Educational Disclosure: This guide is for educational purposes only. Government rules, benefit levels, and tax limits change frequently. While we strive to present accurate information, it should not be taken as legal, tax, or financial advice. We encourage you to review official guidance on government portals (like IRS.gov or SSA.gov) and consult with a qualified professional before making final retirement or benefit elections.