How to Fill Out IRS Form 4797: Sales of Business Property

To fill out IRS Form 4797, Sales of Business Property, classify each disposed asset first, start in the part of the form that matches that classification (Part III for depreciable property that needs recapture, Part I for other Section 1231 property held more than a year, Part II for short-term or ordinary items), work the line-by-line calculations in each part, and let the totals flow to Schedule D and Schedule 1 of your Form 1040. The routing is the whole game: put a sale in the wrong part and you will either overpay or receive an IRS correction notice.1Internal Revenue Service. About Form 4797, Sales of Business Property

Gather These Numbers First

Every entry on Form 4797 draws from the same short list of facts about the property. Pull them together before you open the form:2Internal Revenue Service. Instructions for Form 4797 (2025)

  • A short description of the property (for example, “2019 Ford F-150” or “warehouse at 100 Main St”).
  • The date you acquired it and the date you sold or disposed of it.
  • Gross sales price, including cash, the fair market value of any property received, and any debt the buyer assumed. Your closing statement or bill of sale is the source.
  • Depreciation allowed or allowable over the life of the asset, from your depreciation schedules or prior Form 4562 filings. The IRS reduces basis by the depreciation you were entitled to take, even if you never claimed it.
  • Cost or other basis: usually purchase price plus capital improvements, minus items such as casualty-loss deductions and certain credits that reduced basis.
  • Selling expenses: commissions, legal fees, transfer taxes, and similar costs.

Figure Out Which Part to Start In

The property’s tax classification decides where you make the first entry. Three categories cover most business assets:

Section 1245 property is depreciable personal property: machinery, vehicles, office furniture, computers, and similar equipment. Gain up to the total depreciation ever claimed is ordinary income; recapture is mandatory.3Office of the Law Revision Counsel. 26 U.S. Code 1245 – Gain From Dispositions of Certain Depreciable Property Start in Part III.

Section 1250 property is depreciable real property, primarily buildings and structural components.4Office of the Law Revision Counsel. 26 U.S. Code 1250 – Gain From Dispositions of Certain Depreciable Realty Because post-1986 real property uses straight-line depreciation, there is usually no additional depreciation to recapture, but the gain attributable to straight-line depreciation becomes unrecaptured Section 1250 gain, taxed at a maximum rate of 25 percent. Land itself is not depreciable, so only the building portion runs through the recapture math. Start in Part III.

Section 1231 property is depreciable and real property used in a trade or business and held more than one year that is not being routed through recapture.5Office of the Law Revision Counsel. 26 U.S. Code 1231 – Property Used in the Trade or Business and Involuntary Conversions Net Section 1231 gains get long-term capital gain treatment; net Section 1231 losses are ordinary. Start in Part I.

Business property held one year or less goes in Part II. So do a handful of overflow items covered below.

The practical order matters. For any depreciable asset with a gain, complete Part III first, because Part III splits the gain and sends the ordinary-income portion to Part II and any remaining Section 1231 gain to Part I.6Internal Revenue Service. Form 4797 – Sales of Business Property

Working Through Part III: Depreciation Recapture

Part III turns prior depreciation deductions back into ordinary income before any of the gain is allowed to reach capital-gain rates. Complete lines 19 through 24 for each property, then compute recapture on lines 25 through 29.2Internal Revenue Service. Instructions for Form 4797 (2025)

  • Line 19: description of the property and the dates acquired and sold.
  • Line 20: gross sales price. For casualties and thefts, use insurance or other reimbursement received or expected.
  • Line 21: cost or other basis, reduced by certain credits (such as the enhanced oil recovery credit or disabled access credit) but not by depreciation.
  • Line 22: total depreciation adjustments, including Section 179 deductions, special depreciation allowances, amortization, depletion, and basis reductions for various energy and investment credits. Add the depreciation-type deductions, then subtract any amounts recaptured in prior years.
  • Lines 23 and 24: compute the gain (line 20 minus line 21, compared against the adjusted basis after depreciation).

Then split the gain by property type:

  • Line 25 (Section 1245): the recapture amount is the lesser of total depreciation claimed or the gain on the sale. That entire figure is ordinary income.
  • Line 26 (Section 1250): recapture applies only to depreciation above straight-line, which for most post-1986 real property is zero. The remainder of the gain tied to straight-line depreciation flows through as unrecaptured Section 1250 gain.

The total recapture from line 31 moves to Part II, line 13. Any gain above the recaptured amount moves to Part I, line 6, where it is treated as Section 1231 gain.6Internal Revenue Service. Form 4797 – Sales of Business Property

Working Through Part I: Section 1231 Gains and Losses

Part I handles Section 1231 property held more than one year that either has no recapture or has already been passed through Part III. For each property, fill columns (a) through (g):6Internal Revenue Service. Form 4797 – Sales of Business Property

  • (a) Description.
  • (b) Date acquired.
  • (c) Date sold.
  • (d) Gross sales price.
  • (e) Depreciation allowed or allowable since acquisition.
  • (f) Cost or other basis, plus selling expenses.
  • (g) Gain or loss: subtract column (f) from column (d) minus column (e).

Combine the property-level results on line 7. If the net figure is a gain and you have no Section 1231 losses from the prior five years to recapture, the gain flows to Schedule D as long-term capital gain. If prior-year net Section 1231 losses remain unrecaptured under the five-year lookback, lines 8 and 9 split the current gain: the recaptured portion goes to line 12 as ordinary income, and the remainder goes to Schedule D. A net loss on line 7 is ordinary and flows to Part II.5Office of the Law Revision Counsel. 26 U.S. Code 1231 – Property Used in the Trade or Business and Involuntary Conversions

