Can Intangible Drilling Costs Offset Capital Gains? How Oil and Gas Deductions Work in a Big-Gain Year (2026)

Drilling rig on a flat Gulf Coast lease at blue hour, with lit derrick, pipe racks, and mud tanks under a twilight sky

Short answer: Yes, but indirectly. Intangible drilling costs (IDCs) from a directly held oil and gas working interest are ordinary business deductions, not capital losses, so they lower your total taxable income, and a year with a large capital gain can come out with a much smaller tax bill. Two limits shape how much they help: the deduction reduces your ordinary income first (so it only reaches the gain once ordinary income is used up), and for 2026 net business losses above $512,000 on a joint return ($256,000 otherwise) can’t be used against non-business income such as investment gains in the same year.

Key takeaways

  • IDCs are deductible in the year incurred under IRC §263(c). Because a directly held working interest is non-passive under §469(c)(3), the deduction can offset wages, business income, and investment income, including capital gains.
  • Capital gains are taxed “on top” of ordinary income under §1(h). An ordinary deduction removes the income taxed at your highest ordinary rate first, and it can also push part of the gain from the 20% rate down to 15%.
  • The excess business loss rule in §461(l) caps how much business loss can offset non-business income. For 2026 the cap is $512,000 joint and $256,000 for other filers. Anything over the cap becomes a net operating loss carryforward.
  • Timing matters. To deduct in 2026, the costs generally have to be paid in 2026 and drilling has to start by about March 31, 2027 (§461(i)(2)).
  • The deduction isn’t free money. If you later sell the interest, prior IDCs can be recaptured as ordinary income (§1254), and the well itself can lose money.

Do intangible drilling costs offset capital gains directly?

Not in the way a capital loss does. A capital loss is netted against capital gains, and individuals can deduct only $3,000 of net capital loss a year against other income (§1211(b)). An IDC deduction works on a different line of the return. It is an ordinary deduction from a trade or business, so it reduces adjusted gross income and taxable income no matter where that income came from.

That cuts both ways:

  • The advantage: the $3,000 capital-loss limit doesn’t apply. A large IDC deduction can absorb a large amount of income in a single year.
  • The catch: you can’t point the deduction at your capital gain. The tax code decides which income it lands on, and it lands on ordinary income first.

The non-passive rule is what makes this possible at all. Under §469(c)(3), a working interest held directly, or through an entity that does not limit your liability, is not a passive activity, and IRS Publication 925 confirms you don’t have to materially participate. A limited-partner interest or an LLC interest that shields you from liability generally loses that treatment, and passive losses can’t offset portfolio income such as stock gains. For the basics of the deduction itself, see CEFM’s page on intangible drilling costs.

How does an IDC deduction interact with capital gains tax rates?

Long-term capital gains and qualified dividends are taxed at 0%, 15%, or 20%, and the rate depends on where the gain sits in your total taxable income. The gain is stacked on top of your ordinary income. For 2026, joint filers pay 15% on gains that fall between $98,900 and $613,700 of taxable income and 20% above that. The top 37% ordinary rate starts above $768,700 (Rev. Proc. 2025-32).

A deduction lowers total taxable income, and under §1(h) the amount taxed at capital-gain rates can’t exceed taxable income. In practice that means:

  1. The deduction first removes ordinary income (salary, business profit, interest, short-term gains), saving tax at your ordinary rates of 22% to 37%.
  2. Because the gain stacks on a smaller base, some of it can slide from the 20% bracket into the 15% bracket.
  3. Only after ordinary income is gone does the deduction eat into the gain itself, saving 15% or 20%.

The 3.8% net investment income tax (NIIT) follows its own rules. Under §1411, it applies to the lesser of your net investment income or your modified AGI above $250,000 (joint). A working-interest deduction doesn’t reduce net investment income, but it does reduce modified AGI. Once modified AGI minus the threshold drops below your investment income, each extra dollar of deduction saves another 3.8 cents.

