What improvements can be added to cost basis of home when you sell?

Sold my house this past spring and I'm now trying to figure out what improvements can be added to cost basis of home before I calculate my gain. I know the purchase price is the starting point but I've heard you can add certain things and I don't want to leave money on the table. I kept most of my receipts but I'm not sure what counts. Added a deck a few years back, replaced all the windows, put in a new HVAC system, and repainted the whole interior. Also refinanced once — not sure if any of those closing costs factor in. Already looked at Publication 523 and it mentions basis adjustments but I got confused about what qualifies versus what's just maintenance. Anyone been through this and figured out what actually counts?

39 comments

Went through this two years ago. The IRS separates improvements from repairs and that line is everything. An improvement adds value, prolongs the home's useful life, or adapts it to a new use — your deck, windows, and HVAC almost certainly qualify. Repainting interior walls is trickier; it's usually treated as a repair and doesn't add to basis. The rule is in Publication 551 at irs.gov/publications/p551 — look at the basis adjustments section.

Megan F.

Author

So the paint is likely out but the HVAC is in? That's what I suspected. Good to know there's a clear line even if the paint one stings a little.

My accountant told me pretty much the same thing. Improvements that physically change or add to the structure go in. Things you do just to keep it in normal working condition — cleaning, painting, minor repairs — stay out. Worth noting: the cost you add is what you actually paid, not what a contractor estimated or what it might be worth now.

Yes, and you need the receipts to back it up. The IRS can ask for documentation if they question your basis.

I uploaded all my contractor invoices and my HUD-1 from closing into taxr.ai and it went line by line telling me which costs looked like basis additions and which ones were more likely deductible expenses or neither. Saved me a lot of guessing. It flagged my roof replacement as a clear addition but put a question mark on some landscaping I did — apparently that one depends on whether it's considered a permanent improvement. For anyone doing this manually, Publication 551 is the place to start.

Megan F.

Author

That's really helpful — the landscaping angle hadn't occurred to me. I have some drainage work I did that might fall in a similar grey area.

Closing costs from your original purchase can also be part of your starting basis, not just improvements after the fact. Things like title insurance, legal fees, recording fees paid at purchase — those get added to what you paid for the house. Closing costs from a refinance are different and generally don't add to basis.

Megan F.

Author

That's the piece I needed — so original purchase closing costs yes, refinance costs no. Makes sense now.

Yes, and points paid to reduce the interest rate on a refinance are usually deducted over the life of the loan, not added to basis at all. Different treatment entirely.

What about an addition we built — added a whole bedroom and bathroom to the back of the house. That has to count right?

Yes, an addition is exactly the kind of improvement that increases basis. You'd add the full cost you paid for materials and labor.

Good, that's a big number for us so it really matters.

There's also a category people miss: assessments paid for local improvements. If your city or county charged you a special assessment for a new sidewalk or sewer line that benefits your property specifically, that can add to basis. Regular property taxes don't, but a capital assessment does. Publication 551 covers this.

Megan F.

Author

Never would have thought of that one. We did have a special assessment for street repaving a while back — worth digging up those records.

One thing that trips people up: if you ever took a casualty loss deduction on part of the home — from a fire or storm damage — you have to reduce your basis by the amount of the deduction you took. Same goes if you received insurance proceeds for damage and didn't use all of it to restore the property.

Hadn't thought about the insurance proceeds angle. So if you got a check and pocketed part of it rather than rebuilding, your basis goes down by that amount?

Yes, that's the rule. The basis stays in line with what you actually have invested in the property.

I sold last year and had a similar pile of receipts to sort through. I uploaded my records into Taxr and it drafted a basis worksheet for me showing the original purchase price, each improvement grouped by year, and the net adjusted basis I could use on my return. I checked it against Schedule D and Form 8949 before filing. It was a lot cleaner than my spreadsheet. The solar panels I installed were on there as a full addition to basis even after I took the energy credit — the credit reduces basis by its amount, which I hadn't realized.

Megan F.

Author

Wait — the energy credit reduces your basis? So if I took a credit for the HVAC install I need to account for that?

Yes, the credit amount comes off your basis. So if the HVAC cost you a certain amount and you claimed a residential energy credit on it, your basis addition is the cost minus the credit. Publication 551 has that detail.

Came into this thread because I'm in the same boat. Trying to figure out if the finished basement counts. We converted a crawl space into a full livable basement — permits, contractors, the works.

Yes, that sounds like a clear improvement — it changed the character of the space and added usable square footage. Keep the permits and invoices.

Just to flag: if you used part of your home as a home office and took depreciation deductions over the years, that accumulated depreciation reduces your basis in that portion of the home. And the exclusion rules under Publication 523 treat the home office gain differently — it may not be fully excludable. Worth knowing before you finalize your numbers.

Megan F.

Author

I did have a home office deduction for two years. That adds another layer I wasn't thinking about. Might need to pull those old returns.

Yes, check each return where you claimed it. The depreciation allowed or allowable each year is what reduces basis, even if you forgot to claim it in a given year.

My situation had a wrinkle — inherited the house. For inherited property your starting basis is generally the fair market value at the date of death, not what the original owner paid. So all the improvements the previous owner made don't really factor in; you start fresh at the stepped-up value.

Yes, Publication 551 is clear on that. If the estate filed Form 706, there's also a consistency requirement and you'd get a Schedule A from Form 8971 showing the value you must use.

Right, in my case no Form 706 was required so I used the date-of-death FMV from an appraisal. Any improvements I made after inheriting it then get added to that number.

What about HOA assessments for things like a community pool renovation — does that ever add to individual basis?

No, those don't add to your personal home's basis. That kind of assessment goes to the common property owned by the association, not your unit or lot. Only assessments that directly improve your specific property can be added.

Worth mentioning: Publication 523 at irs.gov/publications/p523 lays out the full framework for calculating gain on a home sale — the ownership and use tests, the exclusion amount, and basis. Reading it alongside Publication 551 gives you the complete picture. The two together answered most of my questions when I sold.

Megan F.

Author

I had read 523 but not 551 — going to pull that one now. Thanks for pointing out they work together.

Some people also forget that selling costs reduce your gain even though they don't add to basis. Commissions, legal fees for the sale, staging costs in some cases — those come off your proceeds when figuring the gain, which has the same math effect as raising basis but is tracked differently.

Yes, good point. It's not a basis adjustment, it's a proceeds adjustment. Same outcome on the bottom line though — your taxable gain goes down either way.

Pulled up my old HUD-1 from purchase and found fees I had completely forgotten — survey costs, transfer taxes paid by buyer, title search. All potentially addable. Those small line items add up faster than you'd think.

Yes, the HUD-1 or the newer Closing Disclosure is worth going through line by line. A lot of people just grab the sale price and stop there.

Exactly what I did the first time around. Second time I was more careful and the difference was noticeable.

To bring my situation in: I replaced the roof, added insulation, and built a new fence. Roof yes, insulation yes — both prolong useful life. Fence was something I had to look up. Turns out it can be added to basis as a land improvement if it's a permanent structure on the property. The key word is permanent.

Interesting on the fence — I would have guessed no on that one. Good to know permanent structures count even if they're not part of the house itself.