What Happens When You Sell a Section 179 Asset Early

What happens when you sell a Section 179 asset is simple: the gain is taxed as ordinary income up to the deduction. A full write-off leaves an adjusted basis of zero, so the whole sale price counts as gain. Only the part above original cost is a Section 1231 gain. The sale goes on Form 4797, Part III.
Key Takeaways
- Selling a Section 179 asset triggers depreciation recapture, taxed as ordinary income up to the deduction claimed.
- A fully expensed asset has an adjusted basis of zero, so every dollar of sale price is gain.
- Gain above the original cost is a Section 1231 gain, taxed at long-term capital gain rates.
- A sale reports on Form 4797 Part III, while a business use drop reports on Part IV.
- A trade-in is a taxable sale, and the trade-in allowance is the amount realized.
- A sale below the adjusted basis produces a loss and no recapture.
What Happens When You Sell a Section 179 Asset?
A Section 179 asset sale is a taxable sale, and part of the gain returns as ordinary income. The recaptured amount equals the lesser of the gain or the depreciation you deducted. The Internal Revenue Code calls this rule Section 1245 recapture, and it covers equipment, vehicles, computers and furniture.
The deduction was never a gift. The Section 179 write-off moved income out of earlier years. The sale moves part of that income back. According to the Internal Revenue Service (IRS), Section 179 property sold at a gain follows the Form 4797 rules for depreciated equipment.
Bonus depreciation follows the same path. According to the IRS, 100% bonus depreciation is now permanent for qualified property acquired after January 19, 2025. Every dollar expensed through Section 179 or bonus lowers the basis, and basis decides how much gain a sale creates. Early equipment sale planning shows that gain before it lands.
How Does a Section 179 Deduction Change the Adjusted Basis of an Asset?
A Section 179 deduction lowers the adjusted basis of an asset dollar for dollar. Adjusted basis equals original cost minus all depreciation allowed or allowable. A machine bought for $80,000 and fully expensed carries an adjusted basis of zero.
The phrase "allowed or allowable" matters. The IRS measures recapture against depreciation you could have claimed, even when a return skipped it. Missed deductions do not shrink the recapture later.
The flow below shows how cost becomes zero basis and then becomes gain. Each step uses the same $80,000 machine from the worked example later, which sits far inside the annual expensing limits.

An adjusted basis of zero has one clear result. Any sale price above zero is gain, and the next question is how the tax code sorts that gain.
Is Section 1245 Recapture Taxed as Ordinary Income?
Section 1245 recapture is taxed as ordinary income, at the same rates as wages or business profit. Ordinary income rates run from 10% to 37% in 2026. According to the IRS, the 37% rate starts at taxable income over $640,600 for single filers in 2026.
Recapture does not qualify for the lower capital gain rates. The recaptured amount also stays out of self-employment tax. According to Section 1402(a)(3) of the Internal Revenue Code, gain from selling business property is excluded from net earnings from self-employment.
Sole owners still report the gain on Form 4797 instead of Schedule C. Income tax applies, but the 15.3% self-employment tax does not, which limits self-employment exposure on the sale. Recapture stops at the amount of depreciation taken, and anything beyond that follows a different rule.
When Is the Gain on a Section 179 Asset a Section 1231 Gain?
The gain on a Section 179 asset is a Section 1231 gain only when the sale price exceeds the original cost. A Section 1231 gain is the profit above what you paid for the asset. A sale price at or below cost leaves no Section 1231 gain at all.
According to the IRS, Section 1231 covers depreciable property used in a trade or business and held for more than 1 year. Net Section 1231 gain is generally taxed as long-term capital gain. The IRS rates for 2026 are 0% up to $49,450, 15% up to $545,500 and 20% above that for single filers.
One rule can pull that gain back into ordinary income. According to the IRS, net Section 1231 gain is ordinary income up to unrecovered Section 1231 losses from the prior 5 years. A business that sold equipment at a loss in 2023 may owe ordinary rates on a 2026 Section 1231 gain.
The two gain types can appear in one sale, and a numeric example shows how they split.
How Do You Calculate the Gain When You Sell a Section 179 Asset?
Calculate the gain by subtracting the adjusted basis from the amount realized, then sorting the result into recapture and Section 1231 gain. Five steps cover every sale of Section 179 property.
- Find the amount realized, which is the sale price minus selling costs.
- Find the adjusted basis, which is original cost minus all depreciation and Section 179 deductions.
- Subtract the adjusted basis from the amount realized to get the gain or loss.
- Report ordinary income equal to the lesser of the gain or the total depreciation taken.
- Report any remaining gain above original cost as Section 1231 gain.
The table below applies those steps to three sales. Scenarios 1 and 2 use an $80,000 machine expensed in full under Section 179. Scenario 3 uses a $50,000 machine with $20,000 expensed.
| Scenario | Sale price | Ordinary income | Section 1231 result |
|---|---|---|---|
| 1. $80,000 machine, basis $0 | $30,000 | $30,000 | $0 |
| 2. $80,000 machine, basis $0 | $95,000 | $80,000 | $15,000 gain |
| 3. $50,000 machine, basis $30,000 | $25,000 | $0 | $5,000 loss |
Scenario 1 shows the common case, where the whole $30,000 is recapture. At an assumed 24% bracket, that adds $7,200 of federal tax. Scenario 2 shows the other case, because the price beat the $80,000 cost.
In scenario 2, the first $80,000 is ordinary income and the last $15,000 is Section 1231 gain. At 24% and 15%, the tax is $19,200 plus $2,250, or $21,450. The graphic below sums up those two gains.

