The short answer
The land, barns, arenas, paddock fencing and other permanent improvements of a horse farm can be exchanged under section 1031, but the horses, trailers, tractors and the boarding business are personal property and intangibles that are taxed when sold. If you live on the farm, the house and the land that goes with it fall under the home-sale exclusion, and the IRS lets you apply that exclusion first and exchange the business portion. Check how your barns were depreciated before you choose a replacement: a barn that qualifies as a single purpose livestock structure is section 1245 property, and its recapture can surface even in a full exchange.
At a glance
| Like-kind part | Land, barns, indoor arenas, paddock fences, wells and other permanent improvements |
|---|---|
| Taxed outside the exchange | Horses, trailers, equipment, tack and the boarding or training business |
| Farm buildings | 20-year GDS, 25-year ADS |
| Single purpose livestock structure | 10-year property and section 1245 property, with strict limits on work space |
| Breeding and work horses | 7-year if 12 or younger when placed in service, 3-year if older |
| Horses as section 1231 property | Held 24 months or more for draft, breeding, racing or sporting use |
| Home on the farm | Section 121 applies first, up to $250,000 or $500,000 joint, then section 1031 |
| Profit presumption for horse activities | Profit in 2 of 7 years instead of 3 of 5 |
A horse-farm sale is three sales: the home, the business real estate, and the horses and equipment
When you live on the farm, Reg. section 1.121-1(e) requires you to allocate the price and basis between the dwelling and any part of the property separate from it that was not used as your home, and its own example splits a house with 7 acres from a stable with 28 acres. Use the allocation method you used for depreciation. The residence share can be excluded under section 121, up to $250,000 or $500,000 on a qualifying joint return.
Rev. Proc. 2005-14 lets the same sale use both rules: section 121 is applied to gain before section 1031, cash received for the business property counts as boot only to the extent it exceeds the gain excluded on that property, and the excluded gain is added to the replacement's basis. That is how a seller can take tax-free cash for the home and exchange the barns and pasture; our primary residence answer covers the home side in more depth.
The third sale is personal property. Horses, trailers, tractors, mowers, jumps and tack are not like-kind to real property since 2018, and any value a buyer pays for boarding contracts, a training clientele or a farm name is an intangible. That money is taxed in the year of sale and should be paid outside the qualified intermediary.
Barns and arenas are real property for the exchange, but some barns recapture like equipment
Reg. section 1.1031(a)-3 lists barns among buildings and fences, paving and roads among inherently permanent structures, so the barns, an enclosed arena, run-in sheds that are permanently affixed, paddock fencing and lanes all go through the exchange. Portable stalls and panels, walkers that bolt down but can be moved, and arena drags are equipment.
Depreciation is a different question. Publication 225 gives farm buildings a 20-year GDS life and single purpose agricultural structures 10 years. Under section 168(i)(13), a single purpose livestock structure is specifically designed, built and used to house, raise and feed a particular type of livestock, with work space only for caring for the animals and maintaining the structure; a barn with an office, lounge or retail tack shop may not meet that test.
A barn that does qualify is section 1245 property under section 1245(a)(3)(D). Reg. section 1.1031(a)-3(a)(7) keeps the section 1245 rules in force in an exchange, and section 1245(b)(4) caps recapture at the gain recognized plus the fair market value of non-1245 like-kind property you receive. Hypothetical: a barn with $250,000 of depreciation taken, exchanged with the farm into $2,000,000 of apartment property, can produce $250,000 of ordinary income with no cash received; run your own numbers with your CPA.
Horses, the boarding business and the hobby-loss rules are handled outside the exchange
Horses held 24 months or more for draft, breeding, racing or sporting purposes are section 1231 property according to Publication 225, so a gain can be capital gain, but depreciation taken on them is recaptured as ordinary income. Publication 946 lists breeding and work horses at 7 years if 12 or younger when placed in service and 3 years if older, and race horses over two at 3 years.
If the riding or breeding side has lost money, section 183(d) presumes a horse activity is run for profit only if it shows a profit in 2 of 7 years. That affects your deductions, not automatically the land. Reg. section 1.183-1(d)(1) treats farming and holding land for appreciation as one activity only if the farming reduces the net cost of carrying the land, so land you held for appreciation can still be investment property even when the horse operation is a hobby.
Leasing the facility to a trainer or boarding operator under a written lease is the cleanest record: the real estate earns rent, the operator owns the horses and the business, and a buyer can underwrite the lease.
Replacement choices: a smaller farm, a leased facility, or no horses at all
Any U.S. real property held for business or investment is like-kind, so the barns and pasture can become rental homes, net-leased buildings or a traditional DST. Before you identify, have your CPA apply the section 1245 cap to any qualifying barns, because a replacement of land and buildings alone is non-1245 property that can release that recapture. A bonus depreciation fund may help absorb ordinary income that remains, subject to the passive-activity rules. Cattle operations with grazing permits are covered on the ranch page, and row-crop and livestock splits on the farmland page.
- Keep the house, sell the acreage: section 121 is not used, and only the land and barns sold are exchanged.
- Sell everything and exchange the business portion: tax-free cash for the home under Rev. Proc. 2005-14, the rest into replacement real estate.
- Lease the farm to a trainer and sell later: rent income and a written lease strengthen the business-use record.
Buying a horse property as replacement: the house, the barns and the lease before day 45
If you plan to live on the replacement farm, the residence and its land are not held for business or investment, so exchange funds should buy only the barns, arenas and acreage you will lease or operate. Agree the allocation with the seller in the contract, consistent with an appraisal, because it sets your replacement basis and future depreciation.
Underwrite the facility as a tenant would. Ask for stall counts, the boarding or training lease, the operator's payment history, zoning or permits for commercial boarding, water and well records, and the condition of fencing and arena footing. A facility leased to a trainer is valued on that rent; one you will run yourself is a business purchase, and the horses and equipment in it are paid for outside the exchange.
Find out how the seller's barns were classified, because new money you add above your carried-over basis starts its own depreciation and the class you choose decides whether that barn is section 1245 property when you sell. Reg. section 1.1031(k)-1 allows three identified properties or more within 200% of the value sold; equestrian buyers often list a second farm or a DST as a backup, since few comparable farms are for sale at once.
Related questions
Can I exchange the farm and keep living in the house?
Yes, by selling only the acreage and barns and keeping the house and its land, or by selling everything and applying section 121 to the house first under Rev. Proc. 2005-14. Either way, allocate the price between the home and the business portion.
Are my horses part of the exchange?
No. Horses are personal property and have not been like-kind since 2018; their sale is reported separately, with depreciation recapture as ordinary income and any remaining gain as section 1231 gain if held 24 months for qualifying uses.
Is an indoor riding arena real property?
An enclosed, permanently affixed arena is a building under the real property regulation and goes through the exchange. Its depreciation class is a separate question for your CPA.
My horse business lost money every year. Does that sink the exchange?
Not automatically. The hobby-loss rules limit deductions, and the regulations treat holding land for appreciation as a separate activity unless the horse operation reduces the cost of carrying the land.
Can I exchange a horse farm into a DST?
Yes. Rev. Rul. 2004-86 allows real property to be exchanged for an interest in a properly structured Delaware statutory trust; check the section 1245 effect of any single purpose barns first.
Sources
Checked against these publications on September 30, 2026. Rules and figures change; confirm the current version with your CPA or attorney before you act. This page is general information, not tax or legal advice.
- Treas. Reg. section 1.121-1, Exclusion of gain from sale of principal residence
- IRC section 121, Exclusion of gain from sale of principal residence
- Rev. Proc. 2005-14, Combining section 121 and section 1031
- Treas. Reg. section 1.1031(a)-3, Definition of real property
- IRS Publication 225, Farmer's Tax Guide (2025)
- IRC section 168, Accelerated cost recovery system
- IRC section 1245, Gain from dispositions of certain depreciable property
- Treas. Reg. section 1.1245-4, Exceptions and limitations
- IRS Publication 946, How To Depreciate Property (Table B-2 asset classes)
- IRC section 183, Activities not engaged in for profit
- Treas. Reg. section 1.183-1, Activities not engaged in for profit
- Treas. Reg. section 1.1031(k)-1, Treatment of deferred exchanges
- Rev. Rul. 2004-86, Delaware statutory trusts and section 1031
