Homeowners who install grab bars, entrance ramps, or walk-in tubs for medical reasons can claim part of those costs as a federal tax deduction, but two little-discussed limits often erase the benefit for middle-income filers. The deduction requires itemizing on Schedule A, and qualifying expenses must clear a floor set at 7.5 percent of adjusted gross income (AGI). A separate rule reduces the deductible amount by any increase the modification adds to the home’s market value, creating a double filter that can leave filers with nothing to write off even when the work is medically necessary.
How the AGI floor and home-value offset squeeze middle-income filers
Under 26 U.S. Code Section 213, medical care includes amounts paid for diagnosis, cure, mitigation, treatment, or prevention of disease, or for affecting any structure or function of the body. That broad definition can reach accessibility work such as widening doorways, lowering cabinets, and installing bathroom safety features. The catch is that Section 213 allows an itemized deduction only for medical care expenses exceeding 7.5 percent of AGI, a threshold the IRS reiterated in Internal Revenue Bulletin 2024-44.
For a household earning $80,000, the 7.5 percent floor sits at $6,000. A $9,000 bathroom renovation with grab bars and a walk-in tub would, at first glance, produce a $3,000 deduction because only the amount above the floor is potentially deductible. But federal regulations add another step. Capital expenditures are generally non-deductible; they qualify as medical expenses only when their primary purpose is medical care, and the deductible portion is reduced by any resulting increase in property value, according to Treasury Regulation 26 CFR 1.213-1. If an appraiser determines the tub and grab bars raised the home’s value by $4,000, the medical cost for tax purposes drops from $9,000 to $5,000, which now falls below the $6,000 AGI floor entirely.
This interaction hits hardest in areas where housing values respond more sharply to accessibility upgrades. Homeowners in states with higher property-tax assessments or rapidly appreciating markets may see steeper appraisal bumps for the same work, shrinking the deductible amount before the AGI floor even applies. The result is that income alone does not predict who benefits. The valuation offset and the 7.5 percent threshold work together, and in many cases the combination eliminates the deduction for households that fall squarely in the middle-income range, even when the modifications are clearly tied to a disability or chronic condition.
What IRS Publication 502 actually covers
The IRS describes which home changes can qualify as medical expenses in Publication 502. The guidance lists constructing entrance and exit ramps, widening doorways and hallways, adding handrails or grab bars, and modifying bathrooms as potentially includible medical costs when they are made to accommodate a medical condition. It also notes that grading exterior ground to provide access, modifying fire alarms and smoke detectors for a person who is deaf, and adjusting electrical outlets and fixtures can fall under the same rules. Walk-in tubs and similar bathroom fixtures are treated as capital expenditures that may count as medical expenses if they are installed primarily for medical care and not mainly for aesthetic or general comfort reasons.
Publication 502 emphasizes that when a home improvement increases the property’s value, only the portion of the cost that exceeds the value increase is considered a medical expense. If a $12,000 ramp and doorway project adds $7,000 to the home’s market value, just $5,000 is treated as medical spending. That figure must then be combined with other out-of-pocket medical costs and compared against the 7.5 percent AGI floor. Improvements that do not increase market value, such as certain interior grab bars or non-luxury safety changes, may be fully counted as medical expenses, but they still provide no tax benefit unless the total surpasses the threshold.
Itemizing on Schedule A is a second hurdle
Even when a project survives the value-offset test and clears the AGI floor, homeowners only see a benefit if they itemize deductions. The IRS explains the mechanics of itemizing in its instructions for Schedule A, where medical and dental expenses appear on the first line of the form. Filers must add up mortgage interest, state and local taxes, charitable contributions, and other itemized deductions and compare that total to the standard deduction for their filing status.
Many middle-income households already find the standard deduction larger than their combined itemized amounts. In those cases, adding a modest medical home-improvement expense-even one that technically qualifies-does not change the bottom line. The medical deduction only matters when it pushes total itemized deductions above the standard deduction, and the dual limits of the AGI floor and home-value offset often prevent that from happening.
Planning around the limits
For homeowners considering accessibility work, the tax rules rarely drive the decision, but they can influence timing and documentation. Grouping elective procedures and related home modifications into a single year may help push medical expenses over the 7.5 percent floor. Obtaining a clear medical recommendation and a written appraisal that separates value-adding features from purely functional changes can also clarify which costs are more likely to qualify. Still, the structure of the deduction means many middle-income filers will shoulder the full cost of medically necessary home improvements without meaningful federal tax relief.
Free for readers: The free Retirement Shield newsletter sends plain-English help keeping more of your money in retirement — the scams to dodge, the benefits you’re owed, and what’s changing with Social Security and Medicare, a couple times a week. Get the free newsletter.