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 15, 2026

The short answer

Selling the family farm is taxed mostly as long-term capital gain: 0%, 15% or 20% federal plus state tax on the sale price, minus selling costs, minus your basis, which on land held for decades is often tiny. If you sell to a working farmer, a new rule (IRC §1062, effective for sales in tax years beginning after July 4, 2025) lets you pay the tax in 4 yearly installments.

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 or a farmer, 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, who the buyer is and how much income you need. Email me the acres and basis for your number.

Selling farmland to a neighbor or another farmer: the Section 1062 election

A new rule can help if you sell to a working farmer. Under IRC §1062, you can elect to pay the tax caused by the sale in 4 equal yearly installments when you sell qualified farmland property to a qualified farmer.

It was added by Pub. L. 119-21 (July 4, 2025) and applies to sales in tax years beginning after July 4, 2025, so a 2026 sale can use it (statute text read October 15, 2026).

RequirementWhat the statute says
The landReal property in the United States that you used as a farm for farming purposes, or leased to a qualified farmer for farming purposes, during substantially all of the 10 years before the sale
The buyerA qualified farmer: an individual actively engaged in farming (the Food Security Act payment-limit tests in 7 U.S.C. 1308-1(b) and (c))
The covenantThe land must be subject to a legally enforceable restriction that bars any use other than farming for 10 years after the sale. A copy goes with your return
The electionMade on or before the due date of the return for the year of the sale (partnerships and S corporations: at the partner or shareholder level)
What is spreadThe extra net income tax for the sale year caused by the gain (net income tax with the gain, minus net income tax without it), paid in 4 equal installments
When it is dueFirst installment on the return due date for the sale year (ignoring extensions); one each following year. Missing a payment, or the seller dying, makes the rest due early

What it is not: it does not change how much tax you owe, and the whole gain is still reported in the sale year. It only spreads the payment over four years. It also needs a farmer buyer who will accept a 10-year farm-only restriction, which many neighbors will and many developers will not.

Section 1062 vs a structured installment sale vs the 453A farm exemption

Section 1062 electionInstallment sale (payout over years)
What is spreadThe payment of the tax, over 4 yearsThe gain itself, taxed as each payment arrives, over years you choose
BuyerMust be an individual actively farming; 10-year farm-only covenantAny buyer; the buyer pays in full at closing and a third party pays you, so you are not the bank
Bracket effectNone: all the gain lands in the sale yearCan keep each year's gain in a lower bracket, so it can net more
Must be set upOn the return for the sale yearIn the purchase contract before closing
453A interest chargeNot applicableFarm property is exempt from the interest charge on large installment obligations (IRC §453A(b)(3): property used or produced in the trade or business of farming)
RecaptureTaxed in the sale year, paid over 4 yearsDepreciation recapture is taxed in year one either way (IRC §453(i))

Can you use both? The statute covers the tax on gain recognized in the sale year. Under an installment sale, gain recognized in later years is not part of that year's tax.

I did not find IRS guidance on stacking the two as of October 15, 2026, so treat the combination as a question for your preparer before you sign, not a plan.

Illustration, hypothetical: if the extra tax caused by the sale year's gain is $400,000, four installments are $100,000 each, due with the 2026, 2027, 2028 and 2029 returns.

Retiring farmer selling land: the order that protects the most

  1. Decide who the buyer is first. A neighbor or tenant who farms can qualify for the §1062 election; a developer or investor cannot.
  2. Split the sale by asset. Land, buildings, house, equipment and growing crops are taxed differently, and the house may qualify for the home sale exclusion.
  3. Choose the tax route before closing. A payout over years has to be in the contract; the §1062 election is made on the return.
  4. Check material participation. It decides whether the 3.8% net investment income tax applies to you.
  5. Run holding vs selling. Heirs get a basis reset at death (IRC §1014), which can beat any sale route if you do not need the cash.

Email me the acres, basis and buyer type and I will run the options.

Step by step: how to sell the family farm or ranch land without a huge tax bill

The answer

Get the facts on who owns the land, find the basis, split the sale into land, buildings, house, equipment and minerals, and have your CPA answer two questions before you list: do you materially participate in the year of sale, and does the farm exemption apply. Any payout arrangement goes into the purchase agreement before closing.

On a 320-acre Iowa farm sold for $4.8 million in 2026, the tax was about $1,085,036 in a one-year cash sale and $294,131 on the gain when the same sale was paid out over 10 years. The buyer pays in full at closing either way, and you are not the bank.

Jump to: Steps · Documents · Who to call · Options · Worked example · Mistakes · Questions · All step-by-step guides

The steps, in order

  1. Week 1
    Get the facts on who owns it and what sits on it. Is the land owned by you personally, a trust, an LLC, or several siblings? Are there leases, crop-share agreements, easements or a mortgage? Who owns the mineral rights? Pull the deed and the county records. The owner type decides who signs and who reports the gain.
  2. Week 1 to 3
    Find the basis. Basis is the purchase price plus improvements, or for inherited land the value at the date of death (IRC §1014). Look for old closing papers, the estate inventory, county records and receipts for tile, wells and fences. On land held for decades, basis is the whole fight. In the example, a basis of $600,000 against a $4.8 million price.
  3. Week 2 to 4
    Split the sale into parts, because each is taxed differently. Land held more than a year is long-term capital gain. Depreciated equipment is ordinary income to the extent of depreciation (§1245), and gain on depreciated buildings is taxed up to 25% (§1250). The farmhouse may qualify for the home exclusion if you lived in it two of the last five years. Timber and minerals have their own rules. Sell the equipment separately and expect that part to be taxed in year one.
  4. Week 3 to 5
    Ask your CPA two questions before you list. First: do I materially participate in the farm in the year of sale? If so, the gain is not investment income for the 3.8% surtax (IRC §1411(c)(1)(A)(iii)). Second: does the farm exemption from the large-sale interest charge apply (IRC §453A(b)(3))? Land you rent out or no longer farm may not qualify, so have it confirmed.
  5. Week 3 to 8
    Hire an attorney for title, easements, family agreements and estate planning. Title problems, old easements, unrecorded leases and sibling co-ownership slow closings. The attorney also looks at your estate plan and any family agreement among heirs. For siblings who inherited together, see selling inherited farmland with siblings. For the retirement angle, see selling the farm when you retire.
  6. Week 4 to 8
    Get a written appraisal. An appraisal by a farmland appraiser supports the price, the basis for inherited land, and any sale to family. It also protects everyone if heirs disagree about value.
  7. Week 6 to 10
    If the buyer is a child or relative, price near fair market value. A big discount is partly a gift and may use up part of your lifetime exemption. If a child pays over time and resells within two years, the related-party rule (IRC §453(e)) can end your installment treatment. Put the fairness among your children in writing.
  8. Week 8 to 12
    Choose: exchange into other land, take the cash, or pay out over years. A 1031 exchange into other farmland or rental real estate postpones the tax but has a 45-day identification and 180-day closing deadline. A cash sale taxes the whole gain in one year. An installment sale through a structured arrangement has the buyer pay in full at closing, with an annuity paying you on a schedule. You are not carrying a note. See farm and ranch sale options and capital gains on California farmland.
  9. Weeks 10 to 16
    List with a land broker or auction, and put the structure in the purchase agreement before closing. Pick a land broker or auction company with local farm experience. If a payout arrangement is in play, the addendum is one paragraph and costs the buyer nothing. It must be signed, with the assignment and funding instructions, before closing. Once the cash lands in your account, it is a cash sale.
  10. Closing and after
    Close, then report each part of the sale correctly. Keep the closing statement and the allocation among land, buildings, house and equipment. File Form 8949 and Schedule D, Form 4797 for business property and Form 6252 for an installment sale. Hans Goldstein, EA, an enrolled agent admitted to practice before the IRS (not a CPA or attorney), can run the comparison with your CPA. A written analysis is $5,000; the first 15-minute scope call is free.
