Skip to content
NHQualityCampaign.orgIndependent nursing home quality resource
Retirement AssetsFor families

Selling a Home to Pay for Long-Term Care: Taxes and Medicaid

Selling a home can fund years of care, but it turns an often-exempt Medicaid asset into countable cash. The capital gains exclusion usually still applies, even after moving into a care facility. Here is what to weigh before listing the house.

Updated 5 min readHow we research
Caregiver pushing an older resident in a wheelchair outdoors
Photo: rawpixel (CC0 1.0 (public domain)). Credits

Sell, keep, rent or borrow?

Options for the family home when care is needed
OptionProsCons
SellLarge lump sum; ends upkeep, taxes and insuranceProceeds countable for Medicaid; emotional loss; may not be reversible
Keep (empty)May stay exempt if intent to return; preserves optionOngoing costs; estate recovery risk; vacancy insurance issues
Rent outIncome for care; home keptRental income counts for Medicaid; landlord duties
Reverse mortgageCash while someone lives at homeDue if last borrower is away 12+ consecutive months for health reasons

How Medicaid treats the home

Under federal rules, the home is generally an exempt asset for Medicaid long-term care if the applicant's spouse or a dependent relative lives there, or if the applicant intends to return home. For an unmarried applicant, the exemption is limited by a home equity cap. For 2026, CMS set the federal minimum home equity limit at $752,000 and the maximum at $1,130,000; each state chooses within that range (California has its own approach). Some states apply stricter tests to the intent to return after a long stay.

Once the home is sold, the net proceeds become a countable asset. They can be used to pay for care privately and, eventually, the person may spend down to Medicaid limits. Selling to a relative for less than fair market value, or giving away proceeds, can trigger a transfer penalty if it happens within the five-year look-back. Certain transfers of the home are exempt, such as to a spouse, a disabled child, or a "caregiver child" who lived in the home and provided care for at least two years. See Medicaid nursing home coverage.

Taxes on the sale

Under section 121 of the tax code, a single owner can exclude up to $250,000 of gain on the sale of a main home ($500,000 for a married couple filing jointly) if they owned and lived in it for at least two of the five years before the sale. IRS Publication 523 includes a special rule: if the owner becomes physically or mentally unable to care for themselves and moves into a licensed care facility, time spent in that facility counts as time living in the home, provided they lived in the home for at least one year during the five-year period. Heirs who inherit a home generally receive a "stepped-up" basis, which can reduce tax on a later sale, so some families weigh keeping the home if a spouse or Medicaid exemption applies.

Estate recovery

Federal law requires states to seek recovery from the estates of Medicaid recipients aged 55 and older for long-term care costs. If a home is kept and passes through the estate, the state may file a claim after death (and after the death of a surviving spouse). Recovery is deferred in certain situations, and states must have hardship waivers. Some states recover from non-probate assets too. Ask an elder law attorney how your state handles estate recovery; you can search an elder law attorney directory.

Steps before selling

  1. 1
    Confirm who has authority
    A durable power of attorney or guardianship may be needed if the owner cannot sign.
  2. 2
    Get legal advice
    Especially if a spouse lives there, a relative wants to buy, or Medicaid is likely within five years.
  3. 3
    Get a market valuation
    Sell at fair market value to avoid transfer-penalty questions.
  4. 4
    Calculate the tax
    Ask a tax professional about the section 121 exclusion and basis.
  5. 5
    Plan the proceeds
    Decide how proceeds will pay for care and how long they will last; try the savings calculator.

Back to the retirement assets for care hub. Related: reverse mortgages for long-term care and nursing home costs.

Frequently asked questions

Do I have to sell my house to go into a nursing home on Medicaid?

Not necessarily. The home is often exempt while a spouse or dependent relative lives there or the applicant intends to return, subject to a state home equity limit ($752,000 to $1,130,000 in 2026). But the state may later seek estate recovery against it. Rules vary, so ask an elder law attorney.

Do I pay capital gains tax if I sell my house after moving to a nursing home?

Often not, up to $250,000 of gain ($500,000 for married couples). IRS rules let time in a licensed care facility count as time living in the home if you become unable to care for yourself and lived in the home at least one year of the prior five. Ask a tax professional.

Can I give my house to my children to avoid Medicaid?

Giving away a home within the five-year look-back usually triggers a Medicaid penalty period. Some transfers are exempt, such as to a spouse, a disabled child, or a caregiver child who lived there and provided care for two years. Get legal advice before transferring a home.

What happens to the house after a Medicaid recipient dies?

States must seek recovery of long-term care costs from the estates of recipients 55 and older, which can include the home. Recovery is deferred while a surviving spouse or certain dependents are alive, and hardship waivers exist. Rules vary by state.

Free, no-obligation help

Get help choosing care or coverage

Talk with a licensed agent about Medicare, Medigap, Medicare Advantage and ways to pay for a nursing home stay. Or call 1-800-MEDIGAP (1-800-633-4427).

Answered by licensed insurance agents, not by Medicare or CMS.

Sources

  1. IRS Publication 523: Selling Your Home
  2. CMS: 2026 SSI and spousal impoverishment standards (home equity limits)
  3. Medicaid.gov: Estate recovery
  4. 42 U.S. Code § 1396p (transfers and estate recovery)

Financial disclaimer. This page is general education, not investment, tax, legal or insurance advice, and it does not recommend any product. Rules, rates and tax treatment change; talk to a licensed professional (for example a fee-only financial planner, CPA, elder-law attorney or HUD-approved housing counselor) about your situation before acting.

Independent resource. NHQualityCampaign.org is an independent educational resource. It is not affiliated with, endorsed by or operated by the Centers for Medicare & Medicaid Services (CMS), the U.S. Department of Health and Human Services (HHS), any government agency, or the original Advancing Excellence in America’s Nursing Homes campaign or its sponsors. Historical campaign information is summarized with attribution for educational purposes.