Tax Treatment of Livestock for Farmers: Raised vs Purchased, Depreciation, and Sale
Livestock is one of the few asset classes where the tax treatment splits sharply depending on how the animal arrived on the farm. An animal born and raised in your operation has a zero tax basis because every cost that went into producing it (feed, veterinary care, labor) was already deducted as a current expense on Schedule F. An animal you purchased carries a capitalized basis that you recover through depreciation over its useful life. That single distinction, raised versus purchased, drives the basis calculation, the depreciation method, the character of gain on sale, and the replacement rules when a sale is forced by drought or disease. Getting the classification right matters because a mistake compounds through the return: wrong basis produces wrong depreciation, wrong depreciation produces wrong gain, and wrong gain produces the wrong tax rate.
- Raised livestock has a zero basis. All costs (feed, vet, labor) were deducted on Schedule F as incurred, so there is nothing left to capitalize or depreciate.
- Purchased livestock is capitalized and depreciated under MACRS: 3-year property for breeding hogs, racehorses over 2 and other horses over 12; 5-year for breeding or dairy cattle and breeding sheep and goats; 7-year for breeding and work horses 12 or younger and livestock with no listed class.
- Sale of livestock held for draft, dairy, breeding, or sporting purposes qualifies for IRC 1231 treatment (capital gain rates) if you held it 24 months or more for cattle and horses, or 12 months or more for other livestock.
- 100% bonus depreciation is now permanent under the One Big Beautiful Bill Act (signed July 2025), and the Section 179 expensing limit for 2026 is $2,560,000.
What’s the tax basis of raised livestock?
Zero. When you raise an animal from birth on your farm, the costs of producing that animal (feed, pasture, veterinary services, breeding fees, hired labor for animal care) are deducted as ordinary farming expenses on Schedule F in the year they are paid or incurred. Because those costs have already reduced your taxable income, there is nothing left to capitalize as basis in the animal itself.
This means that when you eventually sell a raised animal, the entire sale price is gain. If you sell a raised cow for $2,500, your gain is $2,500 because your adjusted basis is zero. The character of that gain (ordinary versus capital) depends on the purpose for which you held the animal and how long you held it, which is covered below under the IRC 1231 discussion.
The zero-basis rule applies regardless of how much you actually spent to raise the animal. A rancher who spends $1,200 in feed, vet bills, and pasture costs to raise a heifer to breeding age has deducted all $1,200 on Schedule F. The heifer’s basis is still zero.
How is purchased livestock depreciated?
When you buy livestock for use in your farming operation (not for resale), the purchase price is a capital expenditure. You recover that cost through depreciation under the Modified Accelerated Cost Recovery System (MACRS), codified at IRC 168. The recovery period depends on the type of animal:
- 3-year property: breeding hogs, racehorses placed in service when older than 2 years, and other horses placed in service when older than 12
- 5-year property: breeding or dairy cattle, and breeding sheep and goats
- 7-year property: breeding and working horses 12 years old or younger, and livestock with no listed class
The default MACRS convention for livestock is the half-year convention (or the mid-quarter convention if more than 40% of your total depreciable property for the year is placed in service in the last quarter). The depreciation method is 200% declining balance (GDS), switching to straight-line when straight-line yields a larger deduction.
A farmer who purchases a breeding bull for $8,000 capitalizes the $8,000 and depreciates it over five years. Without bonus depreciation or Section 179, the first-year deduction under MACRS (200% DB, half-year) would be $1,600 (20% of $8,000). With the current 100% bonus depreciation rules, the farmer can expense the entire $8,000 in the year the bull is placed in service.
What role do bonus depreciation and Section 179 play?
Two provisions allow farmers to front-load (or entirely eliminate) the multi-year depreciation schedule for purchased livestock.
100% bonus depreciation under IRC 168(k) is now permanent. The One Big Beautiful Bill Act, signed on July 4, 2025, restored the 100% rate for qualifying property acquired and placed in service after January 19, 2025, and eliminated the phase-down that had been reducing the rate by 20 percentage points per year under the TCJA. Purchased livestock with a MACRS recovery period of 20 years or less (all livestock qualifies) is eligible. The animal can be new to you or previously owned by someone else; used property has been bonus-eligible since 2017.
Section 179 expensing under IRC 179 allows you to elect to expense the cost of qualifying property (including livestock) in the year it is placed in service, up to the annual dollar limit. For 2026, the Section 179 limit is $2,560,000 (the limit adjusts for inflation annually). The phase-out threshold (where the deduction begins to reduce dollar-for-dollar) starts at $4,090,000 in total qualifying property placed in service during the year. Unlike bonus depreciation, Section 179 is limited to the taxpayer’s taxable income from active trade or business (farming income qualifies), so it cannot create or increase a net loss.
The practical difference: bonus depreciation can generate a tax loss (which may create a net operating loss), while Section 179 cannot. Most farmers use bonus depreciation for large livestock purchases and reserve Section 179 for situations where they want to control the amount of first-year expensing precisely.
What are breeding, draft, dairy, and sporting livestock?
The distinction matters for two reasons: the character of gain on sale and the holding period required to reach that favorable treatment.
Under IRC 1231, livestock held for draft, dairy, breeding, or sporting purposes is treated as “property used in a trade or business” (sometimes called Section 1231 property). When sold at a gain after the required holding period, the gain is taxed at capital gain rates rather than ordinary income rates. Livestock held primarily for sale to customers in the ordinary course of business (feeder cattle raised or purchased for resale, for example) is inventory, and the gain is always ordinary income regardless of the holding period.
The categories overlap in practice. A dairy cow is held for dairy purposes. A breeding bull is held for breeding purposes. A ranch horse used to work cattle is held for draft purposes (draft meaning work, not a military conscription). A horse trained and used for competitive events is held for sporting purposes. An animal can serve more than one qualifying purpose; the key is that it is not held primarily for sale to customers.
Feeder livestock (animals purchased young, fattened, and sold) are the most common example of livestock that does not qualify. A feedlot operator who buys 200 steers, feeds them for 120 days, and sells them to a packer is selling inventory. The gain is ordinary income reported on Schedule F, not Section 1231 gain.
How does IRC 1231 apply to livestock sales?
When a farmer sells or otherwise disposes of livestock that qualifies as Section 1231 property (held for draft, dairy, breeding, or sporting purposes), the gain receives capital gain treatment if the animal has been held for longer than the applicable holding period. The holding periods are set by IRC 1231(b)(3):
- 24 months for cattle and horses
- 12 months for hogs, sheep, goats, and all other livestock
The holding period begins on the date you acquire the animal (the purchase date for purchased livestock, the birth date for raised livestock). If you sell a breeding cow that you raised from birth and held for 26 months, the entire sale price is Section 1231 gain (long-term capital gain rates) because the cow was held for 24 months or more and was used for breeding purposes. The basis is zero (because she was raised), so the gain equals the full sale price.
For purchased livestock, the gain is the sale price minus the adjusted basis (original cost minus accumulated depreciation). If you bought a dairy cow for $2,000, claimed $2,000 in bonus depreciation in year one (reducing the basis to zero), and sell her three years later for $1,500, the $1,500 gain is Section 1231 gain. However, IRC 1245 recapture applies: to the extent of depreciation previously claimed, the gain is recharacterized as ordinary income. Since you claimed $2,000 in depreciation and the gain is only $1,500, the entire $1,500 is recaptured as ordinary income under Section 1245. Section 1231 capital gain treatment applies only to the portion of gain that exceeds total depreciation taken.
There is also a five-year lookback rule under IRC 1231(c). If you had net Section 1231 losses in any of the five preceding tax years that were treated as ordinary losses, your current-year Section 1231 gains are recharacterized as ordinary income to the extent of those unrecaptured losses. This prevents taxpayers from alternating ordinary losses and capital gains on the same type of property.
What happens when livestock is sold involuntarily?
Farmers sometimes face involuntary dispositions: a drought forces a herd reduction because pasture and water are insufficient, a disease outbreak requires culling, or a flood or wildfire kills animals. IRC 1033 provides relief by allowing the farmer to defer gain on an involuntary conversion if the proceeds are reinvested in similar property within the replacement period.
The general replacement period is two years from the close of the tax year in which the gain is realized. For livestock sold or exchanged solely because of drought, flood, or other weather-related conditions, IRC 1033(e) extends the replacement period to four years. The IRS publishes a list of drought-affected counties each year (IRS Notice, typically issued in the fall) that establishes which counties qualify for the four-year window.
To qualify for deferral, the sale must be directly connected to the qualifying event. A rancher who sells 100 head because drought reduced the carrying capacity of the ranch and who reinvests the proceeds in replacement cattle within the replacement period recognizes no gain in the year of the forced sale. The basis of the replacement cattle is reduced by the deferred gain, preserving the tax liability for a future disposition.
If the farmer does not reinvest the full proceeds, gain is recognized to the extent the proceeds exceed the cost of replacement property. If the farmer invests nothing, the full gain is recognized. The election to defer is made on the return for the year of the involuntary conversion (or an amended return), and the farmer must report the reinvestment on the return for the year in which replacement property is acquired.
There is also a special rule under IRC 451(g) that allows cash-method farmers whose principal business is farming to defer income from excess livestock sales caused by drought, flood, or other weather conditions, when the area has been designated for federal assistance. Under this provision, the income from the excess sales (the number of animals sold above what would have been sold in a normal year) is reported in the following tax year rather than the year of sale. This is an income-deferral rule, not a gain-exclusion rule; it shifts the income by one year to give the farmer time to replace the herd.
How does the QBI deduction apply to farm income?
The qualified business income (QBI) deduction under IRC 199A allows eligible taxpayers to deduct up to 20% of qualified business income from a pass-through trade or business, including farming. The One Big Beautiful Bill Act made the QBI deduction permanent (it had been set to expire after 2025 under the TCJA). Farming is not a “specified service trade or business” (SSTB), so the SSTB income limitations do not apply to farm income regardless of the farmer’s taxable income level.
For a sole proprietor farmer filing Schedule F, QBI is generally the net profit from farming after ordinary and necessary business expenses (including depreciation on purchased livestock). The 20% deduction is taken on the individual return (Form 1040) and reduces taxable income but not adjusted gross income or self-employment income.
The deduction is subject to the W-2 wage and qualified property limitations for taxpayers above the income threshold ($201,750 for single filers, $403,500 for married filing jointly in 2026, indexed for inflation). Farmers who have no employees (and therefore pay no W-2 wages) may still claim the deduction if they have sufficient unadjusted basis immediately after acquisition (UBIA) of qualified property, which includes depreciable assets like purchased livestock, equipment, and buildings. The UBIA of an asset counts toward the limitation for the longer of 10 years or the MACRS recovery period, so purchased cattle (5-year recovery) contribute UBIA for 10 years after acquisition.
A farmer with $300,000 in net Schedule F income and no employees would need at least $2,400,000 in UBIA of qualified property to claim the full $60,000 QBI deduction once fully above the phase-in range, because with no W-2 wages the limit is 2.5% of UBIA. Below the threshold, the full 20% deduction applies without regard to the W-2/UBIA limitation.
What records should a livestock farmer maintain?
The IRS expects farmers to maintain records that substantiate both the current-year expenses deducted on Schedule F and the capital account for purchased livestock. For raised livestock, the recordkeeping challenge is primarily on the expense side: documenting that the feed, vet, and labor costs deducted were actually incurred and are ordinary and necessary farming expenses. For purchased livestock, the records must also support the purchase price, the date placed in service, the depreciation method and recovery period elected, and the purpose for which each animal is held (breeding, dairy, draft, or sporting).
When animals are sold, the records must establish the holding period (to determine whether the Section 1231 thresholds are met), the adjusted basis at the time of sale, and the character of the disposition (voluntary sale versus involuntary conversion). For involuntary conversions, the farmer needs documentation linking the sale to the qualifying event: drought declarations, veterinary reports for disease, or insurance documentation for weather losses.
Farmers who comingle raised and purchased animals in the same herd should maintain individual animal identification (ear tags, brands, RFID) or at minimum a lot-level tracking system that can distinguish purchased animals (with basis) from raised animals (zero basis). Without that distinction, the IRS may challenge the basis claimed on animals sold, and the farmer bears the burden of proof.
How do these rules connect to the farm tax picture?
Livestock transactions do not exist in isolation on a farm return. The depreciation deductions on purchased livestock reduce taxable income that flows into the self-employment tax calculation. A forced sale due to drought or disaster may coincide with crop insurance or disaster payments that are also reportable on Schedule F. The gain treatment on breeding herd liquidation affects the tax picture in a farm succession or estate plan, particularly when the next generation is acquiring the herd at stepped-up basis. And the QBI deduction, combined with the tax savings from bonus depreciation and Section 179, should inform the retirement plan contribution strategy since those contributions are calculated from net self-employment earnings.
Each of these decisions interacts with the others. A large bonus depreciation deduction in one year may push farm income low enough that the QBI deduction is less valuable (because there is less QBI to deduct 20% of), but may also create an NOL that carries forward. A forced herd liquidation may generate a large Section 1231 gain in one year, which could be offset by retirement plan contributions or deferred through IRC 1033 reinvestment. The planning opportunity is in coordinating these provisions across years, not optimizing any single one in isolation.
Related guides:
- Agriculture Farm Entity Structure Llc Partnership
- Agriculture Farm Retirement Plans Owner Operator
- Agriculture Farm Tax Deductions Expenses
- Agriculture Self Employment Tax Farm Income
Start with a Diagnostic: a CPA licensed in the US and Canada reads your file and tells you in writing what's wrong and how to fix it, three to four business days after you finish the questions. The report is $250. If you hire us for any work after that, you get the $250 back as a discount on that work. Or send us your return or your letter and get a fixed price, free.
One or two plain-English guides a week on US-Canada tax. No spam, unsubscribe anytime.
Done. The next guide will land in your inbox.
Yarik Yarosh, CPA. "Tax Treatment of Livestock for Farmers: Raised vs Purchased, Depreciation, and Sale." Blue Cloud CPA, September 4, 2026, updated October 4, 2026. https://bluecloudcpa.com/guides/agriculture-livestock-tax-treatment-raised-purchased
This guide is general information, not tax advice for your specific situation. Which points apply, and how, depends on your facts.