Oil and gas production site at sunset
Home  /  Insights  /  Mineral & Royalty
Mineral & Royalty

Capital Gains Tax on Selling Mineral Rights — and How to Defer It

Before you sell minerals, understand the tax: the four-layer stack of capital gains, depletion recapture, net investment income tax, and state tax — and the deferral tools, led by the 1031 exchange, that can keep your capital working instead of paying it to the government.

By Jerry Baker · June 5, 2026 · 16 min read

Selling mineral rights can be the right financial decision — to diversify out of a concentrated asset, simplify an estate, or capture value after a price run-up — but the tax that comes with it is larger and more layered than most owners expect. A mineral sale doesn't just trigger capital gains; it stacks several taxes on top of one another and recaptures years of deductions you may have forgotten you took. Understanding that tax is the first step, because once you see how big it is, the case for deferring it becomes clear. This guide explains exactly how mineral sales are taxed — long-term gain versus ordinary income, the all-important depletion recapture, and the full four-layer stack — and then walks through the deferral tools available to keep your capital working, led by the 1031 exchange but including a few alternatives worth knowing.

How mineral rights sales are taxed

When you sell a mineral or royalty interest, the IRS treats it as the disposition of a capital asset, so your gain is generally a capital gain. The gain is the difference between your net sale price (the gross price minus selling costs like broker commissions and closing fees) and your adjusted basis in the interest. For most owners, the surprise isn't the concept — it's how low their adjusted basis has become, which makes the gain, and the tax, much larger than the headline sale price might suggest.

Your adjusted basis starts at what you paid for the interest (or its stepped-up value if you inherited it) and is reduced over time by the depletion deductions you've claimed. Because owners deduct depletion year after year against their royalty income, the basis steadily erodes — and for a long-held interest, it can approach zero. When basis is near zero, nearly the entire sale price is gain. An owner who paid little, or inherited decades ago and has been depleting ever since, can find that a $500,000 sale produces something close to $500,000 of taxable gain.

On top of the federal capital gains tax, mineral sales typically attract additional layers: the net investment income tax and state income tax, plus the recapture of depletion, which is taxed in a particular way discussed below. The combined effect is what makes mineral-sale taxation feel heavier than a simple capital gains rate would imply. The sections that follow break each layer down so you can estimate, with your CPA, what a sale would actually cost — and therefore what a deferral would save.

Long-term capital gains vs. ordinary income

The most favorable treatment applies when your interest is a capital asset held for more than a year and sold for a gain. That gain is long-term capital gain, taxed at the preferential federal rates — 0%, 15%, or 20% depending on your income, with most mineral sellers of any size landing at the 20% rate. Long-term treatment is the baseline expectation for an investor who has held mineral or royalty interests for years and is now selling.

Not every dollar gets that rate, though. The portion of your gain attributable to prior depreciation or depletion deductions can be recaptured and taxed differently — sometimes at ordinary rates, sometimes capped — which is why a 'capital gains' sale isn't taxed entirely at the capital gains rate. And if you're in the business of buying and selling mineral interests as a dealer, rather than holding them for investment, your gains can be ordinary income taxed at higher rates, not capital gains at all. Most royalty owners are investors, but the dealer line is worth knowing.

Holding period and intent therefore both matter. An interest held over a year and held for investment gets long-term capital gains treatment on the non-recapture portion of the gain. An interest held a year or less produces short-term gain taxed as ordinary income, and dealer activity produces ordinary income regardless. For the typical long-term royalty owner selling an appreciated interest, the analysis is long-term capital gain on most of the gain, with a recapture slice carved out — which brings us to the recapture rules that so often catch owners off guard.

Depletion recapture explained

Depletion is the deduction that lets mineral owners recover the value of a depleting asset, much as depreciation does for buildings. Many royalty owners use percentage depletion, frequently 15% of gross royalty income for qualifying small producers and royalty owners, which shelters a portion of the income from tax each year. Cost depletion, based on the actual basis and reserves, is the alternative. Either way, depletion is valuable while you hold the interest — but it has a tail at sale.

Every dollar of depletion you deduct reduces your adjusted basis. A lower basis means a larger gain when you sell, and the portion of that gain attributable to the depletion you previously claimed is effectively recaptured — the benefit you received over the years is, in part, recovered by the government at sale. This is why owners who diligently took depletion deductions for decades face the largest gains: the same deductions that sheltered their income steadily built up the taxable gain waiting at the end.

