Farm and Ranch Sales · Retirement · Capital Gains · 2026

Selling the Family Farm: What You Owe and What You Can Do

You have farmed or owned this ground for decades, the basis is small, and the land is worth millions. You are ready to stop, or the heirs want out. Here is what the sale is taxed, the honest options side by side, and which one fits which situation.

By Hans Goldstein, EA · Updated October 14, 2026

The short answer

Selling farmland is taxed mostly as long-term capital gain (0%, 15% or 20% federal, plus state tax), and the gain is the sale price minus selling costs minus your basis, which on land held for decades is often tiny. On a married couple's 320-acre Iowa farm sold for $4.8 million in 2026 with a $600,000 basis, the tax is about $1,085,036 if the whole gain lands in one year. Your choices are to take it in one year, exchange into other land, sell to family, hold the farm for the step-up in basis, or write a payout over several years into the sale before closing. Farm property is exempt from the 453A interest charge, which makes the payout route cleaner for farmers than for most sellers. Which choice wins depends on your age, your heirs and how much income you need.

The problem most farm owners have

You are probably here because of one of these:

There is no single right answer. The table below is the honest version.

Options compared

OptionWhat happens to the taxWhen it winsWhen it fails
Sell outright for cashAll of the gain is taxed in the year of sale, at the top federal rates and state tax.The gain is small, you need all the cash now, or you have large losses to use.The basis is low and the price is high. One year of income pushes you into the top rates.
Hold and lease (cash rent or share rent)No sale tax. Rent is taxed each year as income.You can live on the rent, and you want the farm in the family or want the step-up.Rent is a low percentage of the land value, and the land stays one risk in one place.
Hold until death for the step-upThe basis resets to the value at death (IRC §1014), so the gain can vanish.You do not need the money, the heirs will sell or keep, and the estate is under the exemption ($15 million per person in 2026, IRS).You need the money to live on or care costs may drain other assets. Land values can fall before you die.
Sell to your children or a relativeSame gain tax for you. If they resell within 2 years, the related-party rule can end your installment treatment (IRC §453(e)).The family keeps farming and you take a price you can live with.A below-market price is partly a gift. The kids need financing, and a note from them is a risk you carry.
1031 exchange into other land or rental real estateNo tax on the gain while it is reinvested (IRC §1031). The tax comes later, unless you hold the new property to death.You want to stay in real estate and can find and close on the replacement.You are tired of owning real estate. You must identify a replacement in 45 days and close in 180, and a missed deadline makes the gain taxable.
Installment sale with a payout over years (structured installment sale)The buyer pays cash at closing. The payments to you come from an annuity the buyer funds, and the gain is taxed as payments arrive. Farm property is exempt from the 453A interest charge.You want steady retirement income from the land, the gain is large, and you do not need all of the price at once.You need the full price now, or you may not live long (unpaid gain at death is taxed to heirs with no step-up). It must be written into the contract before closing.
Conservation easement, then sell or keepA donated easement can give a charitable deduction up to 100% of income for qualified farmers, carried forward 15 years (IRC §170(b)(1)(E)). It lowers what the land sells for.You want to protect the land and have income to use the deduction.The buyer pool shrinks, the appraisal is closely examined, and the deduction does nothing if you have little income.
Sell the house and a few acres onlyThe farmhouse can qualify for the $250,000 or $500,000 home exclusion if you lived in it two of the last five years.You want to keep the land and cash out of the home.The exclusion does not cover the land beyond the home site in most cases. Ask your CPA about acreage.

What a farm sale is actually taxed

A worked example: 320 acres in Iowa, sold in 2026

A married couple in their 70s sells 320 acres in Iowa for $4,800,000. Their basis is $600,000, selling costs are 3% ($144,000), and their other income is $60,000 a year. The taxable gain is $4,056,000. We compare one year against a 10-year payout set up before closing.

Cash sale, all in 2026Payout over 10 years
Taxable gain$4,056,000$4,056,000
Tax on the gain$1,085,036 (26.8% of the gain)$294,131 over 10 years
Tax on the interest the payments carryNot applicable$443,675 over 10 years
Cash each yearWhatever you withdraw$602,973 a year, about $50,200 a month
After-tax money at year 10, if untouched$5,261,123$5,625,184 ($364,060 more)

