The short answer
Match the sale to the care bills. In a year of heavy nursing-home or qualified long-term care costs, the medical expense deduction above 7.5% of adjusted gross income can absorb a large part of the gain from a rental sale, deductions that would otherwise go unused. If the care can be paid from income instead, a 1031 exchange into income-producing property such as DST interests defers the gain, ends the landlord work and keeps the section 1014 basis reset at death. Selling or exchanging at fair value is not a Medicaid transfer penalty; giving the property or the proceeds away within the five-year look-back is.
At a glance
| Medical deduction floor | Expenses above 7.5% of adjusted gross income, under section 213(a) |
|---|---|
| Nursing home costs | Meals and lodging count if the principal reason for being there is medical care |
| Qualified long-term care | Services for a chronically ill individual under a licensed practitioner's plan of care |
| Medicaid look-back | 60 months for transfers made on or after February 8, 2006 |
| Estate recovery | Required for nursing facility services to recipients aged 55 or older |
| 2026 single standard deduction | $16,100, plus $2,050 for an unmarried filer 65 or older |
| Basis at death | Date-of-death value under section 1014, for the rental or for replacement property |
The decision is sell for cash, exchange for income, or hold, and the care timeline decides it
Care costs arrive in two shapes: a large monthly bill that can run for years, and sometimes a lump sum to enter a community. A rental can pay either way. Sold outright, it becomes cash for the bills; exchanged, it becomes income property someone else manages; held, it keeps producing rent and passes with a basis reset at death.
Which fits depends on how the monthly bill compares with the household's other income, how long care is expected to last and who is managing the property now. Elderly parent options weighs age and life expectancy, and moving into assisted living covers the landlord exit itself; this page is about the care budget and its tax.
Whatever the choice, keep enough cash outside any illiquid investment to pay at least a year of care. Care needs change quickly, and an investment that cannot be sold on short notice is the wrong place for next year's bills. If holding until death is part of the plan, write down which assets will pay for care in the meantime.
Care costs are a medical deduction, and the year of the sale is when it does the most good
Section 213(a) allows a deduction for medical care expenses above 7.5% of adjusted gross income, and section 213(d)(1)(C) includes qualified long-term care services. IRS Publication 502 adds that nursing-home costs, including meals and lodging, count when the principal reason for being there is medical care, and that qualified long-term care services are those required by a chronically ill individual under a plan of care prescribed by a licensed health care practitioner.
Many people in care already have deductions larger than their income, and section 213 contains no carryover, so the excess is lost each year. A rental sale in a year of high care costs gives that deduction income to absorb.
The deduction is itemized, so it helps only to the extent it exceeds the standard deduction, which Rev. Proc. 2025-32 sets for 2026 at $16,100 for a single filer plus $2,050 for an unmarried filer 65 or older.
Hypothetical: a $300,000 gain in a year with $150,000 of nursing-home costs
Hypothetical: a widowed parent, 84, lives in a nursing home for medical care at $150,000 a year, has $40,000 of pension and Social Security income in adjusted gross income, and sells a paid-off rental early in the year for a $300,000 long-term gain. Run your own numbers with your CPA; state tax and the exact split of the gain change the answer.
- Adjusted gross income is $340,000, so the floor is $25,500 and the medical deduction is $124,500.
- That is $106,350 more than the $18,150 standard deduction this parent would otherwise take, and it comes off the top of taxable income, where the gain is taxed at 15%: about $16,000 of federal tax saved.
- The 3.8% net investment income tax is unaffected, because it is measured on modified adjusted gross income, which itemized deductions do not reduce.
- In a year without the sale, the same $150,000 of care costs would exceed this parent's income, and most of the deduction would go unused.
Medicaid looks back five years at gifts, not at sales or exchanges for fair value
Under 42 U.S.C. 1396p(c), a state penalizes assets disposed of for less than fair market value during a look-back period of 60 months for transfers made on or after February 8, 2006. Selling the rental at market or exchanging it for replacement property of equal value is not that kind of transfer; deeding the rental to a child or handing over the sale proceeds is.
Resources count differently. Whether a rental or a DST interest is a countable resource is set by each state's Medicaid rules; for comparison, the federal SSI standard in 20 CFR 416.1224 excludes only up to $6,000 of equity in income-producing property earning at least 6% a year. Ask the state Medicaid agency or an elder-law attorney before you choose.
Section 1396p(b) requires states to seek recovery from the estates of recipients who were 55 or older for nursing facility services. A step-up at death protects heirs from income tax, not from estate recovery.
An exchange keeps the step-up and the income, and the power of attorney must reach real estate
If the care can be paid from income, exchanging into DST interests or a net-leased building replaces rent with distributions or lease payments, removes the management and keeps the deferred gain on track to disappear at death under section 1014. DST distributions are not guaranteed and the interests cannot be sold quickly, as DST illiquidity explains, so they suit only money that will not be needed for bills.
A partial exchange can do both: take a year or two of care costs in cash at closing, taxed under section 1031(b), and exchange the rest. Intentional boot covers how to structure it.
When an adult child signs, read the power of attorney first. Whether an agent can sign the listing, the exchange agreement and the 45-day identification depends on the powers the document grants and on state law, and some acts need express authority; California's Probate Code section 4264, for example, requires express language before an agent can create or modify a trust or make gifts. Confirm the document with the qualified intermediary and the title company before listing.
Related questions
Are assisted living costs deductible like nursing home costs?
Publication 502 allows meals and lodging in a home for the aged or similar institution only when the principal reason for being there is medical care; otherwise only the medical or nursing portion counts. Qualified long-term care services for a chronically ill individual are deductible medical care, so ask the facility for a breakdown.
Can the medical deduction offset the depreciation part of the gain?
The deduction reduces taxable income generally, so it reduces whatever is taxed at the top of the stack, usually the long-term gain. Your CPA's return software applies the ordering.
Will exchanging into a DST affect Medicaid eligibility?
Exchanging at fair value is not a transfer penalty, but the DST interest may be a countable resource under your state's rules. Check before you exchange if Medicaid is likely within a few years.
Can my parent's agent under a power of attorney sign the 1031 documents?
It depends on the powers the document grants and on state law. Gifts and trust changes need express authority in states such as California, so send the full document to the intermediary and title company early.
Is it better to hold the rental until death for the step-up?
If care can be paid from other money and the property is manageable, holding or exchanging into passive property keeps the step-up. If the property must fund the care now, selling in a high-deduction year may cost little tax.
Sources
Checked against these publications on September 30, 2026. Rules and figures change; confirm the current version with your CPA or attorney before you act. This page is general information, not tax or legal advice.
- 26 U.S.C. Section 213 (medical, dental, etc., expenses)
- IRS Publication 502, Medical and Dental Expenses
- IRS, Rev. Proc. 2025-32 (2026 inflation adjustments)
- 42 U.S.C. 1396p (liens, adjustments and recoveries, and transfers of assets)
- 20 CFR 416.1224 (property essential to self-support)
- 26 U.S.C. Section 1014 (basis of property acquired from a decedent)
- 26 U.S.C. Section 1031
- 26 U.S.C. Section 1411 (net investment income tax)
- California Probate Code Section 4264 (powers requiring express authority)