Want your real number before step 1 ends? Send the sale price and rough basis and I will email the actual tax figure, or talk to me now. The first 15-minute scope call is free; a written analysis is $5,000.
Email me my numberTalk to Hans now

Documents to gather

  • The deed, plus the county records and any survey or legal description
  • Entity papers if owned through a trust or LLC: the trust, operating agreement and any amendments
  • The original closing statement from the purchase, or the estate inventory and date-of-death value for inherited land
  • Receipts for improvements: tile, wells, fences, grain bins, buildings
  • All leases, crop-share or cash-rent agreements, and any conservation or utility easements
  • Mineral and water rights documents
  • The last three tax returns, Schedule F or rent reports, and depreciation schedules
  • A written appraisal, and a list of equipment with its depreciation history

Who to call, in what order

  1. Your CPA. First. Basis, material participation in the year of sale, the farm exemption, and the allocation among land, buildings and equipment.
  2. A real estate attorney. Title, easements, entity signatures, and the family agreement and estate plan.
  3. A farmland appraiser. A written value that supports the price, the basis and any sale to family.
  4. A land broker or auction company. Before you sign a listing agreement. Ask for a net sheet and for the payout addendum to be added if you choose it.
  5. A scope call with Hans. Free, 15 minutes, before the purchase agreement is signed. A written analysis is $5,000.
  6. Title company or closing attorney. Early, with the entity and trust papers, so the closing date holds.

Your options compared

OptionIt works whenIt fails when
Sell for cashThe gain is small, or you need all of the money now.The basis is low and the price is high, so one year of income pushes you into the top rates.
Traditional installment sale to a buyer who pays over timeA family buyer pays over years and you accept the risk.You carry the risk that the buyer stops paying, and a resale within two years can trigger §453(e).
Sell with a payout over years (installment sale through a structured arrangement)You want steady retirement income from the land and do not need the full price at once. Farm property is exempt from the §453A interest charge.You need the money now, or may not live long. Payments are fixed, and unpaid gain at death is taxed to the heirs.
1031 exchange or Delaware statutory trustYou want to stay in real estate and can find replacement land or a trust interest in time.You are tired of owning real estate, or a deadline is missed. The tax comes later unless you hold to death.
Hold for the step-upYou do not need the money and heirs will sell or keep (IRC §1014).You need income or care costs may drain other assets; land values can fall first.
Sell to childrenThe family keeps farming and you take a fair price.A below-market price is partly a gift, and a note from the kids is a risk you carry.

The full comparison, with each option's trade-offs, is in the options table further down this page.

A worked example

A married couple in their 70s sells 320 acres in Iowa in 2026 for $4,800,000. Their basis is $600,000, selling costs are 3% ($144,000), and other income is $60,000 a year. Taxable gain is $4,056,000. Run 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.

Cash sale, all in 2026Paid 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 yearWhat 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 one-year tax includes the 3.8% net investment income tax, which is the cautious case. If you materially participate in the farm in the year of sale, the one-year tax falls to about $938,128. Your CPA confirms which case you are in.

The 5.0% payout rate is an assumption, not a quote, and the table assumes nothing is spent. 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. These are estimates, not a quote.

Mistakes that close the door

  • Selling the farm as one lump. Land, buildings, the house and equipment are taxed differently. Without an allocation in the contract, you may pay ordinary rates on more than you have to.
  • Skipping the material participation question. It decides whether the 3.8% surtax applies. In the example it moves the one-year tax from about $1,085,036 to $938,128. Ask your CPA before you list.
  • Selling to the kids at a big discount. The discount is partly a gift, and a resale inside two years can undo the installment treatment. Get an appraisal.
  • Signing the purchase agreement without the payout language. The assignment must be in the contract before closing. After the money lands in your account, it is a cash sale.
  • Ignoring the heirs and the estate plan. Unpaid gain at death is taxed to the heirs, and land held to death may get a step-up. Run keep-and-lease next to every sale option.
  • Waiting until the money has already been received. Once the closing is done and the cash is in the account, the payout option is gone for this sale.

Quick questions

How do farmers avoid capital gains tax when they sell the farm?

There is no way to make it disappear, but there are legal ways to change the bill. You can exchange into other land under IRC §1031, hold the land until death for a step-up in basis, or write a payout over years into the sale before closing so the gain is taxed as payments arrive. Each has trade-offs, and your CPA should run them side by side.

Is farmland sold at a loss or gain taxed as capital gain or ordinary income?

Land held more than a year is generally long-term capital gain. Equipment is ordinary income to the extent of depreciation, and gain on depreciated buildings is taxed up to 25%. That is why the sale should be split into parts in the contract.

Do I owe the 3.8% net investment income tax when I sell my farm?

Maybe not. If you materially participate in the farm in the year of sale, the gain is not investment income (IRC §1411(c)(1)(A)(iii)). A retired owner who cash-rents the land may owe it. Your CPA has to look at your last few years.

What happens to the unpaid tax if a farmer dies during an installment sale?

The unpaid gain is income in respect of a decedent (IRC §691(a)(4)). The heirs report it as payments arrive, with no step-up on that part. That is the trade-off, and it is why keeping the land to death is always run next to a sale.

Can I sell the farm to my kids and still keep the tax low?

You can, near fair market value. A big discount is partly a gift. If the kids pay over time and resell within two years, the related-party rule in IRC §453(e) can make you pay the remaining tax at once. Get an appraisal and an attorney.

Run your own numbers: structured sale calculator; seller net sheet after tax. More problems like this one: forced to sell? step-by-step guides.

Sources, checked October 15, 2026: IRC §1014, basis of property from a decedent; IRC §1411, net investment income tax; IRC §453, installment method and related-party rule; IRC §453A, interest on large installment obligations; IRC §691, income in respect of a decedent; IRC §1250, depreciation recapture on real property.

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.

Questions answered below: Questions about the tax on a farm sale · What you are selling: land, buildings, equipment, minerals and entities · Your options: payout, 1031, hold, easement, charity and family sales · Who is selling: retiring owners, heirs, family and out-of-state owners · Getting your numbers · By state

Questions about the tax on a farm sale

Plain answers first, then detail. Numbers are 2026 federal figures and our October 2026 engine run. Not tax or legal advice: ask a CPA and an attorney.

How much is the capital gains tax on selling a farm?

For most family farms, the tax is federal long-term capital gain at 0%, 15% or 20%, plus state income tax, plus the 3.8% net investment income tax if it applies to you. On a married couple's 320-acre Iowa farm sold for $4.8 million with a $600,000 basis, the one-year bill is about $1,085,036 (26.8% of the gain): $784,000 federal, $146,908 net investment income tax and $154,128 Iowa.

The gain is the sale price, less selling costs, less your basis. As of October 2026, the 2026 federal rates are:

