The Medicare Rules Railroad Retirees Need to Know Before Selling Their Home
Video Retirement Financial Planning TaxesHow Selling Your Home Can Affect IRMAA
Suppose you have lived in your home for 25 or 30 years. Over that period, the property may have appreciated considerably. When you sell, the difference between your adjusted tax basis and your net proceeds from the sale may result in a capital gain.
The important distinction is that the sale price is not the same as your taxable capital gain. Your gain generally starts with the amount realized from the sale, minus your adjusted basis and applicable selling expenses. Improvements and other adjustments may affect your basis.
The IRS allows eligible homeowners to exclude some or all of the gain from the sale of their principal residence from federal taxable income. However, if some of the gain remains taxable, it can increase your adjusted gross income and potentially your MAGI for Medicare purposes.
That is where retirement planning becomes important. A large taxable gain in a particular year may push your income into a higher IRMAA bracket two years later, increasing your Medicare Part B and Part D costs.
For railroad retirees, this is worth considering alongside your railroad retirement annuity, other retirement income, investment income, and any planned withdrawals from retirement accounts.
Understanding the IRS Home Sale Exclusion
Under Section 121 of the Internal Revenue Code, eligible homeowners may exclude up to:
- $250,000 of gain for an eligible individual taxpayer.
- $500,000 of gain for an eligible married couple filing jointly, provided the applicable requirements are met.
These are exclusions of capital gain, not reductions in the home's sale price. They also are not automatic allowances for every homeowner.
In general, to qualify for the exclusion, you must have owned the home for at least two years and used it as your principal residence for at least two years during the five-year period ending on the date of sale. Additional rules apply, including a restriction generally preventing you from using the exclusion again if you excluded gain on another home sale during the preceding two years.
For married couples filing jointly, special requirements determine whether the full $500,000 exclusion is available. In general, both spouses must meet the residence-use requirement, at least one must meet the ownership requirement, and neither may have claimed the exclusion on another home sale within the relevant two-year period.
If your gain exceeds the amount you can exclude, the remaining taxable gain may increase your income for the year of the sale.
For the complete rules, see IRS Topic No. 701, Sale of Your Home, and Publication 523, Selling Your Home.
Why the Timing of Your Home Sale Matters
The two-year IRMAA lookback makes the timing of a home sale an important consideration for people approaching Medicare eligibility.
Imagine that you retire at age 60, spend a few years adjusting to retirement, and then decide to sell your home and relocate. If you sell during the tax year that will be used to determine your Medicare premiums at age 65, any taxable gain could affect the income calculation for that Medicare premium year.
On the other hand, if you sell in an earlier tax year, the gain may fall outside the standard two-year lookback for the Medicare premium year you are concerned about.
For example, if your Medicare premiums for 2026 are being determined, the SSA generally looks at your 2024 tax return. A taxable home sale reported on your 2024 return could therefore affect your 2026 premiums, while a sale reported on your 2023 return would not ordinarily be the income year used for that determination if 2024 information is available.
This does not mean that selling before age 63 automatically avoids IRMAA. The relevant factor is the tax year in which the gain is recognized and the tax year used to calculate your Medicare premiums. Your birthday, the closing date, and the applicable tax rules all matter.
Before deciding when to sell, work with a qualified tax professional or financial planner to estimate your taxable gain, determine how much of it can be excluded, and evaluate the potential effect on future Medicare premiums.
IRMAA Can Affect Both Spouses
Another important consideration is that IRMAA is determined for each Medicare beneficiary, using the applicable income thresholds for the tax filing status involved.
For a married couple filing jointly, the SSA generally uses the couple's joint MAGI to determine the applicable income bracket. If both spouses are enrolled in Medicare and their joint income places them in an IRMAA bracket, each spouse may owe higher premiums.
Consequently, a single home sale could increase the Medicare costs of both spouses. The additional expense may apply to Part B, Part D, or both, depending on the beneficiaries' coverage.
IRMAA amounts and income thresholds change over time. Rather than relying on a fixed dollar amount from a previous year, consult the current official premium tables from the Social Security Administration.
Special Considerations for Widows and Widowers
Selling a home after the death of a spouse can involve additional tax-planning considerations.
Under IRS rules, a qualifying surviving spouse may be able to use the larger $500,000 home sale gain exclusion if the home is sold within two years of the spouse's death. Certain requirements must be met, including that the surviving spouse has not remarried, the applicable ownership and residence tests are satisfied, and neither spouse used the exclusion on another home sale within the preceding two years.
The two-year period can be significant. If a surviving spouse waits longer than two years, the special rule allowing the $500,000 exclusion may no longer apply. The surviving spouse may still qualify for an exclusion of up to $250,000, depending on the circumstances.
This is not a reason to rush into a major decision while grieving. Rather, it is a reason to understand the tax rules and consider the available options before making a decision about the family home.
It is also important to recognize that the home sale exclusion and IRMAA are separate issues. Qualifying for the larger exclusion may reduce or eliminate taxable gain, but it does not guarantee that Medicare premiums will remain unchanged. The effect depends on the taxable amount, other income, filing status, and applicable IRMAA thresholds.
For the IRS's specific requirements for surviving spouses, consult Publication 523, Selling Your Home.
Can You Ask Social Security to Reconsider Your IRMAA?
Sometimes, retirement causes a significant reduction in income compared with the income shown on an earlier tax return. In certain circumstances, you can ask the SSA to make a new determination using more recent income information.
Qualifying life-changing events include retirement or a reduction in work hours, a spouse's death, marriage, divorce or annulment, and certain other specified events.
You can generally request this review using Form SSA-44, Medicare Income-Related Monthly Adjustment Amount—Life-Changing Event. The SSA will evaluate whether you qualify and may request supporting documentation.
However, a voluntary sale of a home at a gain is not itself a qualifying life-changing event for this purpose. The regulations specifically distinguish a loss of income-producing property caused by an event beyond your control from a sale or transfer directed by you. Retirement may qualify independently if it results in the required reduction in income.
If you receive an IRMAA determination that you believe is incorrect, review the notice and contact the SSA about your options and appeal rights. The SSA's Medicare premiums guidance explains the rules and the circumstances in which a new determination may be requested.
Make Home Sale Planning Part of Your Railroad Retirement Strategy
For railroad employees approaching retirement, planning should extend beyond the date you begin collecting your annuity. Your overall financial picture may include railroad retirement benefits, investment income, retirement account distributions, a spouse's income, and the sale of your principal residence.
A few practical steps can help you prepare:
- Estimate the gain. Ask a tax professional to calculate your home's adjusted basis, expected net proceeds, and potential taxable gain.
- Determine your exclusion. Confirm whether you qualify for the $250,000 or $500,000 home sale exclusion and whether any special circumstances apply.
- Review the timing. Identify the tax year in which the gain will be recognized and the Medicare premium year that may use that tax return.
- Project household income. Evaluate how the taxable gain could affect MAGI and the premiums of each spouse enrolled in Medicare.
- Consider the wider retirement plan. Compare the potential Medicare costs with your relocation plans, cash-flow needs, tax position, and other retirement goals.
Remember that IRMAA is based on your income and the applicable rules for the premium year, not simply on the value of your home or the amount deposited into your bank account at closing.
Final Thoughts
Selling a long-held home can be an important part of retirement, whether you are moving closer to family, downsizing, or starting a new chapter in a different part of the country. But the decision can have tax consequences that extend beyond the year of the sale.
Understanding the IRS home sale exclusion, the Medicare IRMAA lookback, and the rules for requesting a new determination can help you make a more informed decision. For railroad retirees, coordinating these issues with your broader retirement income plan can help prevent an unexpected increase in Medicare costs.
At Highball Advisors, our railroad retirement assessments can help identify planning issues involving retirement income, Medicare, and other financial considerations. Because every household's circumstances are different, consult the appropriate tax and financial professionals before making decisions about the timing of a home sale.
Stay safe, stay on track, and take care!
Editorial note: This article is educational, not individualized tax or financial advice. Tax rules and Medicare premium thresholds can change, so readers should verify the rules applicable to the year of their transaction.
Get Free Railroad Retirement Assessment
Disclaimer: This article is provided for general information and illustration purposes only. Nothing contained in the material constitutes tax advice, a recommendation for purchase or sale of any security, or investment advisory services. Highball Advisors encourages you to consult a financial planner, accountant, and/or legal counsel for advice specific to your situation. Reproduction of this material is prohibited without written permission from Highball Advisors, and all rights are reserved from Highball Advisors, and all rights are reserved.