Scenario 3 is the loss case, and it carries no recapture. A $5,000 Section 1231 loss is deductible against ordinary income. Reporting these results takes a specific part of Form 4797.
Where Do You Report the Sale of a Section 179 Asset on Form 4797?
You report the sale of a Section 179 asset on Form 4797, Part III, which figures recapture of depreciation. Form 4797 Part III sorts the gain into ordinary income, and the rest moves to Part I. Part I then carries net Section 1231 gain to Schedule D as long-term gain.
Part II takes the ordinary gains and losses, including recapture from Part III. According to the IRS, Part IV applies when Section 179 property falls to 50% or less business use. The same instructions say a gain with later payments follows the installment method, with Form 6252, unless the seller elects out.
Installment treatment does not defer recapture. Recapture income is recognized in the year of sale, even when the buyer pays over several years. Only the Section 1231 gain above cost can spread across later payment years.
The depreciation reporting trail starts at Form 4562 in the purchase year and ends at Form 4797 in the sale year. Part IV is a separate path, and it needs its own explanation.
What Is Section 179 Recapture When Business Use Drops to 50% or Less?
Section 179 recapture when business use drops to 50% or less is a separate charge that needs no sale. The recapture equals the Section 179 deduction minus the straight-line depreciation that would have been allowed. Form 4797 Part IV reports it, and the amount is ordinary income.
Take a $30,000 pickup over 6,000 pounds, fully expensed in year one. Five-year straight-line depreciation with the half-year convention allows $3,000 in year one and $6,000 in year two. Business use falls to 40% in year two, so the recapture is $30,000 minus $9,000, which is $21,000.
The recapture period for vehicles has its own table in a five-year vehicle test guide. Only the key point matters here, since a drop and a sale are two separate events. The graphic below sets Part III next to Part IV.