RateMarried filing jointly (taxable income)Single
0%Up to $98,900Up to $49,450
15%$98,901 to $613,700$49,451 to $545,500
20%Above $613,700Above $545,500

A large farm sale stacks on top of your other income, so most of the gain lands at 20%. Source: IRS Rev. Proc. 2025-32. State tax is extra and varies a lot: see the state table below. The step-by-step worked example is higher on this page.

A big gain also raises your income for the year. That can push more of your Social Security into tax (up to 85% of it) and, two years later, raise your Medicare Part B and D premiums through IRMAA.

The 0% bracket is used up quickly, since it stops at $98,900 of taxable income for a married couple. See IRMAA and a big sale and seniors and 0% capital gains.

Is the sale of farmland taxable?

Yes. The sale of farmland is taxable income to the extent the price, less selling costs, is more than your basis. That gain is usually long-term capital gain if you held the land more than a year. If you sell at or below your basis, you owe no tax on the sale, and a loss on business-use farmland is generally an ordinary loss under IRC §1231.

Land is not "tax free" because it is agricultural, rural or in the family. The things that lower the bill are how you structure the sale, when it closes, what your basis is and which state the land is in. Each is covered below.

Is there a capital gains exemption for farmers or farmland?

There is no federal capital gains exemption for farmers or farmland in the United States. Canada has a lifetime exemption for qualified farm property, and some people search for that; the U.S. does not have an equivalent. What the U.S. does have is a 0% federal bracket for lower taxable income, the home-sale exclusion for the farmhouse, a step-up in basis at death, and a handful of state subtractions.

The state subtractions are real but different in each state: Missouri subtracts 100% of capital gain from tax year 2025, and Iowa reports an exclusion for certain retired or disabled farmers age 55 and older. See the state table for the others, and confirm anything you rely on with a preparer as of October 2026.

How do I avoid or reduce capital gains tax when I sell farmland?

You cannot make the gain disappear while you are alive, but you can lower it, move it, or spread it. The honest list is: hold the land until death for the step-up, exchange into other real estate, sell on an installment basis, donate an easement or the land, give it to family on purpose, or sell the home separately under the exclusion. Each one has a price.

RouteWhat it doesWhat it costs you
Hold for the step-upHeirs' basis resets to value at death (IRC §1014), so the lifetime gain is not taxed.You do not get the money. The land stays one concentrated risk. State estate or inheritance tax may apply.
1031 exchangeGain is not taxed now if you buy other real estate (IRC §1031).45 days to name, 180 to close, you must buy again, and the basis carries over.
Installment sale (payout over years)Gain is taxed as payments arrive (IRC §453). Property used in farming is exempt from the §453A interest charge (confirm for rented land).Recapture is taxed in year one. Unpaid gain at death is income to heirs (IRC §691(a)(4)). You cannot speed the payments up.
Conservation easementCharitable deduction up to 100% of income for a qualified farmer, 15-year carryforward.Lowers what the land sells for, and a deduction is worth nothing without income.
Gift or charitable remainder trustAppreciated land goes to charity or a trust that sells it without tax at the sale.You or your heirs give up the principal. See the charity question below.

For a 10-year payout on the Iowa example, total tax over the 10 years (gain plus interest) is about $737,806 against $1,085,036 for a one-year cash sale, and the after-tax money at year 10 is $364,060 higher, on a 5.0% payout rate that is an assumption, not a quote (as of October 2026).

That route is built before closing. The buyer pays in full at closing and you are not the bank. See the structured installment sale.

How do I figure out my basis in farmland, and what selling costs come off the gain?

Your basis is what the tax law says you have invested in the land: the price you paid, plus the cost of permanent improvements, less depreciation you took on depreciable parts. If you inherited the land, your basis is usually its fair market value on the date of death (IRC §1014). If it was a gift, you usually take the giver's basis (IRC §1015).

Land itself is never depreciated, so there is no depreciation recapture on bare land. Buildings, tile, fences, bins and equipment are separate assets with their own basis. Where do you find the numbers?

Old closing statements, the estate inventory or date-of-death appraisal, county deed records, Form 4562 depreciation schedules and past returns. If the land was split or you bought it in several parcels, the basis is divided by acres or value in a reasonable way, and you keep the records that show how.

A missing basis is one of the most expensive mistakes in a farm sale. A date-of-death appraisal or a rural appraiser's retrospective appraisal can rebuild one. Do this before you sign a listing.

Selling costs come off the other side. Brokerage or auction commission, attorney, title, survey and any transfer tax reduce the sale price when you figure the gain. Our Iowa example used 3% ($144,000), which leaves a taxable gain of $4,056,000 on a $4,800,000 sale with a $600,000 basis.

Ask for the fee on the whole deal in writing, and ask whether a payout or an exchange costs more to close. Ordinary repairs to get ready to sell do not reduce the gain.

How do I report the sale of farmland on my tax return?

You get a Form 1099-S from the closing agent for most land sales, and you report the sale yourself.

Farmland used in your farm business is reported on Form 4797 (business property, IRC §1231), and a net gain there is treated as long-term capital gain on Schedule D. Land held as an investment goes on Form 8949 and Schedule D. A payout sale also needs Form 6252, and an exchange needs Form 8824.

Plan estimated tax payments for the year of sale. A large gain closed in November can create a penalty if you do not pay by the quarterly dates or meet a safe harbor (see IRS Publication 505). Your preparer will also check the five-year look-back on section 1231 losses, which can turn part of a gain into ordinary income.

What you are selling: land, buildings, equipment, minerals and entities

A farm is many assets. Each one is taxed its own way.

What depreciation recapture will I owe when I sell farm land, buildings and equipment?

Bare land has no depreciation, so no recapture. Buildings, grain bins, tile, fences and equipment do, and the depreciation you took (including section 179 and bonus) comes back as tax when you sell. Equipment gain is ordinary income up to the depreciation taken (IRC §1245). Straight-line depreciation on buildings is "unrecaptured section 1250 gain," taxed at up to 25% (IRC §1(h)).

Two older recapture rules catch farmland: soil and water conservation and land clearing deductions are recaptured as ordinary income if you sell within 10 years (IRC §1252), and excluded cost-share payments can be recaptured if you sell within 20 years (IRC §1255).

On an installment sale, recapture income is taxed in year one even if the money arrives later (IRC §453(i)). Plan the cash for it.

How is the sale of farm equipment taxed?

Selling farm equipment is taxed as ordinary income to the extent of the depreciation you took, and any gain above the original cost is capital gain. Most of the time that means the whole gain is ordinary, because equipment that has been fully written off has a basis near zero (IRC §1245). It is reported on Form 4797.

If the equipment was inherited, its basis is stepped up to value at death, and the heir starts a fresh depreciation schedule, so a quick sale after death usually shows little or no gain.

Farm machinery is generally 5- or 7-year property, depending on when it was placed in service; single-purpose agricultural structures and orchards have their own schedules in IRS Publication 225. Bonus depreciation or section 179 can change the basis, so look at Form 4562 from past years.

If you sell the equipment in the same year as the land, the equipment gain stacks on top and is taxed in that year, even if you spread the land gain. Selling it in a different tax year can smooth the bill.

How is the purchase price split between land, buildings, equipment, crops and livestock?

The contract or the closing statement should split the price among the land, the buildings, any equipment, growing or stored crops, and livestock, because each is taxed differently. Land and buildings used in the farm business are generally capital gain or section 1231 gain.

