Text or WhatsApp (808) 600-9260 (WhatsApp)richard@familyoffices.com
OilWells.com
Investor question

How is depletion recaptured when I sell mineral rights?

Updated

When you sell mineral rights, the depletion deductions you claimed in prior years are recaptured as ordinary income under Internal Revenue Code Section 1254, but only up to the amount of your gain. The recapture equals the lesser of your total depletion deductions or your actual gain on the sale. Any gain above the recaptured amount is capital gain if you held the rights long term. The recapture is not a penalty. It is the IRS collecting tax on deductions that reduced your basis over time.

Man, older man and boy at window, NYC skyline/Empire State
Tax Diligence and Structuring in Direct Deals

What IRC Section 1254 says about depletion recapture

Section 1254 is the code section that governs depletion recapture on the sale of oil and gas mineral rights. It treats the portion of your gain equal to the depletion deductions you claimed as ordinary income. That means the tax rate on that slice is your marginal income tax rate, not the lower long-term capital gains rate.

The critical limit is this: recapture is capped at your gain. If your total depletion deductions over the years were $1,100,000 but your gain on sale is only $300,000, the recapture is $300,000, not $1,100,000. The IRS recaptures only what you actually gained, not every dollar you ever deducted.

This rule applies whether you used cost depletion or percentage depletion. The difference is in how far each method can reduce your basis. Cost depletion stops when basis hits zero. Percentage depletion can keep going, which means your adjusted basis can reach zero while total depletion claimed exceeds your original cost.

How depletion affects your basis when you sell

Your adjusted basis in mineral rights is your original cost plus capital improvements, minus all depletion allowed or allowable. The IRS rule is clear: even if you forgot to claim depletion in a prior year, the amount you could have claimed still reduces your basis. This is the "allowed or allowable" standard.

Percentage depletion can create a situation where your total claimed depletion exceeds your original cost. When that happens, your adjusted basis goes to zero. Any capital improvements you made later are reduced by that excess depletion, dollar for dollar.

Here is how Rev. Rul. 75-451 treats the numbers:

  • You buy mineral rights for $1,000,000.
  • Over the years, you claim $1,100,000 in percentage depletion.
  • Your adjusted basis is now $0, and you have $100,000 of excess depletion.
  • You later invest $300,000 in capital improvements on the property.
  • That $300,000 is reduced by the $100,000 excess depletion, leaving a basis of $200,000.
  • You sell for $500,000. Your taxable gain is $300,000.

Without the improvements, your basis would be zero and the full $500,000 sale price would be gain. The improvements added basis back, but only after the excess depletion was applied against them.

If you need to reconstruct your starting point, see our guide on how to calculate your cost basis in mineral rights.

Worked example: from purchase through sale

This example shows how depletion recapture flows through the numbers. All figures are illustrative.

Item Amount
Original purchase price $1,000,000
Total depletion claimed (percentage, all years) $1,100,000
Adjusted basis before improvements $0
Excess depletion above original cost $100,000
Capital improvements made after basis hit zero $300,000
Excess depletion applied against improvements ($100,000)
Final adjusted basis at sale $200,000
Sale price $500,000
Total gain $300,000
Depletion recaptured as ordinary income (Section 1254) $300,000
Remaining capital gain $0

In this example, the entire $300,000 gain is ordinary income because the total depletion claimed ($1,100,000) exceeds the gain. The recapture is limited to the gain, so the full $300,000 is ordinary.

If the sale price had been $700,000, the gain would be $500,000. Of that, $300,000 would still be ordinary recapture and $200,000 would be long-term capital gain.

How depletion recapture is reported on your tax return

The sale of mineral rights goes on Form 4797, Sales of Business Property. Section 1254 recapture flows to Part III of Form 4797. The ordinary income portion is calculated there and carried to your Form 1040 as ordinary income. Any gain above the recapture amount is reported as capital gain on Schedule D.

If you inherited the mineral rights, your basis is the fair market value at the date of death. That stepped-up basis means you start with a higher number. Only depletion you claimed after the inheritance date reduces that basis. Recapture is less likely because the new basis is often close to or above the sale price.

Keep a year-by-year record of every depletion deduction you claimed, including the type (cost or percentage) and the dollar amount. Without that record, your CPA cannot calculate the recapture correctly and the IRS may challenge your filing.

For a wider view of how the full sale is taxed, read taxes when you sell mineral rights.

How depletion recapture works inside partnerships or LLCs

Many mineral owners hold their interests through partnerships, LLCs, or other pass-through entities. In those structures, the entity claims the depletion deduction and passes it through to the individual partners or members on their Schedule K-1. Each partner's outside basis in the entity is reduced by their share of the depletion deductions.

When the entity sells the mineral rights, the Section 1254 recapture calculation happens at the entity level. The ordinary income portion is then allocated to the partners in proportion to their ownership. If a partner sells their interest in the entity rather than the entity selling the rights, different rules apply and the partner's gain may include an amount treated as ordinary income attributable to their share of the entity's depletion deductions.

If you hold mineral rights through an entity, ask your CPA to track your share of depletion deductions annually and model the recapture before any sale, whether at the entity level or your own interest.

Installment sales and depletion recapture

Sellers sometimes use installment sales to spread the receipt of cash over multiple tax years. Section 1254 recapture does not wait for the payments. The full recapture amount is triggered in the year of sale, even if you receive the sale proceeds over several years. You report the ordinary income portion upfront, and the remaining capital gain is recognized as you receive each installment payment.

This can create a mismatch: you owe tax on recapture income in year one, but the cash to pay that tax arrives over time. A CPA can model the cash flow against the tax liability so you are not caught short.

Decision factors that change your recapture outcome

