The short answer is: It depends, but most seniors do not pay any capital gains tax when they sell their home. Your age does not earn you a special exemption. Instead, a rule that applies to every homeowner protects the profit for most sellers.
The problem comes from Section 121 of the Internal Revenue Code. Its limits of $250,000 for single filers and $500,000 for married couples filing jointly have never been adjusted for inflation. They are the same for 2026 and 2027 sales. Decades of home price growth now push many seniors over these limits, especially in high-cost markets. That can mean a large tax bill for simply downsizing in retirement.
This tax trap keeps growing. A February 2025 study by Rosen Consulting Group for the National Association of Realtors found that about 34% of homeowners may have equity above the single filer limit. More than 10% may have equity above the joint limit.
What Is This "Capital Gain" Everyone Worries About?
A capital gain is the profit you make when you sell an asset for more than it cost you. For a home, it is the sale price minus what the home cost you over the years, which is more than the purchase price.
If you owned the home for more than one year, the profit is a long-term capital gain, taxed at lower rates than wages, pensions, or IRA withdrawals. If you owned it for one year or less, it is a short-term gain, taxed at ordinary income rates.
The long-term rates are 0%, 15%, or 20%, based on your total taxable income for the year of the sale, including the taxable gain itself. The 2026 and 2027 thresholds are in the rate tables later in this article. A retiree with a modest pension and Social Security often pays 0% on a small taxable gain. Any depreciation you claimed on the home is taxed at up to 25%.
The Magic Eraser: Understanding the $250,000 / $500,000 Home Sale Exclusion
The most important rule for any homeowner is the Section 121 exclusion. It lets you "exclude," or erase, a large part of your profit from your taxable income.
A married couple filing a joint return gets double the single filer's limit. These amounts are the same for 2026 and 2027 sales, because Section 121 is not indexed for inflation.
Say a married couple makes a $480,000 profit on a 2026 home sale. Their joint exclusion wipes out the gain completely, so they owe zero federal capital gains tax.
You can use this exclusion every time you sell your main home. You must meet the tests and not have used it for another sale in the last two years. Age is not a factor.
The Ghost of Taxes Past: Why the "Over-55 Rule" No Longer Exists
Many seniors remember the "Over-55 Rule." In tax year 1997 and earlier, for sales before May 7, 1997, it gave homeowners aged 55 and older a once-in-a-lifetime exclusion of up to $125,000 of profit.
That rule is gone. The Taxpayer Relief Act of 1997 replaced it with the larger exclusion that applies to 2026 and 2027 sales. The old Section 1034 "rollover" rule, which let you postpone gain by buying a more expensive home, also ended for sales after May 6, 1997. One exception matters for a 2026 or 2027 sale: if you used the old rollover on a pre-1997 sale, the postponed gain still lowers your basis today. See Step 1 in the math section.
Is Congress Raising or Removing the $250,000/$500,000 Limit?
Not yet. As of November 2026, the law has not changed, even though several bills have been introduced.
The No Tax on Home Sales Act (H.R. 4327) would remove the dollar cap entirely. It was sent to the House Ways and Means Committee and has not been enacted.
- The More Homes on the Market Act: This bipartisan bill would double the current limits and index them to inflation. It also has not become law.
- The 2025 tax law: The One Big Beautiful Bill Act, which the Internal Revenue Service (IRS) now calls the Working Families Tax Cuts, changed many things for seniors, but it did not touch Section 121.
The practical takeaway: 2026 and 2027 sales use the current limits. Do not delay a sale you need to make, or rush one you don't, because of a bill that may never pass.
The Two Golden Keys to Unlocking Your Tax-Free Profit
You don't need to be a certain age to use the Section 121 exclusion. You must pass two tests that prove the house was truly your home: the Ownership Test and the Use Test. Both are measured over the five-year period ending on the day you sell.
The Ownership Test: Proving the House Was Yours
You must have owned the home for a total of at least two years (24 months) during the five-year lookback period. The ownership does not have to be continuous.
For married couples seeking the full joint exclusion, only one spouse needs to meet the ownership test. This helps couples where one person owned the home before the marriage.
The Use Test: Proving the House Was Your Home
The IRS requires that you lived in the home as your main home for at least two years (24 months or 730 days) during that same five-year period. The 24 months do not need to be continuous. You could live there for a year, rent it out for two years, and move back for another year, and still pass.
Short, temporary absences count as time lived in the home. Examples are a vacation, a month at a child's house, or a hospital stay. Long nursing home stays are covered in the FAQs below.
For married couples, both spouses must meet the use test to get the full joint exclusion. If only one does, the exclusion is generally limited to the single-filer amount.
What if I Own Two Homes? Defining Your "Main Home"
You can claim the exclusion only on your "main home." If you own a house and a vacation cottage, the IRS looks at "facts and circumstances" to decide which one is your main home. The biggest factor is where you spend the most time. Other clues include:
- The address on your driver's license and voter registration.
- The address you use on your federal and state tax returns.
- The location of your bank and where you belong to clubs or organizations.
Retirees who move into a former vacation home and later sell it face the nonqualified use rule. It can leave part of the gain taxable. See "The Vacation-Home and Rental Trap" below.
The Real Math: How to Calculate Your Actual Profit for Tax Purposes
Your taxable profit is not just the sale price minus the purchase price. You first need your home's "adjusted basis." This is the most overlooked step and the biggest chance for seniors to save on taxes.
Step 1: Finding Your Starting Point (Your "Cost Basis")
Your cost basis is generally what you paid for the home. It also includes certain closing costs from the purchase, such as:
- Abstract and legal fees (like for a title search).
- Recording fees.
- Survey fees.
- Owner's title insurance.
Watch for the old rollover rule. Say you sold an earlier home before May 7, 1997 and postponed the gain under Section 1034. That postponed gain reduces your current home's basis, so check your old Form 2119. If you rolled $60,000 of gain into this home, your basis is $60,000 lower and your taxable gain is $60,000 higher.
Basis also goes down for any casualty-loss deductions and depreciation you claimed. A gifted home generally takes the giver's basis. An inherited home's basis is usually its value on the date of death (see FAQ 10).
Step 2: Adding Decades of Improvements (Your "Adjusted Basis")
Your cost basis goes up by the cost of every capital improvement you've made. The result is your adjusted basis. An improvement adds value, makes the home last longer, or adapts it to new uses. A repair just keeps it in its current condition. Every improvement dollar cuts your gain dollar-for-dollar.
Accessibility upgrades count. Examples are a wheelchair ramp, a walk-in shower, wider doorways, grab bars, or a stairlift. If you deducted part of the cost as a medical expense, only the part you did not deduct adds to your basis.
| Type of Expense | Does it Increase Your Basis? | Why? |
|---|---|---|
| Capital Improvement | Yes | It adds long-term value: a new roof, a remodeled kitchen, a deck, a finished basement, a wheelchair ramp. |
| Repair | No | It only maintains the current condition: fixing a leaky faucet, repainting one room, replacing a broken window pane. |
Say you forget to document $50,000 in improvements and sell in 2026. That mistake could cost you $7,500 in unnecessary tax. IRS Publication 523 lists what counts, so gather every receipt and contract you can find.
Step 3: Calculating What You Actually Pocketed (Your "Amount Realized")
The "amount realized" is the sale price minus your selling expenses. Common selling expenses include:
- Real estate agent commissions.
- Advertising fees.
- Legal fees for the sale.
- Title insurance and escrow fees.
- Transfer taxes and recording fees you paid as the seller.
- Seller-paid concessions, such as closing costs you covered for the buyer.
Your mortgage payoff is not a selling expense. You are taxed on your gain, not on the cash you walk away with.
Step 4: Putting It All Together – A Real-World Calculation
David and Sarah are married, file jointly, and have lived in their home for 35 years.
- Original Purchase: Bought in 1990 for $100,000 plus $4,000 in eligible closing costs. Initial basis: $104,000.
- Capital Improvements: New roof ($15,000), kitchen remodel ($35,000), and deck ($10,000).
- Adjusted Basis: $104,000 + $15,000 + $35,000 + $10,000 = $164,000.
- The Sale: They sell in 2026 for $750,000.
- Selling Expenses: A 6% commission ($45,000) plus $5,000 in closing costs.
- Amount Realized: $750,000 – $45,000 – $5,000 = $700,000.
- Total Gain: $700,000 – $164,000 = $536,000.
- Taxable 2026 Gain: $536,000 minus their joint exclusion = $36,000.
This gain goes on their 2026 return. Their other 2026 taxable income may already be above the joint 0% limit in the rate table below. If so, the whole gain is taxed at the middle rate, for $5,400 of 2026 tax. If their other income is low, part or all of it falls in the 0% band.
How to Report the Sale on Your Tax Return
Nothing is withheld for federal tax at closing. The closing agent may send you and the IRS a Form 1099-S showing the gross sale price. Report the sale if you got a Form 1099-S, if any part of the gain is taxable, or if you choose not to claim the exclusion.
On Form 8949, show the full gain, then enter the excluded amount as a negative adjustment with code H. The taxable rest carries to Schedule D and Form 1040. If you claimed depreciation, the worksheets in IRS Publication 523 figure the recapture. If part of the property was sold as business property, Form 4797 may apply.
A 2026 sale goes on your 2026 return, due April 15, 2027. A 2027 sale goes on the return due in April 2028. If you expect to owe a lot, you can pay estimated tax for the quarter of the sale. Paying in 100% of last year's tax (110% if your prior-year adjusted gross income (AGI) was over $150,000) avoids an underpayment penalty.
Common Senior Scenarios and Their Tax Consequences
Life events in retirement often lead to a home sale. Here is how the rules apply in common situations.
Scenario 1: The Downsizing Couple with a High-Value Home
Maria and Tom bought their home 40 years ago for $80,000. After decades of improvements, their adjusted basis is $200,000. In 2026 they sell it for $1,000,000, with selling costs of $60,000. Their total gain is $740,000 ($1,000,000 sale price – $60,000 costs – $200,000 basis).
Maria and Tom's 2026 sale:
| Decision | 2026 Tax Outcome |
|---|---|
| Apply the Married Couple Exclusion | $740,000 gain – $500,000 exclusion = $240,000 taxable. |
| Calculate the Capital Gains Tax | At the 15% federal rate, tax on $240,000 is $36,000. |
| Check the 3.8% NIIT | See below. |
| Watch the Ripple Effects | See below. |
The 3.8% Net Investment Income Tax (NIIT) applies to the smaller of two amounts. One is their net investment income. The other is how far their 2026 modified adjusted gross income (MAGI) exceeds $250,000. It adds up to $9,120 (3.8% of $240,000). The taxable gain also raises their 2026 MAGI. That can shrink their 2026 senior deduction and raise their 2028 Medicare premiums, because Medicare looks back two years.
Scenario 2: The Surviving Spouse's Two-Year Deadline
Say Helen and her late husband, George, had an adjusted basis of $150,000 in their home. It was worth $800,000 when George died.
The Two-Year Window for the Full Joint Exclusion
An unmarried surviving spouse can use the full joint exclusion if the sale closes within two years of the death, the survivor has not remarried, the couple met the ownership and use tests just before the death, and neither spouse used the exclusion on another home in the prior 2 years. After the deadline, Helen's limit drops to the single-filer amount. She can count George's ownership and use time as her own, and she can file a joint return for the year of death.
The Power of the "Step-Up in Basis" at Death
At death, a home's basis is "stepped up" to its fair market value. In most states, only the deceased spouse's half gets the step-up. Helen's basis would be $475,000: her $75,000 half of the original basis plus George's $400,000 stepped-up half.
In community property states (AZ, CA, ID, LA, NV, NM, TX, WA, WI), the whole home gets the step-up, so Helen's basis would be $800,000. Alaska, South Dakota, Tennessee, and Kentucky offer the same result through an optional community property trust.
Helen's sale options (rules for 2026 and 2027 sales):
| Action | Tax Outcome |
|---|---|
| Sells within 2 years for $820,000 (common law state). | $345,000 gain ($820,000 – $475,000 basis), fully covered by the joint exclusion. Tax: $0. |
| Sells after 2 years for $820,000 (common law state). | Same $345,000 gain, but only the single-filer amount is excluded. She owes tax on $95,000. |
| Sells anytime for $820,000 (community property state). | Gain is only $20,000 ($820,000 – $800,000 basis). Her exclusion covers it. Tax: $0. |
Scenario 3: Moving to Assisted Living or for Health Reasons
You may have to sell before you meet the two-year use test. If the main reason is health, a new job, or another unforeseen event, you may qualify for a partial exclusion.
A health move qualifies if it is to get medical care for you or a family member, or if a doctor recommends it. A written doctor's recommendation is a safe harbor under Treasury Regulation §1.121-3. That means the IRS accepts the health reason.
The partial exclusion is prorated. Say you lived in the home for 18 months (75% of 24) and sell in 2026 or 2027. As a single person, you can exclude up to $187,500 (75% of $250,000). You can also count days: the days you owned and lived there, divided by 730.
Partial exclusion examples (2026 and 2027 sales):
| Situation | Tax Outcome |
|---|---|
| A single person lives in a home for 1 year, then moves to assisted living on a doctor's recommendation. | 12 of 24 months = 50% of the use test. Maximum exclusion: $125,000. |
| A married couple lives in a home for 18 months, then moves closer to a hospital for one spouse's cancer treatment. | 18 of 24 months = 75% of the use test. Maximum exclusion: $375,000. |
The partial amount is a ceiling, not a bonus. If the single person's actual gain is $40,000, they exclude $40,000, not $125,000.
Advanced Topics and Hidden Traps
Several less common situations can create surprise tax bills for seniors.
The Home Office Hangover: Paying Back Depreciation
Did you claim depreciation for a home office or a rental room? Then you pay tax on that amount when you sell. The IRS calls this unrecaptured Section 1250 gain.
Even if the rest of your gain is tax-free, depreciation claimed after May 6, 1997 cannot be excluded. It is taxed at your ordinary rate, up to the cap noted earlier. Say you claimed $8,000 in home office depreciation and sell in 2026. You could owe up to $2,000 (25% of $8,000), even if the office was just a spare room.
The office may have been in a separate building, such as a detached studio. If so, the gain on that part may not qualify for the exclusion at all. Use the worksheets in IRS Publication 523 and report the sale on Form 8949 and Schedule D.
The Vacation-Home and Rental Trap: Nonqualified Use
Under IRC §121(b)(5), gain tied to nonqualified use cannot be excluded, even if you pass the 2-of-5-year tests. Nonqualified use is any period after 2008 when the home was not your main home, such as vacation-home or rental years before you moved in. The gain is split by time.
Example. Carol bought a beach house in 2014 and used it as a second home for 6 years. In 2020 she moved in full time. In 2026 she sells it after 12 years of ownership, with a $300,000 gain. Six of those 12 years (50%) were nonqualified use, so $150,000 of the gain cannot be excluded. Her exclusion covers the other $150,000, and she pays long-term capital gains tax on $150,000.
Time after you move out, within the 5-year window before the sale, does not count as nonqualified use. A retiree who moves to a condo and rents out the old house for 2 years can still exclude the gain, other than depreciation recapture.
When Your Profit Is Too Big: What Happens When You Exceed the Limit?
Profit above your exclusion is a taxable long-term capital gain, taxed at the rates below. A 2026 sale uses the 2026 thresholds from Rev. Proc. 2025-32; a 2027 sale uses the 2027 thresholds from Rev. Proc. 2026-35.
2026 Long-Term Capital Gains Rate Thresholds (tax year 2026, sales during 2026)
| Filing status | 0% rate up to | 15% rate up to | 20% rate above |
|---|---|---|---|
| Single | $49,450 | $545,500 | $545,500 |
| Married filing jointly | $98,900 | $613,700 | $613,700 |
| Head of household | $66,200 | $579,600 | $579,600 |
| Married filing separately | $49,450 | $306,850 | $306,850 |
2027 Long-Term Capital Gains Rate Thresholds (tax year 2027, sales during 2027)
| Filing status | 0% rate up to | 15% rate up to | 20% rate above |
|---|---|---|---|
| Single | $51,050 | $563,200 | $563,200 |
| Married filing jointly | $102,100 | $633,600 | $633,600 |
| Head of household | $68,350 | $598,400 | $598,400 |
| Married filing separately | $51,050 | $316,800 | $316,800 |
The amounts are taxable income after deductions, including the taxable gain. Qualifying surviving spouses use the married filing jointly row.
The Extra 3.8% Surtax: Net Investment Income Tax (NIIT)
Higher-income sellers may also owe the 3.8% Net Investment Income Tax on the taxable part of their gain. Under IRS Topic 559, it applies when MAGI is over $200,000 (single or head of household) or $125,000 (married filing separately); joint filers use the threshold in Maria and Tom's example above. These thresholds are not indexed, so they are the same for 2026 and 2027. Excluded gain does not count.
How a Home Sale Can Shrink the New $6,000 Senior Deduction
The 2025 tax law created a senior deduction for tax years 2025 through 2028: $6,000 per person age 65 or older, or $12,000 for a joint-filing couple when both qualify. You claim it on Schedule 1-A of Form 1040, whether or not you itemize.
According to the IRS page on the deduction, for 2026 it shrinks by 6% of MAGI over $75,000 (single) or $150,000 (joint) and is gone once MAGI is $100,000 above those thresholds. Excluded gain is not in MAGI, but taxable gain is, and it can push you out of the deduction entirely.
A 2026 example. Ruth is 70 and single, with $65,000 of MAGI from her pension, Social Security, and individual retirement arrangement (IRA) withdrawals. Her 2026 home sale leaves a $40,000 taxable gain, so her MAGI becomes $105,000, which is $30,000 over the threshold. Her 2026 senior deduction drops by $1,800 (six cents for each dollar over), from $6,000 to $4,200.
Selling a Home Held in a Trust: Revocable vs. Irrevocable
The IRS ignores a revocable (living) trust for tax purposes. The grantor is still the owner and can claim the Section 121 exclusion as if the home were in their own name. Many irrevocable trusts are also grantor trusts under IRC §§671-679, and the grantor can generally still claim the exclusion if they meet the ownership and use tests.
An irrevocable non-grantor trust is a separate taxpayer. It generally cannot claim the exclusion, and its gain is taxed at compressed brackets. For 2026, a trust's long-term gains reach the top rate once income passes $16,250. For 2027, under Rev. Proc. 2026-35, the trust pays 0% up to $3,400 and the top rate above $16,750. Gain distributed to beneficiaries is generally taxed to them. Trustees sometimes ask whether to use a 1031 exchange instead, but that works only for investment property.
Under Revenue Ruling 2023-2, a home in an irrevocable grantor trust that is not part of the grantor's estate gets no step-up in basis at death, so heirs inherit the built-in gain. See an estate attorney before a sale.
Strategic Planning to Protect Your Nest Egg
Selling a home is a major financial event. Planning ahead can protect your equity.
Do's and Don'ts for Minimizing Your Home Sale Tax Bill
| Do's | Don'ts |
|---|---|
| Do dig through old files for improvement receipts. Every dollar you can add to your basis is a dollar less of taxable profit. | Don't assume minor repairs count as improvements. Repainting a room or fixing a leak does not increase your basis. |
| Do consult a tax professional before you list the home, especially if your gain is near the exclusion limit. | Don't forget about state taxes. A tax-free federal gain could still result in a large state tax bill depending on where you live. |
| Do time the sale carefully. A big taxable gain can raise your rate, shrink your senior deduction, and raise later Medicare premiums. | Don't miss the two-year deadline if you are a surviving spouse. This is one of the most costly and common mistakes. |
| Do understand which property qualifies as your "main home" if you own more than one. | Don't assume you can't get any tax break if you lived there less than two years. A partial exclusion may be available. |
| Do keep the closing statements from both when you bought and when you sold the home. These are critical records. | Don't use a 1031 exchange for your main home. This tax-deferral tool is only for investment properties, not personal residences. |
The Ultimate Decision: Pros and Cons of Selling vs. Holding
For seniors with a highly appreciated home, the biggest choice is often whether to sell or to hold the home until death. Holding gives your heirs a stepped-up basis, which can erase decades of taxable gain (see FAQ 10). Selling gives you cash and flexibility now.
Selling vs. holding (2026 figures):
| Factor | Selling During Retirement | Holding Until Death |
|---|---|---|
| Cash | Equity available for living expenses or care. | Equity stays locked in the house. |
| Lifestyle | Downsize or move closer to family and healthcare. | Upkeep, insurance, and property taxes on a home that may be too large. |
| Capital gains tax | Owed on any gain above the exclusion. | Heirs get a stepped-up basis, which can erase the built-in gain. |
| Exclusion risk | Used while you still qualify. | Lost if you move into care for over three years before selling. |
| Other 2026 effects | Taxable gain can raise Medicare premiums in 2028 and shrink the senior deduction. | A spouse's death starts the two-year clock on the joint exclusion. |
Medicare uses your MAGI from two years earlier, so a 2026 sale affects 2028 premiums. For reference, the 2026 Part B standard premium is $202.90 a month. 2026 surcharges start when 2024 MAGI was above $109,000 single or $218,000 joint.
Common Mistakes That Cost Seniors Thousands
- Forgetting Capital Improvements: Leaving a new roof, kitchen remodel, or other major project out of the home's basis, which inflates the taxable gain.
- Misunderstanding the Surviving Spouse Rule: Waiting more than two years after a spouse's death to sell, which cuts the exclusion to the single-filer amount.
- Ignoring Depreciation Recapture: Forgetting that home-office depreciation is taxed when you sell, even if the rest of the gain is tax-free.
- Confusing "Main Home" with "Vacation Home": Applying the exclusion to a property that was not the principal residence for two of the last five years.
- Assuming the Exclusion Fully Covers a Former Rental or Vacation Home: The nonqualified use rule makes part of that gain taxable.
One more: a taxable gain raises your MAGI, which can cut your senior deduction, make more Social Security taxable, and raise Medicare premiums two years later. Even a sale forced by medical care has these effects.
The State Tax Surprise: It's Not Just the Feds
Even if you owe $0 in federal tax, your state may send you a bill. Most states with an income tax follow the federal exclusion. A gain that is tax-free federally is usually tax-free at the state level too. But most of those states tax any excess gain as ordinary income, with no lower long-term rate.
States with no broad personal income tax include Alaska, Florida, Nevada, South Dakota, Tennessee, Texas, Wyoming, and New Hampshire. Washington has a capital gains tax, but it exempts real estate.
Use the rules of the state where you live in the year of sale, not the state you are moving to. Some states, including California, require the closing agent to withhold state tax from the proceeds in some sales. In California, that withholding shows up on the Form 593 you get at closing.
The High-Tax Reality: California
California taxes capital gains as ordinary income, with no lower rate for long-term gains. It follows the federal home sale exclusion, so the tax-free part stays tax-free. Any profit above it is taxed at regular state rates. For 2026, the top rate is 13.3%, per the Franchise Tax Board. That is the 12.3% top bracket plus the 1% Mental Health Services Tax on income over $1 million. A couple with $650,000 of taxable gain after the exclusion can face a state bill in the tens of thousands of dollars.
The No-Tax Haven: Florida
Florida is one of a handful of states with no state income tax, so it has no state capital gains tax. If you sell a Florida home as a Florida resident, only the federal rules apply.
The Middle Ground: Arizona
For 2026, Arizona has a flat 2.5% rate, per the Arizona Department of Revenue, and it taxes capital gains as regular income. A taxable home sale gain is taxed at the state level, but much less than in California.
Arizona also lets you subtract part of your net long-term capital gains under A.R.S. §43-1022. Through 2025, the subtraction applied only to assets bought after December 31, 2011. That left out many long-held senior homes. Before you file, check the Arizona Department of Revenue's instructions for the 2026 Form 140 to confirm the rule for your sale year.
What to Do Next
- Pull the closing statement from when you bought the home and gather every improvement receipt to build your adjusted basis.
- Confirm you owned and lived in the home for 24 of the 60 months before the sale, and check for any post-2008 rental or vacation use.
- Subtract your adjusted basis and selling costs from the sale price, then apply your exclusion to find any taxable gain.
- If you receive Form 1099-S or have taxable gain, report the sale on Form 8949 (code H) and Schedule D with your 2026 return due April 15, 2027.
- If the taxable gain is large, make an estimated tax payment for the quarter of the sale and check its effect on your senior deduction and Medicare premiums.
Frequently Asked Questions (FAQs)
1. Is there a special capital gains tax break for seniors over 65? No. The old "Over-55 Rule" was repealed in 1997. Seniors use the same exclusion as every other homeowner. The $6,000 senior deduction for 2025 through 2028 is a general deduction against all income, not a capital gains break. A taxable gain can shrink it.
2. Do I have to report the sale to the IRS if I know my profit is tax-free? Only if you get a Form 1099-S or part of the gain is taxable. Then you report it on Form 8949 and Schedule D. You can often avoid a 1099-S by certifying in writing to the closing agent two things. The price must be $250,000 or less ($500,000 joint), and all the gain must be excludable (see Publication 523).
3. I sold my home at a loss. Can I deduct it? No. A loss from the sale of your main home is a personal loss and is not tax-deductible.
4. How long do I need to keep records of my home improvements? Keep purchase documents and improvement receipts for as long as you own the home. Then keep them at least three years after you sell it and file that year's return.
5. My spouse passed away 18 months ago. Can I still get the $500,000 exclusion? Yes, if three things are true. You sell within two years of your spouse's death, you have not remarried, and the two of you met the ownership and use tests just before the death. Scenario 2 above walks through the numbers.
6. I'm single and my profit is $275,000. Do I pay tax on the whole amount? No. You pay tax only on the profit above your exclusion, so your taxable gain is $25,000. It is taxed at 0% or 15%, depending on your total 2026 or 2027 taxable income (see the rate tables above).
7. Does time in a nursing home count toward the two-year "use test"? Yes, in some cases. Under IRC §121(d)(7), time in a licensed care facility can count as time living in your home. It applies if you become unable to care for yourself, physically or mentally. You must also have lived in the home for at least 1 year during the 5 years before the sale.
8. Can I use a 1031 exchange to avoid tax on my main home? No. A 1031 "like-kind" exchange can only be used for business or investment property, not for a primary residence.
9. Will selling my home make my Social Security benefits taxable? It could, but only the taxable part of your gain counts. Start with your provisional income: AGI plus tax-exempt interest plus half your benefits. For 2026, up to 50% of benefits is taxable once it tops $25,000 (single) or $32,000 (joint). Up to 85% is taxable above $34,000 or $44,000. These limits are not indexed for inflation.
10. I inherited my parent's home. Do I get the exclusion when I sell it? Only if you own it and live in it for 2 of the 5 years before you sell. Your parent's time doesn't count. You rarely need it, though. An inherited home's basis is generally its value on the date of death, so a quick sale usually has little or no gain. The gain is automatically long-term. A loss can be deductible if you never used the home personally.
11. Did the government eliminate capital gains tax on home sales for 2026 or 2027? No. As of November 2026, the No Tax on Home Sales Act and similar bills have not become law. The current limits apply to 2026 and 2027 sales, and any gain above them is taxable.
12. Should I give my house to my children before I die to avoid capital gains? Usually not. A gifted home keeps your basis, so your children take on your built-in gain. An inherited home gets a stepped-up basis instead. A home gift also exceeds the annual exclusion of $19,000 per recipient for 2026 and $20,000 for 2027, so you must file Form 709. Gifts within five years of applying for Medicaid can trigger a penalty.
Related reading
- Do Capital Gains Taxes Drop After Age 65? (w/Examples) + FAQs
- Are Age-Based Capital Gains Breaks Real? (w/Examples) + FAQs
- Does Gifting a Home Affect Capital Gains? (w/Examples) + FAQs
- Does a Reverse Mortgage Affect Capital Gains? (w/Examples) + FAQs
- Are Military Homeowners Exempt from Capital Gains? (w/Examples) + FAQs
- What Happens to the Senior Deduction After 2028? (w/Examples) + FAQs