Even investors who end the year with gains may still face an unwelcome tax bill. The S&P 500 is up about 8% through Nov. 6, but sharp market moves this year left many portfolios holding a mix of sizable gains, notable losses and possibly taxable distributions. For investors willing to make moves before year-end, that creates several chances to trim taxes without altering a long-term investment plan.
The deadline matters because 2026 is the first full tax year under the One Big Beautiful Bill Act, and many of the most useful planning moves will no longer be available after Dec. 31.
1. Harvest losses where they exist: Tax-loss harvesting is often overlooked in strong markets. In fact, years with solid overall returns can still leave individual holdings deeply in the red. A portfolio may be up overall while still containing positions that have fallen sharply. Long-term Treasury funds were down roughly 7% for the year as of early October, and many AI, semiconductor and Asian holdings are now trading well below recent highs.
Selling an investment at a loss lets that loss offset capital gains realized elsewhere. If losses are larger than gains, investors can deduct up to $3,000 against ordinary income each year and carry the rest forward indefinitely. That can be especially useful for anyone who sold a business, real estate, a concentrated stock position or another appreciated asset this year.
Investors often replace the sold position with a different holding that offers similar market exposure while avoiding wash-sale problems. To count for 2026, the trade must be completed by Dec. 31, so waiting until tax-filing season is too late.
2. Steer clear of wash-sale errors: Tax-loss harvesting only works if the wash-sale rule is avoided. A loss is disallowed if substantially identical securities are purchased within 30 days before or after the sale. Brokerages usually monitor wash sales only within one account, but the rule applies across taxable accounts, joint accounts, IRAs, Roth IRAs and accounts owned by a spouse.
Common traps include automatic dividend reinvestment, purchases made by a spouse and robo-advisor trades that investors may not notice are happening in the background. Under Revenue Ruling 2008-5, buying the security back inside an IRA or Roth IRA can permanently erase the harvested loss.
Timing can make this even trickier. A purchase made in early December can ruin a loss sale later that month, and investors harvesting losses late in December may need to stay out of the position until late January.
3. Check mutual fund payouts before they hit: Mutual funds can distribute taxable gains even after a weak year. Investors holding those funds in taxable accounts owe tax on the distribution, even if every dollar is automatically reinvested.
The estimates this year are unusually large. A YCharts review of CapGainsValet data as of October found 26 funds in the top 1% of estimated 2026 payouts, with a median distribution near 38% of net asset value.
Investors should review each fund company’s distribution estimates now. Buying a mutual fund right before a large distribution can leave a new shareholder paying tax on gains that accrued before the purchase. In some cases, it may make sense to sell a fund before a major distribution, though that decision should account for both the expected payout and any gain or loss on the sale itself. Exchange-traded funds are generally more tax-efficient because of how they are structured, and some fund families may have few or no ETFs distributing capital gains this year.
4. Factor in taxes when rebalancing: Rebalancing is one of the most important portfolio habits, but it can also trigger taxes that many investors do not expect. After a volatile year, the biggest winners can grow into an outsized share of a portfolio. Bringing allocations back to target often means trimming highly appreciated technology stocks, concentrated positions or other successful investments, which can generate significant capital gains.
There are ways to soften the impact. When possible, rebalance inside IRAs and other tax-advantaged accounts, where trades do not create current tax. Investors can also direct new contributions and cash flows toward underweighted assets instead of selling winners, or match rebalancing gains with losses harvested elsewhere in the portfolio.
5. Give appreciated winners instead of selling them: Investors who itemize may gain from donating appreciated securities held for more than one year directly to a charity or donor-advised fund. That strategy avoids capital gains tax while still providing a deduction based on fair market value, subject to the usual limits. The opposite is true for losing holdings, where investors are generally better off selling, taking the loss and donating the cash.
Recent rule changes make planning even more important. Itemized charitable deductions now apply only to contributions above 0.5% of adjusted gross income, so a household with $1 million of AGI would get no deduction on its first $5,000 of gifts. Taxpayers in the 37% bracket also see the value of itemized deductions capped at roughly 35 cents on the dollar.
Those changes make charitable bunching more attractive. Instead of giving similar amounts every year, some families contribute several years of donations to a donor-advised fund in one year so they clear the floor once. Stock transfers should be started early, since a gift only counts when the charity receives the shares.
Qualified charitable distributions are still appealing for many retirees. Investors age 70½ and older can transfer up to $111,000 in 2026 directly from an IRA to charity. Those distributions count toward required minimum distributions, stay out of taxable income and are not affected by the new floor or cap.
6. Plan ahead for Opportunity Zone taxes: Many taxpayers deferred capital gains years ago by investing in Qualified Opportunity Funds. Under the original program, those deferred gains become taxable on Dec. 31, 2026, even if the investment has not been sold. That means some investors may face tax without receiving any cash proceeds, and IRS Notice 2026-40 confirms the gain cannot be deferred again into the new program.
Investors who have held the investment for five or seven years by then receive a 10% or 15% basis increase that lowers the taxable amount. Losses realized through tax-loss harvesting can offset part of the bill. Anyone expecting a large liability should also review withholding and estimated tax payments to avoid penalties.
The bottom line: Volatile markets can create both investment headaches and tax-planning opportunities. Investors who review losses, watch mutual fund distributions, coordinate charitable gifts and assess rebalancing before year-end can improve after-tax results without changing their long-term strategy.
More from Digilifetrends
She Wants to Invest $400,000 in an Annuity to Avoid Market Swings. Using Pretax IRA Money Instead of After-Tax Savings Would Make Another $12,240 of Her Social Security Taxable
An advisor guides an older couple through critical financial and estate planning decisions, such as asset protection for long-term care.
4 min read · Published 2026-11-29Savvy Senior: Should you convert a traditional IRA to a Roth IRA?
Dear Savvy Senior,
3 min read · Published 2026-11-29