Capital gain tax on commercial property — what forms do I actually need?

Sold a commercial building I'd held for about nine years. Closing was last month and I already got the 1099-S from the title company showing the gross proceeds. I've been reading about capital gain tax on commercial property and I'm getting turned around by the depreciation recapture piece. I know the long-term rate applies since I held it over a year, but I keep seeing references to Section 1250 and a 25% rate for recaptured depreciation, which is different from what I expected. I also took bonus depreciation in earlier years on some interior buildout. Does that change the recapture calculation? I've been trying to work through Form 4797 but I'm not sure which part to use or how the number flows to Schedule D. Any help appreciated.

34 comments

Form 4797 is the right starting point. For a commercial building held more than a year you'll be in Part III first. You enter the gross sales price, the original cost, and all the depreciation you took — including bonus depreciation years. The gain on line 24 is totaled on line 30, the ordinary recapture on line 31 is subtracted, and the line 32 amount flows up to Part I line 6. The piece that is unrecaptured Section 1250 gain (the depreciation portion on real property) goes to the Unrecaptured Section 1250 Gain Worksheet in the Schedule D instructions. That worksheet sets the rate separately from the rest of the long-term gain.

Naomi M.

Author

Thanks, that helps orient me. So the 1250 worksheet is inside the Schedule D instructions — I'll pull those up and work through it alongside 4797.

One thing worth flagging: bonus depreciation does feed into the recapture calculation. All depreciation actually allowed or allowable on the property gets added up on Form 4797 Part III line 22. If you claimed bonus depreciation on qualified improvement property, that amount is included. The total depreciation drives how much of your gain is taxed at the unrecaptured Section 1250 rate versus the standard long-term capital gain rate. The IRS Pub 550 has a section on this but the 4797 instructions walk through it line by line.

Naomi M.

Author

Good to know. I was worried bonus depreciation might be treated differently but if it all goes into line 22 of Part III that makes sense.

Just to give a real-world picture: sold a small commercial strip a few years back. The 4797 Part III calculation was straightforward once I had a complete depreciation schedule in front of me. What caught me off guard was that my accountant had to separate the building from the land (land has zero depreciation so no recapture on that portion). Your allocations in the purchase contract or appraisal matter here.

Naomi M.

Author

Right, I do have a separate land value from the original appraisal. I'll make sure to split those on 4797.

Land allocation is important. You can't depreciate land, so there's no recapture on it, but land used in your rental business is still Section 1231 property — that portion of the gain goes on Form 4797 Part I, not straight to Schedule D.

Schedule D line 19 is where the unrecaptured Section 1250 gain from the worksheet ultimately feeds into the tax calculation. I had a similar situation last year — commercial sale with years of depreciation behind it — and the numbers were hard to trust by hand. I uploaded my 4797 draft, the depreciation schedule and the 1099-S to taxr.ai and it cross-checked every line, flagged that my accumulated depreciation figure didn't match the schedule I had, and drafted the corrected Part III with the right numbers flowing to Part I and then to Schedule D. Saved me from filing a 4797 that was off by a meaningful amount.

Naomi M.

Author

A line-by-line check of the depreciation figures is what I'm missing. I'll try it with my depreciation schedule and 1099-S before I finalize anything.

Form 4797 Part I handles gains on Section 1231 property held more than one year. Part III is where you calculate the gain and recapture on depreciable real property, and the Part III gain left after subtracting ordinary recapture (line 32) carries to Part I line 6. If your total Section 1231 gains for the year exceed your Section 1231 losses, the net goes to Schedule D Part II as long-term. If losses exceed gains it's ordinary. That net ordinary loss treatment on the downside is one reason 1231 property is treated separately.

Didn't realize a net 1231 loss goes ordinary. Does that mean it's not subject to the capital loss limitation?

Correct — a net Section 1231 loss for the year is deducted as an ordinary loss, not a capital loss, so the capital loss limitation doesn't apply to it. But there is a 1231 loss lookback rule: if you had net 1231 losses in the prior five years that were treated as ordinary, that amount of your current-year 1231 gains gets recharacterized as ordinary income. The 4797 instructions walk through that lookback.

The 1099-S you received — make sure the gross proceeds shown there match what you report on Form 4797 Part III line 20. Title companies sometimes include things like prorated property taxes in the proceeds figure. Your HUD-1 or closing disclosure is the place to reconcile if something looks off.

Naomi M.

Author

