How to determine cost basis of rental property — what actually counts?

Trying to figure out how to determine cost basis of rental property I've owned for about nine years and am now thinking of selling. I bought it for $218k, but since then I've replaced the roof, added a second bathroom, repainted the whole interior, and replaced all the appliances. I also paid closing costs when I bought it. I've been depreciating it every year on Schedule E. My question is: what actually goes into the cost basis, what gets added for the improvements, what gets subtracted for the depreciation I've already claimed, and do the appliances count differently? My 1099-B situation is simple but this rental property piece has me completely lost. I know I'll need Form 8949 and Schedule D when I sell but I have no idea what number to put in column (e) for basis.

37 comments

Publication 551 (Basis of Assets) is the main reference for this. Your starting point is the purchase price plus certain closing costs — things like title insurance, legal fees, recording fees, and transfer taxes you paid as the buyer. Points paid by the seller generally don't add to your basis. That total is your original basis in the property.

Tyler C.

Author

So my purchase price plus my buyer-side closing costs. Got it. What about the land — I know you can't depreciate land but does it affect the basis calculation at all?

Yes, you have to allocate basis between land and the building when you first place it in service. Only the building portion gets depreciated. The land portion just sits there. Your original closing docs or a property tax assessment can help you find that split.

The roof and bathroom addition — those are capital improvements and they get added to your adjusted basis. Repainting is almost certainly a repair and repair costs don't increase basis; they're just deducted in the year you paid them on Schedule E. That line between improvement and repair trips a lot of people up.

Tyler C.

Author

So the roof (which I think cost around $14k) and the bathroom would add to basis, but the interior paint job would not. That tracks. The bathroom was definitely structural.

Repainting tripped me up too. I added it to basis my first year and had to unwind it. The test is basically whether it adds value, extends useful life, or adapts the property to a new use — paint generally fails all three.

Appliances are a separate piece. They're personal property, not part of the building structure, so they're depreciated on their own schedule under MACRS — typically 5-year property rather than the 27.5-year residential rental schedule. When you sell the whole property, you'll need to track each appliance's basis and accumulated depreciation separately unless they were fully depreciated already.

Tyler C.

Author

That explains why my tax software put the appliances on a different line in my depreciation schedule. So I'll have multiple basis numbers to reconcile at sale — one for the building, one for each set of appliances, plus any improvements that were depreciated separately.

Form 4797 is where the rental property sale actually hits first, before it flows to Schedule D. I uploaded all my depreciation schedules and purchase settlement statement to taxr.ai and it walked me through which numbers on Form 4797 came from accumulated depreciation versus original basis versus improvement costs. Really helped me see how the unrecaptured Section 1250 gain calculates separately from the regular long-term capital gain. Worth doing before you even open Schedule D.

Tyler C.

Author

I didn't realize Form 4797 came into play before 8949 — I thought it went straight to Schedule D. So the depreciation recapture piece runs through 4797 first and then some amount flows to Schedule D?

Exactly. Any ordinary income piece stays on 4797 — that's mainly depreciation recapture on the appliances and other personal property, since a building depreciated straight-line has no ordinary recapture. The building gain, including the straight-line depreciation portion taxed as unrecaptured Section 1250 gain, flows to Schedule D. Your adjusted basis on 4797 is your original basis plus improvements minus all accumulated depreciation, which is what makes the basis question here so important.

Publication 946 covers the MACRS depreciation rules in detail if you want to understand how the accumulated depreciation was computed each year. For residential rental property the recovery period is 27.5 years using the straight-line method. Every year of depreciation claimed reduces your adjusted basis dollar for dollar.

Even if you didn't actually claim depreciation some years, the IRS treats you as having claimed it. The adjusted basis gets reduced by the depreciation allowed or allowable — not just what you actually deducted. That catches people off guard.

Tyler C.

Author

Wait, so if I missed claiming depreciation one year I still have to reduce my basis as if I did? That's a painful rule.

Correct. And if you discover you missed it, you can file Form 3115 to catch up — that's a change in accounting method and lets you deduct the missed depreciation in the current year rather than amending every prior return. Worth talking to a CPA if you think there are gaps.

Your adjusted basis at the time of sale is essentially: original cost basis (purchase price plus capitalized closing costs) plus capitalized improvements plus any other additions to basis minus all accumulated depreciation (allowed or allowable). That adjusted basis goes on Form 4797, where the rental sale is reported instead of Form 8949, and it feeds the gain calculation that then flows to Schedule D.

