4797 vs 8949 — which form do I use for selling rental property?

Sold a rental property I'd held for about 11 years. I bought it as a pure investment, never lived there, depreciated it every year. My CPA retired so I'm doing this myself for the first time and I'm completely turned around on 4797 vs 8949. TurboTax keeps asking which form applies and I don't want to pick the wrong one and mess up the depreciation recapture piece. I read something about how gains on business property go on Form 4797 but then I also saw that some real estate sales end up on Form 8949 and Schedule D. Can someone explain which one actually applies to my situation and whether I need both or just one?

35 comments

Form 4797 is the right starting point for a rental property sale, not Form 8949. Real property used in a trade or business or held for the production of rents goes on Form 4797. The depreciation you claimed over 11 years gets recaptured on Form 4797 Part III, then the remaining gain flows to Part I as long-term. Form 8949 and Schedule D are for capital assets — stocks, crypto, personal investment property — not for depreciable real property used in a rental activity.

Tony W.

Author

So Form 8949 never enters the picture at all for a straight rental sale with no personal use?

Correct. If the property was always a pure rental and never your main home, you stay on Form 4797 entirely. Any long-term gain from Part III that exceeds the depreciation recapture moves up to Form 4797 Part I and then to Schedule D line 11, but that transfer happens automatically — you don't fill out Form 8949 for it.

The split between the two forms comes down to what category of property it is. Capital assets — things like stocks, bonds, mutual funds — go on Form 8949 then Schedule D. Depreciable business or rental property is a "section 1231 asset" and belongs on Form 4797. The IRS instructions for Form 4797 specifically list real property used in a trade or business or held for rent as covered property.

I sold a rental condo two years ago after holding it about 8 years. Same situation — pure rental, never personal use. Everything went on Form 4797. The depreciation recapture part (Section 1250 unrecaptured gain) gets calculated in Part III and is ultimately taxed at a different rate than regular long-term capital gain, so getting the form right actually affects how much you owe, not just where the numbers sit.

Tony W.

Author

Did you need to bring any numbers from Form 4797 onto Schedule D at all?

Yes — the net section 1231 gain from Form 4797 Part I line 9 flows to Schedule D line 11. But that's the only connection. Schedule D does the final netting against other capital gains and losses. You're not filling out Form 8949 for the property itself.

Uploaded my closing disclosure and my depreciation schedule to taxr.ai and it mapped out exactly which lines of Form 4797 each number belonged on — the original cost, the land allocation, accumulated depreciation, selling expenses. It also flagged that I had land in my cost basis and reminded me land doesn't get depreciated, so the Part III calculation had to separate building from land before computing recapture. Useful catch I'd have missed doing it manually. For your question: Form 4797, not Form 8949. The only time 8949 comes into this is if you sold something alongside the property that was a capital asset — say, appliances you'd never depreciated — but even then it's a small edge case.

Tony W.

Author

The land piece is actually something I wasn't sure about — good to know it has to be pulled out before the recapture math.

Form 4797 has three parts and it helps to know what each does. Part III is where you start for most real property sales: you compute the gain and figure how much is ordinary income from depreciation recapture. What's left after recapture goes to Part I. Part II is for property held one year or less, which probably doesn't apply to you after 11 years. Part I nets all your section 1231 gains and losses for the year.

Worth adding: if you had a net section 1231 loss in any of the five prior tax years, the "section 1231 lookback rule" can recharacterize some of your current gain as ordinary income. Worth checking if you had rental losses or other 1231 losses in recent years.

Good point. The lookback comes into play on Form 4797 Part I lines 8 and 9. Most people selling a first rental won't have prior 1231 losses but it's worth checking.

One thing that tripped me up on my own rental sale: selling costs. Commissions, transfer taxes, attorney fees — those reduce your amount realized, which reduces the gain computed in Form 4797 Part III. Don't forget to add them to line 21 of Part III or your gain will be overstated before you even get to the recapture calculation.

Tony W.

Author

Are those entered directly on Form 4797 or do they flow in from somewhere else?

Directly on Form 4797. Line 20 is gross sales price, line 21 is cost or other basis plus selling expenses. Put the selling costs in line 21 so they increase that amount and reduce your gain in the calculation. Some software has separate fields for it but it all feeds the same line.

The 1250 recapture piece deserves its own mention. For residential rental property, Section 1250 "unrecaptured" gain — the part of the long-term gain attributable to depreciation deductions — is taxed at a maximum rate of 25% for most taxpayers rather than the lower long-term capital gains rate. The rate that applies to you depends on your taxable income; check the Schedule D Tax Worksheet in the Schedule D instructions rather than a flat rule.

