This post may contain links from our sponsors and affiliates, and Flywheel Publishing may receive compensation for actions taken through them.
A married couple filing jointly is preparing to sell the home they have lived in for decades, realizing a $460,000 gain. Friends and relatives cautioned them that Medicare’s IRMAA surcharge would rise sharply. IRMAA, or the income-related monthly adjustment amount, is an extra charge added to Part B and Part D premiums for beneficiaries with higher incomes.
For a couple that qualifies for the home-sale exclusion, that warning misses how Medicare calculates income. A gain excluded under Section 121 never becomes adjusted gross income, which means it does not enter the modified AGI Medicare uses to determine IRMAA.
The stakes are still significant because the standard Part B premium is $202.90 a month. A $460,000 gain would place a joint return in an income bracket above $410,000 and up to $750,000. In that range, the total Part B premium is $649.20 a month, and the Part D surcharge is $83.30.
Why the Excluded Home Sale Gain Does Not Enter Medicare’s Calculation
Under Section 121(a), gross income does not include home-sale gains. To qualify, the home must have been owned and used as a principal residence for at least two years during the five-year period ending on the sale date. For joint filers, Section 121(b)(2)(A) increases the exclusion limit to $500,000. Because excluded gain never becomes gross income, it never appears in AGI. The Social Security Administration defines the modified AGI used for IRMAA as AGI from line 11 of Form 1040 plus tax-exempt interest from line 2a. In this case, the couple’s gain falls under the joint limit with $40,000 to spare, so none of it reaches that figure.
The Rules Supporting the Exclusion
The governing rule is 26 U.S.C. § 121, and IRS Publication 523, Selling Your Home, explains how it works. That publication says a married couple filing jointly may exclude up to $500,000 of gain. On the Medicare side, the Social Security Administration’s operations manual, POMS HI 01101.010, sets out the MAGI definition.
The premium brackets are based on the CMS fact sheet for Medicare premiums and deductibles, which sets the joint threshold for the standard premium at $218,000.
Who Can Claim the Full Joint Exclusion
The $500,000 exclusion is available only when several conditions are met. IRS rules require the couple to be married and file jointly, at least one spouse must meet the ownership test, both spouses must meet the use test, and neither spouse may have claimed the home-sale exclusion on another property during the prior two years. Single filers and married people filing separately are limited to $250,000. A surviving spouse who has not remarried may still use the higher amount if the sale occurs within two years of the spouse’s death and the other requirements are satisfied. Under Section 121(e), certain expatriates cannot use the exclusion at all.
How to Keep Excluded Home Sale Gain Out of IRMAA
- Both spouses must have lived in the home, and one must have owned it, for two of the five years ending on the sale date. Form 1099-S lists the sale date in box 1.
- Use the worksheets in Publication 523 to calculate gain, starting with the purchase price and adding qualifying improvements to determine adjusted basis.
- Compare the gain with the $500,000 joint limit.
- Follow reporting rules. If the entire gain is excluded and no Form 1099-S was issued, the sale usually does not need to be reported. If Form 1099-S was issued, the sale is reported on Form 8949 even if there is no taxable gain.
- Keep basis records until three years after the due date of the return for the year of the sale.
When the IRMAA Concern Is Valid
Any gain above the exclusion is taxable, increases AGI, and counts toward IRMAA. A single filer with the same $460,000 gain would be left with $210,000 after the exclusion. That amount alone exceeds the $205,000 single-filer threshold, which carries a total Part B premium of $649.20.
A couple whose gain exceeds $500,000 faces the same issue on the excess. If one spouse fails the use test, Section 121(b)(2)(B) limits the couple to the combined individual exclusions, which can reduce the amount they may exclude. Depreciation allowed or allowable for business or rental use after May 6, 1997, cannot be excluded from taxable gain. The sale is generally reported on Form 8949 and Schedule D, although Form 4797 may apply to a separate business portion.
Timing also matters because IRMAA generally uses tax data from two years earlier, so premium calculations are usually based on tax return information from two years before the premium year. Any taxable portion of a home sale can therefore affect premiums about two years after closing. IRMAA is one of several Medicare surcharges that can surprise retirees, and a full overview of these hidden charges is available in a free guide to Medicare’s extra costs.
Records matter in these situations. A closing statement from the original purchase and receipts for additions, roof replacements, and other improvements increase basis and reduce gain. With solid records, a gain close to the cap can stay under it; without them, it can exceed the limit.
More from Digilifetrends
Medicare Has Costs at Every Step — and You Can Remove a Retirement-Related Surcharge
Medicare is not free. For most enrollees, Part B alone is expected to cost $209.40 a month in 2027, and that is before adding drug coverage, deductibles, or any supplemental…
3 min read · Published 2026-11-29Retiring at 64 With $1.46 Million, He Faces Social Security Earnings Limits — But a First-Year Exception Protects $15,600 in Benefits
A man carefully reviews financial papers in his kitchen, a familiar scene for people dealing with unexpected bills. It highlights why every financial document should be checked…
4 min read · Published 2026-11-29At 78, After a Career in Construction, He May Need Nursing Home Care: How $700,000 Could Shrink Under Medicaid Rules, Leaving $162,660 for His Wife
Medicare only pays for limited short-term skilled care, so a couple with $700,000 could have to spend about $535,000 before Medicaid steps in, while preserving $162,660 for the…
5 min read · Published 2026-11-28