
Home Sale Taxes When You Retire
Fact Checked
FileTax.com content is reviewed for accuracy, timeliness, and completeness. It undergoes a structured editorial review process involving writers and expert reviewers.
More on our editorial standards
Rebekah PierceContent Writer
Alistair HoehneTax Content Reviewer
Your Takeaways:
- Selling your home in retirement can trigger capital gains taxes, depending on your profit.
- Many retirees qualify for the home sale exclusion ($250K single / $500K married) to reduce or eliminate taxes.
- To qualify, you must meet the 2-out-of-5-year ownership-and-use test.
- Any profit above the exclusion is taxed as a long-term capital gain.
- Your cost basis (purchase price + improvements) can reduce your taxable gain.
TL;DR:There are a few reasons why selling your home in retirement can trigger capital gains taxes, but many retirees qualify for a $250,000 or even a $500,000 tax-free exclusion. In this guide, we explain how the home sale rules work and when part of that profit becomes taxable. |
|---|
Selling your home after retirement is a major financial milestone.
Maybe you're downsizing to eliminate maintenance costs and free up cash flow for your retirement. Or perhaps you're moving closer to see your grandchildren and would rather juggle rent payments in a senior community than deal with the upkeep on a big house.
It’s an exciting time, one you may have looked forward to for years.
At least, until you get hit with capital gains tax.
No matter the motivation, selling a home you’ve owned for years can unlock a big chunk of home equity, increase your overall household budget, and influence your living expenses both now and in the future. But with that sale comes the nagging question, and potentially a surprise: how will it affect your tax bill?
If you’ve watched your property value climb over the years, you might be staring at a hefty profit. This is called a capital gain, and the way capital gains taxes work means you could owe more to the Internal Revenue Service than you expect, unless you qualify for the $250,000 home sale exclusion (a $500,000 home sale exclusion for married couples filing jointly).
The tax implications of a large home sale are significant, rippling through your adjusted gross income, impacting Social Security taxation, affecting your eligibility for tax credits, and potentially even inflating your Medicare premiums (thanks to IRMAA).
But when you understand your options, you can make smarter personal finance moves and keep more of your money working for you. No need to call up your financial advisor just yet. We’ll explain everything you need to know about your tax burden in this guide to home sale taxes in retirement.
Do You Pay Taxes When You Sell a Home?
So, do retirees pay capital gains on a home sale? Typically, yes. Taxes for capital gains on a home sale are required in most cases.
But when you sell your primary home, whether you’ll pay capital gains tax (and how much) depends on the size of your profit and your history with the property. The IRS is interested in any taxable gain, meaning profit over and above the cost basis and allowed exclusions.
You’ll start with your cost basis: that’s what you paid for the house, plus the cost of major improvements (think new roof or updated kitchen, but not regular repairs or property taxes). Leave no stone unturned here: homeowners often miss tax savings by failing to document upgrades that increase their cost basis and may qualify for tax deductions, resulting in a higher tax bill or liability.
If you owned the home for more than a year, that profit is considered a long-term capital gain. The long-term capital gains tax rate is usually much lower than what you’d pay if you’d held the home for less than a year (which triggers short-term capital gains taxed at your ordinary income tax rate). For most retirees, gains on a home held for decades qualify for the lower capital gains tax rate, keeping you in a lower tax bracket.
Even after applying the home sale exclusion (more on that next), if you’re left with a taxable gain, you’ll have to pay capital gains tax on that amount. Often, this is the only time in a retiree’s life that they report a large gain from selling assets held, so it can come as a surprise, especially if they don’t have enough savings or are unprepared for additional tax liability.
What Is the Home Sale Exclusion?
The home sale exclusion shields a substantial profit from capital gains tax, but it isn’t automatic.
Section 121 of the Internal Revenue Code lays it out for you: sellers who meet the rules can exclude up to $250,000 in gain if single ($250,000 home sale exclusion) or $500,000 for married couples filing jointly ($500,000 home sale exclusion) from their taxable income.
Example: Suppose a retired couple bought a house for $200,000, spent $60,000 on improvements, and sold it for $800,000. Their cost basis is $260,000, so the gain is $540,000. As a married couple filing a joint return, their $500,000 exclusion wipes out most of the gain, but they'll still owe capital gains tax on $40,000. Depending on the rest of their taxable income, the additional gain may push part of their income into a higher or lower tax bracket. |
|---|
This exclusion applies only to your primary residence, not a second home or rental property, or a home held through a wholly owned subsidiary or similar structure. The home must have been your main home.
Another note here: if you’re a single filer, married filing separately, or your spouse doesn’t pass the use test, your home sale exclusion is limited to $250,000, even if both names are on the house.
Don’t forget: Congress can change tax law, so check with the IRS or a tax advisor for updates if you’re selling a home after retirement. The IRS outlines these rules in Publication 523 as well as in Topic no. 701, and the Congressional Research Service generally publishes the latest updates when things change.
But remember: as with any other investment, past performance is not a guarantee of future results. Your tax benefits could change or even disappear if a deduction no longer exists under future legislation.
Who Qualifies for the Exclusion?
Both the ownership and use tests must be met. This means you need to have owned the home for at least two out of the past five years, and lived there as your main residence for at least two out of those five years (they don’t have to overlap).
Example: Say a couple bought a house in 2017, lived in it for three years, then spent two years living with a daughter while renting out the house. If they sell in 2024, they still meet the requirements, because they owned and lived in the property for at least two years during the last five. |
|---|
Couples married filing jointly need at least one spouse to meet the ownership test, but both must meet the use test for the larger $500,000 exclusion. Divorce, death, or time overseas (like military service) can similarly affect or extend eligibility. Again, IRS exceptions exist in some cases, so check specifics with a tax professional or investment adviser.
What Happens If Your Gain Is Too High?
Home values have skyrocketed in some regions, often with little to no warning. It’s not hard to see retirees pocketing hefty gains that shoot past the exclusion thresholds. But any amount left after subtracting the $250,000 or $500,000 exclusion becomes a taxable gain that is subject to federal and sometimes state capital gains tax (or, in certain scenarios, taxed at your ordinary income tax rate).
Example: A widowed retiree downsizes after decades in a major metro area. Her house sells for $1.2 million. She originally paid $100,000, made $80,000 in improvements, and never rented it out. She also incurs selling costs of at least $60,000 (commissions alone could exceed $50,000). Her gain is reduced to $960,000 after accounting for these selling costs. Subtract the single $250,000 home sale exclusion, and she faces tax on $710,000 at the long-term capital gains tax rate. However, her overall income may also affect her ordinary income taxes and her eligibility for key tax deductions. |
|---|
Tax rates also depend on your taxable income, not just the gain. A huge gain could bump you into a higher tax bracket for the year or subject more of your income to the ordinary income tax rate, even if you normally have a modest income from Social Security, retirement accounts, or a pension. This could affect other taxes, including property taxes, income taxes, and even your eligibility for certain tax credits, tax deductions, or benefits.
Again, plan ahead, as this will give you more options: you could delay the sale, offset gains with capital losses, or explore other ways to increase your cost basis (like including qualifying selling expenses or home improvements). Other expenses, including broker commissions or closing costs, can also reduce the taxable gain and may qualify as tax deductions, further reducing your tax liability.
You’re not limited to just one of these strategies, either. Feel free to combine multiple to keep more of your money in your pocket, where it belongs.
Where Home Sales Appear on Your Tax Return

