Skip to content
Chitty Buys Houses(888) 913-9906

Capital Gains Tax When Selling Your Home: The $250K/$500K Exclusion Explained for 2026

National Trends

One of the most common fears among homeowners considering a sale is the capital gains tax bill they might face on years of appreciation. The good news is that for most sellers of a primary residence, the federal tax code offers a substantial exclusion that eliminates — or dramatically reduces — capital gains liability.

One of the most common fears among homeowners considering a sale is the capital gains tax bill they might face on years of appreciation. The good news is that for most sellers of a primary residence, the federal tax code offers a substantial exclusion that eliminates — or dramatically reduces — capital gains liability. Understanding how this exclusion works can remove a major psychological barrier to selling and help you plan your finances accurately before you list.

This guide explains the primary residence capital gains exclusion, who qualifies, how to calculate your taxable gain, and the situations where you may owe more than you expect.

What Is the Primary Residence Capital Gains Exclusion?

Under Section 121 of the Internal Revenue Code, homeowners who sell their primary residence can exclude up to $250,000 in capital gains from federal income tax if they are single, or up to $500,000 in capital gains if they are married and filing jointly. This exclusion is not a deduction — it is a complete exemption from tax on that portion of your gain.

Capital gain is the difference between your home's adjusted basis (roughly what you paid for it, plus qualifying improvements) and your net sale proceeds (sale price minus selling costs like agent commissions, title fees, and transfer taxes). If your gain falls below the exclusion threshold, you owe zero federal capital gains tax on the sale.

Given that median home prices have risen substantially in many markets over the past decade, most sellers of a primary residence fall well within the exclusion limit. A seller who bought at $300,000 and sells at $530,000 — realizing a $230,000 gain — owes nothing on that gain if they qualify as a single filer. The exclusion was designed specifically to prevent ordinary homeowners from facing punishing tax bills on the appreciation of a home they lived in for years.

Who Qualifies for the Home Sale Exclusion?

To claim the full exclusion, you must meet two core tests:

Ownership test: You must have owned the home for at least two of the five years immediately preceding the sale date. The two years do not need to be continuous — they just need to total 24 months within that five-year window.

Use test: You must have used the home as your primary residence for at least two of the five years immediately preceding the sale. Again, this is a cumulative 24-month requirement, not necessarily consecutive.

Both tests apply independently. A married couple filing jointly must each meet the ownership and use tests to claim the full $500,000 exclusion — though only one spouse needs to meet the ownership test if they owned it before the marriage, as long as both meet the use test and file jointly.

There are also frequency limits: you can only use the exclusion once every two years. If you sold another home and claimed the exclusion within the two years prior to your current sale, you are not eligible to claim it again.

What If You Don't Meet the Two-Year Requirement?

Life doesn't always allow two full years in a home before circumstances force a sale. Job relocations, divorce, serious illness, or financial hardship may require selling before meeting the ownership and use tests. The IRS provides a partial exclusion for sellers who fail to meet the full requirements due to one of these qualifying reasons:

  • Change in employment: You or your spouse moved to a new job location at least 50 miles farther from the home than your old workplace
  • Health reasons: A physician-recommended move for medical treatment or care
  • Unforeseen circumstances: Including divorce, death of a co-owner, multiple births from the same pregnancy, natural disasters, or involuntary conversion of the property

The partial exclusion is calculated as a fraction of the full exclusion based on how long you did live in the home. If you lived there for 12 of the required 24 months and qualify for a hardship exception, you may exclude up to half the normal limit — $125,000 for single filers, $250,000 for joint filers. If you're selling quickly due to job loss or financial hardship and need to move fast, a cash sale combined with a partial exclusion may still result in a minimal tax bill.

How Do You Calculate Your Taxable Gain?

Your taxable gain starts with the sale price and works backward:

  1. Start with sale price: The gross amount the buyer pays
  2. Subtract selling costs: Agent commissions, title and settlement fees, transfer taxes, attorney fees, and any seller-paid buyer concessions
  3. This gives you net proceeds
  4. Subtract your adjusted basis: Original purchase price, plus closing costs you paid when buying, plus the cost of capital improvements you made during ownership (new roof, addition, HVAC replacement — not routine maintenance)
  5. The result is your capital gain
  6. Subtract your exclusion amount: Up to $250,000 or $500,000 depending on filing status
  7. Any remaining positive number is taxable gain