The same sale in Nebraska comes to $1,115,456 in one year, and the 10-year payout still comes out $392,552 ahead. A smaller farm, 160 acres sold for $2.4 million with a $300,000 basis, has a one-year tax of $525,308 and pays about $301,487 a year over 10 years.

Run on October 14, 2026 with the Goldstein & Co. engine: 2026 federal brackets, the 3.8% net investment income tax and AMT (IRS Rev. Proc. 2025-32), and 2026 state brackets. The 5.0% payout rate is an assumption, not a quote. After-tax money at the end assumes nothing is spent and both paths earn 5.0%, taxed every year. These are estimates, not a quote. The one-year tax above includes the 3.8% net investment income tax, which is the cautious case (a retired owner who cash-rents the land may owe it). If you materially participate in the farm in the year of sale, the gain is not investment income (IRC §1411(c)(1)(A)(iii)) and the same one-year tax falls to about $938,128; spread over 10 years the gain tax is about $212,203 plus $443,675 on the interest, and the after-tax money at year 10 is $5,718,502 against $5,460,084 for the cash sale. Your CPA confirms which case you are in.

Be straight about the trade-offs. The payments are fixed and cannot be sped up. If you die before the last payment, the unpaid gain is income in respect of a decedent (IRC §691(a)(4)), taxed to the heirs, with no step-up on that part. Spreading the gain does not erase it. It moves each year's slice into lower brackets and keeps the surtax and the Medicare premium surcharge (IRMAA) lower.

Why farmers have an edge on the payout route

Most large installment sales over $5 million face an interest charge on the unpaid tax (section 453A). The law carves out property used or produced in the trade or business of farming (IRC §453A(b)(3), which points to the farm definition in §2032A). Farm property is exempt, even above $5 million. Land you rented to a tenant, or farmland you no longer farm, may not qualify, so have your CPA confirm. The same exemption covers a personal home.

Selling to your children

The 1031 question: can you just buy more land?

Farmland is real estate, so a 1031 exchange works for it. You can swap into other farmland, rental property or commercial property. You must name the replacement within 45 days and close within 180. If you cannot find one, or the replacement falls through, the gain is taxable. See 1031 exchange alternatives and what to do after a missed deadline. A structured sale can be written in as the backup, before closing.

When this does not fit

What you can do this week

  1. Find your basis: the purchase price or the estate value at death, plus improvements. Do not guess.
  2. Split the sale into land, buildings, house and equipment. Each is taxed differently.
  3. Ask your CPA two questions: do I materially participate, and does the farm exemption apply to my land?
  4. Before you sign a listing or a letter of intent, run the real numbers. This is the step farm families skip. It takes one 15-minute call.

Matching tools: the structured sale calculator and the seller net sheet after tax. More on farm and ranch sales: Can a structured installment sale work for a farm or ranch?, California farmland, selling land and spreading the gain, and on Big Sale Tax, farmland capital gains and farm installment sales.

Before you read further

What is the tax bill on your property sale going to be?

Send me the sale price and rough basis. Within one business day I'll email you the actual number and the Seller's Guide to §453. If it doesn't fit your deal, I'll tell you that plainly.

Hans Goldstein, EA
Admitted to practice before the IRS