The mechanics of how recapture is taxed depend on the specifics and should be confirmed with your CPA, but the practical takeaway is simple and important: don't assume your basis is what you paid. Years of depletion may have driven it far lower, enlarging your gain well beyond what the purchase price would suggest. This is the single most common reason mineral sellers underestimate their tax — and the single most compelling reason to model the real number before selling, because it's usually the figure that makes deferral worthwhile.

The same depletion deductions that shelter your income each year quietly build the taxable gain waiting at sale. Don't assume your basis is what you paid.

The full four-layer tax stack

Put the pieces together and a mineral sale faces as many as four layers of tax. The first is federal capital gains, up to 20% on the long-term gain. The second is depletion recapture, the portion of gain attributable to prior depletion, taxed under its own rules. The third is the net investment income tax — an additional 3.8% on net investment income (including mineral-sale gains) for taxpayers above the income thresholds. The fourth is state income tax, which varies widely: some states have none, while others tax the gain at rates that add several points or more.

Stacked together, these layers commonly claim somewhere around a third of the gain, and for high-income sellers in high-tax states the effective rate can climb higher. On a large, low-basis interest, that can mean a six- or even seven-figure tax bill. The exact number depends on your bracket, your state, your basis, and how much depletion you've taken — which is why a personalized estimate from your CPA is essential rather than relying on a rule of thumb.

Seeing the full stack is what reframes the decision. Owners often think in terms of the 20% capital gains rate and are startled when the real, all-in bill is substantially higher. That gap — between the headline rate and the actual four-layer cost — is precisely the money that a deferral strategy keeps invested for you. Once you've quantified the stack, the question shifts from 'should I bother deferring?' to 'which deferral tool fits my situation?' — the subject of the rest of this guide.

Deferring the tax with a 1031 exchange

The premier tool for deferring the entire stack is the 1031 exchange. If your mineral or royalty interest is a perpetual interest in real property held for investment — which most fee mineral interests and perpetual royalties are — you can sell it and reinvest the proceeds into like-kind replacement real property without recognizing the gain. The capital gains, depletion recapture, net investment income tax, and state tax all defer, your old basis carries forward into the replacement, and the full proceeds stay invested rather than a third going to tax.

The mechanics are exacting but routine: engage a qualified intermediary before the sale closes so you never take receipt of the proceeds, identify replacement property within 45 days, and close within 180 days, reinvesting all proceeds into equal-or-greater-value real property to avoid taxable boot. The replacement can be conventional real estate, a Delaware Statutory Trust, or a royalty-pool DST that keeps you in minerals while diversifying. Because sourcing replacement minerals is slow, a fast-closing DST backup is close to standard.

The 1031's great advantage over other deferral tools is its potential permanence. A 1031 only defers, but if you keep exchanging and hold until death, your heirs may receive a stepped-up basis that erases the deferred gain entirely — the 'swap till you drop' outcome. No other common deferral tool offers that. For an owner who intends to keep their capital invested in real property, the 1031 isn't just a postponement; combined with the step-up, it can be a permanent elimination of the gain, which is why it leads the list of deferral strategies.

Alternatives — installment sales and DSTs

The 1031 isn't the only deferral tool, and a few alternatives suit particular situations. An installment sale spreads the gain over the years you receive payments, deferring tax on each portion until it's actually received. This can smooth a large gain across multiple tax years and keep you in lower brackets, but it doesn't eliminate the tax — each payment is taxed as received — and it leaves you exposed to the buyer's credit and the future of tax rates. It's a spreading tool, not an elimination tool, and recapture is often accelerated rather than spread.

Delaware Statutory Trusts deserve mention both as 1031 replacement property and as a destination in their own right. As replacement property, a DST lets a 1031 exchanger move into passive, diversified institutional real estate — or, via a royalty-pool DST, stay in minerals — with fast closing and professional management. DSTs are how many mineral sellers actually complete the 1031: they solve the replacement-sourcing problem that the deadlines make so hard. So the DST and the 1031 are usually complementary rather than competing.

Other tools exist for specific cases. A Qualified Opportunity Fund can defer gain from any source by reinvesting just the gain (not the full proceeds) and can make a decade of appreciation tax-free, though it has its own rules and timelines and is a different mechanism from a 1031. Charitable strategies, for owners with philanthropic intent, can reduce or eliminate tax while supporting a cause. Each alternative fits a particular profile, and the right choice depends on your goals, your need for the cash, and your timeline — a determination to make with your CPA and advisor before you sell, not after.

