The federal income tax on the sale of fixed assets almost never applies at a single rate. The IRS splits your gain into two layers: the portion equal to the depreciation you claimed (or could have claimed) is recaptured as ordinary income, and any gain above that generally qualifies for long-term capital gains rates if you held the asset more than a year. How much falls into each layer depends on whether you sold equipment or real estate, how much depreciation you took, and what other gains and losses you’ve reported in recent years.
How the Gain Gets Split
Depreciable property and real property used in a trade or business are specifically excluded from the definition of a capital asset under Section 1221.1Office of the Law Revision Counsel. 26 U.S. Code 1221 – Capital Asset Defined They fall instead under Section 1231, which covers business-use depreciable property and real property held more than one year.2Office of the Law Revision Counsel. 26 U.S. Code 1231 – Property Used in the Trade or Business and Involuntary Conversions Section 1231 is favorable to sellers: net gains flow through as long-term capital gains, while net losses come out as ordinary losses fully deductible against other income.
Before that netting happens, though, the depreciation recapture rules under Sections 1245 and 1250 pull part of the gain out and tax it as ordinary income. What survives recapture is what gets Section 1231 treatment. Assets held one year or less don’t qualify for Section 1231 at all; any gain is ordinary income at your marginal rate.
Figuring Your Adjusted Basis
Gain equals sale price minus adjusted basis, so basis is the number that determines everything else. Start with the purchase price plus costs directly tied to acquiring the asset. For equipment, that includes sales tax, shipping, and installation. For real estate, add title insurance, legal fees, and recording fees.3Internal Revenue Service. Topic No. 703, Basis of Assets
Capital improvements increase basis. Adding a loading dock, replacing a roof, or overhauling a machine’s engine all qualify because they extend useful life or add value. Routine repairs and maintenance don’t; those are current-year expenses.
Depreciation reduces basis, and this is where sellers get burned. The IRS reduces your basis by depreciation “allowed or allowable,” whichever is greater.4Office of the Law Revision Counsel. 26 U.S.C. 1245 – Gain From Dispositions of Certain Depreciable Property If you forgot to claim depreciation for three years, your basis still drops as if you had. The only exception is proving through adequate records that you actually claimed less than the allowable amount.
Depreciation Recapture: Equipment vs. Real Estate
The recapture rules differ sharply by asset type, and the difference can be worth tens of thousands of dollars.
Section 1245: Equipment, Vehicles, and Machinery
Section 1245 covers most tangible personal property used in a business: machines, vehicles, office furniture, computers. The recapture is aggressive. Your entire gain is treated as ordinary income up to the total depreciation you claimed or could have claimed.4Office of the Law Revision Counsel. 26 U.S.C. 1245 – Gain From Dispositions of Certain Depreciable Property Only gain above that figure escapes to Section 1231.
Because most equipment depreciates quickly under MACRS or gets fully expensed under Section 179, the entire sale gain is often recaptured. If you expensed $80,000 of equipment under Section 179 and later sell it for $30,000, that full $30,000 is ordinary income. Your adjusted basis is zero, and the $30,000 gain is well below the $80,000 of depreciation claimed.
Section 1250: Buildings and Real Estate
Section 1250 covers depreciable real property like office buildings, warehouses, and rental properties.5Office of the Law Revision Counsel. 26 U.S. Code 1250 – Gain From Dispositions of Certain Depreciable Realty The rules are gentler. Because most real estate is depreciated straight-line, there’s typically no ordinary-income recapture under Section 1250 itself. The gain attributable to straight-line depreciation becomes “unrecaptured Section 1250 gain,” taxed at a maximum rate of 25%.6Office of the Law Revision Counsel. 26 U.S. Code 1 – Tax Imposed Any gain above total depreciation claimed rolls into Section 1231 and can qualify for 15% or 20% long-term capital gains rates.
The practical spread is wide. A $100,000 gain on equipment can be taxed at rates up to 37% through Section 1245 recapture. The same $100,000 gain on a building has its depreciation portion capped at 25%, with the balance potentially at 15% or 20%.
Section 1231 Netting and the Five-Year Lookback
Whatever gain survives depreciation recapture combines with your other Section 1231 gains and losses for the year. A net gain becomes long-term capital gain; a net loss becomes an ordinary loss deductible without the $3,000 cap that limits capital losses.7Internal Revenue Service. Publication 544 – Sales and Other Dispositions of Assets
The five-year lookback rule blocks taxpayers from harvesting ordinary losses one year and capital gains the next. If you deducted net Section 1231 losses in any of the previous five years, your current-year net Section 1231 gain is recharacterized as ordinary income up to the amount of those unrecaptured prior losses.7Internal Revenue Service. Publication 544 – Sales and Other Dispositions of Assets Once absorbed, those losses stop triggering the lookback. Business owners who claimed disposition losses in recent years shouldn’t assume this year’s gain automatically gets capital gains rates.
2026 Rates on the Capital-Gain Portion
Long-term capital gains rates for 2026 are 0%, 15%, or 20%, based on taxable income and filing status.8Internal Revenue Service. Topic No. 409, Capital Gains and Losses
- 0% applies to taxable income up to $49,450 (single), $98,900 (married filing jointly), or $66,200 (head of household).
- 15% applies from those thresholds up to $545,500 (single), $613,700 (married filing jointly), or $579,600 (head of household).
- 20% applies above those upper thresholds.
Gains on assets held one year or less get no preferential rate. They are taxed at ordinary rates ranging from 10% to 37% in 2026.9Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026
The 3.8% Net Investment Income Tax
A 3.8% surtax on net investment income applies once modified adjusted gross income exceeds $250,000 (married filing jointly), $200,000 (single or head of household), or $125,000 (married filing separately).10Office of the Law Revision Counsel. 26 U.S.C. 1411 – Imposition of Tax Those thresholds are not indexed for inflation. The tax hits the lesser of your net investment income or the amount by which MAGI exceeds the threshold, and a large asset sale can push you over the line even if your regular income wouldn’t.
Capital gains from selling business assets count as investment income, though wages and active self-employment income don’t.11Internal Revenue Service. Questions and Answers on the Net Investment Income Tax So the effective top rate on a long-term capital gain can reach 23.8%, and unrecaptured Section 1250 gain can reach 28.8%.
Reducing or Deferring the Tax
Offset Gains With Capital Losses
Capital losses realized in the same year offset capital gains dollar for dollar. If losses exceed gains, you can deduct up to $3,000 of the excess against ordinary income ($1,500 married filing separately), and unused losses carry forward indefinitely.8Internal Revenue Service. Topic No. 409, Capital Gains and Losses Short-term losses offset short-term gains first and long-term losses offset long-term gains first, but anything left crosses over. A large planned sale is a natural moment to harvest losses elsewhere in the same tax year.
Section 1031 Like-Kind Exchanges
A Section 1031 exchange defers the entire gain, recapture included, when you swap one piece of real property for another. Since 2018, this deferral applies only to real property used in a trade or business or held for investment; equipment and other personal property no longer qualify.12Office of the Law Revision Counsel. 26 U.S.C. 1031 – Exchange of Real Property Held for Productive Use or Investment
The deadlines are strict. Identify the replacement property within 45 days of transferring the old one, and complete the exchange within 180 days or by your return due date, whichever comes first.12Office of the Law Revision Counsel. 26 U.S.C. 1031 – Exchange of Real Property Held for Productive Use or Investment Miss either date and the full gain becomes taxable. Most exchanges use a qualified intermediary so you never take constructive receipt of the sale proceeds.
Any cash or non-like-kind property you receive (called “boot”) is taxable up to its value. Debt relief counts too. If the buyer assumes your $200,000 mortgage and the replacement property carries only a $150,000 mortgage, the $50,000 difference is treated as cash received. Related-party exchanges trigger a two-year holding requirement on the replacement property. Report the exchange on Form 8824.13Internal Revenue Service. Instructions for Form 8824
Installment Sales
If the buyer pays over multiple years, the installment method spreads the taxable gain across the years payments arrive. An installment sale is any sale where at least one payment comes in a later tax year.14Internal Revenue Service. About Form 6252, Installment Sale Income You divide gross profit by the contract price to get a gross profit percentage, and that percentage applies to each payment. The rest of each payment is a tax-free return of basis.15Internal Revenue Service. Publication 537, Installment Sales Interest on the note is taxed separately as ordinary income.
A critical catch: depreciation recapture under Section 1245 or 1250 cannot be deferred. The full recapture amount is taxed in the year of sale even if you haven’t collected enough cash to cover it. Only gain above the recapture spreads across future payments. Report installment sales on Form 6252 for each year you receive payments.
Reporting and Payment
Form 4797 is the main form for the sale of business property. Part I handles Section 1231 gains and losses, Part II covers ordinary gains and losses, and Part III calculates the depreciation recapture.16Internal Revenue Service. Instructions for Form 4797 – Sales of Business Property Net Section 1231 gains flow from Form 4797 to Schedule D of Form 1040, where they combine with your other capital gains and losses.17Internal Revenue Service. About Schedule D (Form 1040), Capital Gains and Losses Installment sales use Form 6252, and like-kind exchanges use Form 8824.
Pull your records together before you start: the original purchase invoice, receipts for capital improvements, depreciation schedules showing each year’s deduction, and the closing statement or sale agreement. The IRS generally has three years to assess additional tax after you file, so keep the paperwork at least that long.18Internal Revenue Service. How Long Should I Keep Records
Estimated Tax on a Large Sale
A big gain can create an underpayment problem. You avoid the penalty if total payments (withholding plus estimated payments) equal at least 90% of your current-year tax or 100% of the prior year’s tax, whichever is less. If prior-year AGI exceeded $150,000 ($75,000 if married filing separately), the prior-year safe harbor rises to 110%.19Internal Revenue Service. Underpayment of Estimated Tax by Individuals Penalty If the sale closes mid-year and pushes your bill up, a quarterly estimated payment is often the cleanest way to stay inside a safe harbor.
The tax is due by your filing deadline, typically April 15. The failure-to-pay penalty runs 0.5% of the unpaid balance per month, capped at 25%, and interest compounds daily on top.20Internal Revenue Service. Failure to Pay Penalty Payment options include IRS Direct Pay, EFTPS, and credit or debit card.21Internal Revenue Service. Payments