Good catch. I'll line up the closing disclosure against the 1099-S before I enter anything.

Publication 544 (Sales and Other Dispositions of Assets) is the IRS guide written specifically for property transactions like this. It covers the 1231/1250 framework in plain language and has examples with Form 4797 filled out. Worth reading alongside the 4797 instructions if you haven't already.

If you used the building partly for business and partly rented a portion, the allocation between those uses affects how you fill out 4797. Each portion could have different depreciable bases and placed-in-service dates. If the whole thing was straight investment/rental property the entire building goes through 4797 as one asset (minus land).

Naomi M.

Author

The whole building was rented to tenants the entire time, no personal or mixed use. So I think I'm looking at a single asset entry.

Form 6252 is worth checking if you're doing an installment sale. If you received all the proceeds at closing that form doesn't apply, but if the buyer is paying you over time you'd spread the gain across the payment years using 6252, and the unrecaptured 1250 portion still gets recognized — it just follows the installment schedule. I had a commercial note receivable situation and it got complicated fast. I gave Taxr my 6252 draft and the amortization schedule and it identified that I'd allocated the 1250 gain incorrectly across years and drafted a corrected table showing the right gross profit percentage.

Naomi M.

Author

Full proceeds at closing so 6252 doesn't apply here, but good to know for the future. Installment sales sound complicated.

They really are. The recapture rules under an installment sale also require that all depreciation recapture is recognized in the year of sale first, before any remaining gain gets spread. The 6252 instructions are specific about that ordering.

State tax is a separate layer that can be significant on commercial property. Some states don't follow the federal unrecaptured 1250 rate and just tax the whole gain at ordinary income rates. Worth checking your state's treatment before you assume the federal calculation is your only exposure.

This is true and sometimes the state gain is calculated differently if the state didn't allow bonus depreciation in the year you took it, meaning you have a different adjusted basis at the state level than the federal level.

The holding period question: you confirmed nine years so long-term is settled. For the record, Publication 550 says the holding period for securities starts the day after you acquire and ends on the trade date sold, but for real property it's the day after acquisition through the date of disposition. Nine years is well clear of the one-year threshold either way.

If you ever do a 1031 exchange on commercial property in the future, any deferred gain from prior exchanges reduces your basis in the replacement property, which means more gain — and more potential recapture — when you eventually sell without exchanging. Worth keeping clean records of deferred gain across exchanges.

Naomi M.

Author

No prior exchanges here but I'll keep that in mind if I buy another commercial property down the road.

Form 8949 and Schedule D — just to close the loop on where things land. The Section 1231 net gain from Form 4797 Part I line 9 flows to Schedule D Part II (long-term), not onto Form 8949. You don't enter the commercial property sale directly on 8949. The 1099-S is reported through 4797, not 8949.

Naomi M.

Author

That was one of my confusions — I kept trying to figure out where to put it on 8949. Good to know it doesn't go there.

Exactly right. 8949 is for capital asset sales — stocks, bonds, that kind of thing. Business or investment real property goes through 4797 and then to Schedule D as a 1231 gain. Different path, same destination on Schedule D but through the 4797 conduit.

If the gain is large enough that you're not sure about estimated tax obligations for the current year, underpayment penalties are possible if you don't adjust withholding or make a quarterly payment. The Form 2210 instructions cover how to calculate whether a penalty applies. This is worth running before year-end if the sale happened mid-year.

Naomi M.

Author

The sale was recent so I still have a quarter or two. I'll check Form 2210 to see if I need to make an estimated payment now.

Publication 544 and the 4797 instructions together are the two documents I'd keep open side by side. One thing that helped me: once I had a complete depreciation schedule from my accountant showing every year of depreciation taken, the Part III calculation was just arithmetic. The tricky part is making sure the schedule is complete and accurate — if any years were missed or over-claimed, the recapture figure will be wrong.

Gaps in the depreciation history are where most people get tripped up. If you switched tax preparers at some point, the accumulated depreciation figure on the most recent return's asset schedule might not match what was actually claimed over the whole holding period. Worth verifying.

If this sale is large enough to involve a material gain, working with a CPA or enrolled agent who handles real estate transactions is worth it. The interaction between 4797, the 1250 worksheet, potential 1231 lookback, and state tax can compound quickly. The forms aren't hard to understand individually but coordinating them without missing something takes experience.

Naomi M.

Author

Agreed. I've got a CPA lined up. Working through the forms myself first so I can have a more useful conversation with her.