Skip to content
Capital Gains Tax on Home Sales: 2026 Complete Guide | Local Home Buyers USA
Back to Research

Capital Gains Tax on Home Sales: The 2026 Complete Guide

Tax brackets, exclusions, and strategies to keep more money in your pocket when selling your home. Updated with the latest IRS figures.

JE
Justin Erickson
Founder & CEO, Local Home Buyers USA

Here's the good news: most homeowners don't pay a dime in capital gains tax when they sell. The IRS gives you a massive exclusion. Here's how it works.

The Bottom Line

If you've lived in your home for at least 2 of the last 5 years, you can exclude up to $250,000 (single) or $500,000 (married filing jointly) in capital gains from taxes. Most sellers pay nothing.

But "most sellers" doesn't mean "all sellers." If you're selling an investment property, inherited a home, moved before the 2-year mark, or your gains exceed the exclusion—you'll need to understand how capital gains taxes work in 2026.

This guide breaks down everything: the current tax brackets, how to calculate your gain, the exclusion rules, and strategies to minimize what you owe.

Capital Gains Calculator
Estimate your tax liability
LIVE
Sale Details
Your Situation

What is Capital Gains Tax?

Capital gains tax is what you pay on the profit from selling an asset—in this case, your home. The "gain" is the difference between what you paid for the property (your cost basis) and what you sold it for.

Simple formula: Capital Gain = Sale Price − Cost Basis

Your cost basis isn't just the purchase price. It includes closing costs from when you bought, plus the cost of any capital improvements you made (new roof, additions, renovations—not repairs or maintenance).

2026 Long-Term Capital Gains Tax Rates

If you've owned your home for more than one year, your gains are taxed at the long-term capital gains rate—which is significantly lower than ordinary income tax rates.

Tax Rate Single Filers Married Filing Jointly Head of Household
0% Up to $48,350 Up to $98,900 Up to $66,750
15% $48,351 – $533,400 $98,901 – $613,700 $66,751 – $566,550
20% Over $533,400 Over $613,700 Over $566,550

These thresholds are based on your taxable income—your adjusted gross income minus deductions. For 2026, the standard deduction is $16,100 (single) or $32,200 (married filing jointly).

Short-Term Capital Gains

If you've owned your home for one year or less, your gains are considered short-term and taxed at your ordinary income tax rate. That can be as high as 37% for the highest earners.

The 2026 ordinary income tax brackets are: 10%, 12%, 22%, 24%, 32%, 35%, and 37%.

The lesson: If possible, hold the property for over a year before selling. The tax savings can be substantial.

The Primary Residence Exclusion

This is the big one. The IRS allows homeowners to exclude a significant amount of capital gains from taxes when selling their primary residence.

Section 121 Exclusion
$250,000
Single Filers
Must have owned AND lived in the home as your primary residence for at least 2 of the last 5 years before the sale.
$500,000
Married Filing Jointly
Both spouses must meet the use test (2 of 5 years). Only one spouse needs to meet the ownership test.

This exclusion is why most home sellers don't pay capital gains tax. Even in hot markets where home values have surged, most sellers fall under these thresholds.

The 2-of-5 Year Rule Explained

The rule is more flexible than people think:

1
The 2 years don't have to be consecutive
You could live there for 1 year, rent it out for 2 years, then live there again for 1 year—and still qualify.
2
The 5-year window is a lookback
The IRS looks at the 5 years immediately before the sale date. What happened before that doesn't matter.
3
You can use this exclusion repeatedly
But you can only claim it once every 2 years. Sell one home, wait 2 years, sell another, and you can exclude gains on both.

Partial Exclusions

