Sale of Business Journal Entry: Gain, Recapture, and Form 8594

The sale of a business is recorded on the closing date as a single compound journal entry that debits everything the seller received (cash, notes receivable, liabilities the buyer assumed, and the accumulated depreciation being written off), credits every asset transferred at its historical cost, and books the difference as a gain or loss on sale. The mechanics are ordinary double-entry, but the numbers only work if the books have been brought current first and the gain has been calculated correctly. Everything else, from tax reporting to entity wind-down, follows from that entry.

Bring the Books Current Before Writing the Entry

The balance sheet needs to reflect every asset and liability as of the closing date, because the gain or loss depends on those exact numbers. Skip this and the final entry will be wrong.

Accrue all revenue earned and expenses incurred through closing. Services performed but not billed become accounts receivable. Payroll earned but unpaid becomes an accrued liability. You want a complete accrual snapshot of the business the moment before it changes hands.

Update depreciation and amortization to the exact closing date. A partial-period entry is needed for every fixed asset, which reduces net book value and changes the size of the gain.

Revalue inventory. Under current GAAP, entities using FIFO or average cost measure inventory at the lower of cost and net realizable value; entities still on LIFO follow the older lower-of-cost-or-market rule. Write down anything that has fallen below its recorded cost.

Then reconcile. Match bank statements to the general ledger, work the accounts receivable aging and write off what won’t be collected, and resolve intercompany discrepancies. These are the small fixes that keep the closing entry from forcing restatements later.

Calculating the Gain or Loss

The gain or loss is what makes the entry balance, but you calculate it first:

Gain (or Loss) = Total Consideration Received − Net Book Value of Assets Transferred − Transaction Costs

Total consideration includes everything of value the seller receives: cash at closing, the present value of promissory notes or seller financing, and the book value of any liabilities the buyer assumes. Assumed liabilities count because the seller is being relieved of them.

Net book value is the recorded value of the assets transferred after the pre-sale adjustments above. Historical cost minus accumulated depreciation and amortization gives you the adjusted asset side. Equivalently, total assets minus accumulated depreciation minus total liabilities gives net book value of equity. Either produces the same gain.

Investment banking, legal, and accounting fees paid to facilitate the sale reduce the seller’s realized amount rather than being separately deductible.1GovInfo. 26 CFR 1.263(a)-5 Amounts Paid to Facilitate Certain Transactions Higher costs, smaller gain.

A Worked Example

Assume the business sells for $15,000,000 cash plus the buyer’s assumption of $4,000,000 in liabilities, for total consideration of $19,000,000. Assets have a historical cost of $20,000,000 and $6,000,000 of accumulated depreciation, giving an adjusted book value of $14,000,000. Transaction costs run $500,000. The gain is $19,000,000 − $14,000,000 − $500,000 = $4,500,000. That $4,500,000 is the balancing figure in the entry below.

The Core Journal Entry

One compound entry, posted on the legal closing date, does three things at once: records what the seller received, removes everything the seller gave up, and recognizes the gain or loss.

On the debit side: cash for amounts collected at closing; notes receivable at present value for any seller financing; every assumed liability, to clear it off the seller’s books; and accumulated depreciation and amortization (which carry credit balances as contra-assets), to zero them out.

On the credit side: every asset transferred, at its full historical cost, so it comes off the books; and the gain on sale. A loss would flip to the debit side.

For the example:

Account Debit Credit
Cash $15,000,000
Accounts Payable (assumed by buyer) $4,000,000
Accumulated Depreciation $6,000,000
Accounts Receivable $1,500,000
Inventory $3,500,000
Fixed Assets (at cost) $14,000,000
Goodwill $1,000,000
Gain on Sale of Business $4,500,000
$25,500,000 $25,500,000

Transaction costs don’t get their own line. In this example the $15,000,000 cash figure is net of them. If costs were paid separately, the cash debit would be $15,500,000 and the gain line would absorb the $500,000. Either way, debits equal credits or the books won’t close.

The entry removes the entire sold business from the seller’s statements in one action. What remains is cash (or notes), the recognized gain, and the seller’s equity accounts.

Stock Sales Look Nothing Like This

The entry above is an asset sale, where the buyer purchases specific assets and assumes specific liabilities. A stock sale is different. The buyer purchases the owner’s shares or membership units, and the entity itself continues to exist with its balance sheet intact.

From the seller’s side, a stock sale is a personal capital-asset disposition: the individual shareholder records cash received, removes the cost basis of the shares sold, and recognizes gain or loss on that transaction. The company’s own books don’t change. Only the ownership shifts.

