Where Does a Gain on Sale of Assets Go on a Business Return?
Through Form 4797. The net gain or loss from Form 4797, Part II, line 17 carries to page 1: line 9 on Form 1120, line 4 on Form 1120-S and line 6 on Form 1065. It is not other income, and the book gain on the trial balance is rarely the same number as the tax gain.
| Trial balance account | Where it goes on the return | Watch for |
|---|---|---|
| Gain or loss on disposal, per books | Not entered as income. Recomputed for tax | Schedule M-1 difference |
| Net gain from Form 4797 Part II line 17 | 1120 line 9, 1120-S line 4, 1065 line 6 | Page 1 income |
| Section 1231 gains and losses | Form 4797, and separately stated on a pass through | Schedule K on 1120-S and 1065 |
| Depreciation recapture | Form 4797 Part III | Ordinary income, not capital |
| Asset cost and accumulated depreciation | Both come off Schedule L | Lines 10a and 10b (9a and 9b on a 1065) |
| Capital gains | Schedule D on an 1120 | 1120 line 8 |
One account at a time works until there are 200 of them.
Try it freeWhere Does a Gain on Sale of Assets Go on a Business Return? on a trial balance
| Acct # | Account | Debit | Credit |
|---|---|---|---|
| 1000 | Cash | 42,800.00 | |
| 1200 | Accounts receivable | 68,500.00 | |
| 1300 | Inventory | 55,000.00 | |
| 1500 | Equipment (the account this page is about) | 145,000.00 | |
| 1510 | Accumulated depreciation | 47,500.00 | |
| 2000 | Accounts payable | 28,400.00 | |
| 2100 | Accrued expenses | 9,200.00 | |
| 2400 | Notes payable | 92,000.00 | |
| 2450 | Due to shareholder | 15,000.00 | |
| 3000 | Common stock | 10,000.00 | |
| 3900 | Retained earnings | 86,300.00 | |
| 3950 | Shareholder distributions | 52,000.00 | |
| 4000 | Gross receipts | 612,000.00 | |
| 5000 | Cost of goods sold | 318,000.00 | |
| 6000 | Salaries and wages | 88,000.00 | |
| 6050 | Officer compensation | 72,000.00 | |
| 6300 | Depreciation expense | 21,500.00 | |
| 6900 | Other operating expenses | 37,600.00 | |
| Total | 900,400.00 | 900,400.00 |
Example journal entries
| Account | Debit | Credit |
|---|---|---|
| Cash | 5,000.00 | |
| Accumulated depreciation | 11,000.00 | |
| Loss on disposal | 2,000.00 | |
| Equipment | 18,000.00 |
The book number is not the tax number
A client's trial balance shows a gain or loss on disposal computed from book basis: original cost less book accumulated depreciation.
The return computes it from tax basis, which reflects MACRS, section 179 and bonus depreciation. An asset fully expensed under section 179 has zero tax basis, so a sale produces gain equal to the entire proceeds even where the books show a modest gain or a loss.
So the book figure is not entered as income. The disposal is reported on Form 4797, the tax gain is computed there, and the difference between the two belongs on Schedule M-1.
Where it lands
Net gain or loss from Form 4797, Part II, line 17 carries to page 1: line 9 on Form 1120, line 4 on Form 1120-S, line 6 on Form 1065.
Section 1231 gains and losses behave differently on a pass through return: they are separately stated on Schedule K rather than folded into ordinary business income, because the netting happens at the owner level.
Recapture is the part clients do not expect
Depreciation taken on an asset comes back as ordinary income on a sale, through Form 4797 Part III, up to the amount of depreciation claimed. It is not capital gain.
That is the mechanism that makes a section 179 election feel expensive years later: the deduction was ordinary, and the recapture is ordinary. A client who expects capital gain treatment on selling equipment usually has not been told about recapture.
The balance sheet side
A disposal moves three Schedule L figures at once: the asset cost comes off line 10a, the accumulated depreciation comes off line 10b, and the proceeds land in cash. On a 1065 those asset lines are 9a and 9b.
Recording only part of that is one of the more common causes of a balance sheet that will not tie, and the giveaway on a trial balance is accumulated depreciation that has crept close to the gross asset total.
Tax return treatment
| Form | Line |
|---|---|
| Form 1120 | Page 1 line 9, from Form 4797 Part II line 17 |
| Form 1120S | Page 1 line 4, from Form 4797 Part II line 17 |
| Form 1065 | Page 1 line 6, from Form 4797 Part II line 17 |
Common questions
What line does a gain on sale of equipment go on?
It comes from Form 4797, Part II, line 17, and carries to page 1 line 9 on Form 1120, line 4 on Form 1120-S and line 6 on Form 1065.
Why does the gain on the return differ from the gain on the books?
Because the books use book basis and the return uses tax basis. Section 179, bonus depreciation and MACRS lives leave a different accumulated depreciation figure, so the tax gain is usually larger. The difference belongs on Schedule M-1.
What is depreciation recapture?
Depreciation previously claimed coming back as ordinary income on a sale, reported through Form 4797 Part III. It is not capital gain, which is why a client who expects capital treatment on selling equipment is often surprised.
How many Schedule L lines does a disposal affect?
Three: the asset cost on line 10a, the accumulated depreciation on line 10b, and cash for the proceeds. On a 1065 the asset lines are 9a and 9b. Recording only part of that is a common cause of an out of balance balance sheet.
Related answers
Go deeper
This page is the short answer. These articles work through the same ground in detail.
Last reviewed October 18, 2026.