Selling mineral rights can be a sound decision — to diversify out of a concentrated, declining asset, to simplify an estate, or to lock in value after a price run-up. But the sale comes with a tax bill that surprises many owners: capital gains, the net investment income tax, state tax, and the recapture of years of depletion deductions, which together can claim roughly a third of the proceeds. A 1031 exchange can defer all of it — but only if you set it up correctly and in the right sequence. The single most common way owners lose the chance is by closing the sale first and asking about a 1031 afterward, by which point the proceeds have been received and the exchange is impossible. This guide walks through the steps in order, so you keep the option alive and use it well.
When selling minerals triggers capital gains
Selling a mineral or royalty interest is a disposition of a capital asset, so the gain — sale price minus your adjusted basis and selling costs — is generally taxed as a capital gain. If you've held the interest more than a year, that's long-term capital gain, taxed federally at up to 20%. Higher-income owners add the 3.8% net investment income tax, and most states tax the gain as well, sometimes at meaningful rates. Already, that's three layers.
The fourth layer is what catches mineral owners off guard: depletion recapture. Throughout your ownership you likely deducted depletion — frequently percentage depletion at 15% of gross royalty income for qualifying owners — which sheltered part of your income but steadily lowered your adjusted basis. A lower basis means a larger gain on sale, and the portion of that gain attributable to the depletion you previously deducted is effectively recaptured. Long-held interests can have a basis near zero, so nearly the entire sale price becomes taxable gain.
Add the four layers together and the bill on an appreciated mineral sale routinely approaches or exceeds a third of the proceeds. That's the number a 1031 exchange defers. For an owner who intends to reinvest — whether back into minerals, into real estate, or into a passive DST — deferring that tax keeps a third more capital working in the next asset. The decision to sell and the decision to exchange are separate: you can do both, selling the minerals and rolling the proceeds forward tax-deferred.
Step 1 — Confirm your interest qualifies
Before anything else, confirm that what you're selling is a perpetual interest in real property, because only then can it be exchanged. A fee mineral interest or a perpetual royalty qualifies cleanly. A term interest, a lease-bound overriding royalty, or a production payment may not — production payments are treated as loans under Section 636 and generally can't be exchanged. If you hold a working interest, the real-property component qualifies but the tangible equipment is personal property that no longer qualifies after 2017 and must be carved out.
This characterization is a job for an oil and gas attorney or a tax adviser familiar with minerals, reading the actual conveyance that created your interest. The document's substance and duration — not its title — determine eligibility, and the determination can't be reversed after you've sold. An owner who skips this step and assumes their 'royalty' qualifies risks completing an exchange the IRS later disallows, turning a deferred sale into a fully taxable one with penalties.
If part of your interest doesn't qualify — say, the equipment in a working interest, or a non-qualifying term component — you can still exchange the qualifying portion and plan for the taxable remainder deliberately. The point of doing this first is to know exactly what's exchangeable and what isn't, so the rest of the plan is built on solid ground. Eligibility is the foundation; everything else assumes it.
Step 2 — Set up the exchange before you close
This is the step that makes or breaks the exchange. You must engage a qualified intermediary (QI) before the sale closes, because the QI has to receive the proceeds so that you never take actual or constructive receipt of them. If the buyer's funds reach you, your attorney's trust account, or any account you control — even briefly — the exchange is dead and the full tax is due. There is no after-the-fact fix; the sequence is everything.
Concretely, before closing you sign an exchange agreement with the QI, the QI is assigned into your purchase and sale agreement, and the closing instructions direct the proceeds to the QI's segregated qualified escrow account. Your sale contract should also include language noting your intent to effect a 1031 exchange and the buyer's cooperation. None of this is burdensome, but all of it must be in place before the closing happens, which is why you set up the exchange while the sale is still pending — not after it funds.
Mineral sales add one wrinkle worth flagging: trailing production checks. Royalty and production proceeds for periods before closing often arrive weeks later, after the sale has closed. These need to be handled per your QI's and CPA's instructions so they don't inadvertently become receipt of exchange funds. Sorting out the mechanics for trailing income before closing — who receives it, how it's routed — prevents an avoidable problem unique to oil and gas exchanges.
Engage the qualified intermediary before the sale closes. If the proceeds ever reach you, the exchange is dead — and there's no fix after the fact.
Step 3 — Find replacement property in 45 days
From the day your mineral sale closes, you have 45 days to identify replacement property in writing and 180 days to close on it. Both clocks start together and are absolute. Identification is a signed, written notice unambiguously describing each candidate, delivered to the QI — not your agent — by day 45. After that, you can't add or change properties, so the identification you make is the menu you must close from.
Because the 45 days are short and markets for some assets are thin, the winning move is to start building your replacement shortlist before you sell. Mineral sellers have a broad menu: conventional investment real estate (like-kind to your perpetual interest), DSTs (passive, securitized institutional real estate), and securitized oil and gas royalty programs (staying in minerals but diversified). Lining these up in advance turns the 45 days into a selection window rather than a frantic search.
Identify more than one option, and include a fast-closing backup. Under the 3-property rule you can name up to three properties of any value; a sensible structure is a primary target plus one or two backups, with at least one being a DST or royalty pool that's certain to close quickly. If your primary deal stalls after day 45, that backup is the difference between completing the exchange and watching it fail. For mineral sellers especially — where valuation and closing can be slower — this insurance is close to essential.
Step 4 — Avoid the cash ('boot') pitfalls
To defer the entire gain, you must reinvest all of your net proceeds and acquire replacement real property of equal or greater value than the net sale price. Any cash you keep, or value you fail to replace, is 'boot' and is taxable up to the amount of your gain. The most common way mineral sellers accidentally create boot is by pulling some proceeds out at closing or by reinvesting into a cheaper replacement than what they sold.
Debt is usually less of an issue for mineral sellers than for real estate investors, because mineral and royalty interests are often unencumbered — there's no mortgage to replace. That simplifies the math: with no debt to match, full deferral generally just requires reinvesting all the cash proceeds into equal-or-greater-value replacement property. If your interest did carry debt, though, you'd need to replace it (with new financing or added cash) to avoid mortgage boot, exactly as in any exchange.
If you want some cash out — say, to cover taxes on a non-qualifying portion or for a specific need — you can do a partial exchange deliberately, deferring most of the gain and paying tax only on the boot you choose to take. The key is intentionality: plan the taxable amount with your CPA in advance rather than stumbling into boot by mishandling the proceeds. Done knowingly, a partial exchange is a useful tool; done accidentally, boot is just unnecessary tax.
A worked example — deferring tax on a $1M mineral sale
Consider an owner selling a perpetual royalty interest for $1,000,000. Suppose years of depletion have driven the adjusted basis down to roughly $100,000, leaving about $900,000 of gain. Stacking the layers — federal capital gains at up to 20%, the 3.8% net investment income tax, and state income tax (say a combined effective rate in the low-to-mid 30s once depletion recapture is included) — the tax on a straight sale could land in the neighborhood of $270,000 to $300,000. That's the money a 1031 keeps invested.
Now run the same sale as an exchange. Before closing, the owner engages a QI; at closing, the full $1,000,000 goes to the QI's escrow rather than to the owner. Within 45 days, the owner identifies a primary replacement — say, a diversified DST portfolio of institutional real estate — plus a backup DST, both certain to close quickly. Within 180 days, the owner closes, the QI deploys the full $1,000,000 into the replacement property, and because the entire net proceeds were reinvested into equal-or-greater value with no debt to replace, no boot is created and the entire gain is deferred.
The result: instead of reinvesting roughly $700,000–$730,000 after tax, the owner has the full $1,000,000 working in diversified, passive real estate, with the deferred tax compounding on their behalf. Held until death, the chain could receive a stepped-up basis, potentially erasing the deferred gain for heirs. The numbers here are illustrative and every situation differs — your CPA should run your actual figures — but the structure shows why mineral owners who intend to reinvest so often choose to exchange rather than simply sell.
- Selling minerals triggers capital gains, NIIT, state tax, and depletion recapture — often ~a third of proceeds.
- Confirm your interest is a perpetual real-property interest before you sell; eligibility can't be fixed later.
- Engage the QI before closing — proceeds touching you ends the exchange — and plan for trailing royalty checks.
- Reinvest all proceeds into equal-or-greater value to avoid boot; identify a fast-closing DST or royalty-pool backup.
Step 5 — Assemble the right team early
Every step above is easier with the right people in place before you sell, and mineral exchanges reward specialized experience more than ordinary real estate exchanges do. The qualified intermediary is required and must be engaged before closing; for minerals, choose one comfortable with oil and gas closings and the trailing-income mechanics, and vet their fund security — segregated escrow, fidelity bonding, and errors-and-omissions coverage — since those funds are irreplaceable if mishandled.
Your CPA does the heavy analytical lifting: confirming the gain and basis, quantifying depletion recapture, allocating any personal property in a working interest, modeling the four-layer tax, and ultimately reporting the exchange on Form 8824. A CPA who understands mineral taxation will catch issues a generalist might miss — the percentage-depletion history, the recapture math, and the interaction with state tax in both the producing state and your residence state. Engage them before you sign, not at filing time.
An oil and gas attorney or experienced advisor rounds out the team. The attorney characterizes the interest from the conveyance documents — the threshold eligibility question — and an advisor sources mineral-appropriate replacement property, builds in a fast-closing backup, and coordinates the deadlines so nothing slips. Because minerals add characterization, valuation, and trailing-income wrinkles on top of the standard 1031 mechanics, a team that has done oil and gas exchanges before is worth seeking out. Assembled early, this team turns a potentially fraught mineral sale into a routine, fully deferred exchange.
How Baker 1031 helps you sell minerals and defer the tax
Baker 1031 Investments helps mineral and royalty owners run this sequence correctly: confirming the interest qualifies (in coordination with your tax adviser), estimating the four-layer tax including depletion recapture, engaging a qualified intermediary before closing, and sorting out the trailing-income mechanics unique to oil and gas. We then help you identify replacement property that fits your goals — conventional real estate, institutional DSTs, or securitized royalty programs — and build in a fast-closing backup so the 45-day clock never forces a poor choice.
Securities such as DSTs and royalty programs are offered through the broker-dealer, Aurora Securities, Inc. (member FINRA/SIPC), and any recommendation follows a suitability review for your specific situation. The figures in this guide are illustrative; your CPA should model your actual numbers. Our role is to help you sell your minerals on your terms while deferring the tax and reinvesting the full proceeds — ideally starting the conversation before you've signed a purchase agreement, when every option is still open.
Frequently Asked Questions
How do I sell mineral rights and defer capital gains?
Use a 1031 exchange: confirm your interest is a perpetual real-property interest, engage a qualified intermediary before the sale closes so you never receive the proceeds, identify like-kind replacement property within 45 days, and close within 180 days, reinvesting all proceeds into equal-or-greater value. Done in that order, the exchange defers the full capital gains and depletion-recapture tax.
What tax do I owe when I sell minerals?
A mineral sale typically triggers federal capital gains (up to 20%), the 3.8% net investment income tax, state income tax, and depletion recapture from years of deductions that lowered your basis. Combined, the bill often approaches or exceeds a third of the proceeds, especially on long-held interests with a low basis.
What's the one mistake that ends a mineral exchange?
Closing the sale before engaging a qualified intermediary. If the proceeds reach you or an account you control — even briefly — you've taken constructive receipt and the exchange is impossible. The QI must be in place before closing so the funds go to its escrow instead. There's no after-the-fact fix.
Do I have to confirm my interest qualifies first?
Yes, before anything else. Only a perpetual real-property interest can be exchanged. Fee minerals and perpetual royalties qualify; production payments (debt under §636) and many term interests don't, and working-interest equipment is taxable personal property. Have a tax adviser characterize the exact interest from the conveyance documents — it can't be fixed after the sale.
What are the deadlines?
From the day your sale closes, 45 days to identify replacement property in writing and 180 days to close on it. Both clocks start together and are absolute, falling on weekends and holidays without extension. Because mineral valuations and replacement markets can be slow, identify a fast-closing backup to ensure you can close in time.
What is boot, and how do I avoid it?
Boot is cash or value you receive rather than reinvest; it's taxable up to your gain. To avoid it, reinvest all your net proceeds into replacement real property of equal or greater value. Mineral interests are often unencumbered, so with no debt to replace, full deferral usually just means reinvesting all the cash into equal-or-greater value.
How are trailing royalty checks handled in an exchange?
Royalty proceeds for pre-closing periods often arrive after the sale closes. These must be routed per your QI's and CPA's instructions so they don't become receipt of exchange funds and jeopardize the exchange. Sort out who receives trailing income, and how, before closing — it's a wrinkle specific to oil and gas exchanges.
What can I reinvest the proceeds into?
Any like-kind investment real estate: conventional property you own directly, DSTs (passive, securitized institutional real estate qualifying under Rev. Rul. 2004-86), or securitized oil and gas royalty programs that keep you in minerals but diversified. The choice depends on whether you want to leave the energy space, your need for diversification, and how passive you want to be.
Can I take some cash out and still exchange?
Yes — that's a partial exchange. You can reinvest most of the proceeds tax-deferred and intentionally keep some cash as boot, paying tax only on that portion. Plan it deliberately with your CPA so the taxable amount is known in advance — for example, to cover tax on a non-qualifying part of the interest — rather than creating boot by accident.
How much tax could I defer on a $1 million sale?
On a $1,000,000 sale of a low-basis royalty (say ~$900,000 gain), the four-layer tax could be roughly $270,000–$300,000 depending on your bracket and state. A full 1031 defers all of it, letting you reinvest the entire $1,000,000 rather than ~$700,000–$730,000 after tax. Figures are illustrative; your CPA should run your actual numbers.
Is it worth exchanging if I want to leave the oil and gas business?
Often yes. A 1031 lets you exit minerals entirely by exchanging into real estate or passive DSTs while deferring the tax — converting a depleting, volatile asset into stable, diversified, professionally managed real estate. You don't have to stay in oil and gas to use a 1031; you only need to reinvest into like-kind real property.
When should I start the process?
Before you sign a purchase agreement, ideally. Confirming eligibility, engaging the QI before closing, and building a replacement shortlist all need to happen before the sale funds. Starting after you've closed is too late for the exchange. The earlier you involve your tax adviser, QI, and an advisor, the more options stay open.
Can I still exchange if a buyer is already pressing me to close?
Possibly, if you act immediately — but you must get a qualified intermediary in place and the exchange documents signed before the closing funds, which can be arranged quickly if everyone moves. What you cannot do is close first and arrange the 1031 afterward. If a buyer is pushing, tell them you're structuring a 1031 and need the QI assigned into the contract before closing.
What happens to my depletion deductions after I exchange?
When you exchange into replacement real property, your carried-over basis and the deferred gain move with you, and your future deductions follow the new asset (for example, depreciation on a real estate or DST replacement). You stop generating mineral depletion because you no longer own the minerals, but the tax you deferred — including recaptured depletion — stays deferred in the new property.
Does deferring the tax mean I never pay it?
Not exactly — a 1031 defers, it doesn't forgive. The deferred gain carries forward in your basis and would be recognized on a future taxable sale that isn't itself an exchange. However, if you keep exchanging and hold until death, your heirs may receive a stepped-up basis that eliminates the deferred gain entirely. Many owners exchange repeatedly with exactly that outcome in mind.
Can I move from minerals into a DST and later into a REIT?
Potentially. Some DSTs are structured so that, at the end of their life cycle, investors can roll into a REIT operating partnership through a 721 exchange (an 'UPREIT'). That can provide further diversification and liquidity, though it's typically a one-way move that ends future 1031 eligibility for that interest. It's an advanced strategy to discuss with your advisor and CPA.
Glossary
- Capital Gain
- The excess of sale price over adjusted basis and selling costs; taxed at up to 20% long-term federally.
- Adjusted Basis
- Original cost reduced by depletion and other adjustments; a low basis means a larger taxable gain.
- Depletion Recapture
- Gain on sale attributable to prior depletion deductions that reduced the asset's basis.
- Net Investment Income Tax (NIIT)
- A 3.8% tax on investment income for higher-income taxpayers, applying to mineral-sale gains.
- Perpetual Interest
- An interest continuing for the life of production, treated as real property eligible for 1031.
- Production Payment
- A right to a specified sum or volume of production, treated as a loan under IRC §636 — not exchangeable.
- Qualified Intermediary (QI)
- The independent party that must receive the proceeds before closing so the seller never takes receipt.
- Constructive Receipt
- Access to or control over the proceeds, which disqualifies the exchange.
- 45-Day Identification Period
- The window after closing to identify replacement property in writing.
- 180-Day Exchange Period
- The window after closing to acquire the replacement property.
- Boot
- Cash or non-like-kind value received in an exchange; taxable up to the amount of gain.
- Partial Exchange
- An exchange in which some proceeds are intentionally kept as taxable boot while the rest is deferred.
- Trailing Income
- Royalty or production proceeds for pre-closing periods that arrive after the sale and must be routed carefully.
- Delaware Statutory Trust (DST)
- A securitized fractional interest in institutional real estate qualifying as 1031 replacement property.
- Royalty Program
- A securitized vehicle holding many royalty interests, used as diversified replacement property.
- Step-Up in Basis
- The reset of basis to fair market value at death, which can erase deferred gain for heirs.
Sources & References
- IRS. Like-Kind Exchanges Under IRC Section 1031 (FS-2008-18)
- IRS. Oil and Gas Handbook — Depletion (IRM 4.41.1)
- Cornell Legal Information Institute. 26 U.S. Code § 636 — Mineral production payments
- IRS. Revenue Ruling 2004-86 (Delaware Statutory Trusts)
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.
