Selling an appreciated asset without a plan is like leaving a stack of cash on the counter for the IRS. Capital gains taxes are one of the most controllable taxes in your financial life โ€” but only if you plan before the sale, not after. Once you've pulled the trigger, most of your options are gone.

The good news: there are multiple legal strategies that can dramatically reduce โ€” or in some cases eliminate โ€” capital gains taxes on appreciated investments, real estate, and business assets. Here's what they are and when each one applies.

Long-Term vs. Short-Term Rates โ€” The Holding Period Advantage

The single most available capital gains strategy is simply waiting. Short-term capital gains (assets held less than one year) are taxed as ordinary income โ€” up to 37% federally. Long-term capital gains (over one year) are taxed at 0%, 15%, or 20% depending on your taxable income.

For a married couple filing jointly in 2026, the long-term rate thresholds are approximately: 0% up to $94,050, 15% from $94,051 to $583,750, and 20% above that. High earners also face the 3.8% Net Investment Income Tax (NIIT), bringing the top effective rate to 23.8% โ€” still dramatically better than 37%.

Before selling any appreciated position, verify the holding date. Waiting a few extra weeks to clear the 12-month threshold is often the highest-return, lowest-effort move available.

The Rate Difference in Real Dollars: On a $200,000 long-term gain, a high earner owes $47,600 at the 23.8% effective rate. The same gain realized short-term could cost $74,000 at a 37% rate. That $26,400 difference is the price of impatience. Consult your CPA for your exact rate based on your income and filing status.

Tax-Loss Harvesting to Offset Gains

Capital losses offset capital gains dollar for dollar. If you've realized a $50,000 gain this year on one investment, a $50,000 loss harvest elsewhere in your portfolio eliminates the tax entirely. Losses that exceed your gains can offset up to $3,000 of ordinary income per year, with the remainder carrying forward indefinitely into future tax years.

This is why savvy investors review their entire portfolio before executing any large sale. You may already be sitting on losses that can offset the gain โ€” or you can strategically harvest losses first, then sell the appreciated asset.

The 1031 Exchange โ€” Defer Capital Gains on Real Estate Indefinitely

Under Section 1031 of the tax code, you can sell investment real estate and defer all capital gains taxes by reinvesting the proceeds into a "like-kind" replacement property. The exchange must follow strict timing rules: you have 45 days to identify potential replacement properties and 180 days to close. Any cash not reinvested ("boot") is taxable.

Properly executed, 1031 exchanges allow landowners, ranchers, and real estate investors to keep rolling gains forward โ€” essentially deferring capital gains taxes indefinitely. When the property eventually passes to heirs, they receive a stepped-up cost basis and the deferred gains may never be taxed at all. A qualified intermediary must hold the exchange proceeds; the taxpayer cannot touch the funds during the exchange period.

This is one of the most powerful wealth-building tools available to real estate holders. Consult a CPA experienced in 1031 exchanges and a qualified intermediary before attempting any exchange.

Qualified Opportunity Zones โ€” Defer and Potentially Eliminate Gains

Opportunity Zone investments allow you to defer capital gains from any asset class by rolling them into a Qualified Opportunity Fund (QOF). The gain is deferred until the fund is sold or through 2026 (for earlier investments). If you hold the QOF investment for at least 10 years, any new appreciation inside the fund may be excluded from tax entirely.

This strategy is most powerful for investors with large, near-term gains who are comfortable with a long-term illiquid commitment to qualifying census tracts. Not every Opportunity Zone investment is a quality investment โ€” the tax benefit doesn't save a bad deal. Vet the underlying investment first, then layer in the tax benefit.

Gifting Appreciated Assets to Charity

Donating appreciated securities or real estate directly to a qualified charity โ€” or to a donor-advised fund โ€” allows you to avoid capital gains tax entirely while claiming a charitable deduction for the full fair market value. This is strictly superior to selling the asset, paying tax, and donating cash.

Example: You own stock with a $10,000 cost basis now worth $50,000. Selling it triggers a $40,000 long-term gain (up to $9,520 in federal tax at 23.8%). Donating it to a donor-advised fund means zero capital gains tax and a $50,000 charitable deduction. You effectively give more and the government's share goes to charity instead of the IRS. You must donate directly โ€” not sell first, then donate the cash.

Stop Overpaying Taxes on the Wealth You Worked to Build

Kyle Ellison is a licensed financial professional in Texas, California, Nevada, Montana, Utah, and New Mexico. Schedule a strategy session to map out your tax efficiency opportunities.

Frequently Asked Questions

What is the long-term capital gains rate for most earners in 2026?
For most middle-to-upper income earners, the federal long-term capital gains rate is 15%. The 20% rate applies to taxable income above approximately $553,850 for married filing jointly. High earners also owe the 3.8% Net Investment Income Tax, bringing the maximum effective rate to 23.8%. Short-term gains are taxed as ordinary income โ€” up to 37%. Always confirm current thresholds with your CPA as these adjust annually for inflation.
Can I do a 1031 exchange on any type of asset?
No. Since the 2017 Tax Cuts and Jobs Act, 1031 exchanges apply only to real property held for investment or business purposes. They no longer apply to personal property, equipment, or other assets. The replacement property must also be held for investment or business โ€” not as a primary residence or vacation home. Work with a qualified intermediary and tax advisor to confirm your transaction qualifies before proceeding.
Is the Opportunity Zone tax benefit worth it?
It depends on the quality of the underlying investment and your ability to stay invested for 10 years. The tax benefit is real โ€” deferral now and potential exclusion of new gains after 10 years is significant. But Opportunity Zone funds are typically illiquid, fee-heavy, and vary widely in quality. The best approach is to evaluate the investment on its own merits first. A good OZ investment with the tax benefit is excellent. A bad investment doesn't become good because of a tax break.
How does donating appreciated stock work in practice?
You transfer shares directly to a donor-advised fund or qualified charity through your brokerage before selling them. The charity receives the full fair market value, you get a charitable deduction for the full value, and neither you nor the charity pays capital gains tax on the appreciation. You must hold the shares more than one year to deduct the full fair market value. For shares held a year or less, the deduction is limited to cost basis. Your CPA can confirm the specific rules for your situation.