A $40,000 Capital Gain in 2025 Can Add Hundreds to Your 2027 Medicare Bill

Photo of Drew Wood
By Drew Wood Published

Quick Read

  • Medicare's two-year lookback means a $40,000 capital gain in 2025 locks in higher 2027 premiums with no appeal available.

  • A couple with $210,000 baseline MAGI who adds a $40,000 gain owes $2,297 in extra 2027 Medicare premiums.

  • IRMAA works as a cliff, and Form SSA-44 cannot reverse surcharges triggered by voluntary gains, Roth conversions, or home sales.

  • Are you ahead, or behind on retirement? SmartAsset's free tool can match you with a financial advisor in minutes to help you answer that today. Each advisor has been carefully vetted, and must act in your best interests. Don't waste another minute; learn more here.

This post may contain links from our sponsors and affiliates, and Flywheel Publishing may receive compensation for actions taken through them.
A $40,000 Capital Gain in 2025 Can Add Hundreds to Your 2027 Medicare Bill

© Inside Creative House / Shutterstock.com

A retired couple in New Jersey sold a rental property in early 2025 and booked a $40,000 long-term capital gain. They paid the federal capital gains tax in April 2026, breathed out, and moved on. Then the Medicare bill caught up. When 2027 premiums are calculated, that one-time 2025 gain can still raise what they owe for Part B and Part D.

This is the IRMAA two-year lookback, and it catches people who otherwise handle their taxes cleanly. Only roughly 8% of people with Medicare Part B pay an IRMAA surcharge at all. The risk is concentrated among retirees whose modified adjusted gross income is close to the first bracket. For them, a single capital gain, Roth conversion, or home sale can change the Medicare math two years later.

How a 2025 Gain Reaches Your 2027 Premium

Medicare sets each year’s IRMAA using the MAGI on your most recently filed federal return. The 2027 premium bill uses your 2025 return, which the Social Security Administration receives from the IRS in 2026. There is no appeal for “my income was higher two years ago than it is now,” unless a qualifying life event caused the drop. A voluntary capital gain does not qualify.

MAGI for IRMAA is your adjusted gross income (Form 1040, line 11) plus tax-exempt interest (line 2a). That municipal bond income you think of as tax-free still counts here. Long-term capital gains flow straight through AGI. A $40,000 gain adds $40,000 to the number Social Security uses.

What the Surcharge Actually Costs

The 2027 brackets have not been published yet. But the 2026 CMS schedule shows the mechanics clearly. For a married couple filing jointly, the first IRMAA tier begins when MAGI exceeds $218,000. At that tier, each spouse pays an added $81.20 per month for Part B and $14.50 per month for Part D, on top of the standard $202.90 Part B premium.

Take a couple whose baseline MAGI runs around $210,000 in 2025 from a pension, Social Security, and dividends. Under the 2026 schedule, they would owe no IRMAA. Add a $40,000 capital gain and their MAGI is $250,000, landing squarely in the first joint tier. The added cost for the household would be $2,296.80 for the year, split between the two spouses’ Part B and Part D bills. A single filer in the first tier would pay $1,148.40 extra.

Push MAGI past $274,000 for a couple and the surcharge jumps to $202.90 per person per month for Part B alone. IRMAA works as a cliff. One dollar over the bracket line moves you to the next tier in full.

The Traps Around the Trap

Two second-order problems make this worse than the surcharge alone.

The survivor trap. The single-filer thresholds are roughly half the joint thresholds. When one spouse dies, the survivor may eventually file as single, so income that fit under the joint $218,000 line can suddenly clear the single $109,000 line. Death of a spouse is a qualifying life-changing event for SSA-44, but widowhood can still leave a survivor with less room before IRMAA applies.

SSA-44 will not save you from a voluntary income spike. The life-changing event appeal covers marriage, divorce, death of a spouse, work stoppage, work reduction, certain losses of income-producing property, loss of pension income, or an employer settlement. A capital gain, Roth conversion, or home sale you chose to make does not qualify by itself.

What To Do Before Year-End

If you are reading this after filing your 2025 return, the income event that can affect 2027 IRMAA has already happened. Unless a correction or qualifying life-changing event applies, focus on 2026, which generally sets 2028 premiums.

  1. Pull your 2025 return and calculate your buffer. Take AGI plus tax-exempt interest. Subtract from the first IRMAA threshold for your filing status. That is the room you have this year before triggering a two-year premium surcharge.
  2. Harvest losses against planned gains. If you know you will realize a large gain in 2026, look for offsetting losses in the same tax year. IRMAA sees the net number.
  3. Spread the event across tax years when the asset allows it. Selling a concentrated stock position in two tranches (December and January) can keep both years below the cliff. A home sale cannot be split, but an installment sale sometimes can.

If your household MAGI sits within $20,000 of an IRMAA threshold and you are weighing a large Roth conversion or asset sale, a fee-only advisor who models the full tax-plus-Medicare cascade may be worth the cost. The decision is not just whether the tax bill is manageable. It is whether the extra income pushes Medicare premiums over a cliff two years later.

Contact [email protected] for any questions or corrections.

Photo of Drew Wood
About the Author Drew Wood →

Drew Wood has edited or ghostwritten 9 books and published over 1,400 articles on a wide range of topics, including business, politics, world cultures, wildlife, and earth science. Drew holds a doctorate and 4 masters degrees, and he has nearly 30 years of college teaching experience. His travels have taken him to 25 countries, including 3 years living abroad in Ukraine.

Featured Reads

Our top personal finance-related articles today. Your wallet will thank you later.

Continue Reading

Top Gaining Stocks

GPC Vol: 5,088,383
MRNA Vol: 14,112,476
EFX Vol: 2,195,638
VRTX Vol: 1,879,133
SPGI Vol: 3,749,613

Top Losing Stocks

TER Vol: 5,938,036
KLA
KLAC Vol: 23,648,857
GLW Vol: 21,192,211
STX Vol: 6,302,838
LRCX Vol: 18,973,383