Does Selling Your House Count Toward IRMAA?

Partly counts

Partly. Gain on selling your main home is excluded up to $250,000 ($500,000 for most married couples filing jointly), and only the gain above that exclusion counts toward IRMAA.

On your return: Form 1040, line 7a on the 2025 form (line 7 on 2024 returns), only the gain above the exclusion

How much of a home sale counts

The sale price does not count. Only the gain does: the amount you realize after selling costs, minus your adjusted basis (what you paid plus improvements). If you qualify, up to $250,000 of that gain is excluded, or $500,000 for a married couple filing jointly. Excluded gain is not reported as income and never reaches MAGI.

Any gain above the exclusion is a capital gain. It goes on Form 8949 and Schedule D and lands on Form 1040, line 7a (line 7 on a 2024 return), where it counts in full. A loss on selling your home is not deductible, so it does not lower MAGI.

Who qualifies for the full exclusion

You must have owned the home and lived in it as your main home for at least 24 months of the 5 years before the sale, and not used the exclusion on another home in the previous 2 years. The 24 months do not have to be continuous. If you moved to a licensed care facility, time there can count toward the residence test if you lived in the home at least 12 months of those 5 years.

Depreciation you claimed for a home office or rental use after May 6, 1997, cannot be excluded, and a home acquired in a like-kind exchange in the past 5 years does not qualify. A partial exclusion may be available if you sell early because of a move for work, health or certain unforeseen events.

Surviving spouses: a two-year window

A surviving spouse who has not remarried can still use the $500,000 exclusion if the home is sold within 2 years of the spouse's death and the other conditions in IRS Publication 523 are met. After that window, the exclusion for a single filer is $250,000. For a widow or widower with a large gain, the sale date can decide whether the sale touches IRMAA at all.

Example

Using the 2027 brackets, which are set from 2025 tax returns, the first IRMAA threshold for a single filer is $112,000. A widow and her husband bought their home jointly for $280,000 and spent $60,000 on improvements. When he died it was worth $800,000, so his half took a new basis of $400,000 while her half kept $170,000: a total basis of $570,000. She sells for $900,000 and pays $45,000 in selling costs, a gain of $285,000, with $82,000 of other 2025 income. Within 2 years of his death, if she qualifies for the $500,000 exclusion, $0 counts: MAGI of $82,000 and no IRMAA at all (the standard premium) in 2027. Later, with the $250,000 exclusion, $35,000 counts: MAGI of $117,000 and IRMAA tier 1 of 5, about $1,189.20 a year in Part B and Part D surcharges per person on Medicare. Without the step-up on his half, the gain would have been $515,000.

What you can do

Worksheet IC-1 · Before and after

IRMAA income comparison

Compare one person's selected Part B and Part D IRMAA surcharges before and after an estimated change in annual MAGI.

1 · Choose the years

Medicare usually uses income from two years earlier. For current planning, a 2026 income event would ordinarily affect 2028 premiums.

2028 figures are projected estimates. Official amounts have not been released.

2 · Filing status
3 · Enter the scenario

Exclude the proposed addition from this amount. Use your estimated annual IRMAA MAGI, in whole dollars.

Enter $0 or more in whole dollars. This is the estimated change in MAGI, not necessarily the gross transaction amount.

Gross Roth conversions, withdrawals, and sale proceeds can differ from added MAGI because of basis and other tax rules. Your entry must already include your estimate of taxable Social Security and any other tax-return effects. This worksheet does not calculate those effects.
4 · Select coverage for one person

Full Part B means standard Medicare Part B coverage. The immunosuppressive-drug-only benefit uses a different table and is outside this comparison.

If you collect Social Security, this income can also make more of your benefit taxable, which raises your MAGI further. See how Social Security counts.

Your before-and-after comparison will appear hereEnter both MAGI amounts, then choose Compare income scenario.

Did a life event lower your income?

You may be able to reduce your surcharge by appealing with Form SSA-44.

See if you can appeal

Common questions

Does selling a house count as income for IRMAA?

Only the gain above your exclusion does. If your whole gain is covered by the $250,000 or $500,000 exclusion, the sale adds nothing to your MAGI.

Do I have to report the sale if all the gain is excluded?

Usually not, but if you received Form 1099-S you must report the sale on Form 8949 even with no taxable gain. Reporting it this way does not add excluded gain to your MAGI.

What about selling a house I inherited?

Your basis in an inherited home is generally its fair market value on the date of death, so a sale soon after inheriting often shows little gain. The main-home exclusion only applies if you meet the ownership and use tests yourself. Any gain you do have is a capital gain that counts.

Can I appeal IRMAA after a one-time home sale?

Not on that basis. Social Security lists capital gains from the sale of property as a non-qualifying event. The surcharge applies for the premium year based on that return and ends when a lower-income year is used.

Related

Sources