Equipment is ordinary up to depreciation. Grain, hay and crops are ordinary farm income. Breeding cattle and horses held 24 months or more, and other breeding livestock held 12 months or more, are generally capital-gain property, while animals held for sale are ordinary (IRC §1231(b)(3)).

The split must be reasonable and backed by an appraisal, because the buyer and the IRS look at it too. A sale of a whole going farm may also require Form 8594 (IRS Form 8594), so ask your preparer. Do the allocation before you sign, not after closing.

Is the tax different for cropland, pasture, ranch land, timber or an orchard?

The land itself is taxed the same way whether it is cropland, pasture, ranch or timber: long-term capital gain if you held it over a year. What changes is what sits on it and around it. Orchards, vineyards and buildings carry depreciation that is recaptured, timber has its own rules, and ranches often come with minerals, water rights and grazing leases that are separate assets.

Land typeLand gainWhat to check separately
CroplandCapital gain or §1231 gainTile and drainage, bins and buildings (recapture), growing crop, CRP enrollment
Pasture or rangeCapital gainFencing, wells, water rights, mineral rights, grazing leases and permits
Minerals and water rightsSeparate property interests; gain on an outright sale of the interest is generally capital or §1231 gain against its own (often tiny) basisCheck the deed and a title search; royalties you keep are ordinary income with depletion; lease bonuses are ordinary income
Ranch with cattleLand is capital gain; breeding herd is usually §1231Livestock held for sale is ordinary; see the allocation question
TimberTimber held over a year can qualify for capital gain or §1231 treatment (IRC §631)Reforestation amortization may be recaptured; cutting versus selling timber is different
Orchard or vineyardLand is capital gainDepreciation on trees and vines is generally recaptured as ordinary income; ask your preparer

Do you own the minerals or the water? Many farms were sold decades ago with the minerals kept by a prior owner, and a buyer pays differently with and without them. Treat each interest as its own sale and have a preparer allocate basis.

A lump-sum sale of land with standing timber is usually a sale of capital assets, and the buyer's cruise (timber estimate) matters for allocating basis. If your timber is a large part of the value, get a forester's valuation first.

How do I sell part of my farm, and how is the tax figured?

You can sell part of a farm, and only that part's gain is taxed. Your basis is split between the part you sell and the part you keep, usually by acres or by relative value, and you keep the records that show how. The remaining land keeps its share of the basis for a later sale or for your heirs.

Before you sign, check four things: whether the county allows the split (platting, a minimum lot size, access and a road easement); whether the parcel you keep still qualifies for agricultural assessment; whether you must pay back property tax savings on the piece you sell; and whether you want to carve out the house site first.

Sellers often sell the land that is hardest to farm, the house and a few acres, or a road-frontage strip. A smaller sale may also keep more of the gain out of the 20% bracket if you control the year it closes.

How is farmland taxed when I sell it to a developer?

If you sell the whole parcel to a developer, the gain is generally capital gain the same as any other sale, with a bigger price because the land is worth more for development.

If you subdivide, improve and sell lots yourself, the IRS may treat you as a dealer, and the profit becomes ordinary income taxed up to 37% plus the 3.8% tax.

There is a safe harbor for owners who held the land at least five years and do not substantially improve it (IRC §1237), but it has limits on how many lots you sell and a 5% ordinary-income rule after the fifth lot.

The bigger traps are property-side. Selling or changing use on land assessed at farm value can trigger a rollback of past property tax savings, and a developer's contract can have a long option, rezoning contingency or earn-out. Sell before the improvements, and see the rollback question.

What is the tax if the government, a utility, a pipeline or a solar developer takes or buys my farmland?

If the government or a utility takes your land by eminent domain, or you sell under threat of it, you can usually avoid tax on the gain for the year if you reinvest in similar property within three years (IRC §1033).

The three-year window is for condemned real property held for business or investment; most other involuntary conversions have two. You pay tax on the gain up to the amount of proceeds you do not reinvest.

Easement payments for a pipeline or power line, solar or wind lease payments and signing bonuses are different. Lease payments and signing bonuses are generally ordinary income, while a payment for a permanent easement is usually treated as a partial sale that reduces your basis, with any excess taxed as gain. Get the contract reviewed before signing, since many of these deals are drafted to last 25 to 40 years.

How is the sale taxed if the farm is in an LLC, partnership or trust?

It depends on how the entity is taxed. A single-member LLC is usually ignored for tax, so you are taxed as if you sold it yourself. A multi-member LLC or family partnership files a Form 1065, and each owner reports a share of the gain on a K-1.

A revocable living trust is also ignored for income tax. An irrevocable trust is its own taxpayer or follows its grantor depending on how it was written.

Two traps for families. Land held in an irrevocable trust outside your estate generally gets no step-up at death (Rev. Rul. 2023-2). And you cannot do a 1031 exchange on a partnership interest (IRC §1031(a)(1)); see selling a TIC, LLC or partnership interest. If the owners disagree about selling, the operating agreement controls, not the tax code.

Your options: payout, 1031, hold, easement, charity and family sales

Compare the routes before you sign anything. The honest list includes when each one does not fit.

Can I sell farmland and take payments over several years to lower my tax?

Yes. An installment sale lets you report the gain as you receive payments instead of all in the year of closing (IRC §453), and property used in farming is exempt from the interest charge that hits other large installment sales (IRC §453A(b)(3)).

The payout has to be set up before closing. If you take the full price at closing and then ask for it back over time, the tax is already due.

There are two ways to get paid over years. In a land contract or a note from the buyer, you are the bank: the buyer pays you directly, you carry the buyer's default risk, and in many states you must go through foreclosure or forfeiture rules to get the land back.

In a structured installment sale, the buyer pays in full at closing and you are not the bank; the payments come from an annuity the buyer funds. See what a structured installment sale is.

The 10-year Iowa example pays about $602,973 a year and leaves $364,060 more after tax at year 10 than a cash sale, on a 5.0% assumption. Stretching to 15 years pays about $448,570 a year and leaves $574,215 more. It does not fit every farm: see the limits in when the payout does not fit.

What is the difference between a land contract and a structured installment sale on farmland?

In a land contract, you sell the farm to the buyer and the buyer pays you over time. You hold the note, keep title until it is paid in many states, and carry the risk that the buyer misses payments, lets the land run down or goes bankrupt.

In a structured installment sale, the buyer pays the full price at closing, you are not the bank, and the payments to you come from a funded contract.

Land contract or buyer noteStructured installment sale
Who pays youThe buyer, directlyA funded contract, not the buyer
If the buyer defaultsYou enforce it or take the land back under state lawThe buyer already paid in full. Your risk is whether the contract issuer can pay, so check its financial strength
Interest charge on large salesExempt for property used in farming (§453A(b)(3))Exempt for property used in farming
Fits family salesYes, with an appraisal and a market interest rate (§7872)Built for third-party buyers; a sale to a relative needs its own review
Tax timingRecapture in year one, the rest as paidRecapture in year one, the rest as paid

Land contract law varies by state, and a land contract can be easy to draft badly. Have an attorney in your state write it. Anyone buying land by land contract, not selling, is on a different page.

Does the 453A farm exemption still apply if I rent my land to a tenant or have retired from farming?

The statute exempts "property used or produced in the trade or business of farming" and points to the farm definition in section 2032A (IRC §453A(b)(3)). Farmland you operate is clearly covered.

