Property Types and IRC Section Codes
The section code that applies depends on the type of property used in your business. Here is how the main codes map to real assets, and what each one does to your tax bill:
| IRC Section | Property Type | Plain Example | How the Gain Is Taxed |
|---|---|---|---|
| 1231 | Depreciable business property and real property held over 1 year | Rental building, machinery | Net gain: capital gain; net loss: ordinary |
| 1245 | Depreciable personal property (equipment, vehicles) | Delivery van, laptop, tools | Recapture taxed as ordinary income |
| 1250 | Depreciable real property (buildings) | Warehouse, office | Excess depreciation recaptured as ordinary |
| 1252 | Farm land with soil/water expenses | Farmland improvements | Portion recaptured as ordinary |
| 1254 | Oil, gas, geothermal property | Drilling costs | Recapture as ordinary |
| 1255 | Cost-sharing conservation payments | Section 126 property | Recapture as ordinary |
Most small businesses deal mainly with Sections 1231 and 1245, since those cover equipment and vehicles. Section 1250 only comes into play if you own the building itself.
Depreciation Recapture: How Your Gain Is Taxed
Depreciation recapture is the part of your gain that the IRS taxes as ordinary income rather than at lower capital-gains tax rates, so it helps to know the different types of taxes that can apply to a single sale. Because you already deducted depreciation to lower earlier taxable income, the IRS reclaims a portion when you sell. Recapture raises your taxable income for the year, so plan ahead if you also want to lower your taxable income with other deductions.
Here is a clean, non-farm form 4797 example. Your business buys a machine for $20,000 and claims $8,000 in depreciation, leaving an adjusted basis of $12,000. You sell it for $18,000, producing a $6,000 gain. Because that $6,000 is below the total depreciation claimed, all $6,000 is recaptured as ordinary income under Section 1245. Reporting gains this way, rather than as a plug number, protects your tax savings and keeps your return accurate and audit-ready.
How to Fill Out Form 4797 (Parts I-IV)
The Form 4797 instructions divide the form into four parts:
- Part I: Long-term Section 1231 gains and losses on property held over one year.
- Part II: Ordinary gains and losses (including property held one year or less).
- Part III: Depreciation recapture, the math-heavy section for Sections 1245, 1250, 1252, 1254, and 1255.
- Part IV: Recapture of Section 179 and listed-property deductions.
The form is due with your annual return (Form 1040, 1065, or 1120), so there is no separate deadline. Before you start, gather your records: the placed-in-service date, the current depreciation schedule, your cost basis, and the sales agreement. The same paperwork supports your other write-offs, much like the records behind 1099 tax deductions. Keep everything for up to six years, and file any pay stub for tax filing alongside them.
Avoid the common mistakes that trigger IRS notices:
- Misjudging the holding period (selling at 11 months forfeits Section 1231 treatment).
- Forgetting depreciation recapture entirely.
- Skipping Form 8594 when you sell an entire business.
- Treating the reported gain as an estimate instead of tying it to your ledger.
IRS.gov hosts the current 4797 form as a fillable form 4797 pdf, and the IRS Form 4797 instructions there walk through every line if you need that level of detail.
Form 4797 vs. Schedule D vs. Form 8949
Choosing the right form is simple once you know the asset type:
| You Sold | Use This Form |
|---|---|
| Business or rental property (real property, equipment) | Form 4797 |
| Personal capital assets (stocks, personal-use items) | Schedule D and Form 8949 |
| A home with a home-office or rental portion | Possibly both (split business vs. personal use) |
These reporting forms work together, so a mixed-use sale can appear on more than one.
Create Form 4797 Online with PayStubs.net
Every guide explains the 4797 tax form, but few show you a faster way to produce it. An online 4797 generator pre-fills your identifying information, walks you through Parts I to IV, and reduces the line-by-line math errors that make Part III the top source of filing mistakes. It works much like our 1099 generator, then outputs a clean, print and PDF-ready copy for your records. Use it alongside professional tax advice, not as a replacement for it.
Which Form 4797 You Need, and Why the Due Date Depends on Your Entity
The IRS does reissue Form 4797 annually, so "form 4797 2025" and "form 4797 2026" really are different documents, and you should match the form year to the tax year the sale happened in. The difference between them is smaller than it looks: nothing material changed in the rules, but line numbers shifted on the 2026 draft. Line 1a's cross-references move from "line 2, 10, or 20" (2025) to "line 2, 11, or 22" (2026). Do not carry line positions over from a prior year's working papers.
The deadline is where businesses get caught out. Form 4797 has no due date of its own. It inherits the date of the return it attaches to, so the answer depends on how your entity files, not on the tax year:
| Parent return | When the 4797 is due |
|---|---|
| Form 1040, 1120, 1041 | April 15 |
| Form 1065, 1120-S | March 15 |
When the 15th falls on a weekend, the date rolls to the next business day. Extend the parent return and the 4797 moves with it: October 15 for individuals filing Form 4868, and September 15 for partnerships and S corps filing Form 7004. Any page quoting one flat "Form 4797 deadline" is wrong for whichever entity type it left out.