They Sell the House They Spent 30 Years Restoring for $1.2 Million. The IRS Excludes $500,000 in Gains. Medicare Still Counts Another $350,000 Against Both of Them

Published November 16, 2026, 6:04am ET · 4 min read

The Full Benefits Desk desk. Editor: Gerelyn Terzo.

This post may contain links from our sponsors and affiliates, and Flywheel Publishing may receive compensation for actions taken through them.

An older South Asian couple sits on a light blue sofa in a living room, looking intently at an open laptop on a wooden coffee table. The man, on the left, wears a light blue button-up shirt and khaki pants, with his left hand pressed to his forehead, indicating stress or deep thought. The woman, on the right, wears a beige long-sleeved top and light pants, resting her chin on her hand in a thoughtful pose. Several notebooks and a pen are visible on the coffee table. Sunlight streams in from a window on the left, illuminating the room.
A couple reviews their financial plans on a laptop, reflecting the concern of unexpected shortfalls uncovered through AI stress-testing of their retirement strategy. © Senior couple, stress and laptop for financial debt, budget mistake and investment fail or asset management at home. Elderly people with depression, thinking or reading news or email on computer (Shutterstock.com) by PeopleImages.com - Yuri A

Consider a hypothetical retired couple, both on Medicare, selling the house they spent 30 years restoring for $1.2 million. They expect the federal home-sale exclusion to cover the windfall. Their $300,000 adjusted basis and $50,000 in selling expenses leave a taxable gain, and Medicare will read that gain two years later.

This surcharge reaches only high-income households. The Centers for Medicare & Medicaid Services (CMS) says income-related premiums affect about 8% of Part B enrollees. A one-time home sale can still push a comfortable middle-income couple into that group for a full year, at a cost of five figures.

How a $1.2 Million Sale Becomes $350,000 of Medicare Income

The couple sells their home for $1.2 million. After subtracting their $300,000 adjusted cost basis and $50,000 in selling expenses, they have an $850,000 gain. Married couples filing jointly can exclude up to $500,000 in profit from federal taxes if at least one spouse owned the home and both lived there for at least two of the five years before the sale, along with meeting other eligibility rules. That leaves $350,000 in taxable gains.

Medicare calculates income using modified adjusted gross income (MAGI), which is adjusted gross income from your tax return plus tax-exempt interest. The $500,000 home-sale exclusion doesn’t count toward MAGI, but the remaining $350,000 does, on top of the couple’s other income. Even tax-free interest from municipal bonds counts.

What the Sale Costs Each Spouse in Premiums

As an example, assume the couple also reports $90,000 of other income from IRA withdrawals, taxable Social Security and dividends. On its own, that keeps them under the $218,000 joint threshold, so each spouse pays the standard $202.90 Part B premium. The sale raises joint MAGI to $440,000. The table uses published 2026 CMS figures.

Joint MAGI Part B surcharge (per person, monthly) Part D surcharge (per person, monthly) Combined surcharges (couple, annual)
$90,000 (no sale) $0 $0 $0
Over $342,000 through $410,000 $324.60 $60.40 $9,240
$440,000 (with sale) $446.30 $83.30 $12,710.40

At $440,000, each spouse owes $529.60 a month in surcharges, or $6,355.20 a year, on top of the standard Part B premium and whatever their Part D plan charges.

The two-year lookback sets the timing: a 2026 sale drives 2028 premiums. Because CMS hasn’t released the 2028 brackets or premiums, the 2026 figures are illustrations. The standard premium alone rose from $185 in 2025 to $202.90 in 2026. The surcharge generally falls away when the higher-income year drops out of Medicare’s two-year lookback. If 2027 MAGI returns to $90,000, the couple should pay standard premiums in 2029, assuming no other income adjustments.

Selling a home doesn’t qualify as a life-changing event for Form SSA-44. Social Security allows Income-Related Monthly Adjustment Amount (IRMAA) adjustments for specific events, including retirement, cutting back on work, marriage, divorce or a spouse’s death. A separate qualifying event may justify a request, but the home sale itself doesn’t. IRMAA is only one of several Medicare surcharges and coverage gaps that trap retirees, and we mapped out the full set in a free guide here.

Four Levers That Move the Medicare Number

  1. Improvements: IRS Publication 523 adds the cost of additions and improvements to basis, while routine repairs stay out. Thirty years of restoration receipts matter here. In this example, $30,000 more in documented basis or selling costs brings MAGI down to $410,000 and drops the couple a tier, saving $3,470.40 at 2026 rates.
  2. Selling expenses: Commissions and closing fees reduce the amount realized. Keep the settlement statement.
  3. Eligibility: The full $500,000 exclusion generally requires both spouses to meet the residence and prior-sale tests, while only one must meet the ownership test. If they don’t qualify jointly, each spouse’s individual eligibility matters. A qualifying surviving spouse may retain the $500,000 exclusion by selling within two years of the death. After that, the usual $250,000 limit applies, potentially leaving more gain taxable.
  4. Timing: A December 2026 closing hits 2028 premiums. A January 2027 closing moves the hit to 2029. Choose the year with the least other income.

Run These Numbers Before You Pick a Closing Date

  1. Rebuild your basis now. Gather the original purchase closing statement, contractor bills, building permits and records of qualifying improvements. Every additional eligible cost not already counted in your adjusted basis can reduce the taxable gain and Medicare MAGI.
  2. Model both spouses’ premiums for the sale year. Run joint MAGI with and without the gain against the brackets. If the result sits just above a limit, as this couple’s $30,000 excess does, finding more basis or holding back other income pays for itself.
  3. Clear the sale year. Move Roth conversions and optional IRA withdrawals into the year before or after the closing. Stacking them on top of the gain costs both spouses a higher surcharge.

Contact [email protected] for any questions or corrections.

Gerelyn Terzo

Gerelyn Terzo is the author of dividend investing handbook "Dividend Investing Strategies: How to Have Your Cake & Eat It Too." A veteran financial journalist, she covers agri-finance for outlets like Global AgInvesting and the broader stock market and personal finance for 24/7 Wall Street. She began at CNBC and later helped launch Fox Business in New York. Gerelyn currently resides in Woodland Park, Colorado and dabbles in nature photography as a hobby.

All articles →