Tony W.

Author

So the recapture doesn't go on Form 8949, it stays in the Form 4797 / Schedule D system?

Correct. The unrecaptured Section 1250 gain flows into the Schedule D Tax Worksheet, which you complete instead of the standard tax table when you have unrecaptured Section 1250 gain on Schedule D line 19. Form 8949 is not involved.

Gave Taxr my Form 4797 draft and the depreciation history from my software and it checked whether the accumulated depreciation figure I was using matched what had actually been deducted over the years. Found a year where I'd switched software and the carryover didn't match — small difference but it would have made the recapture number slightly wrong. It also compared my adjusted basis to what was on the original closing statement to make sure nothing had been missed. Bottom line on your question: everything for a rental property sale runs through Form 4797. Form 8949 handles capital assets. These are different tracks and the two forms rarely touch for a plain rental sale.

Tony W.

Author

The depreciation carryover mismatch is exactly the kind of thing I'd never catch — I've used three different software programs over 11 years.

Form 8949 does apply in one real scenario related to real property: if you sell your main home at a gain and receive Form 1099-S, you report it on Form 8949 Part II with the home sale exclusion as a code H adjustment in column (g). But that's a personal residence with the exclusion, not a rental. For a rental, that code H exclusion doesn't apply and Form 4797 is where you work.

Also worth knowing: if you had passive activity losses suspended from prior years on this rental — losses you couldn't deduct because of the passive activity rules — those release when you sell. They offset the gain recognized on Form 4797. You'd work through Form 8582 to figure the released amount before you finalize the Form 4797 numbers.

Tony W.

Author

I do have some suspended losses from a couple years the property ran at a loss. So Form 8582 comes before I finish 4797?

Yes, complete Form 8582 first to determine how much suspended loss releases in the year of full disposition. That released loss then reduces your overall income, effectively offsetting some of the gain you computed on Form 4797. The ordering matters.

I'll add a practical note: if you bought depreciable personal property along with the building — appliances, HVAC unit, carpeting that you depreciated separately as 5-year or 7-year property — that personal property also goes on Form 4797, usually Part III, and may have its own recapture calculation under Section 1245. It doesn't go to Form 8949 either.

Publication 544 (Sales and Other Dispositions of Assets) is the IRS guide that covers Form 4797 in detail. It walks through the section 1231, 1245, and 1250 distinctions and has examples of rental property sales. The Form 4797 instructions themselves are also pretty readable compared to some IRS docs.

Does Publication 544 cover the lookback rule for prior 1231 losses too?

Yes, it covers the nonrecaptured section 1231 losses and how they affect the current year calculation. The Form 4797 instructions also reference it at lines 8 and 9 of Part I.

Had Taxr read through my sale documents alongside my prior-year returns and it listed all the numbers that needed to flow into Form 4797 — adjusted basis, prior depreciation, selling costs — and noted which Part and line each one went on. It also pointed out I had a 1231 loss from a prior year that I'd forgotten about, so the lookback rule would have converted some of my gain to ordinary income if I'd missed it. If your software is asking you to choose between 4797 and 8949, pick 4797 for the rental property. That choice drives the rest of the return correctly.

Tony W.

Author

The 1231 lookback is now on my checklist — I may have had a loss year early on when vacancy was high.

Something to double-check at the end: make sure the net section 1231 gain on Form 4797 Part I line 9 actually ties to Schedule D line 11. That's the connection point between the two forms. If those numbers don't match, the IRS will likely notice. It's an easy cross-check before you file.

Agreed. And if Schedule D line 19 is positive, you'll need to run the Schedule D Tax Worksheet rather than using the tax tables, because of the 25% rate on unrecaptured 1250 gain. The instructions tell you when that worksheet is required.

To summarize the flow for a rental property held more than a year: Form 4797 Part III first (compute gain, recapture depreciation), excess gain goes to Part I (section 1231 netting, check lookback), net 1231 gain flows to Schedule D line 11, then Schedule D Tax Worksheet handles the rate differential. Form 8949 is not in that chain at all unless you have a separate capital asset sale in the same year.

If you're still uncertain after reading all this — and the numbers are significant after 11 years of depreciation — an enrolled agent or CPA who handles real estate dispositions would be worth the consultation fee. The 1231 lookback, the 8582 suspended loss calculation, and the 1250 recapture rate interaction can combine in ways that are easy to get slightly wrong, and slightly wrong on a large gain can mean a real dollar difference.

Tony W.

Author

Genuinely considering it at this point. The core answer is clear — 4797, not 8949 — but the layers on top of it are more involved than I expected.