Onshore oil pumpjack at dusk
Home  /  Insights  /  Mineral & Royalty
Mineral & Royalty

1031 Exchange for Oil & Gas: How Mineral & Royalty Owners Defer Taxes

Section 1031 isn't just for apartment buildings. Because mineral and royalty interests are real property, oil & gas owners can defer capital gains by exchanging into like-kind real estate — including royalty DSTs.

By Jerry Baker · June 12, 2026 · 9 min read

For most owners, the value locked inside a mineral or royalty position has a tax problem attached to it: sell, and a large share of decades of appreciation can be lost to capital gains and depletion recapture. Section 1031 of the Internal Revenue Code offers a way to defer that tax — and it is available to oil and gas owners because, under federal tax law, mineral and royalty interests are generally treated as real property.

What Is a 1031 Exchange for Oil & Gas?

A 1031 exchange — a "like-kind exchange" — lets an owner sell investment or business real property and reinvest the proceeds into other like-kind real property without recognizing the capital gain at the time of sale. The tax is deferred, not forgiven: your cost basis carries over into the replacement property, and gain is recognized only when you eventually sell without exchanging again.

The reason this matters for oil and gas is a single classification question. Since the 2017 Tax Cuts and Jobs Act, Section 1031 applies only to real property — exchanges of personal property and equipment no longer qualify. Oil and gas interests can still be exchanged because long-standing federal authority treats an interest in the minerals in place as an interest in real estate. That means a royalty owner in the Permian can, in principle, exchange into an apartment building, raw land, a Delaware Statutory Trust, or another producing mineral interest, and defer the gain.

The mechanics are identical to any real estate exchange: you cannot touch the sale proceeds, a qualified intermediary must hold them, and you must meet strict identification and closing deadlines. What differs is the diligence — confirming that both the interest you are selling and the interest you are buying actually qualify as like-kind real property.

Which Oil & Gas Interests Qualify as Real Property

Not every oil and gas interest is created equal in the eyes of Section 1031. The governing idea is whether the interest is a continuing (perpetual) interest in the minerals in place — one that lasts for the economic life of the reserve — rather than a right limited to a term of years or a fixed quantity of production.

Royalty interests are usually the cleanest fit. A perpetual royalty is a non-cost-bearing, non-operating share of production that continues for the life of the property, and the IRS has long treated such interests as real property. Overriding royalty interests (ORRIs) were specifically held to be interests in real property eligible for like-kind exchange in Revenue Ruling 72-117. Working (operating) interests are also real property — Revenue Ruling 68-331 treated a leasehold in a producing oil lease, extending until the deposit is exhausted, as like-kind to a fee ranch — but they carry drilling costs and operating liability that royalties do not.

The interests that tend to fail are the term-limited ones: a royalty carved out for a set number of years, a production payment (which the Code treats as a loan rather than a real-property interest under IRC §636), and other finite carve-outs. State law also matters — most producing states treat minerals as real property, but the definition is not uniform, so an interest that clearly qualifies in Texas may need closer analysis elsewhere. We cover the eligibility line in detail in Can You 1031 Exchange Mineral Rights? and Are Oil & Gas Royalties Eligible for a 1031 Exchange?

Interest Type1031 EligibilityWhy
Perpetual royalty interestEligibleContinuing, cost-free interest in real property for the life of the reserve
Fee mineral interestEligibleOwnership of minerals in place; real property in producing states
Overriding royalty (ORRI)UsuallyReal property per Rev. Rul. 72-117, but tied to the lease — confirm duration
Working (operating) interestUsuallyReal property per Rev. Rul. 68-331, but cost-bearing and operational
Term royalty / carve-outAt riskFinite duration generally fails the perpetual-interest test
Production paymentNoTreated as a loan under IRC §636, not a real-property interest

Exhibit 1 — General 1031 eligibility by oil & gas interest type. Educational summary only; eligibility is fact-specific and varies by state. Confirm with counsel.

Benefits: Tax Deferral, Diversification & Passive Income

The headline benefit is deferral: keeping the capital that would otherwise go to federal and state capital gains tax, the 3.8% net investment income tax, and depletion recapture fully invested and compounding. But for many mineral owners the more practical benefits are what the exchange lets them buy.

An exchange is an opportunity to trade a concentrated, single-basin position for something more diversified and more passive. A royalty owner exposed to one operator's drilling schedule can exchange into a diversified pool of interests, or into institutional real estate through a DST, without triggering tax. As a concrete example from our own coverage, Resource Royalty 27 — a debt-free, direct-title mineral and royalty DST spanning roughly 553 net royalty acres across a dozen properties in the Anadarko (Oklahoma) and northern Permian (Texas) basins — is structured specifically to serve as exchange-eligible replacement property, with operatorship held by well-capitalized producers so investors carry no drilling capex.

Because minerals are real property, a 1031 exchange lets an owner trade a concentrated royalty position for a diversified, passive one — and defer every dollar of gain in the process.

Jerry Baker
Key Takeaways
  • Mineral and royalty interests are generally treated as real property, so their sale proceeds can be reinvested through a 1031 exchange.
  • Perpetual royalty interests are the cleanest fit; term interests and production payments usually do not qualify.
  • The exchange can move an owner from a concentrated, commodity-linked position into diversified or passive real estate — including royalty-pool DSTs — with the gain deferred.

The 45- and 180-Day Timeline at a Glance

A 1031 exchange runs on two hard, non-extendable deadlines that begin the day your relinquished interest closes. Within 45 days you must formally identify your replacement property in writing; within 180 days you must close on it. Miss either and the exchange fails and the gain becomes taxable.