Land you cash-rent to a tenant, or land you have retired from operating, is less clear, so your CPA should confirm before you rely on it. Whether the owner must also be the operator is a question for your CPA, so do not assume rented or retired land qualifies.

This matters for sales above $5,000,000 of outstanding installment obligations, where a business or rental property would pay an interest charge on the unpaid tax. Below that, the charge does not apply either way. See the 453A interest charge and farm and ranch sales with a payout.

Can I sell my farm to a neighbor or my tenant and take payments?

Yes, and a neighbor or tenant is often the most motivated buyer, since they already farm it. You can sell on a note or land contract, with a market interest rate and a down payment, and report the gain as you are paid (IRC §453).

You are the bank in that deal, so look at the buyer's balance sheet, take a first mortgage, and require insurance and tax payments.

Three practical points. Check your lease: a tenant may have notice rights, crop rights or a right of first refusal, and the lease usually ends at a crop-year date. Get an appraisal so the price is defensible.

And write the payout before closing; if you want the payments backed by something stronger than the buyer's promise, a structured sale is an alternative to carrying the note: the buyer pays in full at closing and you are not the bank (how that works).

Some states, such as Nebraska, have run tax credits for owners who sell or lease to beginning farmers; confirm current terms with the state. If the buyer is a relative, the related-party rules in the next question apply.

The same gain tax applies to you, plus extra rules that apply only to relatives. The big one: if you take a note from a child and the child resells the land within two years, your unpaid tax can become due at once (IRC §453(e)).

A sale of depreciable property to a controlled entity, such as your own LLC or corporation, can make your gain ordinary income (IRC §1239). A 1031 exchange with a relative is blocked if either of you disposes of the property within two years (IRC §1031(f)).

The price matters. Sell near an appraised value and charge at least the IRS minimum interest rate (the applicable federal rate) on any note, or the IRS can impute interest and treat part of the deal as a gift (IRC §7872).

See the page's "Selling to your children" section for the basics. A farm family dispute is usually about fairness, not tax, so put the plan in writing. A note from a child makes you the bank; where you can, ask for cash at closing from the child's lender.

What if you sell for less than the farm is worth? A sale to a child below fair market value is part sale, part gift.

The gift part may need a gift tax return (Form 709) if it is more than the $19,000 annual exclusion per child in 2026, and it uses part of your $15,000,000 lifetime exemption.

You usually report gain only to the extent the price is more than your basis, and the child's basis is generally the higher of what they paid or your basis (Treas. Reg. 1.1015-4); your preparer confirms the allocation.

The cost: the child takes your low basis, so a later sale by the child has a large gain with no step-up, unlike land inherited at death. Holding the land until death, with a lease or a buy-sell agreement, often saves more tax.

A bargain right of first refusal may be ignored for estate valuation (IRC §2703).

Can I do a 1031 exchange on farmland, and into what?

Yes. Farmland is real estate held for business or investment, so you can sell it and buy other U.S. real estate without paying tax now, if you follow the rules (IRC §1031). You must name the replacement within 45 days and close within 180, never touch the money (a qualified intermediary holds it), and buy equal or greater value and debt to avoid tax on the difference.

What you can buy: other farmland, rentals, commercial property, a net-leased building, or an interest in a Delaware statutory trust. What does not count: equipment, livestock and, since 2018, personal property. A partnership interest cannot be exchanged. Cash you pocket is "boot" and is taxed. Your gain is not erased: the basis carries over, so you owe the tax later unless you hold until death.

The common farm problem is the deadline: finding good replacement land in 45 days in a hot market. If it fails, see a failed 1031 exchange and 1031 alternatives.

Which is better for a farm: a 1031 exchange, an installment sale, a Delaware statutory trust, or holding?

None is best for everyone. A 1031 exchange fits an owner who wants to stay in real estate. An installment sale fits an owner who wants cash income over years and a lower bracket. A Delaware statutory trust fits an owner who wants to exchange but not manage land. Holding fits an owner who does not need the money and expects to leave the land to heirs.

RouteYou getYou give upBest for
1031 into other land or rentalsNo tax now on the gainManagement and risk stay with you; 45 and 180 day clocks; basis carries overOwners who want to keep owning real estate
1031 into a Delaware statutory trustNo tax now, no managementFractional interest, sponsor fees, no control, hard to sell, a 1031 into it must also meet the deadlinesOwners who want hands-off real estate income
Installment sale (payout over years)Buyer pays in full at closing and you are not the bank; fixed payments, tax spread over years, no managementPayments cannot be sped up; unpaid gain at death is taxed to heirs; recapture in year oneRetirees who want a paycheck and a lower bracket
Hold and lease or leave to heirsStep-up in basis at death; rent incomeThe money; one concentrated risk; estate tax if over the exemptionOwners who do not need cash
Cash saleAll the money nowLargest tax bill in one yearOwners with a small gain or a large debt to pay

On the Iowa example, the cash sale costs $1,085,036 in tax in one year. A 10-year payout costs about $737,806 in total tax over the ten years, including tax on the interest. These numbers are not advice for you, because your basis, age and heirs change the answer. The side-by-side analysis puts your numbers in all of them. The first 15-minute scope call is free; the written analysis is $5,000.

Should I keep the farm until I die so my heirs get the step-up in basis?

If you do not need the money and your heirs will not owe estate tax, holding is often the lowest-tax answer. At death, the land's basis resets to its value at that date (IRC §1014), so the gain built up over your lifetime is never taxed.

Heirs can then sell at once with little or no gain. In 2026 the federal estate tax exemption is $15,000,000 per person, so most farm estates owe none.

In community property states (Texas, California, Wisconsin and a few others), both halves of community property step up at the first death (IRC §1014(b)(6)). Elsewhere only the dead spouse's half generally steps up.

Holding also has costs: you do not get the cash, the farm is one risk in one place, family disputes can follow, a few states have their own estate or inheritance tax, and the law can change. Land placed in an irrevocable trust outside your estate generally does not step up.

The better question is: do I need the money for my own life? If yes, the step-up does not help you, and a sale, an exchange or a payout may. See sell or keep.

Should I sell my farmland now or keep it?

Sell if you need the money for retirement, care or debt, if the land is most of your net worth, or if no heir wants to farm it. Keep it if you do not need the cash, the rent covers your costs, and an heir will take over or will inherit with a step-up. If you cannot decide, compare after-tax income from each path, not just price.

Land has done well for many owners, and also falls: values follow crop prices and interest rates, and a high price can reverse. The right decision depends on your age, your health, how the heirs feel, the debt on the land, and what a sale would net after tax.

Selling is not a bet on the market; it is a choice about concentration. The page's step-up section and cash rent comparison give the two sides.

Should I cash rent the farm or sell it?

Compare after-tax income, not rent against price. Cash rent is taxed as ordinary income each year, and the land stays at risk. A sale turns the land into money that can earn income, but costs tax up front. The cleanest comparison is: after-tax rent from keeping the land, against after-tax income from the net proceeds, with the tax paid up front or spread over a payout.

Holding to leave the land to heirs can beat both, because the gain is wiped out at death. A rent-versus-sell comparison in your numbers is part of the written analysis. The first 15-minute scope call is free; the written analysis is $5,000. See also selling land and spreading the gain.

Can a conservation easement lower the tax when I sell or keep my farm?

