Social Security and Home Sale: Two Tax Traps Most Sellers Miss
The federal home sale exclusion — $250,000 for single filers, $500,000 for married couples — is one of the most valuable tax breaks in the code.1 It protects most sellers from capital gains tax. But in high-appreciation markets, home gains regularly exceed the exclusion — a couple who bought in 2001 for $350,000 and sells today for $1.1 million has a $750,000 gain. After the $500,000 MFJ exclusion, $250,000 hits their adjusted gross income. That single-year spike carries two hidden costs:
Trap 2 — IRMAA two-year lag: Medicare uses your MAGI from two years prior to set annual Part B premiums. A spike in sale-year income triggers IRMAA surcharges — $81 to $487 extra per month, per person — that persist for the next two calendar years.
Neither trap involves the capital gains tax on the home itself. The damage happens in how the gain interacts with the other income you already have — your Social Security benefits and Medicare premiums. This page shows how to calculate your exposure and what you can do about it before you sign the closing documents.
How the provisional income formula works (IRC §86)
Social Security benefits are taxed under IRC §86, which uses a figure called provisional income — not your ordinary AGI — to determine how much of your SS benefit is taxable:
A home sale gain above the §121 exclusion lands directly in the AGI component. The thresholds that determine taxability were set by Congress in 1983 and 1993 and have never been adjusted for inflation, which means more retirees cross them every year:2
| Provisional income — Single / HOH | Provisional income — Married Filing Jointly | SS taxability |
|---|---|---|
| ≤ $25,000 | ≤ $32,000 | 0% taxable |
| $25,001 – $34,000 | $32,001 – $44,000 | Up to 50% taxable |
| > $34,000 | > $44,000 | Up to 85% taxable |
Many retirees with pensions, IRA withdrawals, or dividends are already above the upper threshold — meaning 85% of their SS is taxable before any home sale. If you are, a home sale won't change your SS taxability percentage (it's already maxed out). But retirees with modest income who sit in the 0%–50% zone can be pushed all the way to 85% in one transaction. Use the calculator below to see your specific scenario.
SS Tax and IRMAA Impact Calculator
Shows how a home sale gain changes your Social Security tax exposure and Medicare IRMAA bracket for the sale year.
The IRMAA two-year lag explained
Medicare Part B premiums are set each year based on your Modified Adjusted Gross Income from two years earlier. Sell your home in 2026, and SSA will use your 2026 MAGI to set your 2028 Part B premium. That surcharge then runs for the full 2028 calendar year and potentially into 2029 depending on subsequent income.3
The 2026 IRMAA thresholds (based on 2024 MAGI) illustrate the scale of potential surcharges:
| 2024 MAGI (single) | 2026 Part B premium | Extra monthly cost vs. standard | Extra annual cost |
|---|---|---|---|
| ≤ $109,000 | $202.90 | — | — |
| $109,001–$137,000 | $284.10 | +$81.20 | +$974 |
| $137,001–$171,000 | $405.80 | +$202.90 | +$2,435 |
| $171,001–$205,000 | $527.50 | +$324.60 | +$3,895 |
| $205,001–$499,999 | $649.20 | +$446.30 | +$5,356 |
| ≥ $500,000 | $689.90 | +$487.00 | +$5,844 |
For a married couple where both spouses are on Medicare, these annual figures double. A one-time home sale that bumps both spouses into Tier 3 costs an extra $15,580 in Medicare premiums over two years ($3,895 × 2 people × 2 years) — with no corresponding benefit from the sale itself beyond what was already taxed as a capital gain.
Form SSA-44: the IRMAA escape valve
If your income dropped significantly after the sale year — because the sale was one-time, you retired, or your income otherwise normalized — you can file Form SSA-44 (Medicare Income-Related Monthly Adjustment Amount Life-Changing Event) to ask SSA to use a more recent year's income.4 A home sale is not itself a "life-changing event" under the SSA-44 criteria (which lists retirement, divorce, loss of spouse, and similar events). However, if the sale year coincides with a qualifying event — say, you sold your home in the same year you retired — you may be able to use your post-retirement income for IRMAA calculation. A fee-only advisor familiar with IRMAA appeals can advise on whether SSA-44 applies to your situation.
5 strategies to limit the SS and Medicare double hit
- Time the sale to a gap year before you claim Social Security. If you haven't yet filed for SS, a home sale in a pre-SS year generates provisional income with only the capital gain — no SS benefits to push into taxable territory. There's no SS taxability issue because you have no SS income. You still face IRMAA two years later if you're already on Medicare, but the SS component of the problem is eliminated. The optimal window: sell in a low-income year before SS starts and before you turn 65.
- Use an installment sale (IRC §453) to spread the gain. Rather than receiving the entire sale price at closing, you can structure the sale so the buyer pays in installments over multiple years. The IRS allows gain recognition to follow the installment payments under IRC §453, keeping each year's capital gain income — and therefore provisional income — below the thresholds that push SS to 85% taxable. This strategy requires a willing buyer and careful structuring, and is most useful when the gain above the exclusion is large enough to hit a high IRMAA tier.
- Harvest capital losses in the sale year. If you hold depreciated positions in taxable accounts, selling them in the same year as the home sale offsets the capital gain dollar-for-dollar. This reduces the net gain that flows through to AGI, provisional income, and IRMAA MAGI. This won't help if your portfolio is predominantly pre-tax IRAs, since IRA distributions are not capital gains and can't be offset with losses from other positions.
- Maximize deductions in the sale year. In the year of a large home sale, consider front-loading charitable contributions (or funding a Donor-Advised Fund with appreciated assets to capture a deduction without incurring gains), prepaying deductible expenses where permissible, and maximizing retirement account contributions. Every dollar of additional deduction reduces AGI and therefore provisional income and IRMAA MAGI. The OBBBA Senior Deduction — $6,000/person for taxpayers 65 or older — applies on top of the standard deduction; make sure to claim it if you qualify.
- Do Roth conversions in the years before the sale. If you know you plan to sell your home in two or three years, use the pre-sale low-income years for Roth conversions rather than saving them for after the sale. Roth conversions in high-income years (when your provisional income already includes a large home sale gain) are doubly expensive: they add to AGI that's already elevated, potentially stacking two IRMAA triggers. Converting in calm years reduces your pre-tax IRA balance — and future RMD income — before the spike hits. See the Roth conversion window guide for the full modeling approach.
When the exclusion fully covers the gain
If your capital gain is entirely within the $250,000/$500,000 exclusion, none of the above applies. A home sale fully covered by the §121 exclusion does not appear in your AGI, does not affect provisional income, and does not change your IRMAA MAGI. The tax consequences are zero. The issues above are specific to sellers in high-appreciation markets or sellers who held their home for an unusually long time and built a gain that outpaced the exclusion.
One nuance: the exclusion requires that you owned and used the home as your primary residence for at least 24 of the past 60 months. Second homes, rental properties converted to primary residences, and homes used for business purposes may receive only a partial exclusion — making those situations more likely to have a taxable overage even at moderate appreciation levels.
When to involve a specialist
The interaction of a home sale, Social Security claiming timing, and Medicare IRMAA is a three-dimensional optimization problem. The right claiming age, conversion schedule, and sale timing depend on your specific income structure, whether your spouse is also on Medicare, your state's capital gains rules, and your longer-term retirement income plan. A fee-only financial advisor who works with pre-retirees can:
- Run a multi-year projection showing how different sale years and claiming ages interact with provisional income and IRMAA brackets
- Identify whether an installment sale structure improves the outcome in your specific case
- Sequence Roth conversions, IRA distributions, and the home sale to minimize the combined tax cost across 5–10 years
- Evaluate whether the SSA-44 appeal is available and likely to succeed given your circumstances
These decisions involve legal and tax structures (IRC §453 installment sales, qualified charitable contributions, Roth conversions) that benefit from professional modeling — not just rule-of-thumb estimates.
Get matched with a Social Security and retirement income specialist
Fee-only advisors who model Social Security claiming timing alongside home sale planning, IRMAA management, and Roth conversion windows. Free match, no obligation.
Related guides
- Social Security Provisional Income and Tax Calculator (IRC §86)
- Roth Conversion Window Before Social Security
- Social Security and Medicare: IRMAA Brackets and Coordination
- Bridge Strategy: Draw Down Assets to Delay SS to 70
- Social Security Claim Age Break-Even Calculator
- Claiming Social Security at 70: The Full Case
SocialSecurityAdvisorMatch is a referral service, not a licensed advisory firm. We may receive compensation from professionals in our network.
Content is for informational purposes only and does not constitute financial, tax, legal, or investment advice.
- IRC § 121 — Exclusion of Gain from Sale of Principal Residence. Single filer exclusion: $250,000; Married Filing Jointly: $500,000. Requires 2-of-5-year ownership and use test. No inflation adjustment; amounts unchanged since the Taxpayer Relief Act of 1997 and unmodified by OBBBA (P.L. 119-21, July 2025). Source: IRS Publication 523 (2025 edition).
- IRC § 86 — Social Security and Tier 1 Railroad Retirement Benefits. Provisional income thresholds: $25,000 / $34,000 (single); $32,000 / $44,000 (MFJ). Set by the Social Security Amendments of 1983 and OBRA 1993; never adjusted for inflation. IRS Publication 915 provides the full worksheet.
- SSA POMS HI 01101.020 — IRMAA Sliding Scale Tables (December 2, 2025). 2026 Part B and Part D IRMAA tiers by filing status, effective January 1, 2026. IRMAA is calculated using MAGI from two prior tax years.
- SSA Form SSA-44 — Medicare Income-Related Monthly Adjustment Amount Life-Changing Event. Allows beneficiaries to request use of a more recent tax year's income when a qualifying life-changing event reduced income after the year used to set the IRMAA determination. Qualifying events include retirement or reduction in work, loss of income-producing property (not including a discretionary home sale in isolation), divorce, and death of a spouse.
IRC §86 provisional income thresholds verified against current statute and IRS Publication 915. IRC §121 exclusion verified against IRS Publication 523 (2025). IRMAA brackets verified against SSA POMS HI 01101.020 (December 2025). OBBBA (P.L. 119-21) confirmed not to modify §121 or §86. Values current as of June 2026.