Considerations for Harvesting Gains and Losses Before Year-End
As the end of the year approaches, investors often review their portfolios, charitable plans, and financial goals for the coming year. One important part of that review is understanding how investment gains and losses may affect taxes.
A thoughtful year-end strategy can help investors manage taxes while keeping their portfolios aligned with their long-term objectives. That may include realizing losses to offset gains, deciding whether to sell appreciated investments, reviewing mutual fund distributions, rebalancing carefully, or donating appreciated securities.
The objective is not simply to minimize taxes this year. It is to make investment decisions that support a broader financial plan, including risk management, retirement planning, charitable goals, estate planning, and future tax considerations.
Start With Capital Gains and Losses
A capital gain or capital loss occurs when an investor sells an investment in a taxable account for more or less than its tax basis.
Tax basis is generally the amount paid for an investment, adjusted for certain items over time. For example, an investor who buys stock for $10,000 and later sells it for $15,000 has a $5,000 capital gain. If that same investment is sold for $8,000 instead, the investor has a $2,000 capital loss.
The gain or loss is generally not taxable until it is realized through a sale. If a stock rises in value but is not sold, the appreciation is typically considered an unrealized gain. Likewise, an investment that falls in value has an unrealized loss until it is sold.
These rules are especially relevant in taxable brokerage accounts, including individual, joint, and many trust accounts. Trades inside retirement accounts such as IRAs and employer-sponsored retirement plans generally do not create current capital gains taxes or capital-loss deductions. That makes it important to consider which account holds each investment before making year-end changes.
It is also important to understand that each purchase of the same investment may have a different basis and holding period. If an investor bought shares of the same fund several times, each purchase may be treated as a separate tax lot. Choosing which tax lots to sell can affect how much gain or loss is realized.
Short-Term and Long-Term Tax Treatment
How long an investment has been held can make a major difference.
In general, an investment held for one year or less before sale produces a short-term capital gain or loss. Short-term gains are generally taxed as ordinary income, which may mean higher tax rates for many investors.
An investment held for more than one year before sale produces a long-term capital gain or loss. Long-term capital gains may qualify for lower federal tax rates, depending on an investor’s taxable income and filing status. Some higher-income investors may also owe the 3.8% Net Investment Income Tax.
The difference between short-term and long-term treatment is one reason investors should review holding periods before placing a trade. Selling an investment days before it reaches the one-year mark could result in a short-term gain rather than a long-term gain.
For investors with several lots of the same stock, mutual fund, or ETF, selecting the shares with the highest basis may reduce the taxable gain. Selecting shares held for more than one year may also help avoid realizing short-term gains when possible.
Tax rules can be complex, particularly when investors have transactions across multiple accounts or when spouses own related investments. A year-end discussion with a tax professional can help clarify the potential impact before a sale is completed.
How Tax-Loss Harvesting Can Help
Tax-loss harvesting involves selling investments that have declined in value in order to realize capital losses. Those losses can be used to offset realized capital gains from other investments.
For example, imagine an investor sells a stock and realizes a $20,000 capital gain. The investor also owns another investment that is down $8,000 from its purchase price. Selling that second investment before year-end could create an $8,000 capital loss, potentially reducing the investor’s net taxable gain to $12,000.
Generally, capital gains and losses are netted against one another. Short-term gains and losses are first matched, as are long-term gains and losses. The net short-term and long-term results are then combined.
If an investor’s losses exceed gains for the year, up to $3,000 of net capital losses may generally be used to reduce ordinary income. Remaining unused losses can generally carry forward to future tax years.
Tax-loss harvesting can be useful, but it should not drive every investment decision. Selling a holding purely for a tax deduction may not make sense if the investment remains an important part of a portfolio or if replacing it would create an undesirable shift in risk.
Instead, investors may consider harvesting losses when a holding no longer fits their investment strategy, when a portfolio needs rebalancing, or when a similar—but not identical—investment can provide comparable exposure.
Watch for the Wash-Sale Rule
The wash-sale rule is one of the most important considerations in tax-loss harvesting.
In general, if an investor sells an investment at a loss and buys the same or a substantially identical security within 30 days before or after the sale, the loss may be disallowed for current tax purposes. The disallowed loss is usually added to the basis of the replacement investment, which can defer rather than eliminate the tax benefit.
The rule can apply across multiple accounts. For example, a purchase in an IRA, a spouse’s account, or an account with automatic dividend reinvestment may create an unexpected wash sale. Investors should review all planned purchases and automated transactions before selling a position for a tax loss.
When Harvesting Gains May Make Sense
Losses are not the only year-end planning opportunity. In some situations, realizing gains can also be worthwhile.
An investor may be in a lower-income year because of retirement, a career transition, a business loss, or temporarily reduced earnings. In that case, it may be possible to realize long-term gains at a lower tax rate than might apply in future years.
Realizing gains can also increase the investment’s cost basis. If the investor repurchases the investment after selling it, the new purchase price becomes the new basis. That may reduce the amount of taxable gain if the investment is sold again later.
Gain harvesting may be especially useful for investors who have capital-loss carryforwards from prior years. Rather than allowing those losses to remain unused indefinitely, an investor may be able to realize gains that are offset by the carryforward losses.
However, realizing gains can have consequences beyond capital gains taxes. It may increase adjusted gross income, affect Medicare-related income thresholds, reduce eligibility for certain tax benefits, increase state tax obligations, or contribute to the 3.8% Net Investment Income Tax for some households.
For that reason, gain harvesting should be considered as part of a broader tax projection rather than as an isolated investment decision.
Mutual Fund Distributions Matter
Mutual fund investors should pay close attention to year-end capital-gain distributions.
A mutual fund may sell appreciated holdings throughout the year. If the fund realizes net gains, it may distribute those gains to shareholders, often in November or December. Shareholders in taxable accounts may owe taxes on the distribution even if they did not sell any fund shares.
This can create an unpleasant surprise for investors who buy a mutual fund shortly before its distribution date. The investor may receive a taxable distribution soon after purchasing the fund, even though the fund’s share price typically falls by roughly the amount of the distribution.
For example, an investor could buy $25,000 of a mutual fund in December and then receive a capital-gain distribution a few days later. The fund’s value declines by the distribution amount, but the investor may still owe taxes on the distribution. Economically, the investor has not necessarily earned a meaningful return—yet may have created a current tax obligation.
Before purchasing mutual fund shares late in the year, investors may want to check whether the fund has announced estimated distributions and record dates. In some cases, waiting until after the distribution may be preferable. In other cases, maintaining a desired asset allocation may matter more than avoiding a relatively small tax event.
Investors who automatically reinvest mutual fund dividends and distributions should also keep careful records. Reinvested distributions generally increase the cost basis of the shares, which helps prevent the same amount from being taxed again when shares are eventually sold.
Rebalancing With Tax Awareness
Over time, market movement can cause a portfolio to drift away from its intended allocation. A strong stock market, for example, may leave an investor holding a larger percentage in equities than originally planned.
Rebalancing brings the portfolio back toward its target allocation. This can be important for managing risk, maintaining diversification, and keeping the portfolio aligned with long-term goals.
However, rebalancing in a taxable account can create capital gains. The key is to manage the tax cost without allowing taxes to prevent prudent risk management.
Investors may consider several tax-aware approaches:
- Use new cash contributions, dividends, or interest payments to build positions that are below target rather than selling appreciated holdings.
- Rebalance within tax-deferred or tax-free accounts first, where transactions generally do not trigger current capital-gains taxes.
- Use realized losses to offset gains from sales needed for rebalancing.
- Review specific tax lots to identify shares with higher cost basis or long-term holding periods.
- Spread large adjustments over time when appropriate, provided the portfolio’s risk level remains acceptable.
Rebalancing should not be delayed indefinitely just to avoid taxes. If an investor has an overly concentrated position or is taking more risk than intended, reducing that risk may be more important than postponing a taxable sale.
Gifting Appreciated Investments
For investors who plan to make charitable gifts, donating appreciated investments can be more tax-efficient than donating cash.
When an investor contributes long-term appreciated stock, ETFs, or mutual fund shares directly to a qualified charity, the investor may avoid recognizing the embedded capital gain. If the relevant tax requirements are met, the investor may also be eligible for a charitable deduction based on the investment’s fair market value, subject to applicable limits and documentation rules.
Consider an investor who owns stock worth $40,000 that was originally purchased for $15,000. Selling the stock first would generally realize a $25,000 gain. If the investor then donated the cash proceeds, taxes may have reduced the amount available for the gift.
By donating the shares directly, the charity may sell the shares without the donor recognizing the $25,000 gain. This can potentially increase the value of the charitable gift while reducing the donor’s tax cost.
Gifting appreciated investments to family members is different. In most cases, the recipient receives the donor’s original cost basis. If the recipient later sells the investment, the built-in gain may become taxable to the recipient. A family gift can be useful for estate planning or helping relatives, but it does not generally eliminate the gain.
These decisions can involve gift-tax rules, estate-planning considerations, income thresholds, and special rules for children or other dependents. Investors should coordinate significant gifts with tax and legal professionals.
A Useful Year-End Checklist
A year-end portfolio review may include the following questions:
- Which holdings have meaningful unrealized gains or losses?
- Are there gains already realized this year that could potentially be offset by losses?
- Are any investments close to qualifying for long-term capital-gain treatment?
- Do mutual funds in taxable accounts have upcoming capital-gain distributions?
- Has the portfolio drifted from its intended allocation?
- Are there investment losses that could support tax-aware rebalancing?
- Is this a lower-income year that could make gain harvesting more attractive?
- Are charitable gifts planned, and could appreciated securities be used instead of cash?
- Are there capital-loss carryforwards from prior tax returns?
- Could any planned trades create a wash sale?
The weeks before year-end can be a valuable time to bring together investment management and tax planning. But investors do not need to make every decision in December. The best approach is often a disciplined, year-round process that reviews taxes alongside portfolio management.
Tax-aware investing can help reduce unnecessary friction, but it should remain secondary to a well-diversified portfolio and a plan built around an investor’s goals. Before making major year-end sales, gifts, or portfolio changes, investors should consult their financial advisor, tax professional, and legal counsel.
Insight Wealth Strategies, LLC is a Registered Investment Adviser. Advisory services are only offered to clients or prospective clients where Insight Wealth Strategies, LLC and its representatives are properly licensed or exempt from licensure. Past performance is no guarantee of future returns. Investing involves risk and possible loss of principal capital. No advice may be rendered by Insight Wealth Strategies, LLC unless a client service agreement is in place.
Insight Wealth Strategies, LLC (IWS) and its affiliates do not provide tax, legal or accounting advice. This material has been prepared for informational purposes only, and is not intended to provide, and should not be relied on for, tax, legal or accounting advice. You should consult your own tax, legal and accounting advisors before engaging in any transaction.
Reviewed by,
Andre Paiva, CRPC®
Lead AdvisorStay informed with our latest insights on
wealth management for pre-retirees.
Subscription Form
Ready to plan your retirement transition?
The decisions you make in the next few years will determine your retirement lifestyle. Let’s create a plan that gives you confidence in your financial future.