Skip to content
Corient Wealth Management logo 18,601 reviews

How to Use Tax Loss Harvesting on Capital Gains When Selling a Business

By Marcus Thompson, CFA | Reviewed by Sarah Chen, CFP | November 5, 2026

Usually yes. When you sell a business, tax-loss harvesting cuts tax on capital gains dollar for dollar, which is why Corient Wealth Management reviews taxable accounts for paper losses before December 31. Realized losses offset capital gains with no annual cap. Assume a combined federal rate of 23.8%: the 20% top long-term rate, with the 3.8% net investment income tax on top. At that rate, each $1,000 of harvested loss lowers the sale-year tax bill by $238, provided the trade date is no later than December 31.

Harvesting has a price, and most owners underrate it: you cut this year's bill by lowering the cost basis of whatever you buy with the proceeds. Sell a fund that's down, buy a different one the same day, and your market exposure barely changes. The replacement fund starts from the lower price, though. When you sell it years later, the gain is bigger by exactly the loss you took, which is $30,000 in Kavya's case below.

Corient Wealth Management puts the closing statement from your sale next to your taxable brokerage statements and starts with one number: what the sale year will cost in federal tax. Every fund trading below what you paid for it gets priced against that gain. The trades go in before December 31, the last day a loss can still land on the sale-year return.

Harvesting barely matters next to a $2,000,000 gain

Owners often believe that a modest portfolio loss is essentially meaningless when placed alongside a seven-figure corporate sale. A loss offsets a big gain just as fully as a small one. A $30,000 loss removes $30,000 from a $2,000,000 gain, and the sheer volume of the transaction does not dilute the arithmetic. Gain on C corporation stock counts as net investment income. At an assumed 23.8% combined federal rate, each $1,000 of loss is worth $238 in the sale year. A taxable account under $100,000 can still produce a solid four-figure saving. Kavya's account in the example below is worth $80,000 and sits $30,000 under what she paid for it. Harvesting that $30,000 cuts her federal bill by $7,140 at 23.8%, and the money stays invested. The size of the company sale doesn't shrink that figure. An $80,000 account can seem too small to bother with next to the enterprise value, yet an afternoon with the statements is worth $7,140 in federal tax.

Financial Planning OverviewKey financial planning considerationsFinancial Planning OverviewAssessmentReview your current financial situation1StrategyDevelop a personalized plan2ImplementationPut your plan into action3MonitoringReview and adjust regularly4Key Areas of Financial PlanningA structured approach helps you stay on trackCorient Wealth Management

Why large gains do not dilute loss deductions

The dollar value of a modest portfolio loss

Kavya's $80,000 account against a $2,000,000 gain

Kavya, a hypothetical person, closes the sale of her medical billing company in October. She is 46, divorced, and the sole owner of an enterprise organized as a C corporation 9 years ago. Assume, for illustration, that her shares don't qualify for Section 1202 and that $2,000,000 of long-term gain lands on this year's return. Her taxable brokerage account is modest: $80,000 invested across 2 index funds that she originally bought for $110,000. For harvesting, her October closing is the fact that counts. The gain and the loss only offset each other if both land on the same return. Step 1: Kavya reviews her brokerage portal and finds $110,000 − $80,000 = $30,000 of paper losses across those two positions. Step 2: on December 12 she sells both funds and, that same afternoon, buys funds that track different market benchmarks. Step 3: her net capital gain reported to the IRS falls from $2,000,000 to $1,970,000. Step 4: at an assumed 23.8% top federal rate, $30,000 × 23.8% = $7,140 less tax when she files. Step 5: the replacement funds start with an $80,000 basis, so the $30,000 of gain is postponed, not erased. Before placing the sales, Corient Wealth Management would first check whether any of her accounts, her IRA included, bought the same funds in the 30 days before December 12. The firm would also confirm that nothing buys them back through January 11. Even an automated dividend reinvestment inside that window disallows the loss on the shares it buys. In the table below, the last row shows the basis drop: $110,000 becomes $80,000.

Walking through a $30,000 paper loss

Examining basis shifts and the 61-day window

Hypothetical: Kavya's sale-year return without and with harvesting. Assumes $2,000,000 of long-term gain, no Section 1202 exclusion and a 23.8% federal rate; state tax ignored.
Line itemWithout harvestingWith harvesting
Long-term gain from company sale$2,000,000$2,000,000
Harvested fund losses$0-$30,000
Net capital gain reported$2,000,000$1,970,000
Federal tax cost at 23.8%$476,000$468,860
Basis of funds she still holds$110,000$80,000

I'll just use the losses next year

