Markets Reach Fresh Highs as Gains Mount
In late February 2026, major indexes flirt with record levels after a choppy start to the year. For investors who have stacked some massive capital gains, the real question is how to lock in profits without triggering a heavy tax bill. The market backdrop is technically constructive, but valuations are elevated, and the tax landscape remains a real constraint on what looks like a straightforward exit.
Editors and advisers say that the best moves aren’t about chasing every last point, but about timing, strategy, and a clear plan. The following approach blends disciplined selling with the tax rules most likely to affect high-earning portfolios this year.
Three Tax-Efficient Moves For Those Gains
These steps aren’t a cheat sheet for avoiding taxes. They’re practical, time-tested ways to manage what you owe while protecting your upside in a rally-driven market.
1) Harvest Losses Across the Portfolio
One of the most reliable ways to reduce realized gains is to offset them with losses from other investments. If some positions have slipped since purchase, selling them to realize losses can offset the gains you’ve earned on winners. The tax rule is dollar-for-dollar matching, meaning a loss of $5,000 can reduce gains by the same amount.

There’s a practical annual cap to be aware of: you can use up to $3,000 of net losses to offset ordinary income in a given year, with any excess losses carried forward to future years. The strategic wrinkle comes with the wash-sale rule, which disallows a deduction if you buy a substantially identical security within 30 days before or after a sale. The rule makes timing critical, especially when you’re juggling a handful of high-conviction holdings.
“The core idea is to treat tax-loss harvesting as a portfolio discipline, not a one-off move,” says Andrea Ruiz, a senior tax strategist at CLEARVIEW Wealth. “If you’ve stacked some massive gains, you want a plan that aligns with your risk tolerance and your long-term strategy, not a quick tax dodge.”
Practical tip: run a quick holdings review to identify replacements that won’t replicate exposure you’re trimming. The goal is to harvest losses in positions that won’t undermine your target risk profile or future upside.
2) Donate Appreciated Stock To Charity
Charitable giving of appreciated stock is a classic tax-efficient exit path for investors who want to minimize the tax drag on gains. By donating shares that have risen in value, you can bypass the capital gains tax entirely on those shares and still claim a charitable deduction.
For those who itemize deductions, the charitable deduction can be valuable. The deduction is generally limited to 30% of adjusted gross income (AGI) for appreciated stock contributions, with any excess carried forward for future years. This route can be especially attractive when a portfolio contains long-held positions with significant embedded gains and the donor prefers a philanthropic outcome to a cash sale.
“Gifting appreciated stock is a powerful, dual-purpose strategy,” says Malik Sharma, a CPA and wealth-planning adviser. “You reduce your taxable gain exposure and support a cause you care about. It’s a win if your charity of choice aligns with your values and your tax picture.”
Crucial planning note: consider the foundation or charity’s readiness to receive in-kind gifts, the potential for donor-advised funds, and whether your overall AGI profile could affect other deductions or credits later in the year.
3) Spread Sales Across Years to Manage NIIT Risks
The 3.8% Net Investment Income Tax (NIIT) adds another layer of complexity for high earners. The tax applies to net investment income above thresholds—generally $200,000 for single filers and $250,000 for joint filers, though phase-ins and state rules can shift the impact. If you’re sitting on stacked some massive gains, spreading the realization over multiple tax years can help you stay below the NIIT threshold or keep you in a lower bracket for long-term gains.
“Timing is everything with NIIT,” notes Jordan Lee, an investment strategist at Veritas Advisory. “If you can plan the harvest so gains fall under the threshold or are distributed across years, you can preserve more after-tax value and still participate in the market’s upside.”
In practice, this approach means aligning sale timing with your AGI, marginal tax rate, and other income streams. If a single, massive liquidity event would push you into a higher bracket, consider splitting the realization across two or more years or pairing gains with losses in those years to keep net investment income in check.
Practical Considerations For Different Investors
The right mix of moves depends on factors like age, income, estate plans, and risk tolerance. Here are quick takeaways for common scenarios.
- Near-retirees: Preserve certainty and tax efficiency by blending charitable gifting with loss harvesting and deliberate pacing of withdrawals from taxable accounts.
- Young high earners: Focus on maximize after-tax growth with a diversified plan that tolerates tax drag today for potential bigger gains tomorrow. Consider tax-advantaged vehicles where appropriate.
- High-net-worth households: A structured plan that includes charitable giving, trusts, and possibly qualified charitable distributions can optimize tax outcomes while supporting legacy goals.
Key Data To Track
- Cost basis and holding period for any sale or transfer decisions
- Current AGI and how it interacts with NIIT and other phase-outs
- Potential charitable deduction limits based on AGI and filing status
- Wash-sale windows and replacement securities to avoid run-ins with the IRS rules
- Holding replacements that maintain portfolio risk, return, and liquidity needs
Putting It All Together
For investors who have stacked some massive gains, the goal isn’t to extract every dollar today but to preserve value over the long run. The combination of loss harvesting, charitable gifting, and thoughtful pacing can soften the tax bite while keeping you invested in the market’s potential upside.

As markets continue to navigate inflation signals, central-bank commentary, and sector rotation, a disciplined tax plan can be a meaningful complement to your investment strategy. Advisors emphasize that the tax landscape is not a one-size-fits-all blueprint. Instead, it’s a set of flexible, compliant moves tailored to your income profile, goals, and risk tolerance.
Closing Thoughts
Tax considerations are a constant in investing, but they don’t have to derail a winning plan. If you’ve stacked some massive gains, a well-timed mix of loss harvesting, in-kind giving, and staged realization can help you enjoy the profits you’ve earned while reducing the tax bill.
As you map your next steps, stay mindful of evolving rules and seek professional guidance to align your strategy with your broader financial objectives. The right plan today can make a meaningful difference when you’re reflecting on your wealth-building journey tomorrow.
Discussion