Is Your Business Building Wealth—Or Just Keeping You Busy? Find Out HERE.

How to Avoid Capital Gains Tax on Stocks

Tax Avoidance Strategy Detour

10 Strategies That May Help Reduce Capital Gains Taxes on Stocks

Winner, winner, chicken dinner! Your stock appreciated; you bought it (or were granted shares, or reinvested dividends for twenty years), you held it, and it went up. Now a tax bill is waiting the moment you sell, and you don’t want to pay it, so you sit on it longer. Is that the right move? Should you reinvest? Do you need the money now? Let’s dive in.

Ben Franklin said nothing is certain except death and taxes. We can’t avoid death, but we can minimize taxes. There’s “avoiding” and there’s “evasion.” This blog is about the former — using the rules already on the books to manage when a gain is realized, whose return it lands on, even whether it needs to be realized at all. Evasion is illegal and will land you in hot water.

I’ve sat on both sides of this table — as a business owner staring at a concentrated position, and as an advisor helping clients through it — and the owners who do this well plan for the sale before they make it.

This article is educational, not tax or investment advice; rules change, and the right strategy depends on your situation — discuss anything here with your CPA before you act.

How capital gains taxes work

A capital gain isn’t taxed until it’s realized. Taxing unrealized gains is a hot topic, but not law. If you bought shares at $50,000 and they grew to $400,000, you don’t owe a dime while you hold them; the gain is generally the sale price minus your cost basis (what you paid, plus reinvested dividends). How much you owe depends on your holding period and your taxable income in the year you sell.

Short-term gains — held one year or less — are taxed as ordinary income, at your regular marginal rate (currently as high as 37% federally). Long-term gains — held more than one year — are taxed at preferential rates of 0%, 15%, or 20%. This is the single most important concept in the whole tax code: on a $500,000 gain, the difference can be six figures. I’ve watched owners sell in December and hand the IRS a check that a six-week wait would have largely avoided. The calendar is a strategy. Use it.

Long-term rates are tiered by income: recently, a married couple filing jointly with roughly $96,000 of taxable income or less paid 0% on long-term gains, 15% through the mid-six figures, 20% at the highest incomes (thresholds adjust annually — confirm with your CPA). Higher earners also owe the 3.8% net investment income tax (NIIT) on investment income above $200,000 of modified adjusted gross income for singles, $250,000 for married filing jointly.

10 strategies that may reduce capital gains taxes

1. Consider a pledged line of credit. Need cash without selling, or want to diversify? Most institutions will let you borrow against your stock — some up to 70% of the value. There can be a tax benefit on the interest, and — especially for older people — the step-up in basis stays intact.

2. Step up in basis. When an owner dies, beneficiaries inherit the asset at its current market value — not what the owner paid. Buy a stock for $10 and it grows to $500: sell it, and you owe tax on $490; pass away holding it, and your beneficiary’s basis becomes the full $500 — they can sell immediately and owe nothing. Routinely undermined by well-meaning generosity, though: a gift carries the original basis, so your loved one inherits your $10 basis and the tax bill. With large embedded gains, sometimes the smartest move is to keep the asset and let the step-up pass it on capital-gains-tax-free.

3. Gift shares to family members. If the step-up isn’t a good option, gift appreciated shares to family in lower tax brackets. The recipient takes over your cost basis, so the gain is taxed at their rate — maybe 0% or 15% where yours would have been 20% plus NIIT. Gift tax rules apply, and the “kiddie tax” complicates gifts to minor children, but for adult children in lower brackets this can meaningfully cut the family’s total bill.

4. Hold investments for more than one year. If you’re selling anyway and the one-year mark is close, crossing it converts short-term gains into long-term gains — the difference between paying 37% and 15-20% on the same gain. This isn’t market timing; it’s tax awareness. Before any significant sale, ask: “What’s my holding period on this lot?” Don’t let the tax tail wag the investment dog: selling today at a bigger tax cost can still beat waiting out a falling position. Compare after-tax dollars, not tax bills.