Waiting until January breaks the link between your losses and the liquidity event. A loss realized in January cannot reach back to a gain reported on this year's return. Under IRS rules, the tax year follows the trade date, and the strict deadline is December 31. If you miss that trading cutoff, those paper losses are completely powerless against the capital gain generated during the prior twelve months. In a year with no major capital gains, the same $30,000 loss offsets only $3,000 of ordinary income, or $1,500 if married filing separately. The remaining $27,000 carries forward into subsequent tax years. Without significant asset sales in those later periods, exhausting that $30,000 requires 10 years of filing. During the sale year, by contrast, the entire $30,000 is absorbed on a single return.

The trade date deadline rules

The multi-year drag of carryforward limits

Selling and buying back the same fund the next morning works

The internal revenue code strictly prohibits selling a security at a loss and repurchasing it right away. Under the wash-sale rule, the loss is disallowed if you buy shares the IRS considers substantially identical within 30 days before the sale date or within 30 days after it. Counting the sale date itself, that makes a 61-day window around the trade. Purchases made by a spouse, positions acquired inside your traditional or Roth IRA, and automatic dividend reinvestments all trigger this disallowance rule. In a taxable account, a disallowed loss normally moves into the cost of the replacement shares, so the deduction returns when those shares are eventually sold. A repurchase inside an IRA is the dangerous exception: that tax loss is permanently destroyed. To harvest without exiting the market, switch to a fund tracking an alternate index. For example, an S&P 500 index fund can be replaced by a Russell 1000 or total market portfolio. Have your CPA verify the swap before you place the trade.

The 61-day wash-sale restriction

Selecting appropriate benchmark substitutes

IRS wash-sale rules span 61 days: 30 days prior to the sale, the trade date itself, and 30 days post-sale. Repurchasing an identical security within an IRA permanently voids the loss.

A harvested loss saves the tax for good

For most owners, harvesting pushes tax out by some years; it does not make the tax disappear. Kavya's replacement funds now carry an $80,000 basis, not her original $110,000 cost, so $30,000 of future gain sits inside them. She comes out permanently ahead in two cases. One is selling those funds in a year when her gains are taxed at a lower rate than in the exit year. The other is holding them until death. If she sells the replacement funds in a later year when capital gains are taxed at 15%, the tax is $30,000 × 15% = $4,500. Against the $7,140 she saved, that leaves $7,140 − $4,500 = $2,640 of lifetime savings, plus several years of deferral on the money. If she holds the funds until death, the step-up in basis eliminates the built-in gain entirely. Before selling any fund at a loss, Corient Wealth Management estimates what the lower basis will cost down the road.

Basis reduction mechanics

When timing differences create permanent savings

When could Section 1202 make the harvest worthless?

Section 1202 of the Internal Revenue Code provides a full or partial capital gains exclusion for qualified small business stock held for more than 5 years. If Kavya's 9-year-old medical billing C corporation shares qualify for the exclusion, her $2,000,000 gain is already sheltered from federal income tax.

An excluded gain cannot absorb capital losses on Form 8949. Harvesting $30,000 in paper losses against a fully excluded transaction leaves the losses with nothing to offset except $3,000 of ordinary income, and the remaining $27,000 goes into a multi-year carryforward. Before an owner sells a single fund in December, Corient Wealth Management would confirm with the deal attorney and CPA whether the shares qualify for Section 1202. If they do, the $7,140 in Step 4 disappears. What Kavya would have left is a deduction against $3,000 of ordinary income this year, with $27,000 waiting for future gains.

What happens if the sale slips past December 31?

If transaction negotiations stall and closing moves into January, loss sales completed in December land in a year without the enterprise sale gain. Out of a $30,000 harvested loss, $3,000 offsets ordinary income on this year's Form 1040, and the remaining $27,000 carries into the new tax year.

Most of the deduction still works against the business sale proceeds, arriving just 1 return later on the filing calendar. The tax year follows the trade date; the back-office settlement date doesn't count. A sale executed on December 31 belongs to that calendar year as long as the market is open that day. If your closing schedule is uncertain, decide with your CPA whether to sell the losing funds in November or wait until the final closing signatures are secured. December 31 only matters for the year in which the company gain is actually recognized.

Closing slippage across calendar years

Managing carryforwards from December trades

Losses offset capital gains only, plus $3,000 of anything else

