Journal Entries for Gain on Sale of Assets

Quick Answer

To record a gain on sale of assets, debit Cash (or the consideration received), credit the asset account at original cost, credit Accumulated Depreciation, and credit Gain on Sale of Asset for the difference. The gain equals the sale proceeds minus the asset's net book value (cost minus accumulated depreciation).

Understanding Asset Disposals and Gains

When a company sells a fixed asset for more than its net book value, the difference is a gain on disposal. This gain represents the excess of the cash received over the remaining carrying amount of the asset on the balance sheet. Properly recording this transaction is critical for accurate financial reporting, as the gain flows through the income statement and impacts net income.

The calculation is straightforward: Gain = Sale Proceeds - Net Book Value, where Net Book Value = Original Cost - Accumulated Depreciation. However, the journal entry mechanics involve removing both the asset's original cost and its accumulated depreciation from the books while recording the cash received.

Before recording the disposal, ensure you have updated depreciation entries through the date of sale, as partial-year depreciation may be required.

Basic Gain on Sale Entry

Consider a company selling equipment that originally cost $100,000 with $60,000 in accumulated depreciation. The sale price is $55,000 in cash.

Net Book Value = $100,000 - $60,000 = $40,000

Gain = $55,000 - $40,000 = $15,000

Dr. Cash                           $55,000

Dr. Accumulated Depreciation     $60,000

    Cr. Equipment                       $100,000

    Cr. Gain on Sale of Equipment      $15,000

The entry fully removes the asset and its accumulated depreciation from the books. The gain is reported in the income statement, typically as a non-operating item.

Sale of a Fully Depreciated Asset

When an asset is fully depreciated but still sold for a positive amount, the entire proceeds represent a gain since the net book value is zero.

Example: A vehicle with original cost of $50,000 and accumulated depreciation of $50,000 is sold for $3,000.

Dr. Cash                           $3,000

Dr. Accumulated Depreciation     $50,000

    Cr. Vehicle                         $50,000

    Cr. Gain on Sale of Vehicle         $3,000

Partial-Year Depreciation Before Sale

If an asset is sold mid-year, you must record depreciation expense for the portion of the year the asset was in use before recording the disposal. This partial depreciation is especially important under GAAP, which typically requires depreciation up to the date of disposal.

Example: Equipment with cost $80,000 and accumulated depreciation of $48,000 as of January 1 is sold on April 1. Annual depreciation is $10,000. The partial depreciation for 3 months is $2,500.

Step 1: Record Partial Depreciation

Dr. Depreciation Expense          $2,500

    Cr. Accumulated Depreciation         $2,500

Step 2: Record the Sale (for $40,000 cash)

Accumulated depreciation is now $48,000 + $2,500 = $50,500

Net Book Value = $80,000 - $50,500 = $29,500

Gain = $40,000 - $29,500 = $10,500

Dr. Cash                           $40,000

Dr. Accumulated Depreciation     $50,500

    Cr. Equipment                       $80,000

    Cr. Gain on Sale of Equipment      $10,500

Sale of an Asset with Installment Payments

When the buyer pays over time, the seller records a note receivable instead of cash. The gain is still recognized at the time of sale (assuming the sale qualifies for revenue recognition), and interest income is recognized over the note's term.

Example: Equipment sold for $60,000 with $10,000 cash at closing and a $50,000 note receivable. Cost was $70,000, accumulated depreciation was $30,000.

Dr. Cash                           $10,000

Dr. Note Receivable               $50,000

Dr. Accumulated Depreciation     $30,000

    Cr. Equipment                       $70,000

    Cr. Gain on Sale of Equipment      $20,000

Exchange of Assets with Gain

When a company exchanges an old asset for a new one and receives boot (cash or other consideration) in the exchange, a gain may be recognized. Under ASC 845, exchanges of nonmonetary assets are generally recorded at fair value unless the transaction lacks commercial substance.

Example: Old machinery (cost $90,000, accumulated depreciation $65,000) exchanged for new machinery worth $50,000, plus $5,000 cash received.

Net Book Value of old = $90,000 - $65,000 = $25,000

Total consideration received = $50,000 + $5,000 = $55,000

Gain = $55,000 - $25,000 = $30,000

Dr. New Machinery                $50,000

Dr. Cash                           $5,000

Dr. Accumulated Depreciation     $65,000

    Cr. Old Machinery                   $90,000

    Cr. Gain on Exchange of Assets      $30,000

Tax Considerations: Depreciation Recapture

For tax purposes, gains on the sale of depreciated assets may be partially or fully treated as ordinary income rather than capital gains. This is known as depreciation recapture. Under Section 1245, the gain up to the amount of accumulated depreciation is recaptured as ordinary income. Any remaining gain above the original cost basis qualifies as Section 1231 gain, which may receive capital gain treatment.

This distinction has significant tax implications. For a detailed breakdown of how depreciation differences arise, see our article on tax depreciation vs. book depreciation.

Sale of Intangible Assets

The same disposal framework applies to intangible assets with accumulated amortization instead of accumulated depreciation. For example, selling a patent that is no longer needed by the business.

Example: Patent sold for $25,000. Original cost was $40,000, accumulated amortization was $30,000.

Dr. Cash                           $25,000

Dr. Accumulated Amortization     $30,000

    Cr. Patent                         $40,000

    Cr. Gain on Sale of Patent         $15,000

For entries related to intangible asset impairment before disposal, see our guide on journal entries for goodwill impairment.

Disposal Summary Table

ScenarioKey DebitsKey Credits
Basic gain on saleCash, Acc. Dep.Asset, Gain
Fully depreciated assetCash, Acc. Dep.Asset, Gain
Partial-year depreciationDep. Expense, then Cash + Acc. Dep.Acc. Dep., then Asset + Gain
Installment saleCash, Note Rec., Acc. Dep.Asset, Gain
Asset exchange with bootNew Asset, Cash, Acc. Dep.Old Asset, Gain
Intangible asset saleCash, Acc. Amort.Intangible, Gain

Common Errors to Avoid

  • Forgetting to remove accumulated depreciation: The accumulated depreciation must always be debited (zeroed out) when the asset is removed from the books.
  • Skip partial-year depreciation: Record depreciation up to the disposal date before recording the sale. This ensures the net book value is correct.
  • Recording gain as revenue: Gains on asset sales are non-operating items. They should not be recorded in operating revenue accounts.
  • Ignoring impairment losses: If an asset was previously impaired, the adjusted carrying amount (not original cost) is used in the gain calculation.

Key Takeaways

  • The gain on sale equals sale proceeds minus net book value (cost minus accumulated depreciation).
  • Always debit accumulated depreciation to remove it from the books at disposal.
  • Record partial-year depreciation up to the sale date before calculating the gain.
  • Installment sales create a note receivable alongside the gain recognition.
  • Depreciation recapture rules may reclassify part of the gain as ordinary income for tax purposes.
  • Intangible asset disposals follow the same framework, substituting amortization for depreciation.

Last updated: May 2026 | AccountingTitan

Author

Amy is a Certified Public Accountant (CPA), having worked in the accounting industry for 14 years. She is a seasoned finance executive having held various positions both in public accounting and most recently as the Chief Financial Officer of a large manufacturing company based out of Michigan.