A donated conservation easement can give a large charitable deduction and lower the land's value, but it does not exempt a sale. A qualified farmer or rancher can deduct up to 100% of adjusted gross income for a year, with a 15-year carryforward (IRC §170(b)(1)(E)).

To qualify as a farmer, more than half of your gross income for the year must come from farming. The deduction is the drop in the land's value from the easement, set by an appraisal.

The costs: the easement is permanent and runs with the land, the sale price drops because developers will not pay for rights you gave away, and the deduction helps only if you have income to use it. It may also reduce the estate value (IRC §2031(c)).

Certain syndicated easements are now disallowed. USDA's Agricultural Conservation Easement Program and state or local programs can instead pay you for an easement; that payment is a sale of part of your land rights, taxed against an allocated basis. Get a qualified appraisal and an attorney before any gift.

What happens to my CRP contract if I sell the land?

A Conservation Reserve Program contract is with the USDA Farm Service Agency, and it does not automatically move to the buyer.

Usually the buyer can take it over if the FSA county office approves; if neither of you continues the contract, you may have to refund the payments you received, with interest, and may owe damages unless an exception applies (7 CFR Part 1410). Call the county FSA office before you sign a contract.

The tax effects: CRP payments are generally rental income, and they can be subject to self-employment tax; there is a rule for owners who receive Social Security retirement or disability benefits, so confirm with your preparer.

Cost-share payments that you excluded from income can be recaptured as ordinary income if you sell within 20 years (IRC §1255). Tell the buyer's appraiser about the CRP, since enrolled land may sell for less than open cropland.

Can I give farmland to charity or a charitable trust to avoid the capital gains tax?

Yes, giving appreciated land to a qualified charity avoids the capital gains tax on it, and you may get an income tax deduction for its fair market value, generally up to 30% of adjusted gross income with a five-year carryforward for gifts to public charities (IRC §170(b)(1)(C)).

A qualified appraisal is required. A land trust or a university may accept farmland; many will not take land with debt, hazards or no buyer.

A charitable remainder trust is the middle path. You give the land to the trust, the trust sells it without tax at the sale, and it pays you or you and your spouse an income for life or a term.

You pay tax on the payments as you get them, and the remainder goes to charity (IRC §664). The charitable remainder must be at least 10% of the value.

The cost is that the heirs do not get the land or the principal, so many families pair it with life insurance for the children. This route needs a trust attorney.

What is special use valuation for a farm, and what is the rollback if heirs sell?

Special use valuation lets an estate value qualifying farm real property at its farm-use value, not at its highest and best use, which can reduce the estate by up to $1,460,000 in 2026 (IRC §2032A).

The cost is a recapture: if the heirs sell the land outside the family or stop farming it within 10 years of the death, the estate tax saving is clawed back, in whole or in part. The heirs' basis is the value used in the election, so a smaller step-up.

It has tests: the farm real property must be at least 25% of the adjusted estate and the farm assets 50%, and a family member must have materially participated in 5 of the 8 years before death. At a $15,000,000 federal exemption, most estates do not need the election; some state estate taxes do matter.

This is a federal estate tax rule and not the same as a county rollback on property tax. See the property tax rollback question.

Will I owe rollback or recapture tax if I sell farmland for non-farm use?

Possibly. Many states assess farmland at its farm-use value, not its market value, and charge back some of the tax savings when the use changes. The sale itself usually does not trigger it; a change of use does, such as a subdivision, a house or a commercial project. Who pays, you or the buyer, is set in the contract, so write it in.

StateRule (as reported; confirm with the county)
TexasTex. Tax Code 23.55: change of use triggers a rollback of the prior three years plus interest
OhioR.C. 5713.34: CAUV recoupment of prior-year tax savings when land leaves agricultural use
Illinois35 ILCS 200/10-140: farmland roll-back on change to non-farm use
CaliforniaGov. Code 51283: Williamson Act cancellation fee when a contract is cancelled; the contract itself runs with the land
Other statesMost have a use-value program with a recapture, rollback or conversion charge; ask the county assessor

Check the assessor's records before you list, and tell the buyer. A rollback can be large on land being converted, and it sometimes becomes a lien. For tax savings on the income tax side, see the state table.

Can I use the home sale exclusion on the farmhouse?

Yes, if you owned the farmhouse and lived in it as your main home for at least two of the last five years, you can exclude up to $250,000 of gain, or $500,000 if married and both spouses meet the use test (IRC §121).

The house site and the land around it that you used as part of your home can be included. The rest of the farm, the barns and the cropland, cannot.

Limits: depreciation taken on a home office or a rented part of the house after May 6, 1997 is not excluded, and a separate building or part of the land used only for the farm business is not part of the home and is allocated out.

A surviving spouse who sells within two years of the other spouse's death can still use the $500,000. How much land goes with the home is a facts question; keep a survey and photos. If you move to a care facility, the "1 of the last 5 years" rule in §121(d)(7) may help. See the divorce page for how two owners share the exclusion.

When is a payout on a farm sale a bad idea?

A payout is a bad idea when your gain is small, you need all the cash now, your life expectancy is short, or you want the heirs to inherit the farm with a step-up. In any of those cases, a cash sale, an exchange or holding is the better fit.

For the rest, a payout can be a sound choice for a retiring farmer. It is one option, not the answer for every farm.

Who is selling: retiring owners, heirs, family and out-of-state owners

Short answers with links to the deeper pages.

Does this apply to farmland in Canada or the U.K.?

No. This page covers U.S. federal income tax and U.S. state rules. Canada, the U.K. and other countries tax farm sales and inheritances differently: Canada has a lifetime capital gains exemption for qualified farm property and a deemed-disposition rule at death; the U.K. has agricultural property relief and its own inheritance tax rules.

If you are a U.S. citizen or resident who owns farmland abroad, or a foreign owner of U.S. land, the rules are different again, and you need a preparer who handles cross-border returns.

I am a retiring farmer selling land. What are my options and what will I owe?

A retiring farmer selling land owes capital gain tax on the sale, plus recapture on equipment and buildings, plus state tax, and has five realistic choices: sell for cash, exchange into other real estate, take a payout over years (the buyer pays in full at closing and you are not the bank), lease the land and keep it for the step-up, or sell to a family member or a tenant.

Which one wins depends on how much income you need, your basis, your heirs and your state.

If you no longer materially participate in the farm, the gain may not be exempt from the 3.8% tax, so the sale can cost about $146,908 more than the same sale by an active owner in our Iowa example ($1,085,036 versus $938,128). The full retirement plan (income, Social Security, health costs, buying out siblings) is on selling the farm when you retire.

Do farmers pay estate tax or inheritance tax on the family farm?

Most U.S. farm families owe no federal estate tax. In 2026 the federal exemption is $15,000,000 per person, so a married couple can pass $30,000,000 with planning, and special use valuation can reduce the value of qualifying farm real property by up to $1,460,000 (IRC §2032A).

A few states add their own tax. Illinois has an estate tax that starts at $4,000,000; Minnesota's starts at $3,000,000, with an exclusion for qualified farm property; Nebraska has a county inheritance tax with rates set by the heir's relationship (spouses are exempt).

Iowa's inheritance tax is reported to have ended for deaths on or after January 1, 2025.

