
A Tax Harvesting Example With Real Tax Savings
A tax harvesting example is most useful when it starts with a real-world tension: an investment is down, but selling it feels like admitting defeat. In a taxable brokerage account, however, a temporary loss may be more than disappointing news. Handled thoughtfully, it can create a tax asset while allowing you to remain invested for the recovery.
Tax-loss harvesting is not about chasing losses or making investment decisions solely to reduce a tax bill. It is a coordinated strategy that can help align portfolio management with your broader financial plan, including your income, realized gains, charitable goals, equity compensation, and retirement timeline.
A tax harvesting example, step by step
Imagine that Maya and Daniel own a diversified stock exchange-traded fund in their joint taxable investment account. They bought it for $100,000 several years ago. Market volatility has reduced its value to $78,000, creating an unrealized loss of $22,000.
Earlier in the year, they sold another investment and realized a $12,000 long-term capital gain. They also expect to be in a higher tax bracket this year because Daniel exercised stock options from his employer.
Their adviser identifies the $22,000 loss and recommends selling the stock fund. The loss becomes realized, meaning it can be reported on their tax return. At the same time, rather than leaving the proceeds in cash and potentially missing a market rebound, they purchase a different, broadly diversified fund with similar exposure. The replacement fund should not be substantially identical to the one they sold.
For this simplified tax harvesting example, the $22,000 capital loss is generally applied in this order:
First, it offsets the $12,000 capital gain.
Then, up to $3,000 of the remaining loss may offset ordinary income on their federal return, subject to their individual tax situation.
The final $7,000 can generally carry forward to offset capital gains and, potentially, ordinary income in future years.
The immediate benefit is not a $22,000 reduction in taxes. It is a reduction in taxable income based on how the loss is used and the couple's applicable tax rates. The larger benefit may unfold over several years, especially if they expect to realize gains later as part of rebalancing, funding retirement, or diversifying concentrated employer stock.
Why staying invested matters
Selling an investment at a loss without a plan for the proceeds can change the risk profile of a portfolio. If Maya and Daniel moved the entire $78,000 to cash, a sudden market recovery could leave them underinvested. Their tax strategy may look effective on paper, but the investment decision could undermine their long-term plan.
That is why tax-loss harvesting often includes purchasing a carefully selected replacement investment. The goal is to maintain the intended asset allocation while avoiding a wash sale. Similar economic exposure is not necessarily the same thing as a substantially identical security, but the distinction requires care.
For example, selling one broad-market ETF and buying a fund that tracks a different index may be appropriate in some circumstances. Selling an ETF and quickly repurchasing the same ETF is not. The facts matter, including the fund structure, index tracked, and transactions elsewhere in the household.
The wash-sale rule can erase the expected benefit
A wash sale generally occurs when you sell an investment at a loss and buy the same or a substantially identical investment within 30 days before or after the sale. If the rule applies, the current loss is generally disallowed and added to the basis of the replacement shares instead.
The 61-day window is easy to overlook because it includes the sale date, the 30 days before it, and the 30 days after it. It also requires looking beyond the one brokerage account where the sale occurred.
A purchase in a spouse's account can create a problem. So can automatic dividend reinvestment, recurring investment purchases, or shares acquired in an IRA. An IRA-related wash sale can be particularly costly because the disallowed loss may not receive the same basis adjustment treatment available in a taxable account.
Before harvesting a loss, it is wise to review all related accounts, turn off automatic purchases where appropriate, and document the replacement-investment plan. This is one reason tax-aware investment management is most effective when it is coordinated across a household rather than handled account by account.
Where tax-loss harvesting does and does not apply
Tax-loss harvesting applies to taxable brokerage accounts. It does not create a current deduction for losses inside traditional IRAs, Roth IRAs, 401(k)s, or similar retirement accounts because trading gains and losses inside those accounts are generally not currently taxable.
It may be especially relevant for investors with taxable portfolios who have realized gains, expect future portfolio changes, receive equity compensation, or hold concentrated positions. California residents may find this coordination particularly meaningful because California taxes capital gains as ordinary income rather than offering a preferential state capital-gains rate. Federal treatment and state treatment are not always identical, and the final outcome depends on the taxpayer's complete return.
Still, harvesting is not automatically beneficial whenever an investment declines. If an investor expects to be in a much higher tax bracket soon, preserving a loss for a future year may be preferable. If the available replacement investment does not fit the portfolio, avoiding a wash sale may require too much compromise. And if the position has only a small loss, transaction costs, spreads, and added complexity may outweigh the potential tax value.
Cost basis and timing can change the answer
Most investors do not own every share of a fund at the same purchase price. They may have invested monthly, reinvested dividends, or added shares during different market periods. As a result, one tax lot may have a loss while another has a gain.
Choosing specific tax lots can make a meaningful difference. Rather than selling the entire position, an investor may be able to sell only shares with losses and retain lower-basis shares for a future decision. This can be particularly useful for someone who wants to reduce a concentrated position gradually without realizing more taxable gain than necessary.
Timing also matters. A loss harvested in December can offset gains realized earlier in the same calendar year, but waiting until year-end is not always ideal. Market declines can be brief, and a disciplined process throughout the year may identify opportunities without turning portfolio management into a series of reactive trades.
Use the strategy in service of the plan
A thoughtful tax strategy asks more than, “Can we create a deduction?” It asks what the loss can accomplish. Perhaps it can offset gains from diversifying company stock. Perhaps it can help fund a planned portfolio rebalance. Perhaps it can preserve more after-tax wealth for retirement, gifting, or a future home purchase.
The strongest decisions connect the tax result to the investments, cash-flow needs, and family goals behind it. A tax loss can be valuable, but it is rarely worth abandoning a well-built allocation or taking risks that do not match your financial plan. Reviewing opportunities with a fiduciary adviser and qualified tax professional can help ensure each trade supports the life you are planning for, not just this year's tax return.
Footnote:
The information on this site is provided “AS IS” and without warranties of any kind either express or implied. To the fullest extent permissible pursuant to applicable laws, InvestEdge Planning LLC disclaims all warranties, express or implied, including, but not limited to, implied warranties of merchantability, non-infringement, and suitability for a particular purpose.
InvestEdge Planning does not warrant that the information will be free from error. None of the information provided is intended as investment, tax, accounting, or legal advice, as an offer or solicitation of an offer to buy or sell, or as an endorsement of any company, security, fund, or other securities or non-securities offering. The information should not be relied upon for purposes of transacting securities or other investments.
Your use of the information is at your sole risk. Under no circumstances shall InvestEdge Planning LLC be liable for any direct, indirect, special, or consequential damages that result from the use of, or the inability to use, the materials in this site, even if InvestEdge Planning LLC or an InvestEdge Planning LLC authorized representative has been advised of the possibility of such damages. In no event shall InvestEdge Planning LLC have any liability to you for damages, losses, and causes of action for accessing this information. Information on this website should not be considered a solicitation to buy, an offer to sell, or a recommendation of any security in any jurisdiction where such offer, solicitation, or recommendation would be unlawful or unauthorized.



