- Home
- 1031 Exchange for a Virginia Farm: the Rules, the Clocks and the Boot
1031 Exchange for a Virginia Farm: the Rules, the Clocks and the Boot
A 1031 exchange can defer the federal and Virginia income tax on a farm sale, but only if it is set up before you close. Here is how the pieces fit together.
Short answer: A 1031 exchange can defer the tax on a farm sale if a qualified intermediary holds the money, you identify replacement land within 45 days, and you close within 180 days.
Tell us about your land
A real person reads it and replies within one business day. No pressure, no listing pitch.
- Licensed Virginia real estate professional
- Replies within one business day
- Nothing advertised without your written authority
Prefer to talk? Call or text (571) 578-0012.
Barn and silos near Culpeper
- Identify replacement property within 45 days of closing; take title within 180 days or by your return due date
- Only real property held for business or investment qualifies; the house you live in is separate
- A qualified intermediary holds every dollar; money you can draw on counts as received
- Rollback follows a change of use, not a change of owner
- Virginia starts from federal adjusted gross income, so a deferred gain is generally not Virginia income
- This is not tax advice; confirm your numbers with a CPA before you list
What to do, in order
The order matters more than any one step.
- Talk to your CPA before you sign a contractHave the preparer estimate the gain, any depreciation recapture and the farmhouse split. The exchange has to be built into the contract, not added afterward.
- Engage a qualified intermediary before closingThe intermediary takes the sale proceeds at settlement so you never hold them. It cannot be your attorney, accountant or real estate agent.
- Carve out the residenceSeparate the house and the land around it so Section 121 can handle the home and the rest of the farm goes into the exchange.
- Identify replacement property within 45 daysName it in a signed writing delivered to your intermediary by midnight on day 45 after the farm transfers.
- Close within 180 daysTake title by the earlier of day 180 or your tax return due date for the year of sale, including extensions.
- File Form 8824 with your returnReport the exchange on Form 8824 with the federal return for the year the farm transferred.
What a 1031 exchange does on a farm sale
Section 1031 lets you sell real property held for productive use in a trade or business, or for investment, and defer the gain by putting the money into other like-kind real property inside strict deadlines. On a working farm that means fields, pasture, timber, barns and acreage held for appreciation.
The tax is deferred, not forgiven. The untaxed gain carries into the basis of the replacement property.
What counts as like-kind for a farm?
For real estate, like-kind is broad. Any United States real property held for business or investment can be exchanged for any other. A farm can go into another farm, raw land in another county, a rental building or a commercial building.
The properties do not need to be the same type, the same size or in the same use, so you do not have to buy another farm. Property outside the United States does not qualify.
What does not qualify?
Three things sit outside the exchange. The house you live in falls under the home-sale rules. Real property held primarily for sale does not qualify, which is the trap for an owner who subdivides and markets lots. And since the Tax Cuts and Jobs Act, only real property counts, so equipment and other personal property are not part of the trade.
Why does this come up so often on Virginia farm sales?
Ordinary Virginia farmland averaged about $5,434 an acre in Virginia Cooperative Extension's 2023 survey. Fauquier's Vint Hill data-center parcel sold for roughly $1.9 million an acre in July 2023.
A sale priced near corridor levels can put decades of gain into one tax year. For a sense of the gap, see how data-center land values compare to ordinary land.
Wine grapes at Bluemont, Loudoun County
The two clocks: 45 days to identify, 180 days to close
Both clocks start the day the farm you are giving up transfers. That is the closing date, not the contract date. You have until midnight on day 45 to identify replacement property in a signed writing delivered to your intermediary, and until midnight on day 180 to take title.
Neither clock stops for a weekend, a holiday or a slow survey. This is why the replacement search should begin before you list the farm.
What if my 180 days run past my tax return due date?
The second clock has a hidden limit. The exchange period ends at midnight on the earlier of day 180 or the due date, including extensions, of your return for the year you sold (Treas. Reg. § 1.1031(k)-1).
Close in November and your 180 days run past April. Without an extension, the window shuts on the return due date instead, so a late-year closing may need an extension filed.
How many replacement properties can I identify?
Identification is limited. You may name up to three properties of any value, or any number whose combined fair market value is no more than 200 percent of what you gave up.
If you exceed both limits, the identification counts only if you actually acquire at least 95 percent of the value you named. That is the practical reason to line up candidates early.
Tell us about your land before you list, so the intermediary, the clocks and the land-use question are settled with your CPA first.
The qualified intermediary and who cannot be one
You cannot hold the sale proceeds. Money credited to your account, set aside for you, or made available for you to draw on counts as received, and the exchange fails on that alone.
A qualified intermediary is engaged before closing, takes the proceeds at settlement, and pays them out to buy the replacement property.
Who cannot act as my qualified intermediary?
The intermediary cannot be you, a related party, or anyone who acted as your employee, attorney, accountant, investment banker or broker, or real estate agent or broker within the two years before the transfer. The IRS calls these disqualified persons (Treas. Reg. § 1.1031(k)-1(k)).
In practice that rules out your own attorney, your accountant and the agent who listed the farm.
What should the intermediary agreement say?
It should be a written agreement, signed before closing, that limits your right to receive, pledge or borrow against the proceeds. If the intermediary misses a deadline, the exchange still fails.
Choose one used to farm closings, and ask how the funds are held and insured.
Split-rail fence and open field, Manassas
Boot, debt and depreciation recapture
An exchange defers gain only to the extent the value comes back as like-kind real property. Cash you take out, and debt that is paid off and not replaced, is boot. Gain is recognized up to the amount of boot you receive.
Depreciation recapture can sit on top of the capital gain. Both belong in the conversation with your CPA before you list.
What is boot, in plain terms?
Trade a larger farm for a smaller one and keep the difference, and the difference is taxable. The same is true if the mortgage on the farm you sold is paid off at closing and you take on less debt on the replacement.
Putting new cash into the replacement can offset debt relief. How that nets out is a CPA question, not a rule of thumb.
How does depreciation recapture fit in?
If the farm included depreciated assets, such as improvements, certain farm structures or equipment treated as real property, a sale can trigger depreciation recapture. It is taxed differently from straight capital gain.
An exchange can address recapture in some cases, but the mechanics depend on what was depreciated and how the replacement is structured. Do not assume the exchange defers everything.
What comes off the settlement statement?
Rollback taxes, commissions, easement fees and a mortgage payoff all come off the settlement statement, which changes how much is left to reinvest.
Have your CPA and the intermediary review the draft statement together before closing, so you know which items reduce the exchange and which do not.
The house on the farm: Section 121 comes first
If the farm includes the owner's home, that house follows a different rule. The home is not investment property, so Section 1031 does not cover it. Section 121 may exclude part of that gain instead.
A working farm can mix personal and investment use, so the sale is split for tax purposes before the contract is signed.
How does Section 121 treat the farmhouse?
Under 26 U.S.C. § 121 you can exclude up to $250,000 of gain, or $500,000 on certain joint returns, if the house was your main home for two of the five years before the sale.
Revenue Procedure 2005-14 sets the order: Section 121 is applied first, then Section 1031 to the remaining business or investment portion.
What if the farm is part personal use and part investment?
The residence portion is handled under the primary-residence rules. The qualifying farm or investment acreage can go into the exchange.
Doing that split correctly takes coordination between your CPA and whoever is handling the exchange, and it has to be set up before the property goes under contract.
Can I cut the house and a few acres off the farm?
That is one way the split is done, but whether you can cut the lot at all depends on the county. In Fauquier it turns on the parcel's Fauquier division rights.
Open meadow and tree line, Manassas
The land-use tax bill is not part of the exchange
An exchange defers income tax; it does not defer or cancel a local land-use bill. Whether rollback taxes attach turns on a change of use under Va. Code § 58.1-3237, not on the exchange or the change of owner.
If you split off a lot before closing, Va. Code § 58.1-3241 tests that lot on its own while the remaining land keeps its assessment if it still qualifies. Ask the replacement farm's county about its land-use file before you identify it.
Virginia income tax follows the federal deferral
Virginia does not run a separate capital-gains system. A resident's Virginia taxable income starts from federal adjusted gross income under Va. Code § 58.1-322, so gain deferred under Section 1031 is generally not Virginia income that year.
Why does the federal deferral carry into Virginia?
Virginia's tax terms carry their federal meaning under Va. Code § 58.1-301, which conforms the state to the Internal Revenue Code as of a fixed date the General Assembly updates.
Ask your preparer which conformity date applies to your tax year.
What rate applies when the gain is recognized?
When the gain is eventually recognized, it is taxed at Virginia's ordinary rates. Under Va. Code § 58.1-320 the top rate is 5.75 percent on taxable income over $17,000.
When does Virginia need extra care?
Two situations need a CPA first: a replacement property outside Virginia, and a seller who is not a Virginia resident.
Form 8824, related parties, reverse exchanges and lots you cut
Form 8824 is filed with your federal return for the year the farm transferred. A related-party exchange, a reverse exchange and a subdivision each add a wrinkle, so raise them with your CPA before you sign.
This page explains how the rules read. It is not tax or legal advice, and every number depends on your file. Talk to your CPA and a qualified intermediary before you sell a farm in Virginia.
What happens in an exchange with a related party?
If the exchange was with a related party, you file Form 8824 again for the following years. A disposition of the property by either side soon after generally undoes the deferral.
What is a reverse exchange?
In a reverse exchange you buy the replacement farm first, through an exchange accommodation titleholder under Rev. Proc. 2000-37.
It costs more and needs cash up front, but it solves the day-45 problem when the right farm will not wait.
What if I subdivide the farm into lots first?
Lots you subdivide and market can be treated as property held primarily for sale, which Section 1031 does not cover. The subdivision can cost you the exchange as well as put the cut lots at risk of a land-use bill.
Run both numbers with a CPA before you file a plat. If the replacement farm carries an easement, read that first.
Questions we hear
Does a 1031 exchange on my farm trigger Virginia rollback taxes?
Not by itself. Under Va. Code § 58.1-3237 rollback follows a change in use or an owner-requested rezoning, not a change of ownership.
If the buyer keeps a qualifying use, none attaches on the sale. If the buyer converts the land, who pays is a contract term. The full picture is in our guide to our guide to rollback taxes in Virginia.
Can my real estate agent, attorney or accountant act as the qualified intermediary?
No. The intermediary cannot be you, a related party, or anyone who acted as your employee, attorney, accountant, broker or real estate agent in the two years before the transfer. The IRS calls them disqualified persons.
Does Virginia tax the gain I defer under Section 1031?
Generally not in the year of the exchange. Virginia taxable income starts from federal adjusted gross income, and the state's tax terms carry their federal meaning through its conformity to the Internal Revenue Code. When the gain is recognized, it is taxed at Virginia's ordinary rates, up to 5.75 percent on income over $17,000.
Should I split off the house before selling the farm?
One approach is to separate the house so Section 121 can cover its gain while the farmland goes through the exchange. Under Va. Code § 58.1-3241 only the split-off lot is tested for a land-use bill. Whether you can cut that lot depends on the county.
Do I have to buy another farm to qualify?
No. Any United States real property held for business or investment can be exchanged for any other. A farm can go into rental property, commercial real estate or land in a different market.
Does a 1031 exchange eliminate my tax bill?
No, it defers the tax. The deferred gain carries into the replacement property's basis, and depreciation recapture or boot may still be taxed. Talk to your CPA about your numbers, and tell us about your farm if you want a read on the land side.
Where the rules and the numbers on this page come from
Nothing here is legal, tax or appraisal advice, and no figure on this page is ours to invent. These are the statutes, agencies and research programs the page is built on. Read them yourself before you sign anything, and take the tax questions to your own CPA or attorney.
- Like-kind exchanges — real estate tax tips Internal Revenue Service
- Treas. Reg. § 1.1031(k)-1 — deferred exchange rules Cornell Legal Information Institute
- Treas. Reg. § 1.1031(k)-1 in the Electronic Code of Federal Regulations U.S. Government Publishing Office
- Va. Code § 58.1-320 — Virginia individual income tax rates Code of Virginia
- Va. Code § 58.1-322 — Virginia taxable income of residents Code of Virginia
- Virginia income tax guidance and forms Virginia Department of Taxation
- Form 8824, Like-Kind Exchanges (PDF) Internal Revenue Service
- Va. Code § 58.1-3241 — splitting off a lot from enrolled land Code of Virginia
- 26 U.S.C. § 121 — exclusion of gain from sale of principal residence Cornell Legal Information Institute
- 26 U.S.C. § 1031 (Cornell Legal Information Institute) Cornell Legal Information Institute
- IRS: Instructions for Form 8824 (PDF) Internal Revenue Service
- IRS Rev. Proc. 2005-14, Sections 121 and 1031 on one property (PDF) Internal Revenue Service
- Va. Code § 58.1-3237 — roll-back taxes when land-use changes Code of Virginia
- Va. Code § 58.1-301 (conformity to the Internal Revenue Code) Code of Virginia
- IRS: like-kind exchanges limited to real property Internal Revenue Service
Farm and land country, county by county
Licensed photographs of the working farmland, pasture and small-town edges this site covers. Each one is linked to the guide for the place it was taken.
Cattle on fall pasture, Sky Meadows State Park, Delaplane Fauquier County land guide
Rail fence and rolling pasture south of Leesburg Loudoun County land guide
Split-rail fence and open field, Manassas Prince William County land guide
Farm and fields, Youngs Lane, Elkwood Culpeper County land guide
Old barn and fence post, Sky Meadows State Park Land around Warrenton
Pasture below the Piedmont Overlook, Sky Meadows State Park Land around Bealeton
Cattle grazing below Lost Mountain, Fauquier County Land around Marshall
Hay bales on the Lost Mountain pastures, Fauquier County Land around The Plains
Horse pasture in Middleburg, Loudoun County Land around Middleburg
Hillside vineyard at Bluemont, Loudoun County Land around Purcellville
Farm lane near Aldie, Loudoun County Land around Leesburg
Open meadow and tree line, Manassas Land around Nokesville
Open field near Brawner Farm, Prince William County Land around Haymarket
Barn and corral fence, Elkwood farm Land around Culpeper
Pasture toward Ashby Gap and Lost Mountain, Fauquier County What an acre is worth in Fauquier
Wine grapes at Bluemont, Loudoun County What an acre is worth in Loudoun
Turner Pond and farm fields, Sky Meadows State Park What an acre is worth in Prince William
Open pasture, Elkwood farm What an acre is worth in Culpeper
Fence line and rolling pasture near Markham Land value across the four counties
Winter on the farm fields at Sky Meadows, Fauquier County Selling land in Virginia
A mix of interim licensed photography (public-domain and Creative Commons) and agent-supplied listing photography of Virginia farm country, used with permission — not properties this site currently represents. Photo credits and licences.
Tell us about your land
Whether you own acreage and want a straight read on what it's worth, you've had an offer you don't fully trust, or you're looking to buy farmland that actually works — send a note. A real person reads it and replies within one business day. No pressure, no listing pitch.
Prefer to talk? Call or text (571) 578-0012 · Email: [email protected]