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.
More on Tax-Efficient Wealth
Tax-Loss Harvesting Explained โ Turn Losses Into Tax Savings Tax-Efficient Investing โ The 5 Rules for Your Portfolio Charitable Giving as a Tax Strategy โ Give More, Pay Less โ Complete Tax Strategy GuideStop 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.