To record a gain on the sale of an asset, post a journal entry that debits cash for the proceeds, debits accumulated depreciation to clear the asset’s depreciation history, credits the asset account for its original cost, and credits a gain-on-sale account for the difference. Total debits equal total credits, the asset and its contra-account come off the books together, and the profit lands on your income statement.
The Three Numbers You Need First
Before you post anything, pull three figures from your records.
The first is the asset’s original cost — the purchase price plus any costs to put it into service, such as sales tax, freight, installation, testing, and recording fees.1Internal Revenue Service. Publication 551, Basis of Assets This sits in your fixed asset account.
The second is total accumulated depreciation: every dollar of depreciation you have expensed against the asset from the date it was placed in service through the date of sale. That running total lives in your fixed asset ledger or depreciation schedule.2Internal Revenue Service. Topic No. 305, Recordkeeping
The third is the amount realized from the sale. That is more than the check you deposited. It includes the fair market value of any property or services the buyer transferred to you, any liabilities the buyer assumed (a mortgage, for example), and any debt instruments issued to you.3Internal Revenue Service. Publication 544, Sales and Other Dispositions of Assets Closing statements, sales agreements, and check stubs are your documentation.
Working Out the Gain
Book value at the moment of sale is the original cost minus accumulated depreciation. Subtract that book value from the proceeds. A positive number is a gain; that is what you credit in the entry.
Say your company bought a piece of equipment for $50,000 and has recorded $30,000 in accumulated depreciation. Book value is $20,000. You sell it for $28,000. The gain is $8,000.
The Journal Entry, Line by Line
With those figures, the entry does three things at once: it brings in the proceeds, wipes the asset and its depreciation off the balance sheet, and books the profit. Using the numbers above:
- Debit Cash (or Accounts Receivable) $28,000 — the proceeds coming in.
- Debit Accumulated Depreciation $30,000 — clearing the contra-asset account.
- Credit Equipment $50,000 — removing the asset at its original cost.
- Credit Gain on Sale of Asset $8,000 — the profit.
Check the math. Debits total $58,000. Credits total $58,000. If they don’t tie, the usual suspects are a stale accumulated depreciation balance or a proceeds figure that doesn’t reflect everything the buyer gave you. Gain on Sale of Asset is an income-statement account; it flows through to net income for the period.
The mechanics don’t change if the sale produces a receivable instead of cash. Debit Accounts Receivable for the amount owed and reclassify to Cash when the buyer pays. If the buyer assumes a liability of yours, debit that liability account for the amount assumed; it counts toward the proceeds side of the entry the same way cash would.
Handling Selling Expenses in the Entry
Costs directly tied to the sale — sales commissions, advertising, legal fees, transfer or stamp taxes paid by the seller — reduce the amount realized rather than being capitalized anywhere.3Internal Revenue Service. Publication 544, Sales and Other Dispositions of Assets You have two ways to reflect them in the entry, and both produce the same effect on net income.
The first approach nets the expense against the cash debit. If $1,000 in selling costs came out of the proceeds, debit Cash for $27,000, keep the accumulated depreciation debit at $30,000, credit Equipment $50,000, and credit Gain on Sale of Asset $7,000.
The second approach records the expense on its own line. Debit Cash the full $28,000, debit a selling expense account $1,000, debit Accumulated Depreciation $30,000, credit Equipment $50,000, and credit Gain on Sale of Asset $7,000. Which method you use typically depends on how your accounting software or internal policy tracks disposal costs.
Bring Depreciation Current Before You Post
If the sale falls anywhere other than the first day of your fiscal year, record depreciation expense through the date of sale before writing the disposal entry. That partial-period entry debits Depreciation Expense and credits Accumulated Depreciation for the portion of the year the asset was in service. Skip it and the accumulated depreciation figure in your disposal entry will be stale, which throws off the gain.
The amount depends on your depreciation method — straight-line, declining balance, or another approach — and your company’s convention for partial periods (half-year, mid-month, and so on). Whatever method you use for full years, apply it consistently to the partial year.
What About Losses and Fully Depreciated Assets
The same entry structure covers a loss. If proceeds are less than book value, replace the gain credit with a debit to Loss on Sale of Asset for the shortfall. Debits and credits still have to tie.
An asset that is fully depreciated has zero book value, so any proceeds are pure gain. Debit Cash for what you received, debit Accumulated Depreciation for the full original cost, credit the asset account for the same original cost, and credit Gain on Sale of Asset for the proceeds. If you scrap the asset for nothing, drop the cash line: debit Accumulated Depreciation and credit the asset account for the original cost, with no gain or loss.
The Book Entry Is Not the Tax Answer
The journal entry records the gain for your financial statements. How that gain is taxed is a separate exercise, and the two numbers often diverge. The IRS treats the portion of a gain that represents prior depreciation differently from the rest. For depreciable personal property such as equipment and vehicles, gain up to the total depreciation previously claimed is recaptured as ordinary income under Section 1245.4Office of the Law Revision Counsel. 26 U.S. Code 1245 – Gain From Dispositions of Certain Depreciable Property For depreciable real property, unrecaptured Section 1250 gain is taxed at a maximum rate of 25%.5Internal Revenue Service. Topic No. 409, Capital Gains and Losses Business asset sales are reported on Form 4797, with any remaining long-term capital gain flowing to Schedule D.6Internal Revenue Service. About Form 4797, Sales of Business Property
Because tax basis can differ from book basis — think Section 179 expensing, bonus depreciation, or basis adjustments the books never picked up — the taxable gain can be larger or smaller than the gain on your income statement. Keep the disposal entry clean and separately compute the tax result from your tax basis records.
A Quick Reference
- Debit Cash for proceeds received.
- Debit Accumulated Depreciation for the full balance associated with the asset.
- Credit the asset account for its original cost.
- Credit Gain on Sale of Asset for the difference (or debit Loss on Sale if proceeds fall short of book value).
- Record any partial-year depreciation first so accumulated depreciation is current.
- Handle selling expenses either by netting them against cash or by debiting a selling expense account.
Post the entry in the period the sale closes, attach the closing statement and any invoices to the journal, and reconcile the fixed asset subledger to the general ledger afterward to confirm the asset and its depreciation are both off the books.