Choosing the right deferral approach

Selecting a deferral strategy starts with what you want from the proceeds. If you intend to keep your capital invested in real property and value the potential to eliminate the gain at death, the 1031 is usually the clear choice — it defers the whole stack and, with the step-up, can make the deferral permanent. If you need a stream of cash over time rather than a reinvestment, an installment sale may fit better, accepting that the tax is spread rather than eliminated.

Your appetite for passivity also matters. Owners who want to leave management behind gravitate to 1031 exchanges into DSTs, which pair deferral with a hands-off, diversified replacement. Owners who want to stay in minerals but reduce concentration use royalty-pool DSTs. Owners with philanthropic goals may layer in charitable strategies. The point is that 'defer the tax' isn't a single decision — it's a family of strategies, and the best one aligns the tax outcome with your broader financial and lifestyle goals.

Whatever the choice, timing and team are decisive. Most of these strategies — especially the 1031 — must be set up before the sale closes, and several interact with your overall tax picture in ways only a CPA can model. The owners who defer the most, and stress the least, are those who quantify the four-layer tax, choose a strategy, and assemble the right professionals before listing the interest. Deferral is a planning exercise; the planning has to come first.

Key Takeaways
  • A mineral sale faces four layers: capital gains, depletion recapture, the 3.8% NIIT, and state tax — often ~a third of the gain.
  • Years of depletion drive your basis down, so the taxable gain is usually far larger than the purchase price implies.
  • A 1031 exchange defers the entire stack and, with a step-up at death, can eliminate the gain permanently.
  • Installment sales, DSTs, and Opportunity Funds are alternatives for specific situations — choose with your CPA before selling.

How Baker 1031 helps you defer mineral-sale tax

Baker 1031 Investments helps mineral and royalty owners quantify the four-layer tax before they sell — coordinating with your CPA to estimate the capital gains, depletion recapture, net investment income tax, and state tax at stake — and then choose and execute the right deferral strategy. For most owners that's a 1031 exchange into replacement real estate, a DST, or a royalty-pool DST, structured with a qualified intermediary engaged before closing and a fast-closing backup so the deadlines stay comfortable.

Securities such as DSTs are offered through the broker-dealer, Aurora Securities, Inc. (member FINRA/SIPC), and any recommendation follows a suitability review for your situation. We're not your tax adviser, and the figures involved should always be modeled by your CPA — but we help you see the full cost of a sale, understand the deferral options, and put the right structure in place before you list, so a third of your gain stays invested for you rather than going to the government.

Frequently Asked Questions

How are mineral rights sales taxed?

A mineral sale is the disposition of a capital asset, so the gain (net sale price minus adjusted basis) is generally capital gain. On top of federal capital gains, you typically face depletion recapture, the 3.8% net investment income tax, and state income tax. Because depletion lowers your basis over time, the taxable gain is often far larger than the purchase price suggests.

What capital gains rate applies to selling minerals?

For interests held over a year and held for investment, the long-term capital gains rate applies — 0%, 15%, or 20% federally, with most sizable sales at 20%. The portion of gain from prior depletion is recaptured and taxed under its own rules, and high-income sellers add the 3.8% net investment income tax plus any state tax.

What is depletion recapture?

It's the gain on sale attributable to prior depletion deductions. Depletion (often 15% of gross royalty income) shelters income each year but reduces your adjusted basis. A lower basis means a larger gain at sale, and the part tied to past depletion is recaptured. For long-held interests it can be a large share of the taxable amount.

Why is my taxable gain bigger than I expected?

Because years of depletion deductions have driven your adjusted basis down — sometimes near zero — so most of the sale price is gain. Owners commonly assume their basis equals what they paid, but depletion erodes it steadily. Modeling your actual adjusted basis with your CPA is the only way to know your real gain before selling.

What is the four-layer tax stack on a mineral sale?

Federal capital gains (up to 20%), depletion recapture (under its own rules), the 3.8% net investment income tax for higher-income owners, and state income tax (which varies by state). Stacked, these often claim around a third of the gain, and more for high-income sellers in high-tax states. The exact figure depends on your bracket, state, and basis.

How does a 1031 exchange defer the tax?

If your interest is a perpetual real-property interest, you can sell and reinvest the proceeds into like-kind replacement real property without recognizing the gain. The full four-layer stack defers, your basis carries forward, and the entire proceeds stay invested. You must use a qualified intermediary, identify within 45 days, and close within 180 days, reinvesting fully to avoid boot.

