Skip to main content

    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.

    Where each trial balance account is entered and which return line it reaches
    Trial balance accountWhere it goes on the returnWatch for
    Gain or loss on disposal, per booksNot entered as income. Recomputed for taxSchedule M-1 difference
    Net gain from Form 4797 Part II line 171120 line 9, 1120-S line 4, 1065 line 6Page 1 income
    Section 1231 gains and lossesForm 4797, and separately stated on a pass throughSchedule K on 1120-S and 1065
    Depreciation recaptureForm 4797 Part IIIOrdinary income, not capital
    Asset cost and accumulated depreciationBoth come off Schedule LLines 10a and 10b (9a and 9b on a 1065)
    Capital gainsSchedule D on an 11201120 line 8
    Account names vary by client. The return lines do not.

    One account at a time works until there are 200 of them.

    Try it free

    Where Does a Gain on Sale of Assets Go on a Business Return? on a trial balance

    A working trial balance extract. Totals tie, and the row this page is about is highlighted.
    Acct #AccountDebitCredit
    1000Cash42,800.00
    1200Accounts receivable68,500.00
    1300Inventory55,000.00
    1500Equipment (the account this page is about)145,000.00
    1510Accumulated depreciation47,500.00
    2000Accounts payable28,400.00
    2100Accrued expenses9,200.00
    2400Notes payable92,000.00
    2450Due to shareholder15,000.00
    3000Common stock10,000.00
    3900Retained earnings86,300.00
    3950Shareholder distributions52,000.00
    4000Gross receipts612,000.00
    5000Cost of goods sold318,000.00
    6000Salaries and wages88,000.00
    6050Officer compensation72,000.00
    6300Depreciation expense21,500.00
    6900Other operating expenses37,600.00
    Total900,400.00900,400.00
    A working trial balance extract. Totals tie, and the row this page is about is highlighted.

    Example journal entries

    Selling an $18,000 asset with $11,000 accumulated for $5,000
    AccountDebitCredit
    Cash5,000.00
    Accumulated depreciation11,000.00
    Loss on disposal2,000.00
    Equipment18,000.00
    The $2,000 book loss is not the tax result. Tax basis and book basis differ.

    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

    Where this account is reported on each business return
    FormLine
    Form 1120Page 1 line 9, from Form 4797 Part II line 17
    Form 1120SPage 1 line 4, from Form 4797 Part II line 17
    Form 1065Page 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.

    More Tax Lines reference pages