6
The tax-loss harvester’s how-to guide
When to harvest
It can be challenging to determine when to begin the tax-
loss harvesting process, when to sell, and for how much
of a loss. Losses can be ephemeral, often quickly erased,
because of volatility. When abundant losses are available,
an investor should take advantage of them by selling the
investments because the losses can be carried forward
indefinitely to offset income and capital gains. At the
same time, whenever an investor harvests a loss, tracking
error relative to the originally planned portfolio increases
because of the wash sale rule. (This rule prevents an
investor from repurchasing a “substantially identical”
security within 30 days of the sale. More on this below.)
Ideally, an investor strikes the right balance: capturing
losses while they last but not acting too quickly and
missing out on further depreciation.
It seems that rules-based harvesting (e.g., harvesting a
loss in excess of a threshold) can generally deliver a set
of similar results so long as the harvesting threshold is
not too ambitious—generally, anything below 10% yields
similar results. On the margin, investors may also be able
to harvest more by screening for losses on a daily basis
rather than a monthly or quarterly basis. Figure 4 shows
that by checking for losses on a daily basis, the resulting
TLH benefit would have been about 6 and 18 basis points
greater than with monthly and quarterly screening.
One last pitfall to be aware of when timing harvests is
that gains are taxed within calendar years. This argues
for booking sound losses in advance. If a loss is harvested
after year end or washed through a premature purchase
of the same security sold for a loss, the gains that
otherwise could have been offset in the calendar year
are an opportunity lost forever.
3
What to harvest
It is also important to consider which tax lots to sell
when harvesting losses. The ideal situation is to sell lots
that generate the greatest loss per dollar of proceeds
from the sale.
4
In order to do this, investors should select
the specific tax lots of a given security with the highest
cost basis (this is called highest-in-first-out accounting,
a.k.a. “HIFO”). Dickson, Shoven, and Sialm (2000) and
others have shown that TLH with HIFO generally
increases after-tax returns of by approximately 5 to 9
basis points a month depending on net cash flows.
Navigating the wash sale rule
After harvesting a loss, investors typically purchase
a similar investment to maintain consistent portfolio
performance. When replacing the position, an investor
must be mindful not to violate the IRS wash sale rule.
This rule prohibits taking a tax loss if a substantially
identical security is purchased 30 days before or after
the loss transaction. If the transaction violates this
provision, the capital loss is disallowed and is added
to the cost basis of the newly purchased security.
5
Unfortunately, the IRS has provided limited guidance on
what constitutes “substantially identical.” The goal is to
select a replacement that you expect to perform similarly
enough that you do not introduce excessive tracking error
into your portfolio, but that is different enough that you
do not run afoul of the wash sale rule.
Figure 4. TLH benefit by harvesting frequency
0.00
0.10
0.20
0.30
0.40%
Daily
Monthly Quarterly Annually
Notes: Figure 4 depicts the average TLH benefit for 15-year rolling periods, from the
period starting in 1982 to the period starting in 2005 and concluding in 2019. The
frequency indicates how often the portfolio was scanned for harvesting opportunities,
which were identified as tax lots with at least a 10% loss relative to cost basis. This
analysis assumed quarterly cash flows of 5%, capital gains availability of 3% of the
portfolio value, an eventual liquidation of 50%, a harvest tax rate of 40%, a liquidation
tax rate of 25%, fund-level harvesting, and a relative transaction cost of 10 basis points.
Source: Vanguard calculations using data from Axioma.
3 In extreme cases, excessive trading of a security can create large amounts of realized capital gains and unrealized losses. If the continual sale and repurchase of the
security washes those losses so that they continue to be unrealized beyond year end, the gains will be taxable and the investor will be unable to retroactively offset them.
For a further examination of this issue, see Macqueen (2021).
4 One twist to this strategy is to separate harvestable tax lots into two groups—short-term losses and long-term losses—and to sell lots in this order. This strategy
prioritizes the harvesting of short-term losses, as they are subject to income tax rates. If both short-term and long-term gains exist, losses of the same category are used
first to offset like gains (i.e., short-term losses against short-term gains), making short-term losses potentially more valuable than long-term losses.
5 The holding period of the new security is also adjusted to include the holding period of lots that were sold to create the capital loss. For securities that are repurchased in a
retirement account, losses are permanently disallowed and the basis of the replacement security is not adjusted. See IRS Revenue Ruling 2008-5 for additional information.