Most other farm states (Kansas, Indiana, North Dakota, South Dakota, Texas, Oklahoma, Missouri, Wisconsin, Ohio, California) have neither tax. This page covers U.S. rules. The U.K. inheritance tax changes that make news for farms there are a different law. See the state table and confirm with a local estate attorney as of October 2026.

Inherited farm sale taxes: what do heirs owe when they sell?

Heirs who sell inherited farmland usually owe little or no federal income tax, because the basis resets to the land's value on the date of death (IRC §1014); only growth after that date is taxed. The things that still cost money are state inheritance or estate tax (a few states), a missing date-of-death appraisal, selling costs, and how the siblings split the money.

The step-up applies to land in the decedent's estate, not to land given before death. Equipment gets a fresh basis too.

If the owner is still alive and will not sell, no one can force a sale; after death or incapacity, the deed, will, trust and power of attorney decide, and a co-owner can sometimes ask a court to order a sale (partition) in the state where the farm sits.

For disputes between siblings, partition, buyouts and one heir who wants to stay, see selling inherited farmland between siblings. If a parent is still alive, the step-up section shows why waiting can save the tax.

How is farmland valued, and how do I know what my farm is worth?

Farmland is valued three ways: recent sales of similar farms nearby (comparable sales), the income the land can produce (cash rent capitalized), and its soil productivity and features. An appraiser who works on rural land in your county, such as an accredited rural appraiser, weighs all three.

A broker's opinion or an auction can set a market price; a county assessment generally does not, because many counties assess farmland at use value.

What moves the price per acre: soil quality ratings, drainage and tile, water or irrigation rights, road access, parcel size and shape, buildings, minerals, CRP enrollment, and development potential. For published averages, look at your state's university land value survey and USDA reports (not a number from a listing site).

You need a qualified appraisal anyway for a date-of-death basis, an easement or a gift. The value number goes into the tax estimate, and the tax decides what is left.

What are the steps to sell a farm, and what should I do before I list it?

Do the tax plan before the listing agreement. A structured payout (the buyer pays in full at closing and you are not the bank) or an exchange must be built before closing, and some choices end once a contract is signed.

The usual order: confirm who owns the land and who must sign; rebuild your basis; get an appraisal; check the lease, CRP, minerals, easements and rollback; compare cash, exchange, payout and hold; then pick a broker or auction.

  1. List the owners, trusts and spouses who must sign, and any liens or leases.
  2. Rebuild basis and depreciation (past returns, Form 4562, closing papers, estate inventory).
  3. Get a rural appraisal, and a forester or mineral valuation if they matter.
  4. Check lease end dates, CRP, mineral and water rights, easements and ag assessment.
  5. Run a side-by-side tax comparison. The first 15-minute scope call is free; the written analysis is $5,000.
  6. Choose a broker, auction or direct buyer; put the chosen structure in the contract.
  7. Close, report the sale on the right forms, and plan estimated taxes.

Ask your CPA and a real estate attorney to review; I can build the comparison. For the full farm page, read from the top.

What state taxes apply when I sell farmland in Iowa, Nebraska, Kansas, Illinois, Texas or another state?

State tax on a farm sale ranges from none (Texas, South Dakota) to 13.3% (California) in 2026, and a few states may subtract some or all of the gain. Missouri subtracts 100% of capital gain from tax year 2025.

Iowa taxes the gain at 3.8%, with a reported exclusion for certain retired or disabled farmers (confirm on the return). Nebraska's top rate is 4.55%, Kansas 5.58%, Illinois 4.95%, Minnesota 9.85%. The table below covers 14 farm states, with the statute where we verified it and plain wording where we did not.

On the Iowa example, which assumes no state exclusion applies, the state tax is $154,128; the same sale in Nebraska is $184,548, which makes the whole one-year bill $1,115,456 rather than $1,085,036. Jump to Iowa, Nebraska, Kansas, Illinois, Texas or the full table.

If you live in another state, the farm's state still taxes the gain on its land, usually through a nonresident return, and your home state gives a credit. Some states also withhold part of the price at closing from a nonresident seller; California withholds 3 1/3% of the sales price unless you file for a reduced amount (R&TC 18662, Form 593). Ask the closing agent before closing.

Is there an Iowa exclusion for a retired farmer who sells land?

Yes, in part. The Iowa Department of Revenue says Iowa keeps an exclusion for certain capital gains of retired farmers age 55 or older, or disabled farmers, with conditions that you must meet on the Iowa return.

The earlier, broader Iowa deduction for capital gain on real property used in a farming business is reported to have ended for tax years starting in 2023, so older articles may be out of date.

This page does not quote the statute, so confirm the exact age, holding-period and participation conditions on the Iowa return instructions or with a preparer before you rely on it as of October 2026.

Iowa's flat rate is 3.8% in 2026 (Tax Foundation; the Iowa Department of Revenue page also discusses 3.9%, so confirm on the Iowa 1040 instructions). Iowa's inheritance tax is reported to have ended for deaths on or after January 1, 2025.

Federal tax is not changed by any of this. See the Iowa row in the state table and the 320-acre Iowa example higher on this page, which assumes no state exclusion.

Getting your numbers

How do I compare selling now, a 1031 exchange, a payout and holding in my numbers?

Ask for a side-by-side comparison on your own figures: basis, depreciation, age, state, income, debt and heirs. Hans Goldstein, EA, an enrolled agent admitted to practice before the IRS, runs one. The first 15-minute scope call is free; the written analysis is $5,000. The first call checks the facts, whether a payout fits, and what documents are needed.

What to bring: your last three returns and depreciation schedules (Form 4562 and the farm schedule), the closing papers or date-of-death appraisal, the lease, any loan balance, and an appraisal or offer if you have one.

We compare a cash sale, a 1031 exchange, a payout of 10 or 15 years (the buyer pays in full at closing and you are not the bank), a lease and hold, and, if it applies, a gift or easement.

See the structured sale calculator for a rough first look, and who writes this.

This is education, not tax or legal advice. Your CPA and attorney still decide and sign. A preparer should check any state rule before you rely on it.

Farm sale tax by state (2026)

Top rates are the 2026 state rates (Tax Foundation). Farm-specific relief is shown only where we verified it; for the rest we say what kind of rule exists and ask you to confirm it on the state return. Rollback and recapture rules apply to property tax or estate tax, not income tax. Not tax advice; confirm with a preparer as of October 2026.

