House.ai
HomeInbox
Buying PowerPortfolioSearch Homes
RatesConnect With Agent
Chat history
GuidesTerms of ServicePrivacy PolicyCookie Policy

House.ai is a real estate brokerage that works with consumers on finding the best properties to meet their needs and receive the best home-buying and home-selling education.

House.ai currently serves buyers and sellers in Texas, Florida, California, and Arizona. More states are on the way.

Real estate brokerage licenses are held by HOUSE.AI LLC (Texas, Florida), House.AI, Inc. (California), and House.AI Arizona (Arizona) — see our real estate licenses. California DRE #02447419. Home financing is offered through GMCC (General Mortgage Capital Corporation). Equal Housing Lender.

Texas Real Estate Commission Information About Brokerage ServicesTexas Real Estate Commission Consumer Protection Notice

© 2026 House.ai, LLC. All rights reserved.

Capital Gains Tax & the $250k/$500k Exclusion

3 min read · House.ai Guide · Updated September 2026

What it is

When you sell a home for more than you paid, the profit is a capital gain, which can be taxable. But a long-standing federal rule — the primary-residence exclusion under IRC §121 — lets many homeowners exclude a large chunk of that gain from taxation. A qualifying single filer can exclude up to $250,000 of gain, and a married couple filing jointly can exclude up to $500,000. For most primary-residence sellers, this means little or no capital gains tax. This is educational information, not tax advice — confirm your specifics with a tax professional or IRS Publication 523.

How it works

Two calculations matter: your gain, and whether you qualify.

Gain = amount realized − adjusted basis.

  • Amount realized is roughly your sale price minus selling costs.
  • Adjusted basis is what you paid for the home plus the cost of capital improvements you've made over the years (a renovation, an addition, a new roof). Keeping records of improvements raises your basis and lowers your taxable gain.

The 2-of-5-year test. To claim the exclusion, you generally must have owned and lived in the home as your primary residence for at least 2 of the 5 years before the sale. The two years don't have to be continuous. This is the core qualification hurdle.

Only gain above your exclusion amount is potentially taxable. So a married couple with a $400,000 gain who meet the test would typically owe no federal capital gains tax on it, because $400,000 is under the $500,000 ceiling.

How to think about it

A few important points:

  • Primary residence only. The exclusion is for your main home, not an investment or rental property. Rentals follow different rules, including depreciation recapture (tax owed back on depreciation previously claimed).
  • Frequency limit. The exclusion generally can't be claimed more than once every two years.
  • Basis matters. Under-counting improvements inflates your apparent gain. Good records help.
  • State taxes may differ. The §121 exclusion is federal; your state may treat the gain differently.
  • Partial exclusions may apply in certain situations (a move for work, health, or unforeseen circumstances) even if you don't fully meet the 2-of-5 test.
Bottom line

The §121 exclusion means most homeowners selling a primary residence they've owned and lived in for at least 2 of the past 5 years pay little or no federal capital gains tax on the first $250,000 (single) or $500,000 (married filing jointly) of gain. Because your gain depends on your basis and your situation, and because rules change, confirm the specifics with a tax professional or read IRS Publication 523 before relying on any number.