Form explainers
Form 4797: Sales of Business Property, Instructions & Due Date
Learn who needs to file IRS Form 4797, when it is due, how Parts I through IV work for Section 1231 and depreciation recapture, and what records you need.
Prepared by Aldro Accounting · Updated · Sources checked
The quick answer
IRS Form 4797 (Sales of Business Property) reports gains and losses from selling, exchanging, or involuntarily converting property used in a trade or business, plus depreciation recapture under Sections 1245, 1250, 179, and 280F(b)(2). You attach Form 4797 to your federal income tax return by your return's regular due date, including extensions. By our calculation from the 2025 IRS Instructions for Form 4797, non-individual filers spend an estimated 53 hours in total (35 hours and 23 minutes on recordkeeping alone) to track basis, depreciation, and prior losses for this form.
Who Needs to File Form 4797
You file Form 4797 when you dispose of business property rather than personal investment assets. While Schedule D and Form 8949 handle standard capital assets, the IRS instructions require you to use Form 4797 for specific business and income-producing transactions.
Partnerships and S corporations follow a special rule for Section 179 property. They do not report dispositions of assets for which a Section 179 expense deduction was previously claimed on Form 4797, 4684, 6252, or 8824. Instead, the entity reports the transaction details on Schedule K-1 so the individual partners or shareholders can file Form 4797 on their own returns.
- Sales or exchanges of real property or depreciable and amortizable tangible property used in your trade or business.
- Dispositions of oil, gas, geothermal, or other mineral properties, and Section 126 cost-sharing payment property.
- Involuntary conversions (other than from casualty or theft) of trade or business property and capital assets held more than 1 year in connection with a trade or business or a transaction entered into for profit.
- Dispositions of noncapital assets other than inventory or property held primarily for sale to customers.
- Partner and S corporation shareholder gains, losses, and recapture from Section 179 property dispositions reported on Schedule K-1.
- Recapture calculations under Sections 179 and 280F(b)(2) when business use of Section 179 property or listed property drops to 50% or less.
- Ordinary gains and losses for securities or commodities traders who have a valid Section 475(f) mark-to-market election in effect.
- Elections to defer qualified Section 1231 gains invested in a Qualified Opportunity Fund (QOF) within 180 days.
Form 4797 Due Date and Election Deadlines
Form 4797 is attached to your federal income tax return and filed by that return's due date. Several tax elections tied to Form 4797 have strict filing deadlines in the IRS instructions:
- Partial disposition of a MACRS asset: To recognize a partial disposition of a Modified Accelerated Cost Recovery System (MACRS) asset (like replacing a roof or an elevator in a business building), you must report the gain or loss on a timely filed federal tax return, including extensions, for the year of the disposition.
- Electing out of the installment method: If you sell property at a gain and receive payments in a later tax year, you use Form 6252 unless you elect out. To elect out, report the full gain on a timely filed return, including extensions. If you filed on time without the election, you can file an amended return within 6 months of the original due date (excluding extensions) and write "Filed pursuant to section 301.9100-2" at the top.
- Section 475(f) mark-to-market election: Unless you are a new taxpayer, a securities or commodities trader must make the mark-to-market election by the due date (not including extensions) of the tax return for the year prior to the year the election takes effect.
- Qualified Opportunity Fund (QOF) deferral: To temporarily defer eligible Section 1231 gains, you must invest the gain into a QOF within the 180-day period beginning on the date the gain is realized.
Where to Make Your First Entry: Parts I Through IV
Form 4797 has four parts, and you rarely fill them out in numerical order. When you sell depreciable business property held for more than 1 year at a gain, you start in Part III to calculate depreciation recapture. That calculation splits your gain into ordinary income (which flows to Part II, line 13) and remaining Section 1231 gain (which flows to Part I, line 6).
The table below summarizes the official IRS chart for where to make your first entry on Form 4797.
- Part I (Section 1231 Transactions): Reports sales or exchanges of real or depreciable business property held more than 1 year (when sold at a loss, or non-depreciable land sold at a gain), plus excess gains flowing from Part III, line 32. Net Section 1231 gains on line 7 without prior unrecaptured losses flow to Schedule D as long-term capital gains, while net Section 1231 losses flow to Part II, line 11 as ordinary losses.
- Part II (Ordinary Gains and Losses): Reports business property held 1 year or less, property deducted under the tangible property de minimis safe harbor, qualifying abandonments of business or investment property, Section 475(f) mark-to-market trader activity, Section 1244 small business stock ordinary losses (up to $50,000, or $100,000 if married filing jointly), and ordinary income recaptured from Part III and Part I. For individuals, the final net ordinary gain or loss on line 18b flows to Schedule 1 (Form 1040), Part I, line 4.
- Part III (Depreciation Recapture): Figures the recapture of depreciation, amortization, depletion, and Section 179 deductions taxed as ordinary income when property held more than 1 year is sold at a gain under Sections 1245, 1250, 1252, 1254, and 1255.
- Part IV (Business Use Drop to 50% or Less): Computes recapture under Section 179 (column a) and Section 280F(b)(2) for listed property like vehicles (column b) when business use falls to 50% or less. You report the recapture amount on line 35 as "other income" on the same schedule where you took the original deduction (such as Schedule C) and increase the property's basis by that same amount.
How Section 1245, Section 1250, and the 5-Year Lookback Rule Work
When you sell business assets held longer than 1 year at a gain, two recapture rules determine how much of your profit is taxed as ordinary income versus capital gain.
First, in Part III, Section 1245 property (such as machinery, equipment, business vehicles, and amortizable Section 197 intangibles) requires you to recapture all prior depreciation and Section 179 deductions up to the total gain as ordinary income on line 25b. By contrast, Section 1250 property covers depreciable real estate like commercial buildings and residential rentals. Under the IRS instructions for line 26, Section 1250 recapture on Form 4797 only applies to additional depreciation in excess of straight-line depreciation. Standard 27.5-year residential rental property and 22-, 31.5-, or 39-year nonresidential real property placed in service after 1986 under MACRS use straight-line depreciation, so you enter -0- on line 26g. Exceptions apply if you are a corporation subject to the 20% Section 291 reduction on line 26f, or if you claimed a special depreciation allowance or commercial revitalization deduction.
Second, in Part I, any gain beyond your Part III ordinary recapture lands in the Section 1231 bucket. Before you carry a net Section 1231 gain from line 7 to Schedule D as a long-term capital gain, you must check line 8 for nonrecaptured net Section 1231 losses from the 5 preceding tax years. If you deducted net Section 1231 losses as ordinary losses in any of the prior 5 years and have not yet offset them against later gains, your current-year Section 1231 gain is recharacterized as ordinary income on line 12 to the extent of those unrecaptured losses.
Worked Example: Selling a Business Building, Land, and Equipment
Suppose you sell a small warehouse (building and land) and a forklift held for more than 1 year. When you dispose of depreciable property (the building) and non-depreciable property (the land) in the same transaction at a gain, you must allocate the sales price between them based on their respective fair market values (FMVs) and report them in separate parts of Form 4797.
Here is how our team walks through the numbers using the official IRS 5-year lookback example and Part III line rules:
- Step 1 (Forklift in Part III, Section 1245): You bought the forklift for $30,000, claimed $18,000 in depreciation, and sold it for $22,000. In Part III, line 20 is $22,000, line 21 is $30,000, and line 22 is $18,000, giving an adjusted basis of $12,000 on line 23 and a total gain of $10,000 on line 24. Because total depreciation ($18,000 on line 25a) exceeds the gain ($10,000), the smaller amount ($10,000 on line 25b) is recaptured as ordinary income.
- Step 2 (Building in Part III, Section 1250): Based on FMV allocation, the 39-year MACRS warehouse building placed in service in 2018 has a gross sales price of $250,000 (line 20), original cost plus sale expenses of $200,000 (line 21), and straight-line depreciation of $30,000 (line 22). Adjusted basis on line 23 is $170,000, and total gain on line 24 is $80,000. Because straight-line depreciation was used by a non-corporate filer, line 26g is $0.
- Step 3 (Summarize Part III): Line 30 total gain is $90,000 ($10,000 forklift + $80,000 building). Line 31 ordinary recapture is $10,000 (from the forklift), which flows to Part II, line 13. Line 32 remaining Section 1231 gain is $80,000 ($90,000 minus $10,000), which flows to Part I, line 6.
- Step 4 (Land and 5-Year Lookback in Part I): The allocated land sale in Part I, line 2 shows a gross sales price of $60,000 and a cost basis of $50,000 (with $0 depreciation), producing a $10,000 gain. Combined with line 6 ($80,000), your net Section 1231 gain on line 7 is $90,000. Using the IRS instructions' lookback mechanics, if you had $4,000 of net Section 1231 losses in 2020 and $6,000 in 2021 ($10,000 total), and already recaptured $3,000 against a 2024 gain, you enter your remaining $7,000 of nonrecaptured losses on line 8. That $7,000 moves to Part II, line 12 as ordinary income, and the remaining $83,000 on line 9 flows to Schedule D as a long-term capital gain.
Checklist: Records Needed and Common Errors to Avoid
The IRS requires you to keep books and records relating to Form 4797 for as long as their contents may become material in the administration of any Internal Revenue law. Before starting your return, gather these records:
- Purchase, improvement, and sale documents: Original purchase invoices, closing statements, dates acquired and placed in service, receipts for permanent improvements with a useful life of more than 1 year, bills of sale, dates sold, and invoices for selling expenses (brokerage commissions, legal fees, advertising, and deed preparation).
- Depreciation and basis schedules: Prior Form 4562 schedules showing MACRS depreciation, special depreciation allowances, Section 179 deductions, unused Section 179 carryforwards, and basis reductions from credits (such as the enhanced oil recovery credit, disabled access credit, or clean vehicle credits).
- Fair Market Value (FMV) allocations and prior returns: Appraisals or contract allocations splitting land and buildings, Form 8594 if you sold a group of assets constituting a trade or business, and Form 4797 filings from the 5 preceding tax years to check for unrecaptured Section 1231 losses.
- Information returns and K-1s: Form 1099-S for real estate gross proceeds and Form 1099-B for mark-to-market traders (both reported on line 1a), Schedule K-1 (Form 1065 or Form 1120-S), and Form 1099-A or Form 1099-C for foreclosures, repossessions, or abandonments (lenders must send these by February 2, 2026, for 2025 events when $600 or more of debt is canceled).
7 Common Reporting Errors Flagged in the IRS Instructions
Watch out for these specific reporting cautions in the IRS instructions:
- Reporting installment sale losses on Form 6252: Never report a loss on Form 6252. If an installment sale results in zero gain or a loss, report the disposition directly on Form 4797 (Part I if held more than 1 year, or Part II if held 1 year or less).
- Trying to defer Section 1245 or 1250 recapture into a QOF: Only qualified Section 1231 gains that exceed your ordinary depreciation recapture can be deferred into a QOF within 180 days. Sections 1245 and 1250 recapture gains cannot be deferred into a QOF.
- Completing Part III for property held 1 year or less: Generally, if you held an asset for 1 year or less, skip Part III and report the transaction directly in Part II, line 10.
- Double-counting basis adjustments on Part III, line 21: Reduce cost or other basis on line 21 by any enhanced oil recovery credit or disabled access credit, but do not adjust line 21 for depreciation, amortization, Section 179 deductions, or vehicle credit reductions already entered on line 22.
- Bundling land and buildings on one line: Do not combine depreciable buildings and non-depreciable land sold together at a gain. Allocate the price by FMV and report the building in Part III and the land in Part I (when held over 1 year).
- Filing Form 4797 at the entity level for Section 179 assets: Partnerships and S corporations must pass Section 179 asset dispositions through on Schedule K-1 rather than filing Form 4797 at the entity level.
- Forgetting to reduce unused Section 179 carryovers on Form 4562: Partners and S corporation shareholders completing the Section 179 disposition worksheet must reduce their disallowed Section 179 carryover on Form 4562 by any unused carryover entered on line 3c of the worksheet.
Get Your Business Taxes and Form 4797 Filed
Aldro is the cheapest way to get your business taxes done: $399 flat, with bookkeeping at $20 a month. Our team prepares and files your return, and the flat price covers the owner's personal return when the business income needs it, plus extensions and quarterly estimate reminders included.
Common questions
Who needs to file Form 4797?
You need to file Form 4797 if you sell, exchange, or involuntarily convert (other than by casualty or theft) real or depreciable property used in a trade or business, oil or mineral property, or noncapital assets. You also file it if you are a partner or S corporation shareholder reporting a Schedule K-1 disposition of Section 179 property, a mark-to-market trader under Section 475(f), or a business owner whose business use of Section 179 or listed property drops to 50% or less.
When is Form 4797 due?
Form 4797 is attached to your federal income tax return and is due on the same date as your return, including extensions. Certain elections reported on the form, such as recognizing a partial disposition of a MACRS asset or electing out of the installment method, must be made on a timely filed return (including extensions), though an installment method opt-out can also be made on an amended return within 6 months of the original due date excluding extensions.
How do you report the sale of a business building and land on Form 4797?
When you sell a building and land together at a gain, the IRS instructions require you to allocate the total sales price between the depreciable building and the non-depreciable land based on their respective fair market values. If held for more than 1 year, you report the sale of the building first in Part III to figure any depreciation recapture and report the sale of the land in Part I.
Do partnerships and S corporations file Form 4797 for Section 179 property sales?
No, partnerships and S corporations do not report dispositions of property for which a Section 179 expense deduction was previously claimed on Form 4797, 4684, 6252, or 8824. Instead, the entity reports each partner's or shareholder's share of the sales price, cost basis, regular depreciation, and passed-through Section 179 deduction on Schedule K-1 so the owners can complete Form 4797 on their own returns.
What is the 5-year lookback rule on Form 4797 Part I?
Under the nonrecaptured Section 1231 loss rule on Part I, line 8, if you have a net Section 1231 gain on line 7 for the current year, you must look back at the 5 preceding tax years. Your current net Section 1231 gain is treated as ordinary income (and routed to Part II, line 12) to the extent of any net Section 1231 losses you deducted in those prior 5 years that have not already been applied against a net Section 1231 gain.
Where do I report business property sold after being held for 1 year or less?
Generally, if you held business property for 1 year or less (or less than 24 months for business cattle and horses, and less than 12 months for other qualifying livestock), you do not use Part I or Part III. You report the entire transaction directly as an ordinary gain or loss in Part II, line 10.
The cheapest way to get your business taxes done: $399 flat.
Business tax filing is $399 USD a year, and it covers everything tax for that year.
How it works
- Tell us about your business. A two-minute form. No payment is collected through it.
- Get your next steps by email. We’ll email you the next steps within one business day. After you sign up we’ll send you a secure upload link for your documents.
- We file it. Our team prepares and files your return. Add bookkeeping for $20 a month if you want it.
What's included
$399 a year covers everything tax for that tax year.
- Every business return for the year. All the federal and state or provincial business returns you need for the tax year: Schedule C, 1065, 1120-S, 1120 and their state returns in the US; T2, or T1 with T2125, in Canada.
- More than one state. Multi-state returns are included at the same price.
- Your personal return. The owner’s personal return (1040 or T1) is included when it’s needed for the business income.
- Quebec. Quebec returns (CO-17, TP-1 and TP-80) are included. Our Quebec pages are in French, and our team works with you in English.
- Extensions and reminders. Extensions (Form 7004 or 4868) and quarterly estimate reminders are included.
- Information returns. 1099-NEC, T4/T4A and T5018 slips are included in the tax price.
- City and excise returns. City and local business tax returns, and state excise returns such as Washington B&O, are included in the yearly price.
- Franchise tax reports. State franchise tax reports, such as the Texas franchise tax report, are included.
- Estimated tax and instalment amounts. We work out your quarterly estimated tax payments in the US, or your CRA instalments in Canada, and tell you what to pay and when.
- Unfiled past years. Each unfiled prior-year return is $399 per tax year, the same flat price.
- Bookkeeping at $20 a month. Unlimited bank and card accounts, monthly reconciliation and monthly statements.
Basic inventory tracking for online stores, such as Shopify, is included. Full cost-of-goods reconciliation is quoted separately. Payroll processing and sales-tax filing aren’t included in bookkeeping. Prices are in USD. Our team prepares and files your return.
Sources
- IRS: Instructions for Form 4797 (2025) · checked November 5, 2026
- IRS: About Form 4797, Sales of Business Property · checked November 5, 2026
- IRS: 4797 Sales of Business Property · checked November 5, 2026
- IRS: Publication 544 (2025), Sales and Other Dispositions of Assets · checked November 5, 2026
This guide explains general rules from the sources listed. It isn’t tax advice for your situation.