The short answer
Start with any depletion or intangible drilling costs that reduced your basis: section 1254 turns that much of the gain into ordinary income, and the Form 4797 instructions put it in Part III, line 28. The rest is section 1231 gain on Form 4797 when the minerals were used in a business, or capital gain on Schedule D when you held them as an investment. If you exchanged the minerals, Form 8824 comes first and its recognized gain flows to Form 4797 or Schedule D. Expect a Form 1099-MISC for the year’s royalties but not necessarily a Form 1099-S, because the 1099-S rules exclude interests in natural resources unless they are sold with the land.
At a glance
| Recapture line | Form 4797 Part III, line 28: intangible drilling costs, depletion, mine exploration and development costs on oil, gas, geothermal or other mineral property |
|---|---|
| What is recaptured | Section 1254: the lesser of the deducted costs and depletion that reduced basis, or the gain |
| Rest of the gain | Section 1231 on Form 4797 for business property held more than a year; Schedule D for an investment capital asset |
| Exchange | Form 8824 for the year of transfer; gain from line 22 goes to Schedule D for capital assets or Form 4797 line 5 or 16 for business property |
| Form 1099-S | Not required for an interest in natural resources sold on its own; required when sold with the land or as a perpetual easement |
| Form 1099-MISC | Royalties of $10 or more for the year are reported to you by the payer |
| Inherited minerals | Basis is fair market value at the date of death under section 1014 |
| 2026 capital gain brackets | 15% rate ends at $613,700 joint and $545,500 single under Rev. Proc. 2025-32; 20% above, plus 3.8% net investment income tax |
Recapture is computed first, on Form 4797 Part III, whatever the rest of the gain turns out to be
The Form 4797 instructions list "oil, gas, geothermal, or other mineral properties" among the dispositions the form reports and say that if you had a gain on such property placed in service after 1986 "you must recapture all expenses that were deducted as intangible drilling costs, depletion, mine exploration costs, and development costs under sections 263, 616, and 617." That calculation lives in Part III at line 28, with line 28a collecting the deducted costs and the depletion that reduced basis.
The statute behind the line is section 1254(a)(1): on a disposition of section 1254 property, the lesser of those costs or the gain is ordinary income "notwithstanding any other provision." Royalty owners usually carry only depletion; operators carry depletion plus intangible drilling costs. An owner who never claimed depletion has no section 1254 cost and skips Part III.
If you sold part of your interest, or an undivided share, the instructions send you to section 1254(a)(2), which apportions the recapture to the part sold.
The remaining gain is section 1231 or capital gain depending on how you held the minerals
After line 28 the balance of the gain leaves Part III. Minerals used in a trade or business and held more than one year are section 1231 property under section 1231(b)(1), and the gain joins Part I, where net section 1231 gains are treated as long-term capital gain and net losses as ordinary. Minerals held purely for investment are a capital asset, and the Form 8824 instructions make the same split when an exchange is involved: capital-asset gain follows the Schedule D instructions, business property goes to Form 4797.
Which bucket a royalty falls into depends on your facts. A landowner whose minerals produced alongside a farming business, or who held a working interest, is usually in Form 4797 territory; a passive heir with a royalty cheque and nothing else is usually reporting a capital asset on Schedule D. Decide it with your CPA, because the ordering of losses differs.
Long-term rates in 2026 come from Rev. Proc. 2025-32: the 15% bracket ends at $613,700 of taxable income joint and $545,500 single, with 20% above, and the 0% band ends at $98,900 joint and $49,450 single. Gain from a disposition of property is net investment income under section 1411, so the 3.8% tax applies above $250,000 joint or $200,000 single.
The information returns you will and will not receive
A mineral sale often closes without a Form 1099-S. The Form 1099-S instructions define reportable real estate as ownership interests in land, inherently permanent structures, condominium units, co-op stock and non-contingent standing timber, and exclude "surface or subsurface natural resources (for example, water, ores, or other natural deposits)" when the sale is not connected to a sale of reportable real estate. Sell the minerals with the land and the whole transaction is reportable; sell the minerals alone and the buyer may file nothing.
The gain is reportable from your own records: the purchase and sale agreement, the closing statement, your basis file and the depletion schedule. Royalties received before closing are reported to you on Form 1099-MISC when they reach $10 for the year, per the Schedule E instructions, and they stay on Schedule E line 4 even in the year of sale.
If you exchanged the minerals, Form 8824 comes first and recapture can still appear
An exchange of a mineral interest for other real property is reported on Form 8824 "with your tax return for that year," meaning the year the relinquished minerals were transferred, even if the replacement closed in the following year; the straddle rules are on which year to file Form 8824.
Recapture does not disappear in an exchange of minerals for a building. Reg. section 1.1254-2(d) limits the ordinary income to the gain recognized plus the fair market value of replacement property that is not natural resource recapture property, so an exchange into an apartment DST or a net-leased building triggers recapture up to the value of what you bought, while an exchange into another royalty defers it. The Form 8824 instructions flag the same point: part of the realized gain "may be required to be recaptured as ordinary income" on line 19, and that amount is carried to Form 4797. Where boot and recapture land on the forms is walked through on boot and recapture on Form 4797 and Schedule D.
The substantive rules, including the term-interest and production-payment traps, are on 1031 exchange for mineral rights; the operator’s version is exchanging a working interest.
Hypothetical: a $900,000 royalty sale after $150,000 of depletion
Assume a royalty owner who bought the interest for $300,000, claimed $150,000 of depletion over the years, and sells for $900,000. Adjusted basis is $150,000 and the gain is $750,000. The numbers are round and made up for the mechanics.
Form 4797 Part III, line 28, recaptures the $150,000 of depletion as ordinary income. The remaining $600,000 is section 1231 gain if the royalty was held in a business, otherwise capital gain on Schedule D. At 2026 rates most of a $600,000 gain on a joint return sits in the 15% bracket, with the 3.8% tax above the section 1411 threshold.
Had the owner exchanged the royalty for a $900,000 interest in a net-leased building, Form 8824 would show $750,000 realized and, because the building is not natural resource property, Reg. section 1.1254-2(d) would still require the $150,000 of depletion to be recaptured on Form 4797 while the $600,000 balance is deferred. Exchanging into another royalty instead would defer all of it. Run the two returns side by side with your preparer before choosing the replacement.
Related questions
I inherited the minerals. What basis do I use?
Fair market value at the date of death under section 1014(a), reduced by any depletion you claimed since. An appraisal of the minerals as of that date is the document the return rests on.
The buyer never sent a 1099-S. Does the IRS know about the sale?
Natural resource interests sold on their own are outside the Form 1099-S rules, so often no form is filed. You report the sale from your own records regardless; the absence of an information return is not an exemption.
I sold half of my royalty. How much depletion is recaptured?
The Form 4797 instructions point to section 1254(a)(2) for a disposition of a portion or an undivided interest; the recapture attaches to the part sold in proportion to the costs and depletion allocable to it. Your depletion schedule and Reg. section 1.61-6 apportionment of basis drive the number.
Is the royalty income I received this year part of the sale?
No. Royalties through the closing date stay on Schedule E line 4 as ordinary income with their own depletion; only the sale price and basis go to Form 4797 or Schedule D.
Does a state return follow the same forms?
States start from the federal figures but apply their own rates and deductions; Oklahoma's capital gain deduction and North Dakota's treatment are described on the Oklahoma and North Dakota pages.
Sources
Checked against these publications on October 8, 2026. Rules and figures change; confirm the current version with your CPA or attorney before you act. This page is general information, not tax or legal advice.
- IRS, Instructions for Form 4797, Part III line 28 and oil, gas, geothermal or other mineral properties
- 26 U.S.C. section 1254, gain from disposition of natural resource recapture property
- Treas. Reg. section 1.1254-2(d), like-kind exchanges and involuntary conversions
- 26 U.S.C. section 1231, property used in the trade or business
- IRS, Instructions for Form 8824, line 19 recapture and line 22 reporting
- IRS, Instructions for Form 1099-S, reportable real estate and the natural resources exception
- IRS, Instructions for Schedule E (Form 1040), line 4 royalties
- 26 U.S.C. section 1014, basis of property acquired from a decedent
- 26 U.S.C. section 1411, net investment income tax
- Rev. Proc. 2025-32, 2026 inflation adjustments including capital gain brackets
