What Is Home Cost Basis? A Homeowner's Guide

Learn what cost basis means for your home, how to calculate your adjusted basis, and why tracking it can save you thousands in capital gains tax.

If you own a home, there is a number the IRS cares about that most homeowners never think about until the day they sell: your home's cost basis. It is, quite simply, the IRS's way of measuring what you have "invested" in your property over the years. The higher your cost basis, the smaller your taxable gain when you sell, and the less you owe in capital gains tax.

The problem is that most people only remember their purchase price. They forget about the closing costs that count, the kitchen remodel they did in 2016, the new roof in 2019, and the HVAC system they replaced last year. All of those investments can increase your cost basis and potentially save you thousands, sometimes tens of thousands, in taxes.

This guide will walk you through what cost basis means in plain English, how to calculate it, and why tracking it throughout your years of homeownership is one of the smartest financial moves you can make.

What Is Cost Basis?

In the simplest terms, your home's cost basis is the total amount you have invested in the property for tax purposes. When you eventually sell your home, the IRS calculates your capital gain as the difference between your sale price (minus selling expenses) and your cost basis. The lower your basis, the higher your gain, and the more tax you may owe.

Think of it like this: the IRS doesn't just want to know what you paid for the house. They want to know the full picture of your investment, including the money you spent to acquire it and the money you spent to improve it over the years.

Your cost basis is made up of two main components: your starting basis (what you paid to acquire the home) and your adjustments (primarily capital improvements you made during ownership). Together, these form your adjusted basis, which is the number that actually matters when you sell.

Your Starting Basis: More Than Just the Purchase Price

Your starting basis begins with the price you paid for the home, but it does not stop there. Certain closing costs from when you purchased the property are added to your basis. These are costs that are directly related to acquiring the property itself, not costs related to obtaining your mortgage or prepaying ongoing expenses.

Closing Costs That Increase Your Basis

The following closing costs are generally added to your starting basis because they are considered part of the cost of acquiring the property:

  • Title insurance premiums— Both the owner's policy and lender's policy premiums paid at closing.
  • Attorney fees — Legal fees for the real estate transaction, title search, and document preparation.
  • Recording fees — Fees charged by your county to record the deed and mortgage.
  • Transfer taxes — State or local taxes charged when the property changes hands (sometimes called stamp taxes or deed taxes).
  • Survey fees — The cost of having the property surveyed.
  • Title search and examination fees — Costs for verifying the seller has clear title to the property.
  • Owner's title insurance — The premium for your title insurance policy that protects your ownership.
  • Escrow and settlement fees — Fees paid to the closing agent or escrow company for handling the transaction.

Closing Costs That Do NOT Increase Your Basis

Not everything on your closing statement counts. The following costs are either deductible elsewhere on your taxes or are considered prepaid expenses, not part of the property's acquisition cost:

  • Prepaid mortgage interest (per diem interest) — This is deductible as mortgage interest, not added to basis.
  • Homeowner's insurance premiums — This is an ongoing expense, not an acquisition cost.
  • Property tax escrow deposits — Prepaid taxes held in escrow are not part of your acquisition cost.
  • Mortgage insurance premiums (PMI/MIP) — These relate to your loan, not the property purchase.
  • Loan origination fees and discount points — These are costs of obtaining financing and are generally deductible as interest rather than added to basis. (Note: in some situations, points may be amortized over the life of the loan.)
  • Home inspection fees — The IRS generally considers these a personal expense, not an acquisition cost.
  • Appraisal fees required by the lender — Since these are a condition of your mortgage, they relate to financing rather than acquisition.

For a deeper dive into exactly which closing costs affect your basis, see our full guide on closing costs and cost basis.

Adjusted Basis: The Number That Really Matters

Once you have your starting basis established, the next step is tracking every capital improvement you make to the home over the years. A capital improvement is any project that adds value to the home, prolongs its useful life, or adapts it to a new use. These are different from routine repairs and maintenance, which do not increase your basis.

Your adjusted basis is calculated as:

Adjusted Basis = Starting Basis + Capital Improvements - Casualty Losses - Depreciation (if applicable)

For most primary homeowners who never rented out a portion of their home or claimed a home office depreciation deduction, the formula simplifies to:

Adjusted Basis = Starting Basis + Capital Improvements

This is why tracking your improvements is so important. Every dollar you add to your adjusted basis is a dollar that reduces your taxable gain when you sell.

A Worked Example: How Tracking Saves You Real Money

Let's walk through a realistic scenario to see how this plays out in practice.

The Setup

Sarah and David bought their home 12 years ago for $350,000. At closing, they paid $12,000 in qualifying closing costs (title insurance, attorney fees, recording fees, and transfer taxes). Their starting basis is:

$350,000 + $12,000 = $362,000

Improvements Over the Years

Over 12 years of ownership, they made the following capital improvements:

  • Kitchen remodel (new cabinets, countertops, appliances): $35,000
  • New roof: $18,000
  • HVAC system replacement: $12,000
  • New windows throughout the house: $15,000
  • Finished basement: $5,000

Total capital improvements: $85,000

Their adjusted basis is:

$362,000 + $85,000 = $447,000

The Sale

They sell the home for $650,000. Now let's compare what happens with and without proper basis tracking.

Without Tracking Improvements

If Sarah and David only remembered their purchase price and didn't track their closing costs or improvements, their basis would be just $350,000. Their apparent capital gain would be:

$650,000 - $350,000 = $300,000 gain

