Capital Gains Tax on Home Sale: 2026 Exclusions & Rules

Capital Gains Tax on Home Sale: 2026 Exclusions & Rules
Capital Gains Tax on Home Sale: 2026 Exclusions & Rules

This guide shows you exactly which factors protect your finances, preserve your home’s value, and help you avoid the mistakes that cost homeowners the most. Work through each one in order — the earlier factors carry the highest financial risk.

4 Factors That Matter Most for Capital Gains

1The 2-Out-of-5-Year Residency Rule

Financial Impact

The Section 121 exclusion is the most powerful tax break for homeowners. By living in your home for at least 24 months out of the 5 years leading up to the sale, you can keep up to $250,000 (single) or $500,000 (married filing jointly) of profit completely tax-free. Missing this 730-day window can force a 15%–20% capital gains tax on your entire profit, potentially costing you tens of thousands of dollars.

What to Check

  • Count your total days of physical residency; they do not need to be consecutive, but must total at least 730 days.
  • Ensure your driver’s license, voter registration, and utility bills reflect the property address for that 2-year period.
  • Verify that neither you nor your spouse has used this exclusion on another home sale in the last 24 months.

Spanr Advantage

Spanr’s occupancy tracking helps you monitor your ‘time-in-home’ milestones, sending alerts as you approach the 24-month mark so you never accidentally list your home too early.

Expert Take

If you are a few months short of the 2-year mark, consider delaying your closing date; the tax savings from waiting 60 days are often equivalent to a full year’s salary for most homeowners.

2Adjusted Cost Basis & Improvement Tracking

Financial Impact

Your ‘tax basis’ isn’t just what you paid for the house; it’s the purchase price plus all capital improvements. If you spent $40,000 on a kitchen remodel but didn’t keep the records, your taxable gain will be $40,000 higher than it should be. At a typical 15% tax rate, that is $6,000 in cash you are handing to the government unnecessarily.

What to Check

  • Gather all invoices and proof of payment for additions, new systems (HVAC, roof), or major landscaping.
  • Include ‘selling expenses’ such as agent commissions and legal fees, as these also reduce your taxable gain.
  • Identify ‘capital improvements’ (permanent upgrades) versus ‘repairs’ (maintenance), as only improvements increase your basis.

Spanr Advantage

Spanr’s automated expense categorization separates ‘maintenance’ from ‘capital improvements,’ providing a clean report of your adjusted cost basis for your tax preparer.

Expert Take

Keep every receipt for ‘permanent’ fixtures—even smaller items like new built-in shelving—because while they seem minor, they add up to a significant basis adjustment over a decade of ownership.

32026 Tax Brackets & NIIT Surtax

Financial Impact

In 2026, long-term capital gains are typically taxed at 15% or 20% for most sellers. However, high-earning households with a Modified Adjusted Gross Income (MAGI) over $200,000 (single) or $250,000 (married) face an additional 3.8% Net Investment Income Tax (NIIT). This can raise the effective rate on gains above the exclusion to 23.8% for high earners.

What to Check

  • Determine if your 2026 taxable income (including the home gain) puts you in the 20% bracket.
  • Check if your MAGI exceeds the $200,000/$250,000 thresholds to see if the 3.8% NIIT surtax applies to your profit.
  • Review your state-specific tax rules, as many states do not offer the same $250k/$500k exclusion as the federal government.

Spanr Advantage

Spanr’s financial planning tools provide an estimate of your ‘taxable exposure’ by comparing your current equity against federal and NIIT thresholds.

Expert Take

If you are close to a higher tax bracket, coordinate the timing of other income—like bonuses or stock sales—to stay in a lower capital gains bracket during the year you sell.

4Non-Qualified Use & Exclusion Frequency

Financial Impact

Periods of ‘non-qualified use’—such as time the home was used as a rental property or a second home before you moved in—can reduce the amount of gain eligible for the exclusion. If you lived in the home for 2 years but rented it out for the 3 years prior, a portion of your profit will be taxable, potentially leading to a significant tax liability you hadn’t budgeted for.

What to Check

  • Review your ownership history for any periods where the home was not your primary residence.
  • Calculate the ratio of ‘qualified use’ (residency) to ‘non-qualified use’ since 2009 to estimate your eligible exclusion.
  • Document any ‘unforeseen circumstances’ (job change, health) that might qualify you for a partial exclusion if you must sell before the 2-year mark.

Spanr Advantage

Spanr’s property history log keeps an immutable record of your usage dates, ensuring you have the data needed to calculate qualified use accurately.

Expert Take

If you previously rented out your home, you must also ‘recapture’ any depreciation taken while it was a rental; this is taxed at a flat 25% and cannot be wiped out by the residency exclusion.

Frequently Asked Questions

How often can I claim the capital gains exclusion?

You can generally use the $250k/$500k exclusion only once every two years, provided you meet the residency and ownership tests for each sale.

Do I qualify for the exclusion if I rented out the home?

Yes, but your exclusion may be reduced proportionally based on the 'non-qualified use' period (the time it was rented) versus the time you lived there as a primary resident.

Download Spanr for iOS or Android

Share guide