Does a 1031 eliminate the tax or just postpone it?

A single 1031 postpones it — the deferred gain carries forward in your basis. But if you keep exchanging and hold until death, your heirs may receive a stepped-up basis that eliminates the deferred gain entirely. So combined with the step-up, a lifetime 1031 strategy can effectively make the deferral permanent, which sets it apart from other deferral tools.

What is an installment sale?

A sale where you receive payments over multiple years and defer tax on each portion until received, spreading a large gain across years and potentially keeping you in lower brackets. It doesn't eliminate the tax, leaves you exposed to the buyer's credit and future rate changes, and often accelerates recapture. It's a spreading tool, not an elimination tool.

How do DSTs fit into deferring mineral taxes?

DSTs are usually the replacement property that completes a 1031 — passive, diversified institutional real estate (or royalty-pool DSTs that keep you in minerals) that close fast and solve the replacement-sourcing problem the deadlines create. So DSTs and the 1031 are complementary: the DST is how many mineral sellers actually execute the deferral.

Is a Qualified Opportunity Fund an option for mineral sellers?

It can be. A Qualified Opportunity Fund defers gain from any source by reinvesting just the gain (not the full proceeds) and can make a decade of appreciation tax-free, though it has its own rules and timelines. It's a different mechanism from a 1031, and some mineral sellers compare the two; your CPA can model which fits your goals.

Can I avoid the tax by gifting or donating minerals?

Charitable strategies can reduce or eliminate tax for owners with philanthropic intent — for example, donating an interest to a charity or using a charitable trust — while supporting a cause. These are situation-specific and have their own rules and trade-offs. They're worth exploring with your CPA and an advisor if charitable goals are part of your picture.

When do I need to decide on a deferral strategy?

Before the sale closes. Most strategies — especially the 1031 — must be set up in advance, and several interact with your overall tax picture in ways only a CPA can model. The owners who defer the most and stress the least quantify the tax, choose a strategy, and assemble their team before listing the interest. Deferral is a planning exercise that has to come first.

Are short-held mineral interests taxed differently?

Yes. An interest held a year or less produces short-term gain taxed at ordinary income rates rather than the preferential long-term rates. And if you're a dealer who buys and sells minerals as a business, your gains are ordinary income regardless of holding period. Most royalty owners are long-term investors, but the holding period and intent matter.

Do I owe state tax on a mineral sale?

Usually, though it depends on the states involved. The gain may be taxable in the state where the minerals are located and in your state of residence, with credits to avoid double taxation. Some states have no income tax; others tax the gain at meaningful rates. Your CPA should map the state consequences, including any clawback on later sales.

Glossary

Capital Gain
The excess of net sale price over adjusted basis; long-term gains are taxed at up to 20% federally.
Adjusted Basis
Original cost (or stepped-up value) reduced by depletion; a low basis means a larger taxable gain.
Net Sale Price
Gross sale price minus selling costs like commissions and closing fees.
Depletion
A deduction recovering the value of a depleting mineral asset; percentage depletion is often 15% of gross income.
Percentage Depletion
Depletion computed as a fixed percentage of gross income, available to qualifying small producers and royalty owners.
Cost Depletion
Depletion based on the actual basis and remaining reserves of the property.
Depletion Recapture
Gain on sale attributable to prior depletion deductions that reduced the asset's basis.
Long-Term Capital Gain
Gain on an asset held over a year, taxed at preferential federal rates.
Ordinary Income
Income taxed at regular rates; applies to short-term gains and dealer sales.
Net Investment Income Tax (NIIT)
A 3.8% tax on investment income, including mineral-sale gains, for higher-income taxpayers.
Four-Layer Tax Stack
Capital gains, depletion recapture, NIIT, and state tax — the combined cost of a mineral sale.
1031 Exchange
A transaction deferring the gain on investment real property reinvested into like-kind real property.
Installment Sale
A sale spreading gain over the years payments are received, deferring (not eliminating) the tax.
Delaware Statutory Trust (DST)
A securitized fractional interest in real property qualifying as 1031 replacement property.
Qualified Opportunity Fund
A fund deferring gain from any source by reinvesting the gain, with potential tax-free appreciation after ten years.
Step-Up in Basis
The reset of basis to fair market value at death, which can erase deferred gain for heirs.

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.