Working Through Part II: Ordinary Gains and Losses

Part II captures transactions taxed at ordinary rates. Short-term business property (held one year or less) starts here, and several other lines collect ordinary-rate items from elsewhere on your return:6Internal Revenue Service. Form 4797 – Sales of Business Property

  • Line 10: short-term business property, Section 1244 small-business stock losses, and mark-to-market gains or losses for securities or commodities traders who elected under Section 475(f).
  • Line 11: loss from Part I, line 7, when Section 1231 losses exceed gains.
  • Line 12: ordinary gain from Part I, line 7 or line 9 (the lookback-recaptured portion).
  • Line 13: gain from Part III, line 31 (Section 1245 or 1250 recapture).
  • Line 14: net gain or loss from Form 4684 for business casualties and thefts.
  • Line 15: gain from installment sales reported on Form 6252.
  • Line 16: recognized gain from like-kind exchanges on Form 8824.

Totals flow to line 17, then to line 18b, which individual filers carry to Schedule 1 (Form 1040), Part I, line 4. Partnerships report the ordinary amount on Form 1065, Schedule K, line 10; S corporations use Form 1120-S, Schedule K, line 9.

Section 179 Recapture on Lines 33–35

If you took a Section 179 deduction and business use of the asset later drops to 50 percent or less, you owe recapture even though you still own the property. The calculation sits at the bottom of Form 4797:7Internal Revenue Service. Instructions for Form 4797 – Sales of Business Property

  • Line 33: the Section 179 deduction originally claimed.
  • Line 34: the depreciation that would have been allowable from the placed-in-service year through the current year without the Section 179 deduction. IRS Publication 946 covers the applicable methods.
  • Line 35: line 33 minus line 34. That is the recapture amount.

Report the recapture as other income on the same form or schedule where you originally claimed the Section 179 deduction — Schedule C for a sole proprietor, for example. The recapture also increases your basis in the property going forward. Listed property subject to Section 280F follows the same pattern in column (b) of these lines.

Situations That Change What You Enter

A handful of special circumstances change the entries on the form itself:

Involuntary conversions. Casualties and thefts of business property start on Form 4684. Gains from Form 4684 flow to Part I, line 3; net casualty gains and losses flow to Part II, line 14. Condemnations and other non-casualty involuntary conversions are reported directly in Part I.1Internal Revenue Service. About Form 4797, Sales of Business Property

Related-party sales. Under Section 1239, gain from selling depreciable property to a related person (including a corporation or partnership in which you own more than 50 percent, and certain trust and estate relationships) is entirely ordinary income, regardless of holding period.8Office of the Law Revision Counsel. 26 U.S. Code 1239 – Gain From Sale of Depreciable Property Between Certain Related Taxpayers Separately, Section 267 disallows losses on sales to related parties (a broader list that includes siblings, spouses, ancestors, lineal descendants, and various entity relationships).9Office of the Law Revision Counsel. 26 U.S. Code 267 – Losses, Expenses, and Interest With Respect to Transactions Between Related Taxpayers A disallowed loss does not go on Form 4797 at all.

Like-kind exchanges. Section 1031 exchanges are reported on Form 8824. Any recognized gain (usually from cash or non-like-kind property received as boot) flows to Form 4797 at line 5 or line 16 depending on character.10Internal Revenue Service. Instructions for Form 8824 (2025) If the property you are now selling came from a prior like-kind exchange, your basis carries over from the relinquished property with modifications; missing that adjustment is one of the more common errors on this form.

Installment sales. Report the sale on Form 6252 and carry the gain to Form 4797 line 4 (Section 1231 property) or line 15 (ordinary-income property). Depreciation recapture is recognized in full in the year of sale even if the rest of the gain is spread over multiple years, so complete Part III before finishing Form 6252.2Internal Revenue Service. Instructions for Form 4797 (2025)

Where the Totals Go on Your Return

Form 4797 is not a standalone filing. Its totals feed other forms:6Internal Revenue Service. Form 4797 – Sales of Business Property

  • Net Section 1231 gain after any lookback recapture: Schedule D as long-term capital gain.
  • Ordinary gain or loss on line 18b: Schedule 1 (Form 1040), Part I, line 4 for individuals.
  • Partnerships: Form 1065, Schedule K, line 10.
  • S corporations: Form 1120-S, Schedule K, line 9.
  • Casualty losses on income-producing property from line 18a: Schedule A (Form 1040), line 16, identified as “Form 4797, line 18a.”

Attach the completed Form 4797 to your primary return. E-file software handles the attachment automatically; on a paper return, follow the assembly order in the instructions for your Form 1040 or entity return.

Mistakes That Trigger IRS Corrections

  • Failing to reduce basis by depreciation allowable. Basis drops by the depreciation you were entitled to take, whether or not you claimed it. Using the original purchase price overstates basis and understates gain.
  • Skipping recapture and putting the whole gain on Schedule D. Your depreciation history is already on file from prior returns, and IRS matching flags this.
  • Starting in the wrong part. Depreciable property with a gain starts in Part III, not Part I. Short-term property goes in Part II. The “Where To Make First Entry” table on page one of the instructions maps every property type to a specific line.
  • Ignoring prior like-kind exchange history. Basis in property acquired through a Section 1031 exchange is the adjusted basis of what you gave up, with modifications, not what you paid the seller.
  • Missing documentation. Without purchase records, depreciation schedules, and improvement receipts, reconstructing basis under audit is significantly harder. Keep the acquisition and improvement records for as long as you own the property, then follow standard retention rules after the year of sale.11Internal Revenue Service. How Long Should I Keep Records?