Will Selling Your House Raise Your Medicare Premiums? How Home-Sale Gains Trigger IRMAA
-
October 31, 2026
Reviewed by Emily Horne
Medicare Agent Licensed in OK, AL, AR & 22 other states
Selling your house can raise your Medicare premiums, but only the taxable profit counts, and most people who sell a home they've lived in for years owe nothing extra. Medicare looks at how much gain is left after the IRS home-sale exclusion, and whether that leftover pushes your income over an IRMAA line.
If it does, the bill shows up 2 years later, lasts 1 year, and then goes away on its own. Here's how to figure out which group you're in before you sign at closing.
Quick answer: A home sale only affects Medicare if part of the gain is taxable. Single filers can usually exclude up to $250,000 of profit on a main home, and married couples filing jointly up to $500,000. Any taxable gain above that is added to your income for the year you close. Social Security uses that income to set your Part B and Part D premiums 2 years later. In 2026, the surcharge starts above $109,000 (single) or $218,000 (joint).
Medicare only sees the profit that hits your tax return
Medicare premiums above the standard amount are set by the Income-Related Monthly Adjustment Amount, or IRMAA. Social Security figures it from your modified adjusted gross income (MAGI), which is your adjusted gross income plus tax-exempt interest, from the tax return you filed 2 years earlier.
So a $700,000 sale and a $70,000 sale can have the same Medicare effect: zero. The only number that flows into MAGI is the taxable capital gain, and for most long-time homeowners the exclusion wipes most or all of it out.
The math the IRS uses in Publication 523 goes like this:
- Selling price minus selling expenses (commission, legal fees, advertising, other closing costs you paid) = amount realized
- Amount realized minus adjusted basis (what you paid, plus improvements) = your gain
- Gain minus the exclusion ($250,000 or $500,000) = taxable gain
That last number is the one Medicare cares about. If it's $0, you can stop worrying.
Do capital gains from selling my home affect my Medicare premiums?
It can. Medicare does not look at the full sale price of your home... it looks at the taxable profit reported on your tax return.If that profit pushes your income high enough, your Part B and Part D premiums could increase, usually about two years later. Many homeowners qualify to exclude part or all of the profit, so it really depends on your specific tax situation.
Who gets the $250,000 or $500,000 exclusion
Per IRS Topic 701, you generally qualify if you owned the home and lived in it as your main home for at least 2 of the 5 years before the sale. The 2 years don't have to be in a row. Married couples get the full $500,000 if they file jointly, either spouse meets the ownership test, and both meet the use test.
A few rules trip up retirees in particular:
- Once every 2 years. If you already used the exclusion on another home sold within the past 2 years, you generally can't use it again yet.
- Second homes and rentals don't qualify. The lake cabin, the condo you rent out, the house you inherited from a parent and never lived in: the whole taxable gain on those counts toward MAGI.
- Depreciation comes back. If you ever claimed depreciation on a home office or a rented-out portion of the house, that piece is taxable even if the rest of the gain is excluded.
- Nursing home time can count. If you became physically or mentally unable to care for yourself, lived in the home for at least 12 months of the 5 years, and then moved into a licensed care facility, your time in the facility counts toward the 2-year residence test.
That last one matters for families selling a parent's house after a move to memory care. Without it, a parent who's been in a facility for 4 years would fail the use test and lose the exclusion entirely.
Two examples: when the sale does and doesn't trigger IRMAA
These use the 2026 IRMAA brackets for illustration. The brackets are adjusted for inflation every year, so the exact lines for your premium year will be a bit higher.
Example 1: Married couple, long-time home. They bought in 1994 for $160,000 and put $70,000 into a new roof, a kitchen remodel and an addition. They sell in 2026 for $860,000 and pay $50,000 in commission and closing costs.
- Amount realized: $810,000
- Adjusted basis: $230,000
- Gain: $580,000
- After the $500,000 joint exclusion: $80,000 taxable
Their normal income (pensions, IRA withdrawals, the taxable part of Social Security) is about $150,000. Add the $80,000 and their 2026 MAGI is $230,000, just over the $218,000 joint line. In 2028, each spouse pays an extra $81.20 a month for Part B and $14.50 for Part D. That's $1,148.40 per person, or $2,296.80 for the couple, for one year.
Now say they tossed the improvement receipts years ago and can't prove the $70,000. Their taxable gain jumps to $150,000, MAGI hits $300,000, and they land in the second tier. Each spouse pays $240.40 a month extra, which comes to $5,769.60 for the couple. That shoebox of contractor invoices is worth $3,472.80 in Medicare premiums alone, before you count the income tax savings.
Example 2: Married couple, smaller gain. Same story, but they sell for $520,000. Their gain is about $240,000, fully covered by the $500,000 exclusion. Nothing lands in MAGI. Their premiums don't move.
Example 2 is far more common than Example 1. The people who get hit are usually in high-appreciation markets, sold a home they owned for decades, or are single.
What the surcharge costs: the 2026 IRMAA tiers
IRMAA is a cliff. Going $1 over a line puts you in the higher tier for the whole year. Here's what each person paid per month in 2026, based on 2024 MAGI, from Medicare.gov:
| 2024 MAGI (single) | 2024 MAGI (joint) | Part B premium | Part D add-on |
|---|---|---|---|
| $109,000 or less | $218,000 or less | $202.90 | $0 |
| $109,001 to $137,000 | $218,001 to $274,000 | $284.10 | $14.50 |
| $137,001 to $171,000 | $274,001 to $342,000 | $405.80 | $37.50 |
| $171,001 to $205,000 | $342,001 to $410,000 | $527.50 | $60.40 |
| $205,001 to $499,999 | $410,001 to $749,999 | $649.20 | $83.30 |
| $500,000 or more | $750,000 or more | $689.90 | $91.00 |
The Part D add-on applies even if your drug coverage comes through a Medicare Advantage plan. It's charged on top of whatever your plan's premium is, and it's per person, so a married couple pays it twice.
Widowed? The 2-year window that doubles your exclusion
This is where the single-filer math gets painful. After a spouse dies, you usually file as single starting the year after the death. That drops your IRMAA line from $218,000 to $109,000 and can drop your home-sale exclusion from $500,000 to $250,000.
Publication 523 gives surviving spouses a break. You can still claim the full $500,000 exclusion if you sell within 2 years of your spouse's death, haven't remarried at the time of the sale, and the two of you met the ownership and use tests together.
Take a widow whose husband died in March 2025, with a $420,000 gain on the house and about $45,000 of other income. If she closes in February 2027, the $500,000 exclusion covers all of it. If the sale slips to June 2027, she gets $250,000, leaving $170,000 taxable. Her MAGI hits $215,000 and, using 2026 tiers, she'd pay about $6,355 extra in Medicare premiums 2 years later.
There's a second break that helps too. When a spouse dies, their share of the home generally gets a new basis equal to its value on the date of death, which shrinks the gain before the exclusion even applies. Have a CPA run that number. And if you're dealing with the rest of the paperwork, here's how Medicare and Social Security change after a spouse dies.
Installment sales, owner financing and the balloon-year trap
If you finance the buyer yourself, you've made an installment sale. The IRS says the home-sale exclusion still applies. Any gain that isn't excluded gets spread across the years you receive payments, which can keep you under an IRMAA line in each year.
Two catches. The interest the buyer pays you is ordinary taxable income every year, and it counts toward MAGI. And a balloon payment can bunch a big piece of the taxable gain into one year, which is exactly the kind of spike IRMAA punishes.
We’re selling our primary residence with 3-year owner financing, a balloon payment, and about $200,000 in gain. How would the monthly payments affect our Medicare premiums if we file jointly?
For a lot of couples, the answer is "probably not much," but it depends on a couple of details.The gain itself may not count at all. When you sell your primary home, married couples filing jointly can usually exclude up to $500,000 of gain from taxable income. You generally qualify if you owned and lived in the home for at least 2 of the last 5 years. If your $200,000 gain qualifies, it never shows up in your income, so it won't affect your Medicare premiums. Owner financing doesn't change that.
The interest you collect does count. The interest part of each monthly payment is taxable income. Medicare looks at your modified adjusted gross income from two years back to decide whether you owe the income surcharge (IRMAA) on Part B and Part D. Your 2026 premiums are based on your 2024 tax return. For joint filers, the surcharge starts above $218,000 (2026). Interest from the note pushes your income up a little each year. That only matters if you're already close to that line.
Where it could matter more:
If part of the gain isn't excluded. That can happen if you didn't meet the 2-of-5-year test, the home was partly a rental or business, or you claimed depreciation. With installment reporting, the taxable gain is spread across the years you get paid, and a balloon payment can bunch a big piece into one year. Two years later, that could mean a one-year jump in your premiums.
If you're right at a threshold. IRMAA is a cliff. Going $1 over a tier puts you at the higher premium for the full year.
One heads-up: Selling a home doesn't count as a "life-changing event" for appealing IRMAA. If a balloon year bumps you into a higher bracket, you generally can't get it waived on that basis.
Before closing, run the numbers with your CPA or a financial planner, including how the sale is structured and when the balloon payment lands. A little planning up front can keep you under a threshold.
Why you can't appeal a home-sale IRMAA
Social Security lets you ask for a lower IRMAA with Form SSA-44 if a life-changing event cut your income: marriage, divorce, death of a spouse, stopping or reducing work, loss of pension income, an employer settlement payment, or loss of income-producing property.
Selling your house isn't on that list. Even the "loss of income-producing property" category excludes it. The current SSA-44 instructions say the loss must not be at your direction, and specifically not due to the sale or transfer of the property. That rules out selling a rental, too.
The good news is you rarely need to appeal. A one-time gain affects one year of premiums, and the next year Social Security pulls a fresh tax return. If your income is back under the line, the surcharge drops off automatically. That's how Medicare recalculates IRMAA every year.
How long does the IRMAA surcharge last, and is it permanent?
IRMAA (Income-Related Monthly Adjustment Amount) surcharges are not permanent and last for one year at a time. They are recalculated annually based on your tax return from two years prior (e.g., 2026 premiums are based on 2024 income). If your income drops, the surcharge decreases or disappears.One exception worth knowing: if you also retired or cut your hours, that is a qualifying event. But SSA-44 asks Social Security to use your newer year's income instead of the old one, so if the newer year is the sale year, filing won't help. Agents who handle this regularly want to see both years of numbers before anyone files.
How to keep a home sale from bumping your premiums
These moves work on how much of the sale shows up in MAGI, and in which year.
- Dig up your improvement records. Additions, roofs, HVAC, remodels, a new driveway: each one raises your basis. Routine repairs and maintenance don't count. As Example 1 showed, documentation can move you down a full tier.
- Pick your closing year on purpose. A closing on December 28 lands in a different tax year than one on January 3. If one of those years already has a Roth conversion or a big IRA withdrawal, close in the other one.
- Know your age window. Medicare looks back 2 years, so income in the year you turn 63 sets your premiums for the year you turn 65. If you're 61 or 62 and already planning to downsize, a sale before the year you turn 63 never touches IRMAA.
- Don't stack income. Keep big IRA withdrawals, Roth conversions and stock sales out of the sale year if you can. Harvesting capital losses in a brokerage account the same year can offset some of the taxable gain.
- Run the number before you list. A CPA can estimate your taxable gain in an afternoon. Then compare it to the IRMAA lines with whatever room your other income leaves.
Have you seen rising interest income from CDs or savings push Medicare clients over IRMAA thresholds and increase their premiums? Are there other ways higher interest rates can unexpectedly affect retirees’ Medicare costs?
Yes, absolutely. Higher CD, money market, and savings rates can generate enough additional taxable interest to push retirees over an IRMAA threshold and increase both their Part B and Part D costs.It can sneak up on people because IRMAA generally looks back two years. Higher interest can also cause more Social Security to become taxable, and when combined with RMDs, capital gains, or Roth conversions, it can push someone into an even higher IRMAA bracket.
It’s definitely something retirees with substantial cash savings need to be watching.
For the rest of the playbook, see these strategies retirees use to avoid IRMAA.
The other way a home sale changes your Medicare costs: Extra Help and Medicaid
This one hits the opposite end of the income scale. If you get Extra Help with drug costs, a Medicare Savings Program, or Medicaid, your home is usually not counted as a resource. The cash from selling it is.
For 2026, the Extra Help resource limit is $18,090 for an individual and $36,100 for a married couple. Medicare Savings Program limits are lower. Selling a $200,000 house and putting the proceeds in a savings account can knock you out of these programs, even though your income didn't change at all. That means losing help with premiums, deductibles and drug copays.
If you're on any of these programs, talk to your state Medicaid office or a licensed agent before closing. How you use the proceeds (buying the next home, paying off debt, prepaying funeral costs) can matter. Here's more on how Extra Help and Medicare Savings Programs work.
Common questions
Does selling a house count as income for Medicare?
Only the taxable gain counts. If your gain is fully covered by the $250,000 or $500,000 exclusion, the sale adds nothing to your MAGI.
How long do capital gains affect Medicare premiums?
One year. A gain from a 2026 sale affects your 2028 premiums only. In 2029, Social Security uses your 2027 return. If you want to check whether you need to do anything, agents answer whether IRMAA goes away automatically when income drops.
Does selling a rental property or second home affect Medicare?
Yes, more than a main home does. There's no exclusion, so the full taxable gain (including any depreciation recapture) goes into MAGI.
Will Medicare cancel my coverage if I make a big profit?
No. Coverage stays the same. Only the premium changes, and only for the one affected year.
If you're planning a sale and want someone to check how it lines up with your Medicare costs, you can get matched with a licensed Medicare agent in your area. Bring your tax return and a rough estimate of the gain.



