In this guide
The basics: why minerals qualify
Section 1031 lets an investor defer capital gains tax by exchanging real property held for investment for other like-kind real property. Since the 2018 Tax Cuts and Jobs Act narrowed the provision to real property only, the whole question for oil and gas is classification — and here the law is friendly: mineral estates are real property interests, the same legal character that underlies everything in the mineral rights guide. "Like-kind" for real estate is famously broad: raw land, rentals, ranches, and qualifying mineral interests are all like-kind to one another, which is what makes minerals-for-buildings and buildings-for-royalties both possible.
What qualifies — and what fails
| Interest | 1031 status | Why |
|---|---|---|
| Fee mineral interest | Qualifies | Perpetual real property estate |
| Perpetual royalty / NPRI | Qualifies | Perpetual interest in the land's production |
| Working interest | Generally qualifies | Operating interest treated as real property |
| Overriding royalty (ORRI) | Often qualifies | Real property, but lease-life duration invites scrutiny |
| Mineral lease < 30 years | Fails | Short leaseholds aren't like-kind to fee |
| Production payment | Fails | A carved-out financial right, not real property |
| Term royalty / fixed-amount carve-out | Fails | Fleming: limited carve-outs aren't like-kind to fee |
The organizing principle: perpetual interests qualify; carved-out, self-terminating interests don't. A royalty that lasts as long as the land does is real estate; a right to the first $500,000 of production is financing dressed in mineral clothes. Anything in the gray middle — ORRIs, term interests, unusual hybrids — earns a tax opinion before the exchange, not after.
Both directions of the trade
Out of real estate, into minerals — the common direction. The seller of an appreciated rental, farm, or commercial building defers the gain into producing royalties or minerals, trading tenants and maintenance for passive checks that carry the 15% depletion allowance. The appeal is real; so is the risk of buying royalties under a deadline, covered below.
Out of minerals, into real estate — the mineral owner's exit. A family selling long-held minerals (per selling mineral rights) can defer the gain into any qualifying real estate, converting a declining income stream into a building — subject to the §1254 recapture analysis below. Minerals-for-minerals works too: trading a fractionated inherited scatter for a consolidated interest in one good unit is a legitimate, underused cleanup move.
Mechanics: QI, 45 days, 180 days
- The qualified intermediary (QI) must be engaged before closing the sale; the QI holds the proceeds throughout. If the money touches your account, the exchange is dead and the gain recognized.
- 45 days from closing to identify replacement property in writing (up to three candidates under the standard rule).
- 180 days from closing to acquire the replacement. Both clocks are calendar-rigid — no extensions for title problems, negotiations, or holidays.
- Value matching: to defer fully, the replacement must equal or exceed the relinquished property in both price and equity; shortfalls ("boot") are taxable.
Line up the minerals first. Forty-five days is brutally short to source, title-check, and negotiate mineral interests — the diligence in buying minerals and buying royalties doesn't compress well. Experienced exchangers identify targets, run title, and negotiate before closing the relinquished sale, so the clock starts with the hard work already done.
The §1254 recapture trap
Long-held producing minerals usually carry years of depletion — and for working interests, IDC deductions — that §1254 recaptures as ordinary income on disposition. In an exchange, that recapture is generally deferred only to the extent the replacement property is itself §1254 property — other oil and gas interests. Exchange minerals into an apartment building, and the capital gain defers while the accumulated recapture can be recognized as ordinary income in the exchange year — a tax bill arriving in a transaction the seller believed was tax-free. The planning responses: exchange minerals-for-minerals where recapture is large, quantify the exposure before choosing the replacement class, and never run a mineral exchange without a tax professional who has actually modeled §1254. The background mechanics are in how royalties are taxed.
Where exchangers go wrong
- Buying royalties under deadline pressure. The 45-day clock turns careful buyers into motivated ones, and mineral sellers know an exchange buyer when they see one. Underwrite with the royalty calculator at conservative prices exactly as if no exchange existed.
- Sponsored "1031 royalty programs" sold on the deferral. Packaged mineral offerings aimed at exchange money deserve the full skepticism of the scams casebook — the tax feature is real, but so are markups priced against your deadline.
- Misclassified interests — discovering the "royalty" was a term carve-out after closing.
- Touching the proceeds, missing a deadline by days, or engaging the QI after closing — mechanical failures that void everything.
- Ignoring recapture until the return is prepared.
Educational, not tax advice. Exchange qualification, like-kind analysis, and §1254 treatment turn on the precise interest and your history with it, and the cost of error is the entire deferred gain. A qualified intermediary, an oil-and-gas-literate tax professional, and — for the mineral side — the standard title diligence are all non-optional. This page maps the terrain; they clear it.