What is the $512,000 excess business loss limit, and why does it matter in a gain year?

Section 461(l) stops noncorporate taxpayers from using business losses beyond a set amount to shelter non-business income. The Form 461 calculation compares your total business deductions with your business income plus a threshold. For 2026 the threshold is $256,000, or $512,000 on a joint return (Rev. Proc. 2025-32 §4.31). The One Big Beautiful Bill Act made the limit permanent.

The limit matters most to someone with a big gain and little other business income. Gains on stocks, funds, or investment real estate are not business income, so a large IDC deduction can offset only $512,000 (joint) of that gain in the current year. The disallowed excess isn’t lost. It becomes a net operating loss carryforward, and in later years an NOL generally can offset only 80% of taxable income (§172). If your gain comes from selling a business you actively ran, part of it may count as business income in the calculation. Your CPA should check this.

A few other limits apply first: you can’t deduct more than your basis and your amount at risk (§465). Independent producers have limited exposure to the alternative minimum tax on excess IDCs, but the relief is capped at 40% of AMTI (§57(a)(2)(E)).

What does this look like with real numbers? (Hypothetical illustration)

These examples are hypothetical. They use 2026 federal brackets, the $32,200 joint standard deduction, and the 3.8% NIIT, and they ignore state tax, AMT, and self-employment tax. They are not a CEFM offering, projection, or result.

Example 1: salary plus a stock sale. A married couple has $300,000 of salary and sells a stock position for a $900,000 long-term gain. In December they put $200,000 into working interests spread across several development wells. Using the roughly 70% intangible share shown on CEFM’s tax benefits page:

Item Without investment With investment
IDC deduction (70% × $200,000) — $140,000
First-year depreciation on $60,000 tangible (7-yr MACRS, 14.29%) — $8,574
Taxable income $1,167,800 $1,019,226
Federal income tax + NIIT ≈ $246,373 ≈ $201,384
Reduction ≈ $44,989 (about 30% of the $148,574 deducted)

Here is where the savings come from. About $33,800 comes from removing ordinary income taxed at 22% to 24%. About $7,400 comes from roughly $148,600 of the gain dropping from the 20% bracket to 15%. About $3,700 comes from a lower NIIT. Business deductions of $148,574 are well under $512,000, so §461(l) doesn’t bite.

Example 2: a very large gain and little other income. A retired couple has $80,000 of pension income and a $2,000,000 long-term gain from selling investment real estate. They commit $800,000 to working interests, producing about $594,000 of first-year deductions. Only $512,000 is usable against non-business income this year. That cuts federal income tax plus NIIT by about $127,000, or roughly 25 cents per dollar deducted. The remaining ~$82,000 carries forward as an NOL. It is worth less per dollar than in Example 1 because most of it offsets gain taxed at 15% to 20% plus 3.8%.

The lesson from both examples: the higher your ordinary income in the gain year, the more each IDC dollar is worth. And no deduction makes a weak well a good investment. Even at a 30% tax benefit, every dollar lost in a dry hole is still a 70-cent loss.

When do you have to invest for the deduction to count this year?

IDCs are generally deducted when paid or incurred. For prepaid drilling costs, §461(i)(2) allows a deduction in the year of payment if drilling begins within 90 days after year-end. For a calendar-year investor with a 2026 gain, that means paying in 2026 for a well that spuds by about March 31, 2027. CEFM’s tax benefits page describes the same March 31 window. Prospects take time to fund and schedule, so start in October or November, not the last week of December.

What happens to the deduction if you sell the working interest later?

Under §1254, when you sell oil and gas property, the gain is treated as ordinary income up to the amount of IDCs and depletion you previously deducted. In effect, an investor who deducts IDCs against a capital-gain year and then sells the interest at a profit may turn some of that deferred tax into ordinary income later. Recapture applies only to gain on a sale, and many investors hold for the life of the well, but it belongs in the plan.

