Do Seniors Pay Capital Gains Tax on a Home Sale?

Seniors rarely pay capital gains tax when they sell a home. Federal law lets any homeowner, regardless of age, exclude up to $250,000 of profit from the sale of a primary residence, or up to $500,000 for a married couple filing jointly, as long as basic ownership and residency tests are met.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence There’s no special senior rate and no age-based exemption; the same rule applies whether you’re 45 or 85. For most retirees, that exclusion wipes out the entire gain. The situations where tax does come due are specific, and even when the income tax bill is zero, a big sale can still raise your Medicare premiums or affect benefit eligibility.

How Much Profit the Exclusion Covers

The exclusion comes from Section 121 of the Internal Revenue Code. A single filer can shelter up to $250,000 of gain from the sale of a main home. A married couple filing jointly can shelter up to $500,000, provided at least one spouse meets the ownership test, both spouses meet the residency test, and neither has claimed the exclusion on another home sale in the past two years.2Internal Revenue Service. Topic No. 701, Sale of Your Home These dollar figures are set by statute and do not adjust for inflation.

If your gain is below the limit, you owe nothing and, in many cases, don’t even need to report the sale. If your gain is above the limit, only the amount above the limit is taxable.

Who Qualifies

To claim the full exclusion, you must pass two tests during the five years ending on the date of sale: you must have owned the home for at least two of those years, and you must have lived in it as your main home for at least two of those years.3Internal Revenue Service. Publication 523, Selling Your Home – Section: Eligibility Test The two years don’t have to be consecutive. For a married couple filing jointly, only one spouse needs to satisfy the ownership test, but each spouse must independently meet the residency test.2Internal Revenue Service. Topic No. 701, Sale of Your Home You also cannot use the exclusion more than once every two years.

Time in a Care Facility Counts

A rule written for seniors who can no longer live independently loosens the residency test. If you become physically or mentally unable to care for yourself and you lived in the home for at least one year during the five-year window, any time you then spend in a state-licensed care facility counts toward the two-year residency requirement.4Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence – Section: Special Rules (d)(7) A senior who lived in the home for 14 months and then moved to a nursing home for 10 months before selling still qualifies for the full exclusion.

Partial Exclusion for Health-Related Moves

If you have to sell before meeting the full two-year requirement because of a health reason, you can claim a partial exclusion. Qualifying reasons include moving to get medical treatment, moving to care for a sick family member, or selling on a doctor’s recommendation.5Internal Revenue Service. Publication 523, Selling Your Home – Section: Partial Exclusion The partial exclusion is figured by dividing the time you actually owned or lived in the home (whichever is shorter) by 24 months and multiplying that fraction by the full exclusion amount. A single filer who lived in the home for 18 months before a health-related move could exclude up to $187,500.

Figuring Your Actual Gain

Before deciding whether you’ll owe anything, you have to work out the real gain, which is almost never the difference between what you paid and what you sold for. The IRS formula is: selling price, minus selling expenses, minus your adjusted basis, equals your gain.

Your adjusted basis starts with what you originally paid for the home, including certain purchase closing costs like title insurance, legal fees, recording fees, and transfer taxes.6Internal Revenue Service. Publication 530, Tax Information for Homeowners You add to that every capital improvement you’ve made over the years: new roofs, kitchen and bath renovations, added rooms, central air, decks, fencing, landscaping.7Internal Revenue Service. Publication 523, Selling Your Home – Section: Adjusted Basis Routine repairs and maintenance don’t count on their own, though repairs done as part of a larger remodel can be folded in.

Selling expenses come off the top of the sale price. Real estate commissions, advertising, legal fees, and loan charges you paid on the buyer’s behalf all reduce the gain.8Internal Revenue Service. Publication 523, Selling Your Home – Section: Worksheet 2 For a senior who has owned a home for decades and made steady improvements, a high adjusted basis plus 5% or 6% in agent commissions often shrinks the taxable gain to well under the exclusion, even on a sale price that looks eye-watering.

When Seniors Actually Do Owe Tax

A tax bill on a home sale generally shows up in one of a few situations.

Gain above the exclusion. Any profit above your $250,000 or $500,000 limit is taxed as a long-term capital gain (assuming you owned the home more than a year, which nearly every senior has). Long-term capital gains rates run 0%, 15%, or 20% depending on your total taxable income. The 0% bracket is worth flagging: a retired homeowner living mostly on Social Security and modest pension income can have a taxable gain above the exclusion and still owe nothing on it if total taxable income stays low enough. The larger standard deduction available at age 65 helps keep taxable income down.

