There is no active Internal Revenue Code section 1039 that governs a “1039 tax exchange.” The provision people usually mean when they use that label is Section 1033, which lets you defer gain when property is destroyed, stolen, condemned, sold under threat of condemnation, or (for farmers and ranchers) sold in excess numbers because of drought, flood, or other weather-related conditions, as long as you reinvest in qualifying replacement property within the statutory window.1eCFR. 26 CFR 1.1033(a)-1 – Involuntary Conversions; Nonrecognition of Gain Section 1039 itself was a low-income housing provision Congress repealed in 1990.2Office of the Law Revision Counsel. 26 USC 1039 – Repealed Everything below describes how Section 1033 actually works.
What Section 1033 Covers
An involuntary conversion happens when you lose property through destruction, theft, seizure, condemnation, or the threat of condemnation. The converted property can turn into similar property directly, or it can turn into money — an insurance check, a condemnation award, forced sale proceeds — that you then reinvest.1eCFR. 26 CFR 1.1033(a)-1 – Involuntary Conversions; Nonrecognition of Gain Section 1033 applies only to gains; losses are handled separately under the ordinary loss rules.
The direct-versus-money distinction matters. When property is replaced in kind through the conversion itself, deferral is automatic. When you receive money and buy the replacement yourself, deferral is available only if you elect it and reinvest in time. Most farm situations fall into the second category, because the farmer takes in cash from a forced sale or from insurance rather than being handed replacement property.
One boundary worth naming up front: Section 1033 is a deferral, not a forgiveness. The tax you avoid now is preserved through a reduced basis in whatever replacement property you buy, and it comes due when you eventually sell that property or through smaller depreciation deductions along the way.
Weather-Related Livestock Sales
Section 1033(e) is the provision most farmers and ranchers actually use. If you hold livestock (other than poultry) for draft, breeding, or dairy purposes and sell more animals than you normally would solely because of drought, flood, or other weather-related conditions, the excess sales are treated as involuntary conversions.3Office of the Law Revision Counsel. 26 USC 1033 – Involuntary Conversions Feedlot animals and other livestock held primarily for sale are inventory and do not qualify.
The key word is “excess.” Only sales above your normal pattern count. If you typically sell 100 head per year but sell 150 because a drought wiped out your grazing land, the gain on 50 head qualifies. The gain on the first 100 is ordinary business income. Your usual sales volume is generally based on the pattern of prior years, so keep records that establish what normal looks like for your operation.
The sale has to be driven directly by the weather event — no feed, no water, no usable pasture. Selling into a bad market on your own initiative does not qualify. The area where the livestock is held must also be designated as eligible for federal disaster assistance.4Internal Revenue Service. Notice 2022-43 – Extension of Replacement Period for Livestock Sold on Account of Drought Documentation from federal or state agencies confirming that designation is essential if the IRS examines your return.
Crops and Insurance Proceeds
Farmers who receive insurance proceeds for a destroyed or damaged crop can also use Section 1033 to defer the gain, provided the crop cannot be replanted in the same tax year. The insurance payment is the amount realized. The sale of an unharvested crop sold together with the underlying land can also be treated as an involuntary conversion when the sale is forced by the weather event itself.5Internal Revenue Service. IRS Publication 225 – Farmers Tax Guide
Calculating the Deferred Gain
Start with what you received (sale proceeds or insurance payment) and subtract the adjusted basis of the property you lost. The difference is your realized gain. Under Section 1033(a)(2), you only recognize gain to the extent the amount realized exceeds what you spend on qualified replacement property.3Office of the Law Revision Counsel. 26 USC 1033 – Involuntary Conversions
Say a rancher sells qualifying breeding livestock for $100,000 that had an adjusted basis of $30,000. The realized gain is $70,000. Reinvest the full $100,000 in qualifying replacement property and no gain is recognized; the entire $70,000 is deferred. Spend only $80,000 on replacement property and the $20,000 shortfall is taxable now, with the remaining $50,000 of gain deferred.
The Basis Trade-Off
The basis of your replacement property equals its purchase cost minus the gain you did not recognize.3Office of the Law Revision Counsel. 26 USC 1033 – Involuntary Conversions In the example above, if the rancher spent $80,000 and deferred $50,000, the new basis is $30,000. If the rancher reinvested the full $100,000 and deferred all $70,000, the new basis is still $30,000. That is exactly the adjusted basis of the original livestock. The old basis carries forward.
A lower basis means smaller depreciation deductions each year and a bigger taxable gain when you eventually sell the replacement property. This is the real cost of deferral, and it catches people off guard years later. Keep meticulous records of the original property’s basis, the conversion proceeds, and the replacement cost so you can calculate future gain correctly.
What Counts as Replacement Property
The default standard is narrow. Replacement property must be “similar or related in service or use” to what you lost.3Office of the Law Revision Counsel. 26 USC 1033 – Involuntary Conversions Breeding cattle must be replaced with breeding cattle, not with unrelated property.
For livestock lost to drought, flood, or other weather-related conditions (including soil contamination), Congress built in a much broader exception. Under Section 1033(f), if replacing the livestock in kind is not feasible, you can buy any property used for farming purposes and it will qualify.3Office of the Law Revision Counsel. 26 USC 1033 – Involuntary Conversions Farm equipment, irrigation systems, additional acreage, a new barn — all qualify as long as the asset is used in your farming business. A rancher who sold breeding cattle because of drought could buy new farmland to replace lost grazing capacity and still defer the gain.
You do not have to use the actual proceeds to buy the replacement. Spend the insurance check on something else and finance the replacement livestock with a loan; the deferral still works so long as the purchase happens within the replacement period.5Internal Revenue Service. IRS Publication 225 – Farmers Tax Guide Property received as a gift or inheritance does not count as replacement property.
How Long You Have to Reinvest
The standard replacement period begins on the date you dispose of the converted property (or the date of the condemnation threat, if earlier) and ends two years after the close of the first tax year in which you realize any part of the gain.3Office of the Law Revision Counsel. 26 USC 1033 – Involuntary Conversions For a calendar-year farmer who sells livestock in October 2026 and realizes the gain that year, the standard deadline is December 31, 2028.
For weather-related livestock sales under Section 1033(e), the period is four years after the close of the first tax year in which gain is realized.3Office of the Law Revision Counsel. 26 USC 1033 – Involuntary Conversions Same farmer, same October 2026 sale: the deadline moves to December 31, 2030. The longer window reflects how long rebuilding a herd or finding suitable grazing land can take.
If drought or other qualifying weather conditions persist for more than three years, the Treasury Secretary can extend the replacement period further on a regional basis.4Internal Revenue Service. Notice 2022-43 – Extension of Replacement Period for Livestock Sold on Account of Drought The IRS publishes annual notices listing the counties where extensions apply, so check each year if you are still shopping for replacement property.
Electing and Reporting the Deferral
When you receive money instead of replacement property directly, deferral is not automatic. You elect it on the tax return for the year you realize the gain, even if you have not yet bought the replacement. Attach a statement to the return that identifies the conversion event (date, disaster type, what triggered the sale), describes the converted property (with head count for livestock or acreage for crops), shows the gain calculation (amount realized, adjusted basis, resulting gain), and lists any replacement property already acquired or your intent to acquire qualifying property within the period.
The form depends on the type of conversion. Casualties and thefts go on Form 4684. Other involuntary conversions of business property, including weather-related livestock sales, go on Form 4797, which is also where depreciation recapture is reported as ordinary income.6Internal Revenue Service. About Form 4797, Sales of Business Property5Internal Revenue Service. IRS Publication 225 – Farmers Tax Guide
When you buy the replacement in a later year, report the details on that year’s return: cost, final gain calculation, and adjusted basis of the new property. If the replacement period spans multiple years, keep the IRS updated on each year’s return.
If You Miss the Deadline
Failing to buy qualifying replacement property within the period unwinds the deferral entirely. You file an amended return (Form 1040-X) for the year of the original gain and pay tax on the full amount. Interest accrues from the original due date of that return, and penalties may apply. If your replacement property costs less than the amount realized, the shortfall is recognized as gain in the year the replacement period expires. Either way, watch the calendar closely.
The One-Year Alternative Under Section 451(g)
Section 1033 is not the only tool for weather-affected livestock. Section 451(g) offers a simpler, shorter deferral: push income from the excess sales into the following tax year instead of holding it open until you buy replacement property.7Office of the Law Revision Counsel. 26 USC 451 – General Rule for Taxable Year of Inclusion The requirements are narrower:
- You must report income on the cash method.
- Farming must be your principal trade or business.
- Only excess sales above your normal pattern qualify.
- The area must be federally designated as eligible for assistance because of the weather event.
- You must show that, under your usual practice, you would have sold the animals in the following year.
The election goes with the return for the year of sale. Section 451(g) and Section 1033 are not mutually exclusive; if Section 1033(e)’s four-year replacement period applies, the statute treats a 451(g) election as valid if made during that period.7Office of the Law Revision Counsel. 26 USC 451 – General Rule for Taxable Year of Inclusion In practice, 451(g) fits best when you expect to replace the livestock quickly and just want to align the income with the year you will incur the replacement costs. Section 1033 is the better tool when rebuilding will take longer and you need the full two- or four-year window.