How to figure capital gains tax on rental property — what I'm missing?

Sold a rental house this year that I've owned for nine years. I know I need to figure capital gains tax on rental property sales but I'm stuck on where to start. I pulled my closing disclosure and I have the original purchase price, but I've also got years of depreciation deductions I took and a bunch of improvement receipts. My broker mentioned "depreciation recapture" which I hadn't heard before. I went into TurboTax and it's asking for my adjusted basis and I honestly don't know what number to enter. I tried Publication 551 but it's dense reading. Do I calculate the recapture separately from the regular gain? Do both end up on Form 8949 or does the recapture go somewhere else? What's the actual sequence of steps here?

31 comments

The sequence matters a lot here. First step is figuring your adjusted basis: original purchase price, plus closing costs you capitalized when you bought, plus any improvements (not repairs), minus all the cumulative depreciation you claimed or were allowed to claim. That last part is where people get tripped up — the IRS says "allowed or allowable," so if you forgot to take depreciation some years, you still have to subtract it.

Isaac D.

Author

So even if I didn't claim depreciation one year I still subtract it? That's rough. I'll have to dig through every return I filed since I bought the place.

I sold a rental two years ago and was completely lost on the adjusted basis calculation. I uploaded my closing statements, prior returns, and the depreciation schedules into taxr.ai and Taxr pulled together a running adjusted basis worksheet that showed exactly where my numbers stood year by year. Really cut down the guesswork on my end before I handed things to my CPA. On the actual mechanics: your gain is sale price minus selling costs minus adjusted basis. But depreciation recapture — the portion of gain that equals the depreciation you took — gets taxed at a maximum 25% rate under Section 1250, not at the lower long-term capital gains rates. So you have to split the gain into two buckets.

Isaac D.

Author

The two-bucket idea is exactly what I needed. So one piece is the recapture and the other is whatever gain is left above that?

Exactly. The recapture piece is capped at the depreciation you took. Any gain above your original purchase price (after basis adjustments) is the regular capital gain, taxed at long-term rates since you held more than a year.

Worth adding: unrecaptured Section 1250 gain goes on the Unrecaptured Section 1250 Gain Worksheet inside the Schedule D instructions, not directly on Form 8949. The actual sale itself — proceeds and adjusted basis — goes on Form 4797, not Form 8949, then the gain carries to Schedule D. The worksheet just determines what portion of your Schedule D gain gets taxed at the higher recapture rate.

Didn't realize the worksheet was in the Schedule D instructions. I always assumed it was a separate IRS form you had to find somewhere.

No separate form for that one — it's embedded in the Schedule D instructions. Most software runs it automatically, but if you're doing it by hand it's in there.

My situation last year was complicated by improvements I made right before selling. Make sure you're not mixing repairs in with improvements. Repainting, fixing a leaky faucet — those are deducted as expenses in the year you paid, they don't add to basis. A new HVAC system or added square footage — those are capital improvements that go into your adjusted basis calculation.

Isaac D.

Author

I definitely have both in my records. I'll need to sort through the receipts and separate them out before I can get a clean number.

Don't forget selling costs reduce your amount realized. Real estate commission, title fees, transfer taxes you paid as the seller — all of those come off before you compute the gain. I missed the transfer taxes the first time I did this and overstated my gain by a couple thousand.

Had a rental I sold last spring with almost twelve years of depreciation stacked up and I genuinely wasn't sure my software was handling the recapture correctly. I ran the closing statement and all my depreciation schedules through Taxr and it flagged that my software had the wrong depreciable basis for the first few years because I hadn't included the capitalized closing costs when I bought. Found it before filing. For the forms: sale proceeds and adjusted basis hit Form 4797, not Form 8949 — Part III for the depreciation, then Part I, with the gain flowing to Schedule D line 11. The Unrecaptured Section 1250 Gain Worksheet then isolates the recapture piece so Schedule D can apply the right rate.

Isaac D.

Author

Capitalized closing costs at purchase — I didn't know those go into the depreciable basis. I may have the same problem you did.

The 1099-S from the closing will show your gross proceeds. That number goes on line 20 of Form 4797, Part III. Your cost plus improvements and selling expenses goes on line 21, and the depreciation goes on line 22. The resulting gain on line 24 flows through Part I and then to Schedule D.

One thing I want to flag: if you ever used part of the property as a home — even briefly — there's a home sale exclusion analysis that layers on top of this. But a pure rental with no personal use is cleaner; you don't get the exclusion and the full gain is taxable.

Isaac D.

Author

Pure rental the whole time, never lived there. So I skip that analysis entirely?

For a property that was always a rental and never your main home, yes, the home sale exclusion under Publication 523 doesn't apply. Full gain is on the table.

If you have suspended passive activity losses from prior years on this property, selling it releases them. Those freed-up losses flow to Schedule E and can offset the gain. Worth checking Form 8582 from your prior returns to see if any are sitting there.

Isaac D.

Author

I think I might have some of those. I'll pull my old returns and check Form 8582. Good call.

The "allowed or allowable" depreciation rule is the one that gets people. Even if your return shows zero depreciation for a year because you forgot or made an error, the IRS still treats that depreciation as taken when computing recapture. If you think you missed years, you may need to file Form 3115 to catch up, and that's a separate process from the sale reporting itself.

Correct. And the amount subject to recapture is the cumulative total — allowed or allowable — not just what your returns show. Important distinction.

Before I filed last year I gave Taxr my Schedule E history, the closing statement, and the depreciation schedules going back to when I bought the place. It put together a summary showing my adjusted basis line by line, flagged that my depreciable basis was different from my land-excluded basis, and drafted the Form 4797 entries so I could check them against what my software produced. Caught a discrepancy in the land value allocation I had used at purchase. Land doesn't get depreciated, so the split between land and building at the time of purchase affects both your cumulative depreciation and the adjusted basis you end up with at sale.

Isaac D.

Author

I pulled my original appraisal and the land value is broken out. I'll make sure I'm using that split consistently through all the years of depreciation.

Holding period is already locked in for you since you said nine years, but just so it's in this thread: you need more than one year for long-term rates. The holding period for securities counts trade dates, but for real property it's just calendar days from the day after acquisition to the day of sale.

Sale involved a 1031 exchange into this property years ago? That changes the adjusted basis and the holding period because you carry over the basis from the relinquished property. If there was an exchange anywhere in the chain, be sure you have the exchange documents.

Isaac D.

Author

No exchange — I bought this one straight with cash. So no carryover basis to worry about, which is one fewer complication.

With nine years of depreciation, a full basis reconstruction, suspended losses possibly in play, and the recapture calculation, this is exactly the situation where a CPA or enrolled agent who handles real estate transactions is worth the fee. The math isn't impossible but there are several places where an error compounds.

Isaac D.

Author

I'm planning to use a CPA for the actual filing. I just wanted to understand the structure well enough to give them clean records.

Publication 544 (Sales and Other Dispositions of Assets) covers rental property sales in detail if you want to read through the full framework. Topic 409 on irs.gov and Publication 551 for basis are the other two I'd keep open alongside the Schedule D instructions.

Didn't see this mentioned yet: state taxes layer on top of all this. Some states have their own depreciation recapture rules or don't conform to federal holding period rules. Definitely something to bring up with your CPA so the state return matches what the federal return is doing.

State conformity varies a lot. Some states still use their own depreciation schedules. Worth flagging early so there are no surprises when the state return gets prepared.