5. Harvest investment losses. Sell positions that are down to realize losses, then use them to offset realized gains. Losses offset gains dollar for dollar, up to $3,000 of net losses per year can also offset ordinary income, and the remainder carries forward indefinitely. Mind the wash-sale rule: buying the same or a “substantially identical” security within 30 days before or after the sale disallows the loss. Harvest as routine discipline, not a December panic — losses show up somewhere in a managed portfolio almost every year.

6. Sell during a lower-income year. Your rate depends on total taxable income, so when you sell matters as much as what you sell — and business owners have more control over this than almost anyone. If you’re selling the business, taking a sabbatical, winding down a practice, or stepping back, that transition year may be your lowest-income year in a decade — and the smartest time to realize a large long-term gain. Stack a big stock sale on a big income year, and you can land in the 20% bracket plus NIIT when you could have paid 15%.

7. Donate appreciated stock to charity. One of the most underused moves in personal finance. Donate appreciated shares and you may generally deduct the full fair market value and avoid capital gains tax on the appreciation — a double benefit compared to selling, paying the tax, and donating the cash. Donor-advised funds make it easy: contribute the shares, take the deduction, and decide which charities to support over time.

8. Use tax-advantaged accounts. Where you hold an asset matters almost as much as what you hold. Inside a 401(k), traditional IRA, or similar account, trading doesn’t generate annual capital gains taxes — growth is tax-deferred until withdrawal. Roths go further: qualified withdrawals are tax-free. HSAs offer a rare triple benefit. This is asset location — tax-inefficient investments inside tax-advantaged accounts, tax-efficient ones in taxable accounts — and over decades it meaningfully improves after-tax returns.

9. Consider opportunity-zone investments when appropriate. Opportunity zones let you defer capital gains by rolling proceeds into a Qualified Opportunity Fund; hold at least ten years and the appreciation on the fund itself may be tax-free. But these are typically illiquid, long-horizon, real-estate heavy investments with tightening deferral deadlines — a “maybe” strategy, not a “default” strategy.

10. If you’re looking for diversification, consider an exchange fund. Advisors use them when a huge tax-locked position needs diversifying: the accepting fund must approve your position — it mirrors something like the S&P 500 and won’t take on one stock or industry — then exchanges it for a proportionate piece of its basket. Your cost basis carries over, but you get the diversification.

Does reinvesting a stock gain eliminate the tax?

No — one of the most common misconceptions I hear. Selling at a gain and reinvesting the proceeds does not defer or eliminate the tax; the gain was realized the moment you sold, and what you do with the cash afterward is irrelevant to the IRS. (Real estate has a like-kind exchange under Section 1031; stocks do not.) Automatic reinvestment of dividends and capital-gains distributions is still a taxable event in a taxable account — and part of your “gain” is actually reinvested basis. The numbers have to tell the truth.

Capital gains strategies for concentrated stock positions

Business owners, you live this problem more than anyone. Concentrated stock comes in a few flavors: employer stock and RSUs accumulated over a career, a single stock that’s become a huge share of your net worth, or the classic — a founder whose wealth is one asset with a ticker. Selling triggers a large tax, but not selling means your financial future rides on one company.

Here’s the uncomfortable truth I give every owner: the tax is a known, capped cost. The market risk is not — a concentrated position can lose in one bad quarter more than the entire tax bill would have cost. The question is rarely “should I ever sell”; it’s “how do I diversify in an orderly, tax-aware way.”

All deserve a coordinated conversation with your CPA, attorney, and financial advisor — the tax strategy, the estate plan, and the investment plan are one conversation, not three.

When to consult a financial or tax professional

The bigger the gain relative to your income, the earlier the planning should start. Facing a large embedded gain, a concentrated position, or a sale you can see coming — a business exit, a career transition, a retirement funding plan? Model the tax outcomes before the year of the sale, not at tax time in April. After December 31, most of the levers in this article are gone. Later is a discount.