Tracking your home’s cost basis: the receipts that save you tens of thousands at sale
Every capital improvement you document raises your basis and lowers your taxable gain. Most homeowners forget improvements over a 10-20 year hold and overpay capital gains tax by $20-100k+.
Last updated April 2026
On this page
- Why basis matters: the gain formula
- The BAR test: what counts as a capital improvement
- Concrete examples that count (with typical costs)
- What does NOT count
- The grey area
- Selling costs: the second basis-equivalent lever
- Form 1099-S
- What about the ORIGINAL purchase?
- Documentation: what survives an audit
- What to keep for every improvement
- How to keep it
- Keep records for 3 years AFTER sale
- Worked example 1: improvements don’t change the answer
- Worked example 2: improvements save real money
- The same rule applies to rentals
- ”Allowed or allowable” — the trap on rentals
- Section 121 nonqualified-use rules (rental-to-primary conversions)
- Common mistakes
- When to consult a CPA
- Tools you’ll use
Every capital improvement you make to your home increases your cost basis. A higher basis means a smaller taxable gain when you sell, which means a smaller tax bill. The math is simple. The discipline is not. Most homeowners forget half their improvements over a 10-20 year hold and overpay capital gains tax by $20,000 to $100,000+ at sale.
This is a guide, not tax advice. For high-improvement homes or any property that was ever rented, work with a CPA.
Why basis matters: the gain formula
Your taxable gain at sale is:
Gain = Sale price − Selling costs − Adjusted basis
Where adjusted basis is:
Adjusted basis = Original purchase price + Capital improvements − Depreciation taken (if rented) − Casualty loss deductions
Then Section 121 lets you exclude $250k single / $500k MFJ if you meet the ownership and use tests. Anything above that exclusion is taxed at long-term capital gains rates (0%, 15%, or 20%) plus the 3.8% Net Investment Income Tax for high earners, plus state tax.
The key lever you control over a long hold is the capital improvements line. Every dollar you add to basis is a dollar that doesn’t get taxed when you sell.
The BAR test: what counts as a capital improvement
The IRS rule (Reg §1.263(a)-3, codified guidance in Pub 523) says an expenditure must do one of three things:
- Betterment — makes the property materially better, more valuable, or more functional
- Adaptation — changes the property to a new or different use
- Restoration — restores a deteriorated component or substantially extends the useful life of a major system
If the work fits any one of those, it’s a capital improvement and adds dollar-for-dollar to your basis. If it’s routine maintenance or a like-kind repair, it doesn’t.
Concrete examples that count (with typical costs)
- Kitchen remodel: $30,000–$80,000 (full gut), $15k for cabinets+counters only
- Bathroom remodel: $15,000–$40,000
- New roof (full replacement): $12,000–$30,000
- HVAC system (furnace + AC): $8,000–$20,000
- New windows (whole house): $10,000–$25,000
- Room addition / ADU / finished basement: $50,000–$200,000+
- Deck or patio (new construction): $8,000–$30,000
- Garage build or conversion: $20,000–$80,000
- Pool installation: $40,000–$80,000
- Solar panels (post tax credit cost): $15,000–$30,000
- Driveway replacement: $5,000–$15,000
- Whole-house water heater (tankless conversion): $4,000–$8,000
- Septic system replacement: $10,000–$25,000
- New landscaping (permanent — trees, retaining walls, irrigation install): $5,000–$50,000
- Insulation upgrade (whole house): $3,000–$8,000
- Permits and architect fees tied to any of the above
What does NOT count
- Painting (interior or exterior) — treated as maintenance
- Patching a roof rather than replacing it
- Fixing a leaky faucet or running toilet
- Replacing a broken dishwasher with a comparable one
- Carpet replacement with similar carpet (vs upgrading to hardwood, which counts)
- Lawn care, pest control, gutter cleaning, HVAC servicing
- Power washing
- Re-caulking, re-grouting, weatherstripping
- Cleaning fees, pre-listing staging (these reduce sale price as selling costs, but don’t go into basis)
The dividing line: a repair returns something to its prior working condition. An improvement makes it better than it was, restores a deteriorated major component, or adapts it to a new use.
The grey area
A roof patched repeatedly over five years that effectively replaces the entire roof can become a capital improvement cumulatively. So can a “paint job” that includes carpentry and trim replacement. So can “landscaping” that includes a permanent retaining wall.
When work has both a repair AND improvement component, you can split the cost. The new bathroom vanity (improvement) goes to basis; the plumber’s call to unclog the drain that day (repair) doesn’t.
When in doubt, document the scope precisely (so a CPA can decide years later) rather than guessing now.
Selling costs: the second basis-equivalent lever
At sale, “selling costs” reduce the amount realized — mathematically equivalent to adding to basis. Don’t leave any of these off:
- Real estate commission: 5–6% typical (the largest line)
- Transfer tax / state deed recording tax: varies by state, often 0.5–2% of sale price
- Title insurance (owner’s policy when paid by seller per local custom)
- Recording fees at closing
- Loan payoff fees and prepayment penalties — note: these are generally NOT selling expenses; they reduce net proceeds in your pocket but don’t reduce gain. Don’t double-count.
- Attorney fees (in states using attorney closings)
- Escrow / closing fees paid by seller
- Buyer credits / seller concessions at closing — reduce the amount realized
- Inspection-driven repair credits (cash credit at closing in lieu of fixing) — reduce amount realized
What does NOT reduce amount realized: fixing-up expenses done before sale to make the property show better (the old “fixing-up expense” deduction was repealed by the Taxpayer Relief Act of 1997). Pre-listing painting, staging, deep cleaning, lawn care — none reduce gain. A home warranty you buy for the buyer is also generally not a selling expense (treat as a gift to the deal, not a basis adjustment).
These come off the gross sale price before computing gain. Pull every single line off the seller side of the closing statement.
Form 1099-S
Title companies issue Form 1099-S to the IRS reporting your gross sale proceeds. You can avoid 1099-S issuance for a primary residence if you certify in writing that the entire gain qualifies for the §121 exclusion AND the sale price is $250k or less ($500k or less if MFJ). Above those thresholds, expect a 1099-S regardless — and expect the IRS to match it to your return. Report the sale on Form 8949 + Schedule D even if no tax is owed.
What about the ORIGINAL purchase?
Your starting basis isn’t just the sticker price. The settlement statement (HUD-1 or Closing Disclosure) at PURCHASE has costs that get added to basis from day one:
- Title insurance (owner’s policy paid by you)
- Recording fees
- Survey fees
- Transfer tax (if you paid it as buyer)
- Attorney fees for closing
- Owner’s title insurance
Loan-related costs (origination fees, points, appraisal, credit report, lender’s title) are NOT added to basis — they’re financing costs. Points may be deductible as mortgage interest but they don’t affect basis.
Pull your purchase settlement statement out of the file cabinet right now and add up the basis-eligible buyer-side costs. That’s your true starting number.
Documentation: what survives an audit
The IRS audit window is 3 years from when you file the return that reports the sale, longer if there’s significant under-reporting. You need records that survive that long AFTER you sell.
What to keep for every improvement
- Receipt or invoice with date, vendor name, address, scope of work
- Cancelled check, credit card statement, or wire confirmation showing payment
- Permit (when one was pulled)
- Before/after photos with metadata where possible
- Contractor’s contract for larger jobs
How to keep it
Pick a system and stick with it for the full ownership period. Options:
- A dedicated folder in cloud storage (Google Drive, Dropbox) with one subfolder per year
- A simple spreadsheet with date, vendor, amount, scope, file link
- The Cost Basis Tracker (purpose-built for this, with improvement category and BAR-test prompts)
The medium matters less than the discipline of capturing each improvement at the time you make it. Reconstructing 12 years of improvements from credit card statements during the year you sell is how people undercount by $50,000+.
Keep records for 3 years AFTER sale
The audit window starts when you file the return that reports the sale, not when the improvement was made. A $30k kitchen reno from 2015 still needs documentation if you sell in 2030 and the IRS asks about it in 2032.
Worked example 1: improvements don’t change the answer
You bought your home in 2010 for $400,000. Selling in 2026 for $900,000. Selling costs $54,000 (6% commission + transfer tax + title). Married filing jointly, both meet the use test.
Without tracking improvements:
- Amount realized: $900,000 − $54,000 = $846,000
- Adjusted basis: $400,000
- Gain: $446,000
- Section 121 (MFJ): $500,000 exclusion
- Taxable gain: $0. Tax: $0.
With $120,000 of tracked improvements:
- Adjusted basis: $400,000 + $120,000 = $520,000
- Gain: $326,000
- Same exclusion covers it. Tax: $0.
At this gain level, tracking didn’t save you a dollar. Section 121 absorbed everything either way. This is why most homeowners shrug at basis tracking — until appreciation runs away from them.
Worked example 2: improvements save real money
Same home, same purchase, but coastal market. Selling in 2026 for $1,600,000. Selling costs $96,000 (6%).
Without tracking improvements:
- Amount realized: $1,600,000 − $96,000 = $1,504,000
- Adjusted basis: $400,000
- Gain: $1,104,000
- Section 121: $500,000 exclusion
- Taxable gain: $604,000
- Federal LTCG (mostly 20% bracket): ~$120,000
- NIIT (3.8%): ~$23,000
- State (5% blended): ~$30,000
- Total tax: ~$173,000
With $200,000 of tracked improvements (kitchen, bath, roof, HVAC, windows, deck over 16 years — very plausible):
- Adjusted basis: $400,000 + $200,000 = $600,000
- Gain: $904,000
- Taxable after $500k exclusion: $404,000
- Federal LTCG: ~$80,000
- NIIT: ~$15,000
- State: ~$20,000
- Total tax: ~$115,000
Tracking saved roughly $58,000. That’s a kitchen remodel of tax savings, paid for purely by keeping the receipts you would have thrown away.
In a high-tax state (CA, NY, NJ, OR) the savings get larger. In a no-income-tax state (FL, TX, NV, WA, TN), still meaningful but the state portion is gone.
The same rule applies to rentals
If your property is a rental, every improvement during the rental period:
- Adds to your basis (lowering gain at sale)
- Increases your depreciation schedule (more annual deduction over 27.5 years for residential, or accelerated under cost segregation)
Repairs on a rental are still deducted in the year incurred (Schedule E), which is actually MORE tax-favorable than basis treatment in most years. The repair-vs-improvement distinction matters EVEN MORE for rentals because the timing of the deduction differs.
A landlord who miscategorizes $20k of routine repairs as “improvements” loses the immediate Schedule E deduction and gets a 27.5-year depreciation schedule instead. The opposite mistake (improvements treated as repairs) is an audit risk.
If you also took a home office deduction that included depreciation, that depreciation is recaptured at sale up to 25% federal — even if Section 121 covers the rest of the gain. See the capital gains guide for the recapture mechanics.
”Allowed or allowable” — the trap on rentals
If a property was a rental and you forgot (or chose not) to take depreciation, the IRS treats your basis as if you HAD taken it (“allowed or allowable” rule under IRC §1016(a)(2)). At sale, your basis is reduced by the depreciation you should have claimed, and that phantom depreciation is recaptured at up to 25%. You pay tax on deductions you never received. File Form 3115 to catch up missed depreciation BEFORE you sell — this is one of the few §481(a) adjustments the IRS routinely allows without penalty.
Section 121 nonqualified-use rules (rental-to-primary conversions)
If you convert a rental into your primary residence and later sell, only the portion of gain attributable to your qualified use (post-2008 primary use) gets the §121 exclusion. Pre-2009 rental periods are “qualified” by grandfather rule. Post-2009 rental periods reduce your exclusion proportionally (gain × nonqualified-use years ÷ total ownership years is taxed even if you meet the 2-out-of-5 test). And the depreciation taken during the rental period is ALWAYS recaptured at up to 25%, no matter how §121 plays out.
Common mistakes
- Not keeping receipts at all — the most expensive mistake. Fifteen years from now you will not remember what you spent on the kitchen, the roof, or the deck. Start a folder today.
- Counting routine maintenance as improvements — counts against you in audit and inflates basis you can’t defend.
- Forgetting the BAR test — “did this BETTER, ADAPT, or RESTORE the property?” If no, it’s a repair, not an improvement.
- Not tracking improvement DATES — for rentals, date matters for depreciation. For primary residences, less critical, but the IRS expects to see when work was done.
- Throwing out the original closing documents — the purchase-side settlement statement adds basis-eligible costs that most homeowners forget about. Title insurance, transfer tax, recording fees from purchase day all count.
- Missing selling costs at sale — pull every line off the closing statement. Commission is obvious; transfer tax, title insurance, attorney fees, payoff fees often aren’t.
- Counting items twice — if you took a Residential Energy Credit on solar panels, the credit-claimed portion of basis is reduced. Net cost (post-credit) is what goes to basis.
- Counting financing costs — mortgage points, origination fees, appraisal don’t go to basis. Don’t inflate basis with these.
When to consult a CPA
Most homeowners can self-track and use Cost Basis Tracker to get to the right number. Bring in a CPA when:
- You’re looking at a high-gain sale ($500k+ over Section 121 exclusion)
- You have $150,000+ of improvements to substantiate
- The property was ever a rental, even briefly
- You took a home office deduction at any point
- You did a partial business use (Airbnb, photography studio in the basement)
- Multiple owners are on title with unequal contributions
- The property was inherited or gifted (different basis rules — see inheriting a home)
Tools you’ll use
- Cost Basis Tracker — log improvements year by year with BAR-test prompts
- Capital Gains — model the impact of basis on your tax bill at sale
- Seller Net Sheet — net proceeds estimate including selling-cost adjustments
- Sell vs Rent — if you’re considering rental conversion (basis tracking gets more complex)
- Mortgage Interest Deduction — related ongoing tax considerations during ownership
Related reading: capital gains on home sale, inheriting a home, divorce and your mortgage.