The complexity of derecognizing individual assets and allocating a purchase price across them is almost entirely an asset-sale problem. In an asset sale, total consideration must be allocated across every asset class based on fair market value under the residual method of IRC Section 1060.2Office of the Law Revision Counsel. 26 USC 1060 – Special Allocation Rules for Certain Asset Acquisitions That allocation drives the buyer’s future depreciation and the seller’s tax treatment on each asset class.

Installment Sales Change the Entry

When the seller takes back a note and at least one payment lands after the close of the tax year, the transaction qualifies for installment sale reporting. The installment method spreads gain recognition over the years payments are received. Losses don’t get this treatment; a loss is recognized in full in the year of sale.3Internal Revenue Service. Installment Sale Income – Form 6252

At closing, the entry looks similar to the cash version, but with a bigger notes receivable balance and a deferred gain account absorbing most of the gain. The seller debits cash for the down payment, debits notes receivable for the remaining balance, debits accumulated depreciation and assumed liabilities, and credits every asset at cost. The difference splits between a currently recognized gain (the portion earned by the down payment) and a deferred gain on sale account. As each installment arrives, the seller debits cash, credits notes receivable, and recognizes a proportional share of the deferred gain.

One trap: depreciation recapture cannot be deferred. All Section 1245 and Section 1250 recapture must be recognized in the year of sale regardless of how little cash the seller actually collected that year.4Office of the Law Revision Counsel. 26 USC 453 – Installment Method Only gain above the recapture amount rides on the installment schedule. A five-year note doesn’t rescue you from a year-one tax bill on recapture.

Earnout provisions, common in business sales, are reported under the installment method by default.5eCFR. 26 CFR 15a.453-1 – Installment Method Reporting for Sales of Real Property and Casual Sales of Personal Property Basis allocation across years depends on whether the earnout has a maximum price, a fixed payment period, or neither. Form 6252 must be filed for the year of sale and every year afterward until the note is paid or otherwise disposed of. If the sales price exceeds $150,000 and total outstanding installment obligations exceed $5,000,000 at year-end, the seller owes an interest charge on the deferred tax liability.6Internal Revenue Service. Publication 537 – Installment Sales

The Post-Closing True-Up

Most purchase agreements include a working capital adjustment. The seller estimates working capital (current assets minus current liabilities, usually excluding cash) as of closing, and that estimate is built into the purchase price. Two or three months after closing, the buyer’s accountants verify the actual figure. Actual below estimate, seller pays the buyer. Actual above estimate, buyer pays the seller.

That adjustment changes the purchase price retroactively, so a follow-up entry is required. If the seller pays money back, debit gain on sale and credit cash. If the seller receives more, debit cash and credit gain on sale.

The tax side gets messier when the true-up crosses into a new year. Where possible, arrange for the calculation and payment to happen before the return for the year of sale is filed. If not, the seller may have to amend and refile Form 8594 with the updated allocation.7Internal Revenue Service. Instructions for Form 8594

Closing Out Equity and Distributing the Proceeds

After the sale entry, the entity typically holds cash (or notes), the recognized gain, and its equity accounts. What comes next depends on entity type.

Corporations

The gain rolls into retained earnings at year-end, increasing the equity available for distribution. Distributing the remaining cash to shareholders as a liquidating dividend debits retained earnings and credits cash. Liquidating distributions of $600 or more per shareholder must be reported on Form 1099-DIV, with cash in Box 9 and noncash property at fair market value in Box 10.8Internal Revenue Service. Instructions for Form 1099-DIV

Sole Proprietorships and Partnerships

For a sole proprietor, the gain is credited directly to the owner’s capital account. The distribution debits capital and credits cash, zeroing the balance. Partnerships follow the same pattern, but the gain is split among partners according to the profit-sharing ratio in the partnership agreement, and each partner’s capital account is credited for their share, then debited on distribution. Every account should end at zero once the final distribution clears.

How the Single Book Gain Splits for Tax

The journal entry books one aggregate gain for financial statement purposes. The IRS sees the transaction differently: every asset is treated as if sold separately, and the character of each piece of gain (ordinary vs. capital) depends on the asset that produced it.9Internal Revenue Service. Sale of a Business This is where allocation matters.

Ordinary Income Assets

Gains on inventory and accounts receivable are ordinary income. No preferential rate is available, which is why sellers typically try to minimize allocation to these classes.

Section 1245 Recapture on Equipment

Gain on depreciable personal property (equipment, vehicles, furniture) is ordinary income up to the total depreciation or amortization previously deducted. Only gain in excess of accumulated depreciation qualifies as Section 1231 gain, which gets long-term capital gain treatment if the year’s net Section 1231 gains exceed Section 1231 losses.10Internal Revenue Service. Publication 544 – Sales and Other Dispositions of Assets

Section 1250 Recapture on Real Property

