Taxes · IRS Publication 523Home cost basis: which closing costs and improvements count when you sell
When you sell your main home, gain is figured from your adjusted basis – roughly what you paid plus improvements – so the closing statement from your purchase matters years later. Under IRS Publication 523 (2025), your cost includes the down payment and any debt such as a mortgage or notes to the seller or builder, plus certain settlement fees and closing costs: abstract of title fees, charges for installing utility services, legal fees (including the title search and preparing the sales contract and deed), recording fees, survey fees, transfer or stamp taxes, and owner's title insurance. Amounts placed in escrow for future taxes and insurance aren't settlement costs. You can't include fire and casualty insurance premiums, rent or utilities for occupying the house before closing, or charges for getting the mortgage – mortgage insurance premiums (including VA funding fees), loan assumption fees, the credit report, a lender-required appraisal and points – nor refinancing fees. You generally reduce basis by points the seller paid for you. Seller costs that you agreed to pay and weren't reimbursed add to your basis – real estate taxes owed through the day before the sale, back interest, the seller's recording or mortgage fees, the seller's repair obligations and the seller's real estate commission. After you buy, improvements that add value, prolong the home's life or adapt it to new uses add to basis: additions such as a bedroom, bathroom, deck or garage; systems like heating, central air and wiring; a new roof, siding, insulation, a septic system, built-in appliances, kitchen modernization, landscaping, a driveway, fence or pool. Repairs and maintenance that only keep the home in good condition – painting, fixing leaks, filling cracks – don't count unless done as part of an extensive remodel; nor do improvements no longer part of the home or with a life of less than a year. If you took energy tax credits or utility subsidies for improvements in your basis, subtract them.
Purchase costs that add to basis
Title and legal
Abstract fees, title search, preparing the contract and deed, owner's title insurance.
Recording and survey
Recording fees, survey fees.
Taxes
Transfer or stamp taxes.
Seller's costs you paid
Taxes through the day before the sale, back interest, the seller's commission or repairs – if not reimbursed.
Costs that don't
Loan costs
Points, mortgage insurance and VA funding fees, assumption fees, credit report, lender appraisal.
Occupancy
Insurance premiums, rent and utilities before closing.
Escrow deposits
Amounts set aside for future taxes and insurance.
Seller-paid points
Generally reduce your basis.
What the TC can do
- Send buyers the final Closing Disclosure or settlement statement after closing and suggest they keep it with their tax records.
- Remind them to keep receipts for improvements – not repairs – while they own the home.
- Point sellers to their original purchase statement when they estimate their gain.
Questions about home basis
Can I add closing costs to my home's cost basis?
Some: abstract and legal fees, recording and survey fees, transfer or stamp taxes, utility installation and owner's title insurance can be included; loan costs like points and mortgage insurance can't (IRS Publication 523).
What home improvements increase basis?
Improvements that add value, prolong the home's life or adapt it to new uses – additions, new systems, a new roof, siding, insulation, landscaping, a pool – not routine repairs like painting or fixing leaks.
Do seller-paid points change my basis?
Yes. You generally reduce your basis by points the seller paid for you.
Related guides
ClosingCode keeps each deal's documents, including the final settlement statement, in one place you can export.
Start free trialSource: IRS Publication 523 (2025), Selling Your Home – Basis, Fees and Closing Costs, Improvements (irs.gov, downloaded October 26, 2026).
General information, not tax advice. A tax professional can apply these rules to your own sale. ClosingCode is software; it is not a tax preparer. This guide is not a substitute for the advice or services of an attorney.