
Own Luxury Homes®
Capital Gains on Home Sale: $250K/$500K Exclusion
Section 121: exclude up to $250K (single) or $500K (MFJ) from primary home sale gain. 2-of-5-year test: own AND use as primary residence 24+ months. Adjusted basis = purchase price + capital improvements + closing costs. $80K in improvements = $12–16K less in federal tax. Partial exclusion available for job relocation, health, unforeseen events. NJ no exclusion; CA/NY ordinary income rates. Own Luxury Homes® 12-Point Agent Integrity Audit™ — CPA referral before listing.
Capital Gains on Home Sale: The $250,000/$500,000 Exclusion Explained (Section 121)
Most homeowners know there's a tax exclusion when you sell your house. Most don't know the exact rules, which expenses reduce their taxable gain, or when the exclusion doesn't fully apply. Getting this wrong costs real money: the difference between a $280,000 gain that's fully excluded and a $280,000 gain where $30,000 is taxable at 15–20% is $4,500–6,000 in unnecessary federal tax. This guide covers the mechanics, the adjusted basis calculation, and the situations where the exclusion is partial or unavailable.
The Section 121 Exclusion: How It Works
The Basic Rule
IRC Section 121, enacted by the Taxpayer Relief Act of 1997, allows you to exclude up to $250,000 of capital gain from the sale of your primary residence from your federal taxable income. For married couples filing jointly: up to $500,000. This is an exclusion from gain, not from sale price. If you bought a home for $200,000, made $50,000 in improvements, and sold it for $600,000: your gain is $350,000 (sale price minus adjusted basis of $250,000). If single: you exclude $250,000; $100,000 is taxable. If married filing jointly: you exclude $350,000; $0 is taxable. These exclusion amounts have not been adjusted for inflation since 1997. Millions of long-term homeowners now exceed the threshold.
The Two Tests: Ownership and Use
You Must Pass Both
The ownership test: you must have owned the home for at least 24 months (2 years) during the 5-year period ending on the date of sale. The use test: you must have used the home as your principal residence for at least 24 months during the same 5-year period. The 24 months do not have to be consecutive. You can meet the ownership and use tests during different 24-month periods within the 5-year window, as long as both tests are satisfied within that window. Frequency limit: the exclusion can only be claimed once every 2 years.
| Scenario | Qualifies? | Notes |
|---|---|---|
| Owned and lived in home for 3 years; selling now | Yes — fully qualifies | Both ownership and use tests satisfied; full exclusion available |
| Owned home 4 years; rented out for last 2; now selling | Partially — may qualify with limits | Use test: 2 of the first 4 years satisfies 24-month requirement; non-qualified use period may reduce exclusion |
| Owned and lived in home 18 months; must sell due to job relocation | Partial exclusion — reduced | Does not fully meet 24-month test; may qualify for partial exclusion based on months qualified ÷ 24 |
| Bought home 1 year ago; selling due to divorce | Partial exclusion — if hardship applies | IRS allows reduced exclusion for specific circumstances: job change, health, unforeseen events |
| Inherited property and sold it | Typically no — use step-up in basis instead | Inherited property gets a step-up in basis to fair market value at date of death; different rule applies |
| Used home as rental for first 3 years; moved in last 2; selling | Qualifies with non-qualified use allocation | Rental period before primary use = non-qualified use; reduces available exclusion proportionally |
The Adjusted Basis Calculation: Where Most Sellers Leave Money
Your Basis Is Not Just What You Paid
Your adjusted basis starts with your purchase price and is increased by: settlement costs paid at purchase (title insurance, legal fees, recording fees); capital improvements made during ownership (new roof, addition, kitchen remodel, HVAC replacement, new windows, landscaping improvements); assessments for local improvements. Your basis is reduced by: depreciation taken if the property was ever used as a rental; any casualty loss deductions taken; certain energy credits. The higher your adjusted basis, the smaller your taxable gain. Every home improvement receipt you kept is money the IRS won't tax.
| Example | Amount | Notes | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Purchase price (2015) | $310,000 | Starting point for basis calculation | |||||||
| Settlement costs at purchase | +$8,500 | Title insurance, legal fees, recording; add to basis | |||||||
| Kitchen remodel (2019) | +$42,000 | Capital improvement; permitted; increases basis | |||||||
| HVAC replacement (2021) | +$12,000 | Capital improvement; increases basis | |||||||
| New roof (2023) | +$18,000 | Capital improvement; increases basis | |||||||
| Adjusted basis | $390,500 | Total investment for tax purposes | |||||||
| Sale price (2026) | $680,000 | ||||||||
| Selling costs (commission, closing costs) | −$35,000 | Reduces amount realized; subtract from sale price | |||||||
| Amount realized | $645,000 | ||||||||
| Gain (amount realized minus adjusted basis) | $254,500 | ||||||||
| Single filer exclusion | −$250,000 | Exclusion applied | |||||||
| Taxable gain | $4,500 | Taxed at long-term capital gains rate (0%, 15%, or 20%) | |||||||
| Without the home improvements in the basis calculation, the gain would have been $334,500 — taxing an additional $80,000 at 15–20% = $12,000–16,000 in additional federal tax. Keep every receipt for capital improvements. | |||||||||
Capital Improvements vs Repairs: The Critical Distinction
| Adds to Basis (Capital Improvement) | Does NOT Add to Basis (Repair/Maintenance) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| New roof installation | Patching existing roof shingles | ||||||||
| Kitchen remodel or addition | Painting kitchen cabinets | ||||||||
| HVAC system replacement | HVAC filter replacement or annual service | ||||||||
| Room addition or garage | Fixing a broken door | ||||||||
| New windows (replacement) | Repairing a broken window pane | ||||||||
| Deck or patio construction | Deck staining or repair | ||||||||
| Landscaping improvements (permanent) | Lawn mowing, seasonal plants | ||||||||
| In-ground pool installation | Pool cleaning or equipment repair | ||||||||
| The IRS distinction: a capital improvement adds value, extends the useful life, or adapts the property to a new use. A repair maintains existing condition. When in doubt, consult a CPA; the line matters. | |||||||||
The Partial Exclusion: When You Don't Meet the Full 2-Year Test
Qualifying Circumstances for Reduced Exclusion
If you don't fully satisfy the 24-month ownership and use tests, you may still claim a reduced exclusion if the sale was primarily due to: (1) A change in place of employment (new job requires relocation more than 50 miles from the home); (2) Health reasons (doctor-recommended move for health treatment or care); (3) Unforeseen circumstances (defined by the IRS: death, divorce, loss of employment, natural disaster, multiple births from the same pregnancy, and others). The partial exclusion is calculated: (months qualifying ÷ 24) × full exclusion amount. Example: sold after 18 months due to job relocation. Single filer partial exclusion: (18 ÷ 24) × $250,000 = $187,500. This significantly reduces your tax exposure even without meeting the full test.
State Tax: The Variable Most Sellers Miss
| State | Conforms to Federal Exclusion? | Notes | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Most states (40+) | Yes — follows federal exclusion | No additional state capital gains tax on excluded gain | |||||||
| New Jersey | No — does not conform | NJ taxes the full gain; no state-level exclusion equivalent | |||||||
| California | Yes — conforms | BUT: CA taxes capital gains at ordinary income rates (up to 13.3%); the exclusion applies but remaining gain is expensive | |||||||
| New York | Yes — conforms | NY taxes capital gains at ordinary income rates; verify current rates with a CPA | |||||||
| Florida, Texas, Nevada, Washington, others (no state income tax) | N/A | No state income tax; only federal capital gains apply | |||||||
| State tax treatment on home sale gains is a material variable. Verify your state's current rules before your sale, especially in high-tax states like CA, NY, NJ, IL, MA. | |||||||||
“The capital gains conversation I have with every seller before listing: "Before we talk about what you can get, let's talk about what you'll keep." I've had sellers assume they owe no tax because they vaguely remember hearing about a $500,000 exclusion. Then we work through the numbers: they've been in the house for 22 years, their gain is $620,000, they're married but filing separately this year due to a financial situation — so they get two $250,000 single-filer exclusions and the $120,000 excess is taxable. That conversation before listing means they go into the sale with accurate expectations. Not from me doing the tax analysis — I send them to a CPA for that. But I flag the question before they assume.”
— Ryan Brown, Principal Broker & CEO, Own Luxury Homes®
Do I have to pay capital gains when I sell my house?
If you qualify for the Section 121 exclusion: no federal tax on the first $250,000 of gain (single) or $500,000 (married filing jointly). Gain is calculated as: sale price minus adjusted basis (purchase price plus capital improvements plus closing costs). Requirements: owned and lived in the home as your primary residence for at least 24 months of the past 60 months. Consult a CPA for your specific situation; state tax varies significantly.
What counts as a capital improvement that adds to my basis?
Capital improvements add value, extend useful life, or adapt the property to a new use. Examples that add to basis: new roof, HVAC replacement, room addition, kitchen remodel, new windows, deck construction, in-ground pool, landscaping improvements. Repairs and maintenance do not: painting, patching, routine service. Every receipt for a capital improvement reduces your eventual taxable gain. Keep them for as long as you own the property.
What if I don't meet the 2-year requirement?
If the sale is due to job change (50+ mile relocation), health reasons, or IRS-defined unforeseen circumstances: partial exclusion applies: (months qualifying ÷ 24) × full exclusion amount. Example: 18 months qualified, single filer: 18/24 × $250,000 = $187,500 exclusion. If you don't meet the test and no qualifying circumstance applies: the full gain may be taxable at long-term capital gains rates (0%, 15%, or 20% federal).
Own Luxury Homes® — net proceeds calculation includes tax implications before every listing. 12-Point Agent Integrity Audit™. Request a verified listing specialist ›
"The introduction Own Luxury Homes® makes is to a specialist with documented closing history in your specific market — not the county, not the metro, the submarket you're actually selling or buying in. That's the standard we verify before your name goes anywhere."
— Ryan Brown, Principal Broker & CEO, Own Luxury Homes® (FL License BK3626873)
