How do I handle farm capital gains?

What you sell, how long you owned it, and how it is taxed

You handle farm capital gains by figuring out exactly what you sold, how long you owned it, and what its tax basis is, then reporting the sale on the right form. Land held for more than a year is generally a long-term capital asset. Machinery and buildings that you depreciated are treated differently, and so are breeding livestock and inventory. The tax rate on each can be different, which is why asset sales call for planning before the closing, not after.

Know your basis

Basis is generally what you paid, plus improvements, minus depreciation you took or could have taken. Inherited property usually gets a basis tied to its value at the owner's death, which can wipe out a lifetime of gain. Gifted property usually keeps the donor's basis. This difference is one of the largest in all of farm tax planning, so find out how you acquired the property before you decide to sell or gift it.

Sorting the pieces

A farm sale is really several sales. Land is typically capital gain. Buildings and equipment may produce depreciation recapture, which is often taxed as ordinary income or at a special rate for certain real property. Raised livestock and crops are generally ordinary income. Breeding and dairy animals held long enough can qualify for capital gain treatment under section 1231 rules, which is why holding periods and records matter. Timber can be a capital asset with its own elections.

Reporting

Sales of business property go on Form 4797. Sales of capital assets may also appear on Schedule D and Form 8949. The result flows to your 1040. Your preparer will allocate the sale price among the assets, and you and the buyer should agree to that allocation in writing so the numbers match.

Ways to manage the tax

State and net investment tax

Your state may tax gains at ordinary rates, and higher-income sellers may face an additional federal tax on investment income. Farmers who materially participate often escape the latter on farm-business sales, but ask.

Before you list the place

An example with no numbers

A couple sells forty acres they've owned for decades, along with a machine shed and a grain bin. The land is long-term capital gain. The shed and bin have been depreciated, so part of that gain is recaptured and taxed at different rates. The stored corn in the bin is ordinary income. They report the sale across several forms. The sale contract spells out the allocation, and the buyer's closing statement matches it. Nothing there is exotic, but getting it right requires the pieces to be separated on paper before closing.

Selling machinery and breeding stock

Used equipment usually sells for more than its depreciated basis, which means a taxable gain even though you sold it for far less than you paid. That surprises people who took big first-year deductions. Raised breeding animals have a basis of zero in most cases because the costs were deducted along the way, so the entire sale can be gain, which may qualify for favorable treatment if held long enough.

Losses on sales

Business property sold at a loss is generally deductible against ordinary income under the rules for business assets, which can be helpful. Personal-use property sold at a loss generally is not. The difference is another reason to keep clear records of which assets belong to the farm business.

Questions for your CPA before you sign a sale contract

Timing and cash

Sales that close late in the year create tax bills due months later, and estimated tax rules may require payments before then. Set money aside from the closing proceeds. Many sellers forget that the check at closing is not theirs to spend in full.

Special situations

Selling to a related party, selling at a loss, selling a part interest in land, selling timber or standing crops, and selling land that has been in a conservation program each carry specific rules. Mention them to your advisers so they can check the details. You can read general IRS publications at irs.gov and ask your county Extension office for workshops.

A word on conservation and development sales

Selling a conservation easement, selling development rights, or selling a portion of the farm to a buyer who will subdivide can each change the tax result. Some of these have special treatment, and some are treated as ordinary income. Land that has been part of a conservation program, such as those administered by NRCS, may have restrictions that affect what you can sell and to whom. Read the easement or program contract before you list the property.

Putting a farm sale in sequence

Begin with a conversation among the owners about what each wants: cash, income, a smaller place, or keeping some land. Then gather the records. Then meet with the CPA, an attorney, and a lender if there is debt. Then talk to a realtor or auctioneer about listing options. Then draft the contract with the allocation of price, and only then sign. People who reverse that order often learn about the tax at the closing table, which is the worst place to learn about anything.

If you plan to buy other land afterward, bring that into the conversation early, since exchange and installment tools both have timing rules. If you plan to retire, ask a financial adviser how the proceeds fit with your income needs, Social Security, Medicare premiums and long-term care.

Keeping records that make the sale easier

Keep the closing statement from every land purchase, receipts for tile, clearing, fencing and ditching, and your depreciation schedules, for as long as you own the property and several years after. When a farm has been in the family for generations, the missing records are often the biggest problem. Ask older relatives and your county recorder for deeds and surveys, and write down what you learn while someone still remembers.

Talk to your CPA, farm attorney and lender first. A call in March can change what happens at an October closing. See the IRS for current rates and forms. General information, not tax advice; rules vary by state.