Keeping records of capital improvements throughout ownership is critical, because every dollar of documented improvement increases your basis and reduces your eventual taxable gain. Homeowners who neglect this documentation may end up paying more tax than necessary.

Need to Sell Your House Fast?

Get a free, no-obligation cash offer from Chitty Buys Houses. No repairs, no fees — close on your timeline.

What Tax Rate Applies to Capital Gains That Exceed the Exclusion?

Gains that exceed the exclusion threshold are taxed at long-term capital gains rates — provided you owned the home for more than one year. Long-term rates in 2026 are 0%, 15%, or 20% depending on your taxable income, which is considerably lower than ordinary income tax rates. Higher-income sellers may also owe the 3.8% Net Investment Income Tax (NIIT) on gains exceeding the exclusion.

Note that the tax applies only to the portion of gain above the exclusion. A married couple with a $600,000 gain and a $500,000 exclusion owes long-term capital gains tax on the remaining $100,000 — not on the full $600,000. In many cases the actual tax bill is manageable, particularly for sellers in the 0% or 15% long-term gains bracket.

Are There Special Situations That Affect the Exclusion?

Several circumstances complicate the straightforward exclusion calculation:

Converting a rental to a primary residence: If you previously rented your home and later converted it to your primary residence, you must still meet the two-year use test from the date of conversion forward. Additionally, depreciation you claimed during the rental period is subject to depreciation recapture tax at up to 25% — even if the sale gain is otherwise excluded. This is a significant and often-overlooked liability for sellers who once had tenants.

Inherited homes: Inherited property receives a step-up in basis to fair market value at the date of the decedent's death, largely eliminating built-up appreciation as a taxable gain. The exclusion may still apply to gains that accumulate after inheritance, but the step-up basis makes it rarely necessary for near-term sales. See our guide on selling an inherited house for full context.

Divorce and home sales: Under a divorce settlement, a transfer of the home between spouses is generally not a taxable event. When one spouse retains the home and later sells it, the ownership period of both spouses is counted for the ownership test, even if only one spouse is on title. The use test must be individually met by the selling spouse based on their own occupancy. After a divorce, each spouse qualifies for the single-filer $250,000 exclusion on their individual return.

Home office deductions: If you claimed home office deductions on a portion of the home in prior years, the exclusion does not apply to the portion attributable to business use. That share of gain is taxable as business income, and any depreciation taken must be recaptured.

What If Your Home Has Dropped in Value?

If you sell for less than your adjusted basis, you have a capital loss. Losses on the sale of a primary residence are not deductible — the IRS treats home sale losses as personal losses, not investment losses. This is the asymmetric treatment of the tax code: gains on primary residences are partially excluded, but losses are also not deductible. If your home has declined in value and you need to sell quickly, understanding the full financial picture before listing is important. In some circumstances, a short sale may be relevant if the value has fallen below the outstanding mortgage balance.

Do You Have to Pay State Capital Gains Tax?

State-level capital gains taxes vary widely. States like Florida, Texas, and Nevada have no income tax, meaning no state-level capital gains liability on a home sale regardless of the federal treatment. Other states tax capital gains as ordinary income at rates up to 13%. The federal exclusion generally does not automatically apply at the state level — each state has its own rules. Sellers in high-tax states should consult a tax professional to estimate their combined federal and state liability. For homeowners in states without income tax, the federal exclusion often results in a near-zero total tax bill on a primary residence sale.

How Should You Plan Around the Exclusion?

Tax planning is most effective when done before a sale, not after. If you are considering selling, reviewing your basis, improvement records, and years of occupancy with a CPA or tax advisor can reveal whether you're better served by selling now or waiting to hit the two-year mark. For sellers who clearly qualify and whose gain is well within the exclusion, the tax picture is straightforward and should not be a barrier to moving forward with a sale.

If you're ready to explore your options, contact us for a no-obligation cash offer or learn how our process works. Chitty Buys Houses purchases homes throughout the country, and we can close on your timeline — often within two weeks — so your sale fits your financial and tax planning calendar.

Frequently Asked Questions

Last updated:

Chitty Buys Houses is not a licensed real estate brokerage. We connect homeowners with cash buyers and licensed professionals.

Ready to Get Your Cash Offer?

No obligation. No repairs. No fees. We buy houses nationwide.

Call (888) 913-9906
Call Now