She Will Sell Her House at 67 for a $400,000 Gain. The IRS Lets Her Keep $250,000 of It Tax-Free. Medicare Will Price Her 2028 Premium on Every Dollar Above That

Published November 26, 2026, 1:17pm 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.

A side profile of an older woman with short grey hair, wearing a dark blue sweater, standing in a kitchen and looking down at several white folded papers spread on a light beige countertop. A stainless steel sink and faucet are visible to her right. In the background, there's a window with autumn foliage outside. Overlayed on the left side are large white text "+$209" and smaller golden text "MEDICARE PREMIUM".
An elderly woman reviews paperwork, with a visible graphic indicating a +$209 Medicare premium. This represents the rising costs that seniors may face, as discussed in the accompanying article. © 24/7 Wall St.

Imagine a hypothetical 67 year old who will close on the house she has lived in for decades and walk away with a $400,000 gain. She knows about the home-sale exclusion, so she expects the deal to be mostly tax-free and invisible to everyone else. The IRS will see the part the exclusion misses. Two years later, Medicare will see it too.

Fewer than 10% of Part B enrollees pay any income surcharge. A single filer whose income stays at or below $112,000 pays the standard $209.40[1] a month on the 2027 schedule. A large home sale is one of the most common ways an average retiree crosses that line for a single year. The premium figures below come from the Centers for Medicare & Medicaid Services (CMS) 2027 schedule. Medicare has not published the 2028 brackets yet.

How the Taxable Slice Reaches Medicare

She qualifies for the exclusion under 26 U.S.C. § 121(a)[2] if she owned the home and lived in it as her principal residence for at least 2 years[2] of the 5-year period before the sale. Section 121(b)(1) caps a single filer’s exclusion at $250,000[2]. The excluded portion never shows up in her income. The remaining $150,000 is taxable long-term capital gain. It gets taxed at 0% or 15%, depending on where it stacks on top of her other income. The 2026 single-filer cutoffs are $49,450 and $545,500.

That gain feeds into her adjusted gross income. Medicare’s income surcharge, called IRMAA, uses modified adjusted gross income (MAGI): AGI from line 11[3] of Form 1040 plus tax-exempt interest from line 2a. Municipal bond interest looks tax-free, but it counts here. Social Security takes MAGI from the tax year two years before the premium year. A closing in 2026 therefore sets her 2028 Part B and Part D premiums.

Where a $150,000 Gain Lands on the Premium Ladder

2027 single-filer MAGI Part B surcharge (monthly, per person) Total Part B premium (monthly, per person) Part D surcharge (monthly, per person)
$112,000 or less $0 $209.40[1] $0
Over $112,000 through $141,000 $83.70 $293.10 $15.40
Over $141,000 through $177,000 $209.40 $418.80 $39.70
Over $177,000 through $212,000 $335 $544.40 $64
Over $212,000 and below $500,000 $460.60 $670 $88.30
$500,000 or more $502.40 $711.80 $96.40

The taxable gain by itself is above $141,000, the top of the first surcharge level, before she totals a dollar of Social Security, pension or IRA withdrawals. Even a seller who stays just under that line still bears the first-tier Part B surcharge of $83.70 a month. Her other income determines how far up the ladder she climbs (IRMAA goes to a set of Medicare costs keyed to a tax return from two years ago, and we mapped the rest in a free guide to Medicare’s hidden bills). The spike lasts one year. Social Security recalculates the surcharge every year, so her 2027 income will set her 2029 premium.

Why Form SSA-44 Won’t Undo It

Form SSA-44 asks Social Security to use a newer, lower income figure after a life-changing event. The qualifying events include marriage, divorce, the death of a spouse, loss of income and an employer settlement payment[4]. Each qualifies only when it lowers income. Her voluntary home sale raised her income, so it generally won’t qualify. Social Security will use whatever MAGI her 2026 return shows, which means her only chance to change the number comes before she signs the closing papers.

Three Moves to Make Before Closing

  1. Rebuild her cost basis. Under IRS Publication 523, gain equals amount realized minus adjusted basis. Basis starts with the purchase price and rises with capital improvements under 26 U.S.C. § 1016(a)(1)[5], such as a new roof, an addition, a kitchen remodel or a replacement HVAC system. Every reported dollar cuts a dollar from both her taxable gain and her MAGI. She should gather permits, contractor invoices and bank records for every project since she bought the house.
  2. Choose the tax year on purpose. A December 2026 closing puts the gain in 2026 income and raises her 2028 premiums. A January 2027 closing moves it into 2027 income and the 2029 premium year. She should close in whichever year her other income will be lower, and keep that year free of any Roth conversion or large IRA withdrawal.
  3. Keep other income low in the sale year. She can cover living costs that year from cash instead of taxable IRA withdrawals. On its own, the $150,000 gain sits below the $200,000 single-filer threshold for the 3.8% net investment income tax. Her other income counts toward that threshold too, so every dollar she keeps off the return protects her on the tax bill and on her 2028 premium.

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 →

Sources

  1. 2027 Medicare Parts A & B Premiums and DeductiblesCenters for Medicare & Medicaid Services
  2. 26 U.S.C. § 121 — Exclusion of gain from sale of principal residenceOffice of the Law Revision Counsel, U.S. House of Representatives
  3. Medicare Income-Related Monthly Adjustment Amountwww.ssa.gov
  4. Request to lower an Income-Related Monthly Adjustment ...www.ssa.gov
  5. 26 U.S.C. § 1016 — Adjustments to basisOffice of the Law Revision Counsel, U.S. House of Representatives