Do I Owe Capital Gains After 30 Years in My House?
If you've owned your home for 30 years and are worried about a giant tax bill, the honest answer is: the Section 121 exclusion ($250,000 single / $500,000 married filing jointly) hasn't changed, so a long-owned home can indeed produce gain above the cap. The good news is that a well-documented list of improvements over the decades often shrinks the taxable portion dramatically β sometimes to zero.
Okoniq Property Hub exists precisely so you don't have to reconstruct 30 years of records from memory when it's time to sell. Here's how the math actually works.
Is the exclusion still capped after decades of ownership?
Yes. Section 121 doesn't reward tenure β the cap is a flat $250,000 (single) or $500,000 (married filing jointly), and it hasn't been adjusted for inflation since 1997. A home bought for $80,000 that sells for $700,000 has $620,000 of gross gain, so a couple filing jointly could still be looking at $120,000 of taxable gain before adjustments.
But "gross gain" isn't the number the IRS actually taxes. See the next section.
Why does tracking improvements matter so much?
Your adjusted basis is what the IRS subtracts from the sale price to compute gain. It equals:
- Your original purchase price, plus
- Every capital improvement you've made over the years, minus
- Any depreciation you claimed (rare on a primary residence).
Capital improvements are things that add value or extend life: a new roof, a kitchen remodel, an addition, a driveway replacement, central HVAC installation, new windows, a finished basement. Routine repairs don't count β repainting a bedroom doesn't add to basis, but replacing all the windows does.
Over 30 years, most homeowners have made $50,000β$200,000 of qualifying improvements. Each one you can document raises your basis and lowers the taxable gain. See what counts as a repair vs. an improvement for the IRS test.
What about closing costs when you sell?
Selling costs reduce your amount realized, which reduces gain. That includes:
- Real estate agent commission (typically 5β6% of sale price)
- Title insurance and settlement fees paid by the seller
- Transfer taxes
- Attorney fees
- Home warranty you provide the buyer
- Advertising, staging, and pre-sale repairs (some of these may instead be capitalized as improvements β check with your CPA)
On a $700,000 sale, agent commission alone can knock $35,000β$42,000 off gain before you look at anything else.
How is the gain above the exclusion taxed?
Any gain above $250K/$500K is a long-term capital gain (you've held the home more than a year). Federal rates in 2026 are:
- 0% if your taxable income is under roughly $47K single / $94K joint
- 15% for most middle-income filers
- 20% at the top brackets
There may also be a 3.8% Net Investment Income Tax at higher incomes and state tax on top. See IRS Publication 523 for the full worked examples.
Keep the record in one place
If you've lived in a home 30 years, the difference between "I remember the kitchen was a big project" and "here is the $47,000 receipt, permit, and photos from 2004" is often a five-figure tax difference. Okoniq Property Hub keeps improvement receipts, photos, and dates alongside your closing statements, so basis is a lookup, not an archaeological dig. Related: how to calculate cost basis on an inherited house and the Taxes & Accounting hub.
Frequently asked questions
Do I get a bigger exclusion for owning longer?
No. Section 121 is flat β 30 years of ownership gets the same $250K/$500K exclusion as two years.
Do I have to report the sale even if the gain is fully excluded?
Only if you receive a Form 1099-S from the closing agent, or if any of the gain is taxable. Otherwise, the IRS doesn't require you to report a fully excluded home sale. Ask your closing agent whether they'll issue a 1099-S.
What about state capital gains?
Most states tax capital gains at ordinary income rates, which can be higher than the federal long-term rate. A few states (like Washington and New Hampshire) don't tax personal capital gains at all. Check your state.
Not tax advice β sale-of-home tax planning is one of the highest-stakes financial events for most homeowners. Confirm specifics with a licensed CPA before signing a closing statement. Okoniq Property Hub helps homeowners keep decades of records ready. Get started free.
Keep reading
Get free property tips by email
New guides on taxes, rent, and maintenance β a couple times a month. No spam, unsubscribe anytime.
Prefer to dive in? Get started free β