Sooner or later a tractor or trailer leaves the books: you sell it, trade it in on a newer one, or it is repossessed. The tax result depends on what the truck is worth against what is left of its cost after depreciation, and depreciation you already took matters more than most owners expect. This guide reads Publication 544 (2025) and 26 U.S.C. 1031. It is for owners who have deducted depreciation, including section 179 or bonus depreciation, on a truck. It is general information; have a preparer figure the actual numbers before you sign a deal, because the answer can change what the truck really costs you.
Gain or loss: amount realized against adjusted basis
Publication 544 says a gain is the amount you realize from a sale or exchange of property that is more than its adjusted basis, and a loss is the reverse. The amount realized is the total of all the money you receive plus the fair market value of all property or services you receive. Adjusted basis is your original cost or other basis increased by certain additions and decreased by certain deductions, and the pub says the decreases include depreciation. Every dollar of depreciation, and any section 179 amount, therefore lowers the basis you subtract from the sale price.
Depreciation recapture
The publication says a gain on the disposition of section 1245 property is treated as ordinary income to the extent of depreciation allowed or allowable on the property, and that any gain beyond that part is a section 1231 gain. Section 1245 property includes personal property, tangible or intangible, that is or has been subject to an allowance for depreciation. A truck is tangible personal property used in a business. The pub says to use Part III of Form 4797 to figure the ordinary income part. The pub says the greater of the depreciation allowed or allowable is generally used, and that if you took no depreciation deduction at all, the allowable amount is figured using the straight-line method.
A worked example (made-up figures)
| Sold for $55,000 | Sold for $140,000 | |
|---|---|---|
| Original cost | $120,000 | $120,000 |
| Depreciation taken (including any section 179) | $90,000 | $90,000 |
| Adjusted basis | $30,000 | $30,000 |
| Gain | $25,000 | $110,000 |
| Ordinary income (up to depreciation taken) | $25,000 | $90,000 |
| Remainder, section 1231 gain | $0 | $20,000 |
A sale below adjusted basis is a loss instead. The pub says a net section 1231 loss is an ordinary loss. The rates on each kind of gain are a preparer’s question and are not addressed here.
A trade-in is not a tax-free swap anymore
Under 26 U.S.C. 1031(a), no gain or loss is recognized on the exchange of real property held for productive use in a trade or business or for investment, if exchanged solely for real property of like kind. The statute is headed “Exchange of real property held for productive use or investment”. Publication 544 says the nonrecognition rules for like-kind exchanges apply only to exchanges of real property, and that the exchange of noncash assets that are not real property is considered non-like-kind property received or paid.
Read plainly, trading a truck for a truck is not a like-kind exchange under those texts. The old truck is treated as disposed of, with gain or loss figured as above, and the new truck is a new purchase with its own cost basis. How the dealer’s trade-in allowance is counted in the amount realized and in the new truck’s cost is what your preparer works out from the purchase paperwork. Ask for the allowance to be shown on the bill of sale.
Other ways a truck leaves
- Repossession or foreclosure: the pub says you figure and report gain or loss in the same way as from a sale or exchange, as the difference between your adjusted basis and the amount realized.
- Abandonment: the pub says a loss from the abandonment of business property is generally an ordinary loss.
- Sales to relatives or related persons have separate rules in chapter 2 of the pub.
What to keep
- Bill of sale for the purchase, and for the sale, showing price and date.
- The depreciation you have taken each year, by asset.
- Costs of sale you can document.
- Any lender payoff statement, since a loan assumed or paid is part of the amount realized.
What Dispatch does today, and what it does not
| In this guide | Dispatch today |
|---|---|
| Gain, recapture and Form 4797 | Not offered: Dispatch does not keep depreciation, compute gain or recapture, or prepare Form 4797. |
| Whether to sell or trade a truck | Not offered: Dispatch gives no tax or purchase advice. Its cost per mile model can show what a truck’s fixed costs add per mile, which is a pricing input. |
Checked against the product’s code and its changelog on November 21, 2026, a Saturday. Dispatch is in a private beta with sample freight; nothing here has been used on a live load.
Sources
- Publication 544 (2025), Sales and Other Dispositions of Assets (IRS, read November 21, 2026, a Saturday)
- 26 U.S.C. 1031: exchange of real property held for productive use or investment (Cornell LII, read November 21, 2026, a Saturday)
General information, not legal, tax or financial advice. Rules change; check the source for your situation.