These deadlines are unforgiving for minerals specifically, because sourcing a qualifying replacement mineral or royalty package inside 45 days can be difficult. That is one reason many oil and gas exchangers identify a securitized option — such as a mineral or real estate DST that can close in days — as a backup, so a slow direct deal cannot force a failed exchange. Engaging your qualified intermediary before you close the sale is non-negotiable: once you have received the proceeds, the exchange is over.

An exchange makes the most sense when you have meaningful embedded gain, you want to stay invested in real assets, and you have a clear use for the deferral — whether that is diversification, a shift to passive income, or holding until a step-up in basis at death wipes out the deferred gain for your heirs. It makes less sense if your basis is already high (for example, recently inherited minerals with a stepped-up basis and little gain to defer) or if you need the cash.

Because eligibility turns on fact-specific legal questions — the form of your interest, its duration, and your state's law — this is a decision to make with qualified counsel and your CPA, not from a blog post. What an independent desk like Baker 1031 adds is the replacement side: surfacing exchange-eligible mineral, royalty, and DST options that fit your dollar amount and your deadline, and pressure-testing them before you commit. The rest of this cluster walks through each qualifying interest in turn.

Frequently Asked Questions

Can you do a 1031 exchange with oil and gas interests?

Yes. Because mineral and royalty interests are generally treated as real property under federal tax law, their sale proceeds can be reinvested through a Section 1031 like-kind exchange to defer capital gains. The interest must qualify as real property — typically a perpetual interest in the minerals in place rather than a term-limited right — and you must follow the standard 1031 rules, including using a qualified intermediary and meeting the 45- and 180-day deadlines.

What oil and gas interests qualify for a 1031 exchange?

Perpetual royalty interests, overriding royalty interests, and working (operating) interests that continue until the reserve is exhausted are generally treated as like-kind real property. Term royalties, production payments (treated as loans), and other finite carve-outs usually do not qualify. Eligibility is fact-specific and varies by state.

Can I 1031 exchange mineral rights for an apartment building?

Generally yes. Like-kind for real property is broad: a qualifying mineral or royalty interest can be exchanged for almost any other U.S. investment real estate, including multifamily, net-lease, raw land, or a Delaware Statutory Trust interest, and vice versa. The values and debt must be matched to achieve full deferral.

Did the 2017 tax law change 1031 for oil and gas?

The Tax Cuts and Jobs Act limited Section 1031 to real property only, ending like-kind treatment for personal property and equipment. Oil and gas royalty and mineral interests continue to qualify because they are treated as real property — the longstanding treatment under rulings such as Rev. Rul. 72-117 was preserved.

How long do I have to complete an oil and gas 1031 exchange?

The standard 1031 deadlines apply: 45 days from the sale to identify replacement property in writing, and 180 days to close. Both run from the date your relinquished interest closes and cannot be extended (absent limited federal disaster relief).

Do I need a qualified intermediary for a mineral rights exchange?

Yes. You cannot take possession of the sale proceeds. A qualified intermediary must hold the funds and handle the exchange documentation, including the special paperwork minerals involve such as deeds and division orders. Engage the QI before you close the sale.

Glossary

1031 Exchange
A like-kind exchange under Internal Revenue Code Section 1031 that defers capital gains tax when investment or business real property is exchanged for other like-kind real property.
Like-Kind Property
For Section 1031 purposes after 2017, U.S. real property held for investment or business use. Most real estate is like-kind to most other real estate, regardless of asset type.
Mineral Interest
Ownership of the minerals (oil, gas, and other resources) in place beneath a tract of land, including the right to extract them or lease that right to others. Generally treated as real property.
Royalty Interest
A non-operating, cost-free share of production (or its value) from a mineral property, free of drilling and operating expense. A perpetual royalty is generally a real-property interest.
Overriding Royalty Interest (ORRI)
A royalty carved out of a working interest that is tied to the lease rather than to the underlying mineral estate. Held to be a real-property interest eligible for like-kind exchange in Rev. Rul. 72-117.
Working Interest
The operating interest under an oil and gas lease — the right to drill and produce — which bears its share of costs and liabilities. Real property, but cost-bearing, unlike a royalty.
Production Payment
A right to a specified quantity or value of production for a limited period. Treated as a loan (a financing) under IRC §636, so it generally does not qualify as like-kind real property.
Qualified Intermediary (QI)
An independent party that holds the exchange proceeds and documents the transaction so the taxpayer never has actual or constructive receipt of the funds. Required for a deferred 1031 exchange.
Boot
Cash or non-like-kind value received in an exchange — including debt that is not replaced. Boot is taxable even within an otherwise valid 1031 exchange.
Depletion
A deduction that recovers an owner's investment as a mineral reserve is produced. It reduces the owner's cost basis over time, which affects the gain recognized on a later sale.

Sources & References

Disclosures

This article is published by Baker 1031 Investments, LLC for general educational purposes for accredited investors and is not an offer to sell or a solicitation of an offer to buy any security, nor is it tax, legal, accounting, or investment advice or a recommendation. Any securities offering is made solely through a sponsor’s private placement memorandum (PPM) following a suitability determination. Securities offered through Aurora Securities, Inc. (ASI), member FINRA / SIPC; Baker 1031 Investments is independent of ASI.

Oil & gas mineral and royalty interests and DST programs are speculative, illiquid securities sold only to verified accredited investors and involve substantial risk, including possible loss of principal, commodity-price and production-decline risk, lack of control, and the risk that an intended 1031 exchange fails to qualify for tax deferral. Whether a particular interest qualifies as like-kind real property is a fact-specific legal determination that varies by state and by the terms of the instrument. Tax results depend on your individual circumstances. Consult your own CPA and attorney before acting. Past performance does not guarantee future results.

1031 & DST insights for accredited investors, in your inbox.