What if you don't meet the full 2-year requirement? You may still qualify for a partial exclusion if you sold due to:

  • Work relocation (new job at least 50 miles farther from your home)
  • Health reasons (doctor's orders to move)
  • Unforeseen circumstances (divorce, death, natural disaster, etc.)

The partial exclusion is prorated based on how long you lived there. For example, if you lived there 1 year (50% of the 2-year requirement), you could exclude 50% of the full amount ($125,000 single / $250,000 married).

When You WILL Owe Capital Gains Tax

You'll likely owe taxes if:

1
Investment Property
Rental properties and vacation homes don't qualify for the Section 121 exclusion. You'll pay capital gains on the full profit, plus depreciation recapture (up to 25% on depreciation you claimed).
2
Gains Over the Exclusion
If your profit exceeds $250K (single) or $500K (married), you'll pay capital gains tax on the amount above the exclusion threshold.
3
Didn't Meet Use Test
If you haven't lived in the home for at least 2 of the last 5 years, you won't qualify for the full exclusion (though partial exclusions may apply).
4
Inherited Property
Inherited homes get a "stepped-up basis" to the fair market value at time of death—but if you sell quickly without living there, you won't get the exclusion.

Net Investment Income Tax (NIIT)

High earners face an additional 3.8% tax on investment income—including capital gains from real estate. This kicks in when your modified adjusted gross income exceeds:

  • $200,000 for single filers
  • $250,000 for married filing jointly

So if you're in the 20% long-term capital gains bracket AND subject to NIIT, your effective rate on investment property gains could be 23.8%.

Strategies to Minimize Capital Gains Tax

1
Track All Improvements
Keep receipts for every capital improvement—additions, renovations, new systems. These add to your cost basis and reduce your taxable gain.
2
Time Your Sale
If you're close to the 2-year mark, waiting a few months could save you tens of thousands. If your income varies, sell in a lower-income year.
3
1031 Exchange (Investment Property)
For investment properties, you can defer capital gains indefinitely by exchanging into a "like-kind" property within strict timelines.
4
Installment Sale
Spread the gain over multiple years by accepting payments over time. This can keep you in lower tax brackets each year.
5
Offset With Losses
Capital losses from stocks or other investments can offset your capital gains, reducing your overall tax liability.
6
Opportunity Zone Investment
Reinvesting gains into a Qualified Opportunity Zone fund can defer and potentially reduce capital gains taxes.

How to Calculate Your Capital Gain

Here's the step-by-step process:

1
Determine Your Cost Basis
Purchase price + closing costs (when you bought) + capital improvements − any depreciation claimed = Cost Basis
2
Calculate Your Net Proceeds
Sale price − selling costs (agent commissions, closing costs, repairs for sale) = Net Proceeds
3
Calculate Your Gain
Net Proceeds − Cost Basis = Capital Gain (or Loss)
4
Apply the Exclusion
If you qualify, subtract $250K (single) or $500K (married) from your gain. If the result is negative or zero, you owe nothing.
5
Apply the Tax Rate
Any taxable gain is taxed at your applicable capital gains rate (0%, 15%, or 20% for long-term gains).

Frequently Asked Questions

If your gain is fully excluded under Section 121 and you received a Form 1099-S, you should still report the sale on your tax return—but you won't owe any tax. If you didn't receive a 1099-S and your gain is fully excluded, you may not need to report it at all. When in doubt, consult a tax professional.
You can qualify for the exclusion if you meet the 2-of-5-year use test. However, gains attributable to periods of "nonqualified use" (when it wasn't your primary residence) after 2008 may not be excludable. You may also owe depreciation recapture on any depreciation claimed while it was a rental.
If you receive the home as part of a divorce settlement, you inherit your ex-spouse's ownership time. So if they owned it for 3 years before transferring it to you, you can add that to your ownership period. Each ex-spouse filing single can exclude up to $250,000.
Unfortunately, no. Losses on personal residences are not tax-deductible. However, losses on investment properties (rentals) can be deducted and used to offset other capital gains.
This guide covers federal taxes. Many states also tax capital gains—often at ordinary income rates. Some states (like Florida and Texas) have no state income tax. Check your state's specific rules or consult a local tax professional.
Disclaimer: This guide is for educational purposes only and does not constitute tax, legal, or financial advice. Tax laws are complex and subject to change. Consult a qualified tax professional for advice specific to your situation.

The goal isn't to avoid taxes—it's to understand them well enough to make informed decisions about when and how to sell.

Thinking About Selling?

We buy houses in any condition. Get a transparent offer with no fees, no commissions, and a clear breakdown of the numbers—including how the sale might affect your taxes.

Get Your Offer