Short answer
A business sale creates three tax buckets, and QSBS only works on one of them: the capital gain on qualifying C corporation stock. If you sold an S corp or an LLC, sold in an asset deal, or worked in an excluded field like accounting or consulting, QSBS does nothing, and the capital gain is fully taxable. Even when QSBS applies, gain above the cap is taxed, ordinary income pieces are taxed, and states like California tax the whole gain anyway. Two tools reach the parts QSBS misses: a Qualified Opportunity Fund can defer, and eventually reduce, the capital gain, and a working interest in oil and gas can offset the ordinary income. Both are illiquid and only suitable for accredited investors, and both are strategies we structure and size with you. They work best when the planning starts before the deal closes.
Key facts
- Three buckets
- A sale is taxed as capital gain, as ordinary income (non-compete, transition pay, receivables, recapture), and as deferred gain on any rollover. QSBS only touches the first.
- QSBS often does not apply
- S corps, LLCs, partnerships, asset deals, and excluded fields (accounting, consulting, financial services, health, law) get no exclusion at all.
- Opportunity Zones
- Reinvesting a capital gain into a Qualified Opportunity Fund within 180 days defers the tax, and holding it long enough can make the fund's own growth tax-free. It works on gain QSBS does not cover.
- Oil and gas
- A working interest throws off a large first-year deduction that offsets ordinary income, which is the one bucket neither QSBS nor an Opportunity Zone helps with.
- State tax still applies
- California does not conform to QSBS or to Opportunity Zones, so a California seller can owe state tax even where the federal tax is gone.
Most owners hear about QSBS and assume it settles the tax question. It rarely does. Section 1202 is a powerful exclusion, but it is narrow, it is capped, and it only reaches one part of what a sale is taxed on. Whether you fall outside it entirely or qualify but still owe on the rest, the useful move is to stop thinking about the sale as one tax and start seeing the three separate pieces it breaks into.
A sale is taxed in three buckets
The first bucket is capital gain. This is the goodwill and going-concern value of the business, the part that has grown over the years, and it is taxed at long term capital gain rates. QSBS, when it applies, works here and only here.
The second bucket is ordinary income. Money the contract labels as a covenant not to compete, as consulting or transition pay, as purchased receivables, or as depreciation recapture on equipment is taxed at ordinary rates, which run much higher. Nothing about QSBS touches this bucket, and neither does an Opportunity Zone.
The third bucket is deferred gain. Any equity you roll into the buyer is not taxed at closing, but it carries a built in tax bill that comes due when the rollover is finally sold. The rollover page covers that in full.
Seeing the buckets separately is what makes the rest of this page make sense. Each tool below works on a different bucket, so they are layers, not competitors.
When QSBS does not apply at all
There are a few common reasons an owner gets no exclusion. QSBS only applies to stock in a C corporation, so if you operated as an S corporation, an LLC, or a partnership, there is nothing to exclude. If the buyer purchased your assets rather than your stock, the same is true. And the rules carve out entire fields, including accounting, consulting, financial services, brokerage, health, and law, so a firm in one of those does not qualify even if it is a C corporation. If any of these describe your deal, the capital gain is fully taxable at the federal level, and the question becomes what to do about it. Which of these applies to you is the first thing we pin down, because it decides everything that follows. This page is educational rather than a ruling on your company.
Opportunity Zones, for the capital gain QSBS misses
When you have a capital gain and no exclusion for it, a Qualified Opportunity Fund is one of the main tools, and it is one we use. You reinvest the amount of the gain into a qualifying fund within 180 days, and the tax on that gain is deferred rather than paid now. Hold the fund investment long enough and the growth inside it can eventually come out free of federal capital gains tax. The 2025 federal tax law made the program permanent, reset the deferral to a rolling five years, and added stronger incentives for funds that invest in rural areas. Knowing the rules is one thing. Knowing which funds actually deliver on them is the harder part, and separating the real projects from the marketing is a large part of what we do here.
Two limits matter. An Opportunity Zone only helps the capital gain bucket, so it does nothing for the ordinary income pieces of your deal. And California does not conform, so a California seller can still owe state tax on the gain even while the federal tax is deferred. This is a real investment in real projects, not a paper move, so the fund has to stand on its own before the tax benefit means anything, which brings the caution below.
Oil and gas, for the ordinary income
The ordinary income bucket is the one people forget, and it is often the most heavily taxed money in the whole deal. A working interest in oil and gas drilling is the classic tool for it. In the first year, a working interest produces a large deduction, most of it from what the tax code calls intangible drilling costs. Because a working interest is treated as an active investment rather than a passive one, that deduction can offset ordinary income, which is exactly where the non-compete, the transition pay, the receivables, and the equipment recapture land. That is why it fits alongside QSBS and an Opportunity Zone rather than replacing them: it reaches the one bucket they cannot.
This is specialist territory, and the skill is matching the size of the first-year deduction to the size of your ordinary income bucket so the offset lands where you need it. The caution is also real. A working interest is illiquid, it carries operational and commodity risk, and the deduction is not a return. You can lose the money you put in. The deduction only makes sense if the underlying investment is one you would be comfortable owning for its own reasons.
Charitable and estate tools work across the buckets
Before a sale closes, moving some of the appreciated ownership into a charitable remainder trust or a donor advised fund can reduce the taxable gain and create a deduction, while a gift of rollover units into a trust can shift future growth out of your estate. These tools change the picture on more than one bucket at once, and they need to be set up before signing. The charitable and estate planning page walks through them.
A word on suitability
Opportunity Zone funds and oil and gas working interests are illiquid, can lose value, and are meant only for accredited investors who can afford to tie the money up and take the risk. The way to use them well is to judge the investment on its own economics first, then treat the tax benefit as a reason to prefer a deal you already like. Whether any of this fits your situation, and in what size, depends on the shape of your deal, your other assets, and your tolerance for illiquidity. Weighing the tax benefit and the expected return against the risk, and sizing each piece to fit the rest of your plan, is exactly the work we do for clients weighing these opportunities, on a flat fee that does not depend on whether you buy anything. This page is educational, and any specific investment is evaluated with you directly rather than named here.
Put a number on it first
Before any of this, it helps to see the size of each bucket for your own deal. The after-tax proceeds calculator splits a sale into its capital gain and ordinary income pieces and shows the tax on each, so you can tell how much is even worth planning around. Then read how a sale is taxed for the allocation choices that decide how large the ordinary bucket becomes in the first place.
Questions people ask
How do I know if I do not qualify for QSBS?
The common reasons are simple. QSBS only applies to stock in a C corporation. If you ran an S corporation, an LLC, or a partnership, or if the buyer bought your assets rather than your stock, there is no QSBS. It also excludes whole fields, including accounting, consulting, financial services, brokerage, health, and law, so an accounting or consulting firm does not qualify even as a C corp. Sorting out which of these applies to you is where we start, and where an exclusion is in play we make sure the position is structured correctly and the eligibility opinion is on file. This page is educational, not a ruling on your specific company. Start with the QSBS page.
If I do qualify for QSBS, is there still tax to plan around?
Usually yes. The exclusion is capped, so gain above the cap is taxed. It only covers capital gain, so the ordinary income pieces of the deal are taxed in full. States like California do not follow QSBS, so the state bill can remain even when the federal bill is zero. And any equity you roll into the buyer carries a deferred tax that comes due later. So even a clean QSBS deal usually leaves something to work on.
What does an Opportunity Zone actually do?
When you have a capital gain, you can reinvest the gain amount into a Qualified Opportunity Fund within 180 days. Doing so defers the tax on that gain, and if you hold the fund investment long enough, the growth inside the fund can come out free of federal capital gains tax. The 2025 tax law made the program permanent, reset the deferral to a rolling five years, and added stronger incentives for rural funds. We walk you through the current terms and the specific fund's offering documents so you know exactly what you own. It only helps capital gain, not the ordinary income pieces, and California does not conform.
How does an oil and gas investment help with a sale?
A working interest in drilling generates a large deduction in the first year, mostly from intangible drilling costs. Because a working interest is treated as active, that deduction can offset ordinary income, which is exactly the bucket that the non-compete, transition pay, receivables, and equipment recapture fall into. It is the tool for the part of the bill QSBS and Opportunity Zones cannot reach. It is also genuinely risky and illiquid, and the deduction is not a return; you can lose the money you put in.
Are these safe?
All investments carry risk, and these carry more than most. Opportunity Zone funds and oil and gas working interests are illiquid, can lose value, and are meant only for accredited investors who can afford to tie up money and take the risk. The work is to weigh the tax benefit and the expected return against that risk, and to size the position so it fits the rest of your plan. Getting that balance right is exactly what we help with.