Tax Implications of Ag Real Estate Sales in California: Strategies for Deferral and Reinvestment

A California farmer holds 150 acres of almond orchard. Appraised value today: $2.1M. Original basis: $400k (purchased 25 years ago). Realized gain on sale: $1.7M.
Federal capital gains tax on that gain: roughly $255k (at long-term rates).
California state income tax: roughly $153k.
Total tax bill if they sell outright: ~$408k.
Now: what if there's a way to defer most or all of that tax, keep the capital working, and potentially end up in a better financial position? That changes everything about whether to hold, sell, or transition the operation.
This isn't tax advice—talk to a CPA about your specific situation—but here's how farmers actually think about these decisions from a financing perspective.
The 1031 Exchange: Deferral, Not Elimination**
The 1031 exchange (named after the IRC section) allows you to sell one property and reinvest the proceeds in a like-kind property, deferring capital gains tax until you eventually sell without doing another exchange.
How it works:
- You sell the almond orchard for $2.1M
- Within 45 days, you identify replacement agricultural property (or properties)
- Within 180 days, you close on the replacement property
- Capital gains tax is deferred (not eliminated—deferred)
- Your basis in the new property carries over the deferred gain
The farmer who does this keeps $2.1M working in agricultural real estate instead of writing a $408k tax check. The $2.1M continues to compound. The tax is due later (or never, if the property is passed to heirs at a stepped-up basis).
Common mistake: Farmers think "1031 exchange = avoid taxes forever." Wrong. It's deferral. The tax is due when you eventually sell without doing another exchange, or when the property is liquidated.
Common win: A farmer sells a $2M orchard, does a 1031 exchange into a $2.5M dairy operation (using some outside capital to bridge the gap). They've upgraded their operation, deferred the tax, and improved their business position. When they eventually exit in 10-15 years, they may pass it to heirs at stepped-up basis, effectively erasing the deferred gain entirely.
Partial Sales and Partial Deferrals**
You don't have to exchange the entire sale price. A farmer can:
- Sell $2.1M property
- Exchange $1.5M into a replacement property (deferring tax on that $1.5M)
- Take the remaining $600k in cash and pay the tax due on that portion
Why do this? Because sometimes you want to: - Pull equity for a retirement plan - Fund equipment or infrastructure improvements to your remaining operation - Diversify out of one crop or region You get tax deferral on the capital you keep in real estate and take your hit on the capital you're pulling out. That's strategic thinking instead of all-or-nothing.
The Refinance Alternative (Instead of Selling)**
Before you sell and do a 1031 exchange, consider this: what if you just refinance?
The same farmer with $2.1M in property and $400k in basis could:
- Option A (Sell & 1031): Sell for $2.1M, execute 1031 exchange, defer gains, reinvest in similar-like property
- Option B (Refinance): Refinance the $2.1M property, pull out $800k in equity via cash-out refinance, pay no capital gains tax on the pulled equity
Option B is tax-free. Loan proceeds aren't taxable. If the farmer needs $800k for equipment, operating capital, or a second property purchase, a refinance gets them there with zero tax liability.
Why doesn't every farmer do this? Because refinancing increases debt service. The farmer needs the operation to support higher debt payments. A 1031 exchange, by contrast, doesn't increase debt—it just moves capital from one property to another.
The choice depends on your cash flow and debt tolerance.
Installment Sales: Spread The Gain, Spread The Tax**
What if you sell the property and the buyer pays over time (seller financing) instead of all at closing?
With an installment sale, you report the gain as you receive the payments, not all in the year of sale. This spreads the tax liability across multiple years, which can be valuable if the gain is large.
Example:
- Sell $2.1M property with $1.7M gain
- Buyer pays $400k down, $1.7M over 10 years (seller note)
- You report ~$170k of the gain each year for 10 years
- Your annual tax liability is spread instead of lumpy
This also keeps you as a lender to the buyer, creating ongoing income. For farmers, this is sometimes preferable to a cash exit because it provides long-term cash flow and maintained engagement with the property.
The Succession Planning Angle**
Many farmers hold property for decades because they're thinking about estate planning, not exit planning.
Key fact: when you die, your heirs inherit at a stepped-up basis. That means your $2.1M property with a $400k basis effectively resets to $2.1M basis in their hands. The $1.7M deferred gain disappears (from a federal tax perspective).
That's a powerful reason to hold instead of sell if:
- You're 55+ and don't need the capital
- Your heirs want to continue farming
- The operation is generating acceptable income
But if your heirs don't want to farm, or the operation is marginal, holding for the stepped-up basis is just deferring your kids' future tax liability—not eliminating it.
Putting It Together: When To Sell, When To Hold, When To Refinance**
Sell (and potentially 1031 exchange) if:
- You want to upgrade operations (move to a larger or better-positioned property)
- You want to diversify (exit one crop/region, enter another)
- You want to exit partially (sell some land, keep some, pull equity)
- The property is generating poor returns relative to market value
Hold (no sale, no refinance) if:
- The operation is generating strong returns and you're happy with it
- You're close to retirement and don't need additional capital
- You're planning to pass to heirs and want stepped-up basis
Refinance (cash-out refi, no sale) if:
- You need capital for improvements or operations but want to stay farming
- You want to avoid capital gains tax
- Your operation can support higher debt
- You want to keep the property but access equity
These decisions are deeply personal and depend on your age, goals, family situation, and tax picture. But understanding the mechanics means you're making strategic choices instead of just hoping things work out.
Ready to model your specific tax and financing scenarios? Call (408) 260-5900 or apply for a tax-efficient transition consultation. We'll walk through sale vs. refinance vs. hold options and help you understand the financing implications of each.