Tyler C.

Author

Laid out step by step like that, the formula finally makes sense to me. So I need to pull every year's depreciation schedule to get the total accumulated depreciation, and add up only the capital improvements — not repairs.

One thing people miss: if you made any improvements after the original placed-in-service date, those improvements each have their own placed-in-service date and their own depreciation schedule. So a bathroom added in year 4 of ownership has been depreciating for fewer years than the original structure. Each one reduces basis separately.

This is exactly why keeping a running improvement log matters from day one. By year nine it gets complicated fast.

Settlement statement from your original purchase is the foundational document here. Line by line — the HUD-1 or Closing Disclosure — tells you what you paid and what the seller paid. Buyer-paid items like loan origination fees for a mortgage generally aren't added to basis (they're a financing cost), but other buyer closing costs like title insurance and attorney fees typically are.

Tyler C.

Author

I still have the original Closing Disclosure so at least that part I can reconstruct accurately. I wasn't sure whether mortgage-related costs counted — good to know they don't add to basis.

If you paid any real estate taxes that were actually the seller's obligation and the seller didn't reimburse you, those get added to your basis. Conversely if the seller paid some of your taxes at closing, that reduces your basis. It's in Publication 551 under the section on real property.

Went through this last year with a rental I held for eleven years. I had Taxr read through my depreciation schedule and my improvement receipts together and it listed out which items it treated as basis additions versus repairs, and flagged two items I had been depreciating as improvements that looked more like maintenance. Saved me from overstating my basis. The unrecaptured 1250 gain piece especially needs clean numbers going in.

Tyler C.

Author

Did you find the land allocation was already baked into your depreciation schedule or did you have to reconstruct that separately?

My depreciation schedule from the original return showed the building basis and land basis separately, so it was already split. If yours doesn't, your county property tax records usually have an assessed land value vs. improvement value breakdown you can use as a reasonable allocation method.

Topic no. 409 on the IRS site covers the capital gains and losses rules generally. For a rental sale, the character of the gain matters a lot — the depreciation recapture portion is taxed at a maximum rate for unrecaptured Section 1250 gain, and the rest is long-term capital gain. Your basis calculation drives how much falls into each bucket.

Recapture is what surprises people most on a rental sale. They think they have a certain gain and then realize a chunk of it is taxed differently because of all the depreciation claimed over the years.

Something to keep in mind: casualty losses or insurance reimbursements during the rental period can also affect basis. If you had any storm damage and filed a casualty loss or received an insurance payout, that changes the basis calculation. Publication 551 covers basis adjustments for casualties.

Tyler C.

Author

No casualty events on this one — clean ownership history at least. Good flag for others reading though.

I uploaded my original HUD-1, all nine years of Schedule E filings, and my improvement receipts to Taxr and it pulled together a complete adjusted basis worksheet — showed original basis, each improvement with its placed-in-service date, annual depreciation taken, and the running adjusted basis year by year. I checked those numbers against my actual returns before handing everything to my CPA. Made that conversation much faster.

Tyler C.

Author

A year-by-year worksheet like that would save me a ton of time. Nine years of records across multiple depreciation schedules is a lot to reconcile manually.

The year-by-year running total was the most useful part for me. Seeing the adjusted basis drop each year from depreciation made it obvious why the gain at sale is bigger than people expect — the basis has been declining the whole time even when property values go up.

If you converted the property from personal use to rental at some point after buying it, the placed-in-service basis for depreciation is the lower of your adjusted cost basis or the fair market value at the date of conversion. That can make the depreciable basis lower than what you paid, which is worth checking if the property sat as a personal residence first.

Tyler C.

Author

Bought it as a rental from day one so no conversion issue. But that rule is news to me — lower of cost or FMV at conversion date, that's a significant distinction.

For the appliances specifically — when you sell the whole property and the appliances are fully depreciated, their adjusted basis is zero. If they're not fully depreciated, you'll have a small remaining basis on each. Either way they show up on Form 4797 as the sale of personal property held more than a year.

To pull all of this into a checklist: original purchase price plus capitalized buyer closing costs, plus capital improvements (each with its own date), minus accumulated depreciation on the structure, minus accumulated depreciation on each improvement, minus accumulated depreciation on personal property like appliances. That adjusted basis is what goes into the gain calculation on Form 4797. Keep the documentation for each piece.

Well laid out. The documentation point matters because if you're audited on a rental sale the IRS will want to see the receipts for every improvement you're claiming added to basis.