While you hold the interest, production income is ordinary income, partly sheltered by percentage depletion. Small producers can generally exclude 15% of gross income from the property, subject to the limits in §613A.

What are the risks of using oil and gas to offset a capital gain?

  • Investment risk comes first. Dry holes, below-forecast production, and steep decline curves can mean losing some or all of the money. Spreading capital across several wells, as covered in our post on multi-well portfolios, reduces but doesn’t remove that risk.
  • Price risk. In its October 2026 Short-Term Energy Outlook, the EIA forecast Brent near $105 per barrel in Q4 2026, easing to about $84 on average in 2027. Revenue in later years may look quite different from today. See Today’s Oil Market: Volatile but Structured.
  • Illiquidity. There’s no exchange for fractional working interests. Your capital stays in until the well is depleted.
  • Tax-structure risk. If the interest is held through a liability-limiting entity, it may be passive, and passive losses can’t offset portfolio gains.
  • Limitation and law-change risk. At-risk rules, §461(l), AMT, and state conformity can each shrink the first-year benefit, and Congress can change the incentives.
  • Fraud. Treat “guaranteed” returns, high-pressure deadlines, and unsolicited pitches tied to oil-price headlines as red flags.

How does CEFM fit into a capital-gain year?

Clarke Energy Fund Management, LLC is the managing partner of Clarke Oil & Gas JV, LP (COGJV). COGJV offers working interests in individual conventional development wells to accredited investors through a Regulation D Rule 506 private placement. Investors own fractional working interests, so COGJV issues a Form 1099-NEC with a Summary Capital Activity Statement instead of a K-1. Our tax reporting explainer covers why. If you’re new to direct participation, start with How to Invest Directly in Oil Wells.

Frequently asked questions

Can intangible drilling costs offset capital gains?

Indirectly, yes. IDCs from a directly held working interest are non-passive ordinary deductions, so they reduce total taxable income, including income from capital gains. They offset ordinary income first, and for 2026 business losses that offset non-business income are capped at $512,000 joint ($256,000 other filers).

Is an IDC deduction better than harvesting capital losses?

They work differently. Harvested capital losses offset capital gains dollar for dollar, with only $3,000 a year allowed against other income. IDCs aren’t subject to that $3,000 limit, but they require putting new capital at risk in drilling, and they can be recaptured if you sell the interest.

Do intangible drilling costs reduce the 3.8% net investment income tax?

Sometimes. They don’t reduce net investment income, but they do lower modified AGI. If modified AGI minus the $250,000 joint threshold falls below your investment income, the NIIT goes down too.

Do intangible drilling costs reduce the QBI deduction?

They can. A net loss from a working-interest business is generally netted against qualified business income from your other pass-through businesses under §199A, which can shrink your QBI deduction or carry forward as a qualified business loss. Ask your CPA to include this in the model.

Are intangible drilling costs subject to recapture?

Yes, on a sale. Under §1254, gain on the disposition of oil and gas property is ordinary income up to the IDCs and depletion previously deducted.

Talk to CEFM about a gain-year plan

If you’re an accredited investor facing a large 2026 gain, CEFM can walk you through current drilling prospects and provide the Private Placement Memorandum so you and your CPA can model the numbers. Call 832-871-5406, request a call back, or write to Clarke Energy Fund Management, LLC, 950 Echo Lane, Houston, TX 77024. More answers are on our FAQ page.


Disclaimer: This article is for educational purposes only and is not tax, legal, or investment advice. Oil and gas investments are speculative and illiquid, and you can lose your entire investment. No return or tax result is guaranteed. CEFM offerings are available only to accredited investors and only through a Private Placement Memorandum under Regulation D Rule 506. Nothing here is an offer to sell or a solicitation to buy any security. Tax results depend on your individual circumstances, so consult a qualified tax professional before investing.