form8594

Form 4797 for a business sale: where each asset class goes

In an asset sale, Form 4797 is where the seller reports the business property. Part III figures gain and depreciation recapture on equipment and buildings, recapture goes to Part II as ordinary income, and the rest of the gain on property held over a year is section 1231 gain in Part I. Inventory and cash do not go on Form 4797. [i4797][§1231][§1245]

This page uses the Instructions for Form 4797 (2025) for tax year 2025 returns, the current version on irs.gov as of November 19, 2026.

From Form 8594 class to Form 4797

Form 8594 says how much of the price each class gets. Form 4797 and Schedule D are where the seller's gain on that amount is taxed. Here is the usual path for each class.

Form 8594 classWhat happens to the seller's gainUsually reported in
Class INot reported as a sale. Cash comes off the price at face value.None
Class IIGain or loss on each security or CD, based on what it is.Depends on asset
Class IIIOrdinary income. Receivables for services or inventory sales are not capital assets.Ordinary (Part II or business income)
Class IVOrdinary income, as part of business income. Inventory is not section 1231 property.Business income, not Form 4797
Class VFigure gain in Part III. Recapture flows to Part II as ordinary income; the rest of the gain on property held over a year goes to Part I as section 1231 gain.Part III → Part II and Part I
Class VIIntangibles you bought and amortized are treated as depreciable property, so they run through Part III like equipment.Part III → Part II and Part I, or Schedule D
Class VIIGoodwill you built is generally a capital asset. Purchased, amortized goodwill can carry recapture.Usually capital gain

Sources: [i4797][§1221][§1231][§1245][§197][IRS] Your preparer decides the exact lines for your return.

The four parts of Form 4797

Part I: section 1231 property held more than 1 year
Sales of business real property and depreciable property held over a year. Net section 1231 gain is treated as long-term capital gain; a net loss is not a capital loss. [i4797][§1231]
Part II: ordinary gains and losses
Business property held a year or less, plus recapture carried over from Part III. [i4797]
Part III: gain from disposition of property under sections 1245, 1250, 1252, 1254 and 1255
Gross sales price, basis and depreciation for each asset; line 25 for section 1245 property such as equipment, line 26 for section 1250 property such as buildings. [i4797]
Part IV: section 179 and listed property recapture
When business use of section 179 or listed property drops to 50% or less. [i4797]

Recapture in plain words

Equipment (section 1245). Gain up to the depreciation you took is ordinary income. Gain above that is section 1231 gain. [§1245]

Buildings (section 1250). Depreciation beyond straight-line is ordinary income. The rest of the gain from depreciation, called unrecaptured section 1250 gain, can be taxed at up to 25%. [§1250][§1(h)]

Worked example (fictitious): a delivery van

Bought for $40,000. Depreciation taken: $30,000, so adjusted basis is $10,000. The allocation gives the van $25,000. Gain is $15,000. All of it is below the $30,000 of depreciation taken, so all $15,000 is section 1245 recapture: ordinary income, figured in Part III. [§1245]

The 5-year lookback on line 8

Net section 1231 gain is ordinary income up to your net section 1231 losses from the previous 5 years that have not already been recaptured. [§1231][i4797] The IRS example: losses of $4,000 and $6,000 in 2020 and 2021, and gains of $3,000 and $2,000 in 2024 and 2025, leave $7,000 on line 8 and make $2,000 of the 2025 gain ordinary income. [i4797]

Want this done in a spreadsheet?
The Allocation Workbook runs the residual method and shows the tax effect for both sides.
Get the Allocation Workbook ($79)

Installment sales and Form 6252

If the buyer pays over time, gain is generally reported on the installment method with Form 6252, then carried to Form 4797. [i4797] Two limits matter in a business sale:

  • Recapture income is taxed in the year of sale, even if the cash comes later. [§453]
  • Inventory cannot use the installment method. [§453]

Where Form 8594 fits

The Form 4797 instructions tell both parties to allocate the price among the assets and file Form 8594 when a group of assets making up a trade or business is sold. [i4797][i8594] Start with the Form 8594 walkthrough, then bring each class's allocation here.

Common questions

Do I need Form 4797 when I sell my business?
In an asset sale, usually yes. Equipment, vehicles, buildings and other business property held more than a year are reported on Form 4797, and any depreciation recapture is figured in Part III.
What is the 5-year lookback on Form 4797?
Line 8 of Form 4797 asks for net section 1231 losses from the previous 5 years that have not been recaptured. Your net section 1231 gain this year is ordinary income up to that amount.
Can I spread recapture over an installment sale?
No. Section 453(i) makes recapture income taxable in the year of sale, even if payments arrive later. Only the gain above recapture uses the installment method on Form 6252.
Is there a 2026 Form 4797?
When we last checked (November 19, 2026), the current form on irs.gov was the 2025 Form 4797, used for tax year 2025 returns. We update this page when a new revision is posted.

Sources

  1. i4797IRS, Instructions for Form 4797 (2025) (checked November 19, 2026)
  2. f4797IRS, Form 4797, Sales of Business Property (2025) (checked November 19, 2026)
  3. §123126 U.S.C. §1231, Property used in the trade or business and involuntary conversions (checked November 19, 2026)
  4. §124526 U.S.C. §1245, Gain from dispositions of certain depreciable property (checked November 19, 2026)
  5. §125026 U.S.C. §1250, Gain from dispositions of certain depreciable realty (checked November 19, 2026)
  6. §1(h)26 U.S.C. §1(h), Maximum capital gains rate (checked November 19, 2026)
  7. §45326 U.S.C. §453, Installment method (checked November 19, 2026)
  8. §122126 U.S.C. §1221, Capital asset defined (checked November 19, 2026)
  9. §19726 U.S.C. §197, Amortization of goodwill and certain other intangibles (checked November 19, 2026)
  10. IRSIRS, Sale of a business (page reviewed 18 Nov 2026) (checked November 19, 2026)
  11. i8594IRS, Instructions for Form 8594 (Rev. November 2021) (checked November 19, 2026)

Every fact on this page is traced to the sources above. See our editorial and sourcing policy.

General information, not tax or legal advice. Every deal is different. Talk to a CPA or tax attorney about your own sale before you file. Form8594.com is independent and is not affiliated with the IRS or any government agency.

Asset Sale KitForm 8594 · 7 classes

Fill both Form 8594s with matching numbers

Seven-class spreadsheet that runs the residual method, tax effect by class for each side, three filled examples and a line-by-line guide.

Get the Allocation Workbook ($79)

30-day Matching Numbers Guarantee. Instant download.