Gain on depreciable real property (buildings and structural components) falls under Section 1250. Only the excess of accelerated depreciation over straight-line is recaptured as ordinary income.11Office of the Law Revision Counsel. 26 USC 1250 – Gain from Dispositions of Certain Depreciable Realty Because most real property placed in service after 1986 uses straight-line, that recapture is often zero. The gain attributable to straight-line depreciation is still taxed at a maximum rate of 25% under the “unrecaptured Section 1250 gain” rules.

Section 197 Intangibles and Goodwill

This is where sellers most often get the treatment wrong. Amortizable Section 197 intangibles, including goodwill, are treated as Section 1245 property.12Office of the Law Revision Counsel. 26 USC 1245 – Gain from Dispositions of Certain Depreciable Property Gain is ordinary income to the extent of all amortization previously deducted.10Internal Revenue Service. Publication 544 – Sales and Other Dispositions of Assets Goodwill acquired in a prior transaction and amortized over 15 years generates ordinary income recapture equal to every dollar of that amortization on the current sale.13Office of the Law Revision Counsel. 26 USC 197 – Amortization of Goodwill and Certain Other Intangibles

Only gain above the total amortization taken can be Section 1231 gain. When multiple Section 197 intangibles are sold together, they’re aggregated and treated as a single asset for recapture, which prevents offsetting a loss on one against a gain on another.12Office of the Law Revision Counsel. 26 USC 1245 – Gain from Dispositions of Certain Depreciable Property Internally generated goodwill that was never recorded on the seller’s books has no amortization history, so gain on that portion is fully Section 1231 gain.

Net Investment Income Tax

On top of capital gains rates, the 3.8% net investment income tax may apply. Its thresholds ($200,000 single, $250,000 married filing jointly) are not indexed and catch more sellers every year.14Office of the Law Revision Counsel. 26 USC 1411 – Imposition of Tax Passive owners generally owe NIIT on the sale. Sellers who materially participated typically escape NIIT on the sale itself, though the rules are worth walking through with an advisor.15Internal Revenue Service. Questions and Answers on the Net Investment Income Tax

Form 8594 and the Purchase Price Allocation

Both buyer and seller must file Form 8594 (Asset Acquisition Statement) with their income tax returns for the year of sale.7Internal Revenue Service. Instructions for Form 8594 The form reports how the total purchase price was allocated across seven IRS-defined asset classes and must match the allocation in the purchase agreement. Under Section 1060, a written allocation agreed to by buyer and seller binds both parties unless the IRS finds it inappropriate.2Office of the Law Revision Counsel. 26 USC 1060 – Special Allocation Rules for Certain Asset Acquisitions

The allocation is residual: consideration is applied to Class I first at face value, then to each higher class at fair market value, with whatever remains landing in Class VII as goodwill. This is why the allocation gets negotiated hard. The buyer wants more in depreciable assets for faster write-offs; the seller wants more in capital gain categories.

A late or incorrect Form 8594 triggers a penalty of $250 per return, up to $3,000,000 per year. Correction within 30 days drops the penalty to $50. Intentional disregard raises it to $500 per return with no annual cap.16eCFR. 26 CFR 301.6721-1 – Failure to File Correct Information Returns Later adjustments (a true-up, a purchase price dispute) require an amended Form 8594 for the year the change is recognized.7Internal Revenue Service. Instructions for Form 8594

Final Filings and Entity Dissolution

The journal entry and the shareholder distributions don’t end the seller’s obligations. Several filings are needed to formally close the entity.

Corporations must file Form 966 within 30 days of adopting a resolution to dissolve or liquidate; an amended plan requires a new Form 966 within 30 days of the amendment.17Internal Revenue Service. Form 966 – Corporate Dissolution or Liquidation18eCFR. 26 CFR 1.6043-1 – Return Regarding Corporate Dissolution or Liquidation

Final employment tax returns need the “final” box checked. On Form 941 (quarterly) or Form 944 (annual), enter the date final wages were paid. File Form 940 for the calendar year of final wages and mark it final.19Internal Revenue Service. Closing a Business The entity’s final income tax return (Form 1120, 1120-S, 1065, or Schedule C, as applicable) must also indicate it is the final return.

Most states require articles of dissolution filed with the Secretary of State, and many require a tax clearance certificate before allowing dissolution to proceed. A bulk sale notice to state tax authorities, typically filed 10 to 12 days before closing, may be needed to prevent the buyer from inheriting the seller’s unpaid state tax liabilities. Missing the clearance step can leave the buyer exposed to the seller’s historical sales tax, payroll tax, and income tax bills.

The seller should cancel state business licenses and permits and, by writing to the IRS, close the employer identification number once all final returns are filed and accepted. Until that’s done, the entity keeps accruing filing obligations and potential penalties.