Depreciation recapture. If you ever claimed depreciation on the home, whether from renting it out or writing off a home office, the exclusion does not cover the portion of your gain equal to depreciation taken after May 6, 1997.9Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence – Section: Special Rules (d)(6) That recaptured amount is taxed at a flat 25% no matter how small your other income is. This one blindsides seniors who rented out the house for a few years earlier in their ownership.

Prior rental use. If you used the home as a rental or something other than your main residence during part of the ownership period, a share of the gain proportional to that “nonqualified use” is carved out of the exclusion.10Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence – Section: Limitations (b)(5) Time after you move out doesn’t count as nonqualified use, so renting the place out for a couple of years right before selling doesn’t trigger this rule. It mainly catches homes that were rentals first and later converted to a personal residence.

Net investment income tax. Higher-income seniors may owe an additional 3.8% on capital gains if modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly).11Internal Revenue Service. Topic No. 559, Net Investment Income Tax These thresholds have not been indexed since 2013.

If You Are a Surviving Spouse

Selling the family home after a spouse dies is one of the more common scenarios for a senior, and the tax code offers two features that work in your favor.

First, a surviving spouse who sells within two years of the other spouse’s death can still claim the full $500,000 exclusion, provided the couple would have qualified for it right before the death.12Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence – Section: Limitations (b)(4) After that two-year window, the exclusion drops to $250,000 when you file as single.

Second, when a spouse dies, the tax basis of their share of the home resets to fair market value on the date of death. In common-law states, that step-up applies to the deceased spouse’s half only. In community property states, both halves step up.13Office of the Law Revision Counsel. 26 USC 1014 – Basis of Property Acquired From a Decedent – Section: (b)(6) For a couple who bought decades ago and watched the home appreciate, the step-up alone often erases most of the built-in gain, and the exclusion handles the rest.

Medicare Premiums Can Go Up Even When Tax Doesn’t

This is the piece that surprises seniors who correctly conclude they’ll owe no income tax on the sale. Medicare Part B premiums are income-based, and a taxable gain large enough to raise your modified adjusted gross income can push you into a higher premium bracket through the Income-Related Monthly Adjustment Amount, or IRMAA.

Medicare sets your premium using your tax return from two years earlier. Sell in 2026 and report a large taxable gain, and your 2028 Part B premium can jump. The 2026 standard Part B premium is $202.90 a month, but if modified adjusted gross income exceeds $109,000 (single) or $218,000 (married filing jointly), surcharges push the monthly premium as high as $689.90.14Centers for Medicare & Medicaid Services. 2026 Medicare Parts A and B Premiums and Deductibles

IRMAA looks at total MAGI, and only the taxable portion of the gain (anything above your Section 121 exclusion) counts, not the full sale price. If the exclusion swallows the whole gain, IRMAA is unaffected. A couple with $600,000 of gain and a $500,000 exclusion, though, adds $100,000 to their income and can easily land in a higher tier. The higher premium is not permanent; it resets once the high-income year rolls out of the two-year lookback.

Medicaid and SSI Can Be Affected Too

Your primary home is generally an exempt asset for Medicaid and Supplemental Security Income. The cash from selling it is not.

For Medicaid long-term care, states set a home equity limit between the federal minimum of $752,000 and the federal maximum of $1,130,000 for 2026.15Centers for Medicare & Medicaid Services. 2026 SSI and Spousal Impoverishment Standards While you live in the home and stay under your state’s limit, it doesn’t count against you. Once you sell, the proceeds become a countable resource and may need to be spent down before you qualify for coverage. Selling for less than fair market value can also trigger a transfer penalty under Medicaid’s 60-month look-back in most states.

SSI is tighter. Resource limits are $2,000 for an individual and $3,000 for a couple in 2026.16Social Security Administration. 2026 Cost-of-Living Adjustment (COLA) Fact Sheet Sale proceeds count as a resource starting the month after you receive them.17Social Security Administration. A Guide to Supplemental Security Income for Groups and Organizations If you’re on SSI, selling without a plan to reinvest in another home or otherwise spend down the cash can cost you benefits.

When You Have to Report the Sale

If the exclusion covers your entire gain, you often don’t have to report the sale at all. The main exception is when the closing agent issues a Form 1099-S reporting the gross proceeds. Once that form is in play, the sale has to appear on your return even if no tax is due.18Internal Revenue Service. Instructions for Form 1099-S

When reporting is required, whether because of a 1099-S, gain above the exclusion, or a partial exclusion, you’ll file Schedule D and Form 8949 with your return. Hold on to records of the original purchase price, every capital improvement, and every selling expense. Those documents are what prove your adjusted basis if the IRS ever asks.19Internal Revenue Service. Publication 523, Selling Your Home