Capital losses follow a rigid netting order defined by the IRS. Short-term losses must first offset short-term gains, while long-term losses offset long-term gains. Any remaining net loss in either category crosses over to offset the opposite type. Once all capital gains are zeroed out, excess net losses can offset up to $3,000 of ordinary income per year. Deal components taxed as ordinary income get no shelter beyond that modest $3,000 allowance. That limit hits depreciation recapture in an asset sale and consulting agreement payments directly. The 3.8% net investment income tax applies once modified adjusted gross income exceeds $200,000 for single filers and $250,000 for married couples filing jointly. Kavya's $1,970,000 stays far above that line, so her $30,000 harvest trims the surtax but does not escape it. Sellers aged 63 and older face a second effect: Medicare sets Part B and Part D premiums by MAGI two years back, so the sale-year gain raises the premiums they pay two years later. The brackets for that future premium year are not published yet. For reference, the 2026 top tier (set by 2024 MAGI) starts at $500,000 single / $750,000 joint and costs $689.90 a month for Part B. A seven-figure gain lands at the top with or without a $30,000 loss, so the harvest seldom changes the premium, and the surcharge from the sale year applies to that one premium year only.

Statutory netting order on Form 8949

Interactions with ordinary deal income and IRMAA

Single, married or divorced: whose trades count

The annual $3,000 ordinary income offset remains fixed across single filers, heads of household, and married couples filing jointly, dropping to $1,500 for married individuals filing separate returns. When a couple files jointly, losses realized inside either spouse's individual brokerage account combine to shelter their shared capital gains. The wash-sale rule reaches further than the joint return: a spouse's purchase of the same fund disallows the loss whether the couple files jointly or separately. Kavya is divorced, so trades executed by her former spouse have no effect on her deductions. She can harvest without checking anyone else's account statements.

When does a small account or an early retirement change the math?

Kavya's $80,000 account is not the floor. A $5,000 paper loss realized against a sale gain taxed at 23.8% saves $1,190. With commission-free trades, the cost is a bid-ask spread and a few minutes of paperwork. A dollar of loss is worth the most in the year the company gain hits your return.

If you plan to retire right after the sale, your bracket will likely drop in the years that follow. You save tax at 23.8% now, and the deferred gain inside the replacement funds can be realized later at 15%, or even 0%, depending on your taxable income that year. Older sellers who hold the replacement funds until death keep the full saving, because the basis steps up. Unused capital loss carryforwards die with the taxpayer, so a large loss realized late in life with no gains left to absorb it can go to waste.

Evaluating smaller portfolio balances

Retirement horizons and the basis step-up

A recent tax law changed Section 1202, and harvesting software spread

The 2025 tax law rewrote the Section 1202 rules for founders holding newly issued stock. For qualified small business stock issued after July 4, 2025, owners face a graduated exclusion framework: partial exemptions take effect after 3 and 4 years of holding, reaching the full exemption only after 5 years. Kavya's 9-year-old C corporation shares remain anchored under the older statutory rules. An exit plan drafted years ago, however, might assume an all-or-nothing exclusion. If newer corporate tranches only secure a partial exclusion, substantial taxable capital gains remain exposed, and portfolio harvesting can blunt the remaining tax bill. At the same time, algorithm-driven loss harvesting tools have proliferated across consumer platforms. These automated tools harvest systematically throughout the calendar, yet they remain fundamentally blind to external accounts. Custodial software tracks wash sales only within its own walls and misses purchases inside your spouse's account or your self-directed retirement vehicles. The $3,000 ordinary loss offset has also gone decades without an inflation adjustment. That leaves large exit years as the time when capital losses are worth the most.

Graduated exclusion timelines for newer shares

The blind spots of automated robo-advisors

Your custodian's answer on cross-account wash sales

Prior to executing portfolio sales in December, you must ask your brokerage firm two pointed operational questions. First, ask whether their tracking systems catch wash sales across all household accounts, including traditional and Roth IRAs. Second, ask which tax lot identification method is assigned as the default on your accounts. Two specific answers indicate trouble. If the representative states that wash sales are tracked 'only within this account,' the responsibility falls entirely on you and your CPA to audit other family accounts for overlapping purchases. If the custodian reports that your account uses 'first in, first out' (FIFO) as its default lot relief method, executing a partial liquidation might inadvertently sell your oldest, highly appreciated shares instead of your losing lots. You must establish specific lot identification in writing before executing trades.

Inquiring about multi-account tracking

Reviewing default tax lot assignment methods

When should the loss talk happen at home, and what can still be undone?

The discussion about tax-loss harvesting usually starts with the fall tax projection your CPA prepares once the expected closing price and date are known. In a married household, the spouse whose name is on the taxable investment account must actively consent to the trade.