As a married couple, they can exclude $250,000 per person ($500,000 total) under the Section 121 exclusion. Since $300,000 is under $500,000, they would owe nothing in this scenario. But what if the numbers were higher, or they were single filers? The difference becomes enormous.

Let's adjust the example slightly. Say the home sold for $750,000 instead:

  • Without tracking: $750,000 - $350,000 = $400,000 gain. After the $250,000 single-filer exclusion, $150,000 is taxable. At a 15% capital gains rate, that is $22,500 in federal tax.
  • With tracking: $750,000 - $447,000 = $303,000 gain. After the $250,000 exclusion, $53,000 is taxable. At 15%, that is $7,950 in federal tax.

The difference: $14,550 in tax savings, just from keeping records of improvements and qualifying closing costs that they already paid for. That is money saved, not money spent.

And this is a relatively modest example. Homeowners who have owned for 20 or 30 years, especially in markets with significant appreciation, can see far larger savings. It is not uncommon for long-term homeowners to have gains well above the Section 121 exclusion threshold, making every dollar of tracked basis directly valuable.

What Counts as a Capital Improvement?

The IRS draws a clear line between capital improvements (which increase your basis) and repairs(which do not). The general rule is that an improvement adds value, prolongs the home's life, or adapts it to a new use. A repair simply maintains the home in its current condition.

Common examples of capital improvements include:

  • Kitchen or bathroom remodels
  • New roof or roof replacement
  • HVAC system replacement
  • New windows or doors
  • Adding a deck, patio, or porch
  • Finishing a basement or attic
  • New landscaping or hardscaping (retaining walls, driveways)
  • Adding or upgrading insulation
  • New flooring throughout the home
  • Adding a fence, shed, or other outbuilding

The distinction can get tricky in gray areas. Replacing a single broken window pane is a repair. Replacing all the windows in your home is an improvement. Patching a small section of drywall is a repair. Gutting and refinishing an entire room is an improvement.

We cover this in much more detail, including the IRS's three-part test for classifying improvements, in our complete guide to capital improvements vs. repairs.

How to Track Your Cost Basis

Knowing that cost basis matters is the first step. Actually tracking it is where most homeowners fall short. The challenge is that home improvements happen over years and even decades. By the time you sell, you may have owned the home for 10, 20, or 30 years. Receipts get lost. Memories fade. Contractors go out of business.

Here are the most common approaches homeowners use to track their basis:

The Spreadsheet Approach

Many financially savvy homeowners keep a spreadsheet listing each improvement, the date, the cost, and a description of the work. This is better than nothing, but it has limitations:

  • It requires discipline to update consistently over many years.
  • It does not help you classify whether something is an improvement or a repair.
  • Receipts and invoices stored separately can get lost.
  • There is no built-in calculation of your adjusted basis or estimated tax impact.

The Shoebox Approach

Some homeowners simply keep receipts in a folder or box and plan to sort through them at tax time. This approach usually works for a year or two, then falls apart. By the time you sell, you are digging through years of disorganized paperwork, likely missing half of what you need.

A Dedicated Tracking Tool

The most effective approach is using a tool purpose-built for this task. HomeBasis is a free app designed specifically to help homeowners track their home's cost basis over time. It walks you through classifying each project as an improvement or a repair using IRS guidelines, stores your receipts alongside each entry, calculates your adjusted basis automatically, and even estimates your potential tax savings with a "What If I Sold?" tool that factors in the Section 121 exclusion.

The key advantage of any systematic approach is starting early. The best time to begin tracking your home's cost basis is the day you buy it. The second-best time is today. Even if you have owned your home for years, you can reconstruct your improvement history from bank statements, credit card records, contractor invoices, and permit records at your local building department.

Why This Matters More Than You Think

Many homeowners assume the Section 121 exclusion will cover their entire gain, so tracking basis does not matter. For some, that is true. But consider a few scenarios where it absolutely does matter:

  • Long-term homeowners in appreciating markets: If you bought your home 20 years ago and it has tripled in value, your gain could easily exceed the $250K/$500K exclusion.
  • Single filers: The $250,000 exclusion for single filers is half of the married amount. Even moderate appreciation over a long holding period can push your gain above the threshold.
  • Homeowners who converted rental property: If you rented your home before living in it (or vice versa), the rules are more complex, and your tracked improvements become even more critical.
  • High-cost-of-living areas: In cities like San Francisco, New York, Seattle, or Austin, even a home purchased 10 years ago may have appreciated by $500K or more.
  • Estate planning: While inherited properties generally get a stepped-up basis, having detailed records of improvements can be important during the transition and for establishing the accurate stepped-up value.

Key Takeaways

Your home's cost basis is the total of what you invested in acquiring and improving it. The higher your basis, the less you owe in capital gains tax when you sell. Here is what to remember:

  1. Your starting basis is your purchase price plus qualifying closing costs.
  2. Your adjusted basis adds all capital improvements made during ownership.
  3. Not all projects count — only capital improvements, not repairs, increase your basis. Learn the difference in our capital improvement vs. repair guide.
  4. The Section 121 exclusion protects many homeowners, but not all. If your gain exceeds $250K (single) or $500K (married), your tracked improvements directly reduce your tax bill. Read more in our Section 121 exclusion guide.
  5. Start tracking today. Whether you use a spreadsheet or a dedicated tool like HomeBasis, the important thing is to start.

The homeowners who save the most at tax time are not the ones who earn the most or have the fanciest accountants. They are the ones who kept good records. Your future self will thank you.

Start tracking your home's tax basis today

Free to use. No subscription required.

Download on theApp Store
Disclaimer: This is educational content, not tax advice. Consult a qualified tax professional for your specific situation.