State2026 top income tax rateFarm-specific relief on the gainRollback, estate or step-up notes
Iowa3.8% flatIowa DOR: exclusion for certain capital gains of retired farmers 55+ or disabled; general farm-property deduction reported ended 2023. Confirm on the return.No rollback verified. Inheritance tax reported ended for 2025+ deaths.
Nebraska4.55%No general farm gain exclusion verified. Beginning-farmer programs exist; terms to confirm.County inheritance tax by heir relationship; special valuation recapture rules may apply, confirm with the county.
Kansas5.58%No farm gain exclusion verified.No state estate or inheritance tax.
Illinois4.95% flatNo farm gain exclusion verified.Roll-back 35 ILCS 200/10-140. State estate tax starts at $4,000,000.
Indiana2.95% plus county taxNo farm gain exclusion verified.No state estate or inheritance tax.
Minnesota9.85% (plus 1% net investment tax over $1 million)No farm gain exclusion verified.Estate tax starts at $3,000,000, qualified farm property exclusion. Green Acres back-tax rules can apply when land leaves the program; confirm.
North Dakota2.5%May allow some relief on long-term capital gain or farm assets; whether it applies to your sale, and how much in 2026, must be confirmed on the state return.No state estate or inheritance tax.
South DakotaNo income taxNot applicable.No estate or inheritance tax. Opt-in community property trusts exist.
TexasNo income taxNot applicable.Rollback Tex. Tax Code 23.55 on change of use. Community property: both halves step up. No estate tax.
Oklahoma4.5%May allow some relief on long-term capital gain or farm assets; whether it applies to your sale, and how much in 2026, must be confirmed on the state return.No state estate or inheritance tax.
Missouri4.7%Subtracts 100% of capital gain from tax year 2025 (RSMo 143.121.3(14)(a)).No state estate or inheritance tax.
Wisconsin7.65%May allow some relief on long-term capital gain or farm assets; whether it applies to your sale, and how much in 2026, must be confirmed on the state return.Marital property state: both halves step up. Use-value conversion charge on change of use.
Ohio2.75%May allow some relief on long-term capital gain or farm assets; whether it applies to your sale, and how much in 2026, must be confirmed on the state return.CAUV recoupment R.C. 5713.34. No state estate tax.
California13.3%No farm gain exclusion verified.Williamson Act cancellation fee (Gov. Code 51283). Community property step-up. Nonresident sale withholding 3 1/3%.

Iowa

Iowa's top rate is 3.8% in 2026 (Tax Foundation). The Iowa Department of Revenue says Iowa keeps an exclusion for certain capital gains of retired farmers age 55 or older or disabled; the general deduction for farm real property is reported to have ended for 2023 and later.

Confirm the conditions on the Iowa return. Iowa's inheritance tax is reported to have ended for deaths in 2025 and later. In our Iowa example the state tax is $154,128. See the Iowa retired-farmer question.

Nebraska

Top rate 4.55% in 2026. We did not verify a farmland-sale gain exclusion, so assume ordinary state tax and ask the Nebraska Department of Revenue. Nebraska has a county inheritance tax with rates set by the heir's relationship to the owner. On our example the state tax is $184,548 and the one-year total is $1,115,456.

Kansas

Top rate 5.58% in 2026. No farm-specific gain exclusion verified. Kansas has no state estate or inheritance tax.

Illinois

Flat 4.95%, no preference for long-term gain. Farmland assessed under the Farmland Assessment Act can owe a roll-back for the year of change and the two years before, with interest, when use changes (35 ILCS 200/10-140). Illinois has a state estate tax that starts at $4,000,000, so a large farm can owe state tax even under the federal exemption.

Indiana

2.95% flat in 2026, plus the county income tax where you live. No farm-specific gain exclusion verified. No state estate or inheritance tax.

Minnesota

Top rate 9.85%, plus a 1% net investment income tax on investment income over $1 million, so a large gain can reach about 10.85%. Minnesota has an estate tax that starts at $3,000,000, with an exclusion for qualified farm property. Land in the Green Acres program can owe back property tax when it leaves the program; confirm the years with the county.

North Dakota

Top rate 2.5% in 2026. North Dakota may allow some relief on long-term capital gain or farm assets; whether it applies to your sale, and how much in 2026, must be confirmed on the state return. No state estate or inheritance tax.

South Dakota

No individual income tax, so no state tax on the gain. No state estate or inheritance tax. South Dakota is not a community property state, though it allows opt-in community property trusts.

Texas

No individual income tax. The property-tax side matters: land appraised for agricultural use can owe a rollback tax if its use changes, generally the previous three years plus interest (Tex. Tax Code 23.55). Texas is a community property state, so both halves of community property step up at the first spouse's death (IRC §1014(b)(6)). No state estate or inheritance tax.

Oklahoma

Top rate 4.5% in 2026. Oklahoma may allow some relief on long-term capital gain or farm assets; whether it applies to your sale, and how much in 2026, must be confirmed on the state return. No state estate or inheritance tax. Oklahoma may require withholding on a nonresident's real property sale, so ask the closing agent.

Missouri

Top rate 4.7% in 2026. Missouri subtracts 100% of net capital gain from tax year 2025 (RSMo 143.121.3(14)(a), verified from the statute), which covers a qualifying farmland sale. Read the statute for conditions and confirm on your Missouri return. No state estate or inheritance tax.

Wisconsin

Top rate 7.65% in 2026. Wisconsin may allow some relief on long-term capital gain or farm assets; whether it applies to your sale, and how much in 2026, must be confirmed on the state return. Wisconsin's marital property law works like community property for the step-up, so both halves step up at the first death. Use-value assessed land can owe a conversion charge when the use changes.

Ohio

2.75% in 2026 on income above the first $26,050. Ohio may allow some relief on long-term capital gain or farm assets (Ohio's business income rules may matter if the farm is run as a business); whether it applies to your sale, and how much in 2026, must be confirmed on the state return.

Land taxed under the Current Agricultural Use Value (CAUV) program owes a recoupment of prior-year savings, generally the previous three years, when use changes (R.C. 5713.34). No state estate tax.

California

California taxes capital gain as ordinary income, with a 13.3% top rate in 2026 (12.3% plus 1% over $1 million). We did not verify any farm gain exclusion. A Williamson Act contract runs with the land and a cancellation fee applies if cancelled (Gov.

Code 51283). California is a community property state, so both halves step up at the first death. A nonresident seller has 3 1/3% of the price withheld unless a reduced amount is filed. See California farmland capital gains.

Community property step-up: Texas, California and Wisconsin (marital property) give both halves of the property a new basis at the first spouse's death. Washington's 7% capital gains tax does not apply to real estate. Other states: top rates are Florida none, Nevada none, New York 10.9%, New Jersey 10.75%, Oregon 9.9%, Pennsylvania 3.07%, Virginia 5.75%, Arizona 2.5%; confirm on your return.

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.

What is the Section 1062 election for selling farmland?

It lets you pay the tax caused by a sale of qualified farmland property to a qualified farmer in 4 equal yearly installments (IRC §1062, added July 4, 2025, for sales in tax years beginning after that date). The land must have been farmed or leased to a farmer for substantially all of the prior 10 years and be restricted to farm use for 10 years after the sale.

Who is a qualified farmer for Section 1062?

An individual actively engaged in farming under the Food Security Act payment-limit rules (7 U.S.C. 1308-1(b) and (c)). A corporation, investor or developer is not.

Can I use Section 1062 and an installment sale together?

The statute spreads the tax on gain recognized in the sale year. I found no IRS guidance on combining it with an installment sale as of October 15, 2026, so ask your preparer before relying on both.

What are the taxes when I sell farmland to a neighbor?

The same as any farmland sale: long-term capital gain at 0%, 15% or 20% federal plus state tax, depreciation recapture on buildings and equipment, and possibly the 3.8% net investment income tax. A sale to a working farmer can also qualify for the Section 1062 four-year payment election.

Retiring farmer selling land: how is it taxed?

Farmland is taxed mostly as long-term capital gain on the sale price minus selling costs minus basis. Recapture is ordinary income. A payout over years or the Section 1062 election to a farmer buyer can spread the tax, and holding until death resets the basis for heirs.

Does the 453A interest charge apply to farm land sold on installments?

No. Property used or produced in the trade or business of farming is exempt from the 453A interest charge on large installment obligations (IRC §453A(b)(3)). Recapture is still taxed in year one.

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 can help you net more after 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.