No retainer · no obligation. Hans Goldstein, a licensed insurance agent (CA Insurance License #4273294), will contact you and may discuss insurance products, including annuities.

Frequently asked questions

How much tax will I pay on selling the family farm?

Take the sale price, subtract selling costs and your basis. The rest is taxed mostly as long-term capital gain (0%, 15% or 20% federal, plus state), and the 3.8% net investment income tax may apply. In our Iowa example, a $4.8 million sale with a $600,000 basis owes about $1,085,036 if it all lands in one year.

What is the capital gains tax on selling a farm?

Land held more than a year is taxed at 0%, 15% or 20% federal, and a large sale puts most of it at 20%. Depreciated buildings are taxed up to 25%, and equipment gain is ordinary income. State tax is extra (Iowa 3.8% and Nebraska 4.55% in 2026).

Is there capital gains tax on the sale of farmland, and how do I avoid it?

Yes, unless the gain is small or you hold the land until death, when the basis resets (IRC §1014). The ways to pay less or later are a 1031 exchange, an installment sale with a payout over years, a donated conservation easement, or giving to charity. Each has trade-offs, shown in the options table above.

I am a retiring farmer. How can I sell land and still have income?

Write a payout into the sale before closing. The buyer pays cash at closing and the payments to you come from an annuity the buyer funds, for 5, 10 or more years. You can also lease the land. A payout gives a fixed paycheck and spreads the tax.

Does the farm exemption from the 453A interest charge really apply?

Yes, IRC §453A(b)(3) excludes property used or produced in the trade or business of farming, which uses the farm definition in §2032A. Farmland you rent out or no longer farm may not qualify, so your CPA should confirm.

Can I use a 1031 exchange on farmland?

Yes. Farmland can be exchanged for other farmland, rental property or commercial real estate. You must identify the replacement within 45 days and close within 180. If it falls through, the gain is taxable, so many sellers set up a backup before closing.

How do I sell the farm to my children and keep the tax down?

Sell near fair market value with a written appraisal. A note from the children spreads your tax, but if they resell within 2 years the related-party rule (IRC §453(e)) can accelerate it. A large discount is a gift. Have your CPA and attorney write it up.

The heirs want to sell the family farm. What should we do first?

Find the basis. If the owner has died, the basis is usually the value at death, so the gain may be small. If the owner is alive, selling now may cost much more tax than waiting. Get an appraisal at the date of death and a CPA before you list.

Should I sell my farmland now or keep it?

Keep it if you do not need the money and the heirs can wait, because the step-up can erase the gain. Sell if you need retirement income, the land is concentrated risk, or the heirs will not farm. Compare both before you decide.

What happens to the payments if I die?

The remaining payments go to the named beneficiary. The unpaid gain is income in respect of a decedent (IRC §691(a)(4)), so the heirs pay income tax as payments arrive, with no step-up on that part.

What does a real analysis cost?

The first 15-minute scope call is free. A written analysis is $5,000. The calculators and this page are free.

Sources and dates

Who wrote this?

About the author

Hans Goldstein, EA, works with sellers on IRC §453 installment sales. He is admitted to practice before the IRS. Tax and exit-planning analysis: Hans Goldstein: Tax & Exit Planning. Annuity placement for structured installment sales: Goldstein & Co. LLC dba Goldstein Insurance Services, CA ins. lic. #4273294. Hans is not a CPA or attorney, and this page is education, not tax or legal advice; have your CPA and attorney review your facts. A commission is paid only if a structured installment sale is funded.

Talk to Hans: hans@goldsteinco.net · 213-414-2808

Get the REAL numbers

Hans Goldstein, EA
Hans Goldstein, EAAdmitted to practice before the IRS

These are estimates. Have a qualified tax professional run your real numbers in a 15-minute scope call.

Book my 15-minute call

This is an estimate. Getting it right down to the tee takes your actual tax forms (returns, K-1s, depreciation schedules), a consult and a paid analysis. The first 15-minute scope call is free; the written analysis is $5,000. On a funded structure the insurer pays a one-time commission to the brokerage firm that places it; it is built into the annuity pricing, not a separate fee.

Hans Goldstein, NPN 20602398

📚 Get the free Seller's Guide to §453 + a fit-check

A plain-English guide for sellers on how a structured installment sale defers the tax when you sell a business, practice, or property. It covers the math, the alternatives, and how to tell if your deal fits.

Leave your details and the PDF downloads right away. Within one business day Hans will email a preliminary read on which structure fits your deal. No retainer. On a funded structure, the insurer pays a one-time commission of about 4% of the amount structured to the brokerage firm that places it (Hans’s share is about 2.4%; no trail). It is built into the annuity pricing, not a separate fee.

More details (optional)
Hans Goldstein, EA
Admitted to practice before the IRS

📞 Hans Goldstein · 213-414-2808 · CA Insurance License #4273294 · Independent §453 specialist · Goldstein & Co. LLC

Hans Goldstein, a licensed insurance agent (CA Insurance License #4273294), will contact you and may discuss insurance products, including annuities.

Talk to Hans Book 15 min Call

Hans Goldstein is an Enrolled Agent, admitted to practice before the Internal Revenue Service. Not affiliated with or endorsed by the IRS. General education, not tax or legal advice for your situation.