After your home sale, you’ll deal with federal documentation in the tax year in which you close the sale. For this, most sellers get a Form 1099-S. Even if you believe your gain is fully excluded, if you receive a 1099-S, you must report it to the Internal Revenue Service and possibly other authorities, including the Securities and Exchange Commission, depending on your situation. There are no exceptions to this rule.
You’ll do this reporting with Form 8949, where you’ll detail the sale’s numbers, including any capital gains, sales price, selling assets, and cost basis. Then, report the totals on Schedule D.
If there’s a taxable portion, it’s included with your other income, potentially affecting your overall taxable income or pushing more of your income to be taxed at your ordinary income tax rate or a lower tax bracket. That in turn can impact your income taxes, what you pay in Social Security taxes, and your health care costs under Medicare.
Take your time doing this, and be diligent, as missing paperwork or errors can delay your refund or trigger IRS questions. Use a tax platform like Filetax (or work with a tax advisor or investment adviser, but make sure you choose someone who is familiar with retirement moves, the home sale exclusion, stepped-up basis rules, and rules that apply to wholly owned subsidiaries if those exist).
Need help with other tax forms or retirement planning? Check our Taxes After Retirement hub for more on filing status, tax deductions, and tax credits.
How Home Sales Affect Retirement Taxes
A big gain doesn’t just mean a bigger potential tax bill, but can also sway a handful of other numbers in your retirement financial situation.
For instance, Social Security benefits become more taxable as your income rises, and your ordinary income tax rate may increase. Even a one-time spike from selling your primary home could make more of your Social Security subject to income taxes and reduce the tax deductions you can claim.
Don’t overlook Medicare IRMAA, either: the surcharge for higher-income retirees can surprise you two years after a big home sale. You can learn about several strategies to manage these ripple effects on our Medicare IRMAA page.
Cash flow and income after a sale also affect your eligibility for need-based programs and can reduce or eliminate certain tax credits for the year if your income rises too much or your eligibility no longer exists.
If you’re selling a home outright and re-investing the money, plan your withdrawals and distributions carefully to avoid pushing yourself into a much higher tax bracket.
Questions? Get Informed About Capital Gains Tax and Your Overall Tax Burden
Selling your home in retirement is a different experience than selling at any other time in life, and it comes with tricky financial implications that you’ll want to research ahead of time to save money in your golden years.
It’s complicated (and sometimes stressful), but a little upfront strategy can mean thousands saved in capital gains tax and ordinary income taxes, minimized income tax, carefully managed cash flow, and no surprises at Medicare open enrollment.
Plan ahead, delay or reduce retirement/pension/ social security distributions and sell your house in a low-income year if you expect an outsized capital gain.
Most importantly, be sure to review your numbers with a tax advisor or investment adviser, make sure you understand your exclusion eligibility, keep every receipt that affects cost basis or qualifies you for tax deductions, and plan the sale to preserve your retirement lifestyle and keep your tax liability as low as possible.
💡 File your taxes with confidence. Start your taxes the easy way with our DIY filing platform.
Other Categories
See what some of the hundreds of thousands of satisfied customers have to say about our services:
Levi C.
VERY FAST
I got approved within a couple of days for my tax extension filing through these guys, and they responded to my email the same day. Great customer service and fast results. Give them a shot.
LaMontica
Great Service!!
This is the second year that I have used this service. Each time, the process was quick, easy, and efficient. I will definitely be using this service in the future and will recommend it to friends and family.
Chezbie
Fantastic Site!!
The process was so easy. I processed this extension in a matter of minutes! For you last-minute filers out there, come here. It'll help you end your long day in peace!
Why Trust FileTax.com
• Written and reviewed by qualified tax professionals, including CPAs and tax law reviewers
• Reviewer and contributor profiles include credentials, expertise, and verification information
• Content is reviewed for tax accuracy, compliance, and clarity before publication
• Based on IRS guidance, state tax agencies, and current tax law updates
• Editorial standards and review processes are publicly documented
Links


