Which Closing Costs Count Toward Your Home's Cost Basis?
Find out which closing costs you can add to your home's cost basis to reduce capital gains tax when you sell.
When you buy a home, the purchase price is only the starting point for calculating your tax basis. The IRS allows you to add certain closing costs to that number, giving you a higher adjusted cost basis from day one. A higher basis means a smaller taxable gain when you eventually sell, which can save you thousands of dollars in capital gains tax. Yet many homeowners overlook these costs entirely, either because they never realized the deduction existed or because they lost track of the paperwork years ago.
Understanding which closing costs count, and which do not, is your first opportunity to reduce a future tax bill. Let's break it down.
Why Closing Costs Matter for Your Basis
Your home's cost basis is essentially what you paid for it in the eyes of the IRS. When you sell, the IRS calculates your capital gain as the sale price minus your adjusted basis minus allowable selling expenses. The higher your basis, the smaller the gain, and the less tax you owe.
Closing costs are the very first adjustment you can make. Unlike home improvements, which accumulate over the years you own the property, closing costs are locked in at the moment of purchase. If you fail to include them, you start with a basis that is artificially low, and that gap compounds over every year of ownership. By the time you sell a decade or two later, the oversight could mean paying tax on thousands of dollars of phantom gain.
The good news is that the rules are relatively straightforward once you know what to look for. The IRS draws a clear line between costs that are part of acquiring the property and costs that are related to financing or ongoing expenses.
Closing Costs That ARE Added to Your Basis
The IRS allows you to add closing costs that are directly related to purchasing and transferring the property. These are expenses you would have incurred whether you paid cash or took out a mortgage. Here is the list of the most common qualifying costs:
- Title insurance premiums— The owner's title insurance policy protects you against defects in the title. This premium is a cost of acquiring clear ownership and is added to your basis. Note that the lender's title insurance policy, which protects the bank, also qualifies because it is a required cost of completing the purchase.
- Attorney fees— Legal fees for reviewing the purchase contract, conducting the closing, or preparing deed documents are basis-eligible. If your attorney also handled mortgage-related work, only the portion attributable to the purchase itself qualifies.
- Recording fees— The fee charged by your local government to record the deed and mortgage in public records. This is a direct cost of transferring ownership.
- Transfer taxes— State or local taxes imposed on the transfer of real property. These may also be called documentary stamp taxes or conveyance taxes, depending on your state. Whether paid by the buyer, the seller, or split between both parties, the buyer's share is added to basis.
- Survey fees— If a survey was required as part of the purchase, the cost is added to your basis.
- Title search and examination fees— The cost of searching public records to verify the seller has clear title to the property.
- Escrow or settlement fees— The fee charged by the escrow or closing agent for managing the transaction and disbursing funds.
- Abstract of title fees— Charges for preparing or updating the abstract, a summary of the property's ownership history.
The common thread is that each of these costs exists because you are buying a piece of real property. They would be incurred whether you financed the purchase or paid entirely in cash.
Closing Costs That Are NOT Added to Your Basis
Not every line item on your settlement statement qualifies. Costs related to obtaining a mortgage, prepaying ongoing expenses, or paying for insurance that protects the lender are excluded. Here are the most common items that do not increase your basis:
- Prepaid mortgage interest (per diem interest)— Interest charges covering the days between closing and the end of that month. This is a financing cost, not an acquisition cost. However, it may be deductible as mortgage interest on your tax return for that year.
- Homeowner's insurance premiums— The initial premium or escrow deposit for your homeowner's insurance policy is an ongoing operating expense, not part of the purchase price.
- Property tax escrow deposits— Funds deposited into escrow for future property tax payments. These are prepayments of an annual expense, not a purchase cost.
- Private mortgage insurance (PMI)— Premiums for PMI protect the lender, not you, and are a condition of the loan, not the purchase.
- Loan origination fees and discount points— These are costs of borrowing money, not costs of buying the property. Points may be deductible as mortgage interest in the year paid, but they do not add to basis.
- Credit report fees— A cost of the loan application process.
- Appraisal fees (when required by the lender)— If the appraisal was ordered by your lender as a condition of the mortgage, it is a financing cost. However, if you independently ordered an appraisal as part of your purchase decision, there is an argument it could be included. When in doubt, consult a tax professional.
The key distinction: if a cost exists because of your mortgage, it does not add to basis. If it exists because of the purchase, it does.
How to Find Your Closing Costs
The document you need is your Closing Disclosure. If you purchased your home on or after October 3, 2015, you received a five-page Closing Disclosure form. For homes purchased before that date, the equivalent document is the HUD-1 Settlement Statement.
Your closing agent, title company, or real estate attorney should have provided a copy at closing. If you cannot find it, try these options:
- Your lender— Mortgage servicers are required to keep copies of closing documents. Contact your current loan servicer and request a copy.
- Your title company or closing attorney— They typically retain records for several years.
- Your real estate agent— Agents often keep transaction files, sometimes digitally.
- Your email— Many modern closings involve digital document delivery. Search your inbox for terms like "Closing Disclosure," "settlement statement," or your title company's name.
Once you have the document, go through it line by line. Page 2 of the Closing Disclosure, under "Loan Costs" and "Other Costs," breaks down each charge. Separate the qualifying items from the non-qualifying ones using the lists above.
Example: Building Your Starting Basis
Suppose you purchased a home for $400,000. Your Closing Disclosure shows the following charges paid by the buyer:
| Closing Cost Item | Amount | Added to Basis? |
|---|---|---|
| Owner's title insurance | $2,100 | Yes |
| Lender's title insurance | $850 | Yes |
| Attorney fees (purchase-related) | $1,200 | Yes |
| Recording fees | $250 | Yes |
| Transfer taxes | $2,400 | Yes |
| Survey fee | $500 | Yes |
| Title search | $400 | Yes |
| Escrow/settlement fee | $500 | Yes |
| Loan origination fee | $4,000 | No |
| Prepaid interest | $1,100 | No |
| Homeowner's insurance | $1,500 | No |
| Property tax escrow | $3,200 | No |
The qualifying closing costs total $8,200. Your starting adjusted cost basis is:
$400,000 (purchase price) + $8,200 (qualifying closing costs) = $408,200
That $8,200 increase in basis could save you over $1,200 in federal capital gains tax at the 15% rate. And this is before you add any capital improvements made during ownership.
Don't Forget Seller-Paid Costs
In some transactions, the seller pays closing costs on behalf of the buyer as part of the negotiation. If the seller paid costs that would normally be the buyer's responsibility, such as transfer taxes or title insurance, those amounts typically reduce the effective purchase price rather than adding to basis. The net result is similar, but the accounting matters. Review your Closing Disclosure carefully to see who paid what.
How HomeBasis Helps You Capture Closing Costs
When you set up your home in HomeBasis, the onboarding wizard walks you through the most common closing costs line by line. Instead of trying to remember IRS rules on your own, you simply enter the amounts from your Closing Disclosure and the app categorizes them for you. Qualifying costs are automatically added to your starting basis, while non-qualifying costs are excluded.
This means your cost basis is accurate from the very first day you start tracking. As you add capital improvements over the years, each one builds on a foundation that already includes your closing costs. When it comes time to sell and apply the Section 121 exclusion, you will have a complete, well-documented basis calculation ready for your CPA.
The two minutes you spend entering closing costs today could prevent a very expensive oversight a decade from now.