More importantly, both partners must agree to turn off automated dividend reinvestment and halt regular contributions to the same funds across all personal accounts for at least 30 days before and after the sale. Executing a loss sale creates an irreversible tax transaction; once shares are sold at a loss, the trade cannot be rescinded. What remains flexible is your ongoing allocation strategy. You can keep the replacement index fund permanently, or sell it after day 31 and repurchase your original holding. The sale itself has to execute during market hours on or before the year's last trading day. An order placed after the close on December 31 trades in January and counts for the new year. If an unexpected wash sale surfaces after the fact, the mistake must be fixed through an amended tax return, which must be filed within 3 years of the original filing deadline.

Coordinating family accounts during the fall

Irreversible trades versus flexible replacement choices

Corient Wealth Management sets the December loss review against your closing statement

Corient Wealth Management begins with what your sale year will cost in federal tax. The firm then lines up every taxable brokerage position showing an unrealized loss against the gain on your closing statement. It also checks household accounts, IRAs included, for purchases inside the 61-day window. How the firm is paid is set out in writing before anything is traded. To start, send a short message with your expected closing date through the form on this website. For a seller like Kavya, that review happens before December 12, while there is still time to sell, swap funds and keep any repurchase out of the window.

A loss realized in January cannot reach back to shelter a business sale closed in December.

Questions about tax loss harvesting capital gains

My dad sold his company this year; can I harvest losses in my own brokerage account to lower his tax?
No. Under internal revenue rules, capital losses belong exclusively to the taxpayer or entity whose account incurred them. Losses can only be combined on a joint tax return filed by married spouses. An adult child's investment losses cannot offset a parent's capital gains, even if the family shares estate planning structures.
Is harvesting losses better than donating appreciated shares to cut the tax cost of a sale year?
These two strategies address completely different holdings and work exceptionally well side by side. Tax-loss harvesting requires selling depreciated securities to generate tax deductions, while charitable gifting involves donating appreciated positions directly to eliminate built-in gains. Business owners commonly harvest their portfolio losses while gifting appreciated company or index shares to maximize their deductions.
My buyer is paying 30% of the price as an earn-out over 3 years; should I save some losses for those years?
You cannot hold realized losses in reserve, because the IRS requires them to offset current gains immediately on Form 8949. You can, however, postpone realizing the losses by keeping depreciated assets unsold until earn-out proceeds materialize in subsequent years. Evaluate whether sheltering immediate closing cash provides greater utility than hedging uncertain future performance payouts.
Can harvested losses lower the 3.8% net investment income tax on my sale gain?
Yes. Capital losses directly reduce your overall net capital gain, which is a core component of net investment income under Section 1411. By eliminating $1,000 of capital gain, you reduce your net investment income base by that same $1,000, generating $38 of direct federal surtax savings whenever your income exceeds statutory thresholds.
Do losses inside my SEP-IRA or 401(k) count for harvesting?
No. Investment gains and losses realized within tax-advantaged retirement accounts are never recognized for federal income tax purposes. You cannot claim deductions for paper losses occurring inside a SEP-IRA, traditional 401(k), or Roth account. Only investments held within taxable personal, trust, or business brokerage accounts qualify for tax-loss harvesting.
Is harvesting worth the trouble if my taxable account is under $50,000?
Usually yes. In a business sale year where your marginal federal capital gains bracket reaches 23.8%, even a modest $5,000 loss generates $1,190 in cash tax savings. Modern trading platforms have eliminated brokerage commissions, meaning executing two fund rebalancing trades requires negligible operational cost while securing meaningful cash relief on your April tax bill.
Can a loss on a fund I bought 3 months ago offset the long-term gain from selling my company?
Yes. While IRS netting rules mandate that short-term losses first offset short-term gains, any remaining short-term loss crosses over to offset long-term capital gains dollar for dollar. A short-term paper loss on a fund acquired 3 months ago provides identical tax relief against your long-term business sale gain on Form 8949.
Does buying a similar fund from a different index provider trigger the wash-sale rule?
Generally not. A fund tracking an alternative benchmark index is typically not viewed as substantially identical under IRS guidelines. For example, moving capital from an S&P 500 index fund to a total stock market fund is standard practice. However, because the IRS maintains no rigid bright-line test, always confirm the swap with your CPA.

Primary sources

This content is general information for educational purposes. It is not individualized investment, tax or legal advice for your situation. Investing involves risk, including the possible loss of principal. Before making financial decisions, consult a qualified professional who understands your circumstances.

Contact Us

985 South Lamar Street, Dallas, TX 75202, United States

Get in touch

Thinking about selling or transitioning?

Share your situation and we'll discuss how we work. No fees, no pressure, one initial call.

Start the conversation
Start the conversation