A single tax year can trigger both parts. A truck dropped to 45% business use in March and sold in October appears on Part IV and on Part III. The Part IV amount raises the basis, so the Part III gain shrinks by the same amount.
What Happens When You Trade In a Section 179 Asset?
A trade-in of a Section 179 asset counts as a sale of the old asset and a purchase of the new one. The trade-in allowance is the amount realized on the old asset. According to the IRS, like-kind exchange treatment for 2018 and later years covers only real property, so equipment trades are taxable.
Consider an $80,000 machine with a basis of zero, traded for a $100,000 replacement with a $30,000 allowance. The old machine produces $30,000 of recapture. The new machine costs $100,000, made up of $70,000 cash and the $30,000 allowance.
The new $100,000 cost can be expensed again. A $100,000 deduction cancels the $30,000 of recapture when the business has enough taxable income. Upgrade math like this belongs in replacement purchase timing before the contract is signed.
The same math applies to vehicles, though vehicle caps change the starting basis.
What Happens When You Sell a Depreciated Vehicle?
When you sell a depreciated vehicle that was expensed under Section 179, all the depreciation taken is recaptured up to the gain. A vehicle with a basis of zero turns the whole sale price into ordinary income. The sale reports on Form 4797, Part III, like any other equipment.
The heavy SUV cap shows how vehicles reach a zero basis. According to the IRS, the Section 179 cap for SUVs is $31,300 for 2025 and $32,000 for 2026. A $75,000 SUV placed in service in 2026 takes $32,000 under Section 179 and $43,000 of bonus depreciation.
That $75,000 SUV then has a basis of zero. A later sale for $40,000 creates $40,000 of ordinary income. The bonus depreciation recapture follows the same Section 1245 rule as the Section 179 amount.
Standard mileage users also face recapture. The IRS treats part of each business mile as depreciation, which lowers basis even when no depreciation schedule exists. These vehicle cases lead into the wider set of side questions below.
What Else Changes the Tax When You Sell a Section 179 Asset?
Several side topics change the tax result of a Section 179 asset sale. The sections below answer each one in short form.
Can You Avoid Depreciation Recapture?
You cannot fully avoid depreciation recapture on a taxable sale, but you can offset it. A replacement purchase expensed in the same year offsets the recapture. Section 1031 no longer helps, since it covers only real property for 2018 and later years.
Holding the asset until it wears out also works, since a disposal for zero creates no gain. A replacement bought as previously owned machinery qualifies for the same expensing.
Do You Owe Recapture If You Sell at a Loss?
You owe no recapture when you sell at a loss, because recapture cannot exceed the gain. A sale below adjusted basis produces a Section 1231 loss. That loss is deducted as ordinary loss, and it also feeds the 5-year lookback on later gains.
Does Depreciation Recapture Ever Go Away?
Depreciation recapture does not expire with time. The recapture waits until the asset is sold or traded. A fully expensed asset used for 10 years still carries the full recapture exposure on the sale date.
Do You Pay Both Capital Gains and Depreciation Recapture?
Yes, you pay both capital gains and depreciation recapture, but only when the sale price exceeds the original cost. Scenario 2 above shows the split. Recapture taxes the first $80,000 at ordinary rates, and long-term rates tax the last $15,000.
Why Does the Book Gain Differ From the Tax Gain?
The book gain differs from the tax gain because Section 179 is a tax election. Generally accepted accounting principles ignore it. Book basis keeps the asset on the balance sheet and depreciates it over its useful life. A clean asset register tracks both bases side by side.
How Do S Corporation and Partnership Owners Report the Sale?
S corporation and partnership owners report the sale on the entity return. The gain passes to each owner on a Schedule K-1. The entity files Form 4797 and the owners pay tax at their own rates. Recapture lands in ordinary income, so S corp owners should plan the sale year with the entity return in mind.
Which Records Prove the Gain on a Sale?
Records that prove the gain include the purchase invoice, Form 4562 copies, the placed-in-service date and the sale contract. According to the IRS, you keep property records until the limitations period expires for the year you dispose of the property. That period is generally 3 years.
Unreported recapture invites matching letters, so unreported gain notices are easier to answer with a full file.
Do the Section 179 Limits Change What You Can Replace?
The Section 179 limits change how much replacement equipment you can expense after a sale. According to the IRS, the 2025 limit is $2,500,000 with a phase-out starting at $4,000,000. For 2026, the IRS sets the limit at $2,560,000 with a phase-out starting at $4,090,000.
The 2026 limits are broken down in a separate post.
Can a CPA Help Plan the Sale of a Section 179 Asset?
A CPA can model the recapture before the sale and time it against replacement purchases. We run those numbers for equipment and vehicle owners, with Nischay Rawal, CPA, EA, leading the work. Call (305) 872-3096 to review a pending sale with NR CPAs accounting.
Every sale decision gets easier once the recapture amount is known, in a high-income year or a low-income year. The plan for what happens when you sell a Section 179 asset should exist before the buyer is found.
That plan is the core of asset disposal planning, which compares sale timing, replacement purchases and the tax bracket in each year.

%201.avif)



.webp)
.webp)