Cost depletion vs. percentage depletion. Cost depletion is limited to your actual basis. Percentage depletion can exceed basis. The more percentage depletion you claimed beyond your cost, the larger the recapture slice when you sell, up to the amount of your gain.

Holding structure. Mineral rights used in a trade or business go on Form 4797. Rights held purely for investment still use Form 4797 for the Section 1254 recapture portion, with the capital gain portion on Schedule D. The form choice is not a simple business-versus-investment toggle. Let your CPA make the call based on how you held and reported the rights.

Inherited vs. purchased rights. Inherited rights get a stepped-up basis at the date of death. That higher starting point means less accumulated depletion relative to basis and a smaller recapture amount, or none at all.

Capital improvements after basis reaches zero. Additional investments you make in the property can restore some basis, but excess depletion from prior years reduces those additions dollar for dollar before any net basis is created.

State tax treatment. Some states conform to federal Section 1254 recapture rules. Others do not. A few states tax the entire gain as capital. Ask your CPA about your state's specific treatment before you file.

What to check before you sell

  • Total all depletion deductions you claimed on the mineral rights, year by year.
  • Separate cost depletion years from percentage depletion years.
  • Calculate your adjusted basis: original cost plus capital additions minus all depletion allowed or allowable.
  • If percentage depletion exceeded basis, confirm that basis is zero and note the excess depletion amount.
  • List every capital improvement made after basis hit zero, with dates and dollar amounts.
  • Subtract excess depletion from those improvements to find your final adjusted basis.
  • Determine how the rights were held so your CPA can file on the correct form.
  • If held through a partnership or LLC, pull your K-1s and confirm your share of depletion deductions.
  • Ask your CPA about state tax treatment and any upfront recapture on an installment sale.

Common mistakes to avoid

Assuming depletion does not affect your sale. It does. Every dollar of depletion you claimed reduces your basis. When you sell, Section 1254 recaptures that benefit as ordinary income, up to the amount of your gain. Sellers who ignore this face a surprise tax bill.

Losing track of depletion type. Cost depletion and percentage depletion have different effects on basis. Percentage depletion can push basis below zero for recapture purposes. If you do not know which type you claimed each year, reconstruct that history before you list the property.

Forgetting capital improvements. If you invested money in the property after your basis hit zero, those investments restore some basis. Missing them means overpaying on your gain.

Filing on the wrong form. Section 1254 recapture goes on Form 4797, not Schedule D. Using the wrong form misclassifies your gain and can trigger an IRS notice.

Not getting a date-of-death appraisal for inherited rights. Your basis is the fair market value at the date of death. Without an appraisal from that date, you may not be able to prove the higher basis to the IRS. The burden of proof is on you.

Assuming an installment sale defers recapture. It does not. Section 1254 recapture is recognized in the year of sale regardless of when you receive the cash.

A lesson from Richard on mineral rights and 1031 exchanges

I have watched hundreds of mineral rights transactions pass through the family offices and investors in our community. One pattern I see repeatedly is sellers using a 1031 exchange to move from mineral rights into surface real estate they understand better. Mineral rights are real property, so they qualify for like-kind exchange treatment. A seller who has held royalty interests for decades often wants to trade into a condo, a rental house, or a small commercial building they can see and touch.

But a 1031 exchange defers the recapture. It does not erase it. Your basis in the replacement property carries over from the relinquished property, so the deferred ordinary income follows you. When you eventually sell the replacement property without another exchange, the deferred gain comes due.

If you are considering this route, read our page on using a 1031 exchange for mineral rights or royalties and talk to a CPA or tax advisor about whether it fits your situation.

Frequently asked questions

What if I never claimed depletion on inherited mineral rights?

If you inherited the rights, your basis is the fair market value at the date of death. You can still claim depletion from that date forward. On sale, only depletion you actually claimed reduces that basis. If you never claimed any, your basis stays at the inherited value and your gain is smaller. The "allowed or allowable" rule still applies to depletion you could have claimed after inheritance, so talk to your CPA about whether missing those deductions affects your basis calculation.

Is depletion recapture always ordinary income?

Under Section 1254, the portion of your gain equal to the depletion deductions you claimed is ordinary income, but only up to the amount of your gain. Any gain above that amount is capital gain, assuming you held the rights long term. The split depends entirely on your numbers. Work with a CPA to classify it correctly on your return.

Does a 1031 exchange eliminate depletion recapture?

No. A 1031 exchange defers the gain, including the Section 1254 recapture portion, but it does not eliminate it. Your basis in the replacement property carries over, so the deferred ordinary income follows you. When you eventually sell the replacement property without another exchange, the deferred gain comes due.

Can I claim depletion on mineral rights I am about to sell?

Yes. You can claim depletion for the portion of the year you owned the rights, up to the closing date. The depletion you claim in that final year still reduces your basis, which increases your gain on sale. Your CPA can help you decide whether the deduction is worth the added recapture.

What records do I need to calculate depletion recapture?

You need your original purchase documents, a year-by-year record of depletion deductions claimed (cost or percentage), records of any capital improvements, and the sale closing statement. If you inherited the rights, you also need the date-of-death appraisal. If you hold the rights through a partnership or LLC, gather your K-1s showing your allocated depletion. Without these records, reconstructing basis is difficult and the IRS may challenge your numbers.

Does depletion recapture apply to royalty interests too?

Yes. Royalty interests held for investment also qualify for depletion deductions, and those deductions reduce basis the same way. When you sell a royalty interest, Section 1254 recapture rules apply to the depletion you claimed. Your CPA will determine the correct form based on how the interest was held and reported.

Richard C. Wilson runs OilWells.com. If you have a question about an oil and gas deal you are reviewing, email richard@familyoffices.com or text or WhatsApp (808) 600-9260.

Educational only. Not investment, legal or tax advice.