TaxGhost

The Complete Guide to Tax Loss Harvesting

2026-05-15

Disclaimer: This guide is for educational purposes only. It is not personalized investment advice, and it is not a substitute for advice from a qualified tax professional or financial advisor. Tax laws change, and your situation is unique. Consult a professional before making investment or tax decisions.


Table of Contents

  1. What is Tax Loss Harvesting?
  2. How TLH Works: A Step-by-Step Walkthrough
  3. The Wash Sale Rule: The #1 Trap
  4. DIY vs. Robo-Advisor TLH: The Real Cost
  5. When to Harvest: A Year-Round Calendar
  6. Substitute Securities: How to Stay Invested
  7. Cost Basis Methods and Why They Matter
  8. Tax Loss Harvesting in Practice: 3 Real Scenarios
  9. Common Mistakes and How to Avoid Them
  10. Advanced Strategies: Direct Indexing, Asset Location
  11. FAQ
  12. Summary and Next Steps

What is Tax Loss Harvesting?

Tax loss harvesting (TLH) is the practice of selling investments that have declined in value to realize a capital loss, then using that loss to offset capital gains or up to $3,000 of ordinary income per year. The proceeds are typically reinvested in a similar but not "substantially identical" security to maintain market exposure. Done correctly, TLH can improve your after-tax returns without changing your overall asset allocation.

At its core, TLH is a tax deferral and reduction strategy. You are not avoiding taxes permanently — you are shifting them into the future, when your tax rate may be lower, or reducing them by offsetting gains that would otherwise be taxed this year. For long-term investors, the compounding effect of keeping more money invested today can be significant.

Here is a simple example. Imagine you bought 100 shares of a broad stock index fund at $50 per share, for a total cost of $5,000. Six months later, the market dips and those shares are worth $40 each, or $4,000 total. You have an unrealized loss of $1,000. If you do nothing, that loss exists only on paper. If you sell the shares, you realize a $1,000 capital loss. You can use that loss to offset $1,000 of capital gains elsewhere in your portfolio, or deduct up to $3,000 against ordinary income. Any unused loss carries forward indefinitely.

The key insight is that the IRS taxes realized gains but does not tax unrealized gains. TLH takes advantage of this asymmetry by converting paper losses into realized losses that have immediate tax value, while keeping your money working in the market through a substitute investment.

Why does this matter for DIY investors? Because the tax savings from TLH can add up to meaningful dollars over time. A study by Betterment estimated that TLH could add roughly 0.77% annually to after-tax returns for a typical investor. Over 20 years, that difference compounds into tens of thousands of dollars. Wealthfront, another robo-advisor, claimed $161 million in TLH savings for its clients in 2025 alone. These are not trivial numbers.

However, TLH is not free money. It requires attention to detail, an understanding of the wash sale rule, and a willingness to track your cost basis across multiple transactions. Robo-advisors automate much of this, but they charge fees and require you to give up direct control of your portfolio. For investors who prefer to manage their own assets — or who simply do not want to pay an annual fee on top of fund expense ratios — DIY TLH is entirely feasible with the right process and tools.

This guide will walk you through everything you need to know to harvest losses yourself: the mechanics, the pitfalls, the timing, the substitute securities, and the record-keeping. By the end, you will have a repeatable system you can use year after year.


How TLH Works: A Step-by-Step Walkthrough

Tax loss harvesting is not complicated, but it is precise. Missing a step can turn a tax-saving move into a tax-neutral or even tax-worsening one. Here is the complete process, broken into discrete steps you can follow every time.

Step 1: Identify Losses in Your Portfolio

The first step is finding positions that are currently trading below your cost basis. Most brokerage platforms show unrealized gains and losses for each position. Look for the "unrealized P&L" or "gain/loss" column in your holdings view.

You want to focus on short-term losses first because short-term capital losses offset short-term capital gains, which are taxed at your ordinary income rate — the highest rate you face. Long-term losses are valuable too, but they offset long-term gains, which are taxed at preferential rates. If you have both types of losses, prioritize the short-term ones.

Do not harvest every loss indiscriminately. A small loss on a position you have held for years may not be worth the transaction costs and tracking complexity. A common rule of thumb is to look for losses of at least $500 per lot, or losses that represent at least 5% of the position value. This ensures the tax benefit justifies the effort.

Step 2: Check for the Wash Sale Rule

Before selling anything, verify that you will not trigger a wash sale. A wash sale occurs when you sell a security at a loss and buy the same or a "substantially identical" security within 30 days before or after the sale. If a wash sale occurs, the loss is disallowed and added to the cost basis of the replacement shares.

This is the single most important rule in TLH. We cover it in detail in the next section, but for now, the checklist is:

  • Have you purchased the same security in the last 30 days?
  • Do you have automatic dividend reinvestment enabled for this security?
  • Do you hold the same security in another account (IRA, 401(k), spouse's account)?
  • Will you be tempted to buy it back within 30 days?

If any of these are true, pause and plan around them. You can use our Wash Sale Checker to quickly verify whether a planned sale and repurchase would trigger the rule.

Step 3: Sell the Losing Position

Once you have confirmed no wash sale risk, place a sell order for the losing lot. If your broker supports tax-lot selling, sell specific lots rather than using the default FIFO (first-in, first-out) method. This gives you precise control over which shares you realize losses on.

Use a limit order if the security is thinly traded, but for most ETFs and mutual funds, a market order during market hours is fine. Record the sale date, proceeds, and cost basis of the lot sold. You will need this for tax reporting.

Step 4: Immediately Buy a Substitute Security

The goal of TLH is to maintain your market exposure while capturing the tax loss. You do this by buying a substitute security that is similar but not substantially identical to the one you sold.

For example, if you sold the Vanguard Total Stock Market ETF (VTI), you might buy the Schwab U.S. Broad Market ETF (SCHB) or the iShares Core S&P Total U.S. Stock Market ETF (ITOT). These funds track similar indexes but are managed by different companies, have different expense ratios, and hold slightly different portfolios. The IRS has not issued definitive guidance on what counts as "substantially identical," but funds from different providers tracking different indexes are generally considered safe substitutes.

Buy the substitute immediately after selling — ideally the same day, or the next trading day at the latest. The market can move quickly, and you do not want to be out of the market for long. This is sometimes called "switching pairs."

Step 5: Record Everything

Good record-keeping is essential. For each harvest, document:

  • Date of sale
  • Security sold (ticker, shares, cost basis, sale proceeds)
  • Realized loss amount
  • Substitute security purchased (ticker, shares, cost basis)
  • Date of substitute purchase

Keep these records in a spreadsheet or dedicated tool. Your broker will report the sale on a 1099-B, but they may not correctly account for wash sales across accounts or substitute securities. Your own records are your defense if the IRS questions your return.

Step 6: Monitor and Repeat

TLH is not a one-time event. Markets fluctuate, and new losses appear throughout the year. Set a calendar reminder to review your portfolio monthly, or at least quarterly. The end of the year is especially important because you want to harvest any remaining losses before December 31 to use them against that year's gains.

Some investors set price alerts on their positions to notify them when a holding drops below a certain threshold. This can help you act quickly during market volatility, which is often when the best harvesting opportunities arise.

Step 7: Report on Your Tax Return

Capital losses are reported on Schedule D of your Form 1040. Your broker will send you a 1099-B listing all sales, but you may need to adjust the basis or add explanations for wash sales or substitute securities. If you used a substitute security, there is no special form — you simply report the sale of the original security and the purchase of the new one as two separate transactions.

If you have a complex year with many harvests, consider using tax software that imports 1099-B data directly, or hire a CPA. The cost is usually worth it if you have significant TLH activity.


The Wash Sale Rule: The #1 Trap

The wash sale rule is the most common way DIY investors sabotage their own tax loss harvesting. It is also the rule that generates the most confusion. Let us break it down completely.

What Is a Wash Sale?

Under IRS Publication 550, a wash sale occurs when you sell a security at a loss and, within 30 days before or after the sale, you:

  • Buy the same security,
  • Acquire the same security in a fully taxable trade,
  • Acquire a contract or option to buy the same security, or
  • Acquire substantially identical stock or securities in an IRA, 401(k), or other account you control.

The 30-day window is actually 61 days total: 30 days before the sale, the day of the sale, and 30 days after. If you buy the same security at any point in that window, the loss is disallowed.

When a wash sale occurs, the disallowed loss is not gone forever. It is added to the cost basis of the replacement shares. This means you defer the tax benefit rather than losing it, but the immediate value of the loss is gone for the current tax year. For TLH to be worthwhile, you want the loss now, not later.

The Substantially Identical Problem

The IRS uses the phrase "substantially identical" but has never defined it precisely. This creates a gray area that makes many investors nervous. Here is what we know:

  • Two ETFs from different providers tracking the same index (e.g., VTI and SCHB, both tracking broad U.S. stock market indexes) are generally considered NOT substantially identical by most tax practitioners, because they have different portfolios, expense ratios, and tracking methodologies.
  • Two ETFs from the same provider tracking the same index (e.g., VTI and VTSAX) are more risky. Some advisors consider them substantially identical because they hold the same underlying securities in the same proportions.
  • An ETF and a mutual fund tracking different indexes (e.g., VTI tracking the CRSP US Total Market Index and SPY tracking the S&P 500) are clearly not substantially identical.
  • Individual stocks in the same sector (e.g., Apple and Microsoft) are not substantially identical.

The conservative approach is to substitute funds that track different indexes from different providers. The aggressive approach is to substitute funds tracking the same index from different providers. Most DIY investors fall somewhere in between. If you want certainty, consult a tax professional.

Hidden Wash Sale Traps

The wash sale rule applies across all accounts you control, including:

  • Your taxable brokerage account
  • Your IRA (traditional or Roth)
  • Your spouse's accounts (if you file jointly)
  • Your 401(k) or other employer plan, if you control the investments

This means if you sell VTI at a loss in your taxable account, and your spouse buys VTI in their IRA two weeks later, the wash sale rule applies. The loss is disallowed, and because the replacement shares are in an IRA, the disallowed loss is permanently lost — it cannot be added to the IRA basis. This is one of the cruelest traps in the tax code.

Another hidden trap is automatic dividend reinvestment. If you hold a fund that reinvests dividends automatically, a dividend payment within the 61-day window counts as a purchase and triggers a wash sale. Turn off automatic reinvestment for any security you plan to harvest.

How to Avoid Wash Sales

  1. Use our Wash Sale Checker before every harvest to verify your planned sale and repurchase are safe.
  2. Turn off dividend reinvestment for positions you harvest.
  3. Coordinate with your spouse — agree on substitute securities and avoid buying the same ticker in any account.
  4. Wait 31 days if you absolutely must buy back the original security. This is the simplest but least desirable option because it leaves you out of the market or forces you into a temporary substitute.
  5. Use different substitute pairs for different asset classes. For U.S. large-cap, use VTI / SCHB. For international, use VXUS / IXUS. For bonds, use BND / SCHZ. This reduces the chance of accidental overlap.

What If You Trigger a Wash Sale?

If you realize you have triggered a wash sale, do not panic. The loss is deferred, not destroyed. It is added to the cost basis of the replacement shares, which means you will realize a larger gain (or smaller loss) when you eventually sell those shares. The tax benefit is delayed, not denied.

However, if the replacement shares are in an IRA, the loss is permanently disallowed. There is no fix for this except to avoid it in the future. This is why cross-account coordination is so important.


DIY vs. Robo-Advisor TLH: The Real Cost

Robo-advisors like Wealthfront and Betterment heavily market their automated tax loss harvesting features. They make it sound effortless: sign up, deposit money, and watch the tax savings roll in. But there is a real cost to this convenience, and for many investors, DIY TLH is the better deal.

How Robo-Advisor TLH Works

Robo-advisors use software to monitor your portfolio continuously. When a position drops below its cost basis by a certain threshold (often 1-2%), the software automatically sells the losing lot and buys a substitute. This happens without any action on your part. The robo-advisor also handles dividend reinvestment, wash sale monitoring across your accounts, and tax reporting.

The benefit is obvious: you do not have to think about it. The software works 24/7, and it can harvest losses during market volatility that you might miss if you only check your portfolio monthly.

The Fee Structure

Here is what robo-advisors actually charge:

Robo-AdvisorAnnual Advisory FeeMinimum BalanceTLH Claimed Benefit
Wealthfront0.25% of AUM$500Up to 2x the fee
Betterment0.25% of AUM (Digital) / 0.40% (Premium)$0 / $100,000~0.77% annually
Schwab Intelligent Portfolios0% (but high cash allocation)$5,000Varies
Fidelity Go0% (under $25k) / 0.35%$0Limited
Vanguard Digital Advisor0.20%$3,000Moderate

On a $500,000 portfolio, Wealthfront's 0.25% fee equals $1,250 per year. Betterment Premium at 0.40% equals $2,000 per year. These fees are charged every year, regardless of whether the TLH feature actually saves you money that year. In a bull market with few losses, you are paying for a service that does nothing.

Wealthfront claims its TLH feature can generate up to 2x the advisory fee in tax savings. If true, that is a good deal. But the keyword is "up to." There is no guarantee, and the actual benefit depends on market conditions, your tax bracket, and your portfolio composition.

The Control Tradeoff

When you use a robo-advisor, you give up direct control of your portfolio. You cannot choose individual stocks, you cannot deviate from the model portfolio, and you cannot easily transfer assets in-kind to another broker. You are locked into their ecosystem.

For some investors, this is fine. If you want a hands-off approach and do not care about individual holdings, a robo-advisor is a reasonable choice. But if you prefer to manage your own asset allocation, hold individual securities, or use a specific broker for other reasons, the robo-advisor model is restrictive.

The DIY Alternative

DIY TLH requires more effort, but the cost savings are real. You pay no advisory fee. You keep full control of your portfolio. You can use any broker you want. And with a systematic approach — which this guide teaches — you can harvest losses just as effectively as a robo-advisor, especially if you check your portfolio monthly or quarterly.

The main cost of DIY TLH is your time. A monthly review takes 15-30 minutes. A harvest transaction takes 5-10 minutes. If you harvest 6-12 times per year, that is roughly 3-6 hours of total effort. At $1,250 per year in avoided fees, your effective hourly rate is $200-$400. For most investors, that is time well spent.

When Robo-Advisors Make Sense

Robo-advisors are not bad products. They make sense for:

  • Investors who are completely hands-off and do not want to learn TLH mechanics.
  • Investors with very large portfolios ($2M+) where the fee is small relative to the potential tax savings.
  • Investors who value the other features (automatic rebalancing, financial planning, cash management).

But for DIY investors who are willing to spend a few hours per year, the fee savings and control benefits of doing it yourself are compelling. Wealthfront may have claimed $161 million in TLH savings for 2025, but they also collected millions in advisory fees. The net benefit to clients is the savings minus the fees — and that net benefit is something you can keep entirely for yourself by going DIY.


When to Harvest: A Year-Round Calendar

Tax loss harvesting is often associated with December, when investors scramble to reduce their tax bill before the year ends. But the best TLH opportunities often arise during market downturns, which can happen at any time. A year-round approach captures more losses and spreads your tax benefits across multiple years.

Here is a calendar-based approach to TLH:

MonthFocusAction Items
JanuaryReview prior yearCheck Schedule D for unused loss carryforwards. Set annual TLH goals. Review portfolio for new year losses from December volatility.
February-MarchPost-earnings volatilityMany stocks drop after earnings reports. Review individual holdings for harvesting opportunities.
AprilTax season checkAs you file taxes, note your actual capital gains/losses. Adjust your TLH strategy for the current year based on what you owe or are owed.
May-JuneMid-year reviewCheck portfolio for losses accumulated since January. Harvest if you have short-term gains to offset.
July-AugustSummer lullMarkets are often quieter, but geopolitical events can cause sudden drops. Stay alert.
September-OctoberHistorical volatilityOctober is historically volatile. Review positions weekly during this period.
NovemberPre-holiday harvestHarvest any remaining short-term losses before they become long-term.
DecemberYear-end sweepHarvest all remaining losses to offset current-year gains. Deadline is December 31.

The December Trap

Waiting until December to harvest is risky for two reasons. First, you miss losses that occurred earlier in the year and may have already recovered. A stock that dropped 15% in March and rebounded by December is no longer harvestable. Second, the end of December is a crowded time. Many investors are selling, which can depress prices and make it harder to find good substitute securities.

The better approach is to harvest throughout the year whenever a meaningful loss appears. Set a threshold — for example, harvest any loss greater than $500 or 5% of the position — and act when it is triggered.

Market Corrections and Bear Markets

Market-wide downturns are the best TLH opportunities. During the COVID-19 crash in March 2020, investors who harvested losses and immediately bought substitutes captured enormous tax benefits while staying fully invested. The S&P 500 dropped 34% in a matter of weeks — a once-in-a-decade harvesting opportunity.

You cannot predict crashes, but you can prepare for them. Keep a list of substitute securities for each of your holdings. Set price alerts at 5%, 10%, and 15% below your cost basis. When an alert triggers, run through the wash sale checklist and harvest if it makes sense.

Short-Term vs. Long-Term Timing

Short-term losses are more valuable than long-term losses because they offset short-term gains, which are taxed at your ordinary income rate. If you have a position that is approaching the one-year holding period and is still at a loss, consider harvesting before it becomes long-term. Once a loss becomes long-term, it can only offset long-term gains (or ordinary income up to $3,000), which are taxed at lower rates.

Conversely, if you have a short-term gain you want to offset, prioritize harvesting short-term losses. The tax savings are highest when short-term losses offset short-term gains.


Substitute Securities: How to Stay Invested

The whole point of TLH is to capture a tax loss without missing market exposure. This requires substitute securities that are similar enough to maintain your asset allocation but different enough to avoid the wash sale rule.

The Bogleheads Approach

The Bogleheads community — a group of investors inspired by Vanguard founder John Bogle — has extensively discussed TLH substitute pairs. Their consensus is that ETFs from different providers tracking similar but not identical indexes are generally safe substitutes. Here are some commonly recommended pairs:

Asset ClassPrimary HoldingSubstitute #1Substitute #2
U.S. Total MarketVTI (Vanguard)SCHB (Schwab)ITOT (iShares)
U.S. Large-CapVOO (Vanguard S&P 500)SPY (SPDR)IVV (iShares)
U.S. Small-CapVBR (Vanguard Small-Cap Value)SLYV (SPDR S&P 600 Value)IJS (iShares S&P Small-Cap 600 Value)
International DevelopedVEA (Vanguard FTSE Developed)IEFA (iShares Core MSCI EAFE)SCHF (Schwab International Equity)
Emerging MarketsVWO (Vanguard FTSE Emerging Markets)IEMG (iShares Core MSCI Emerging Markets)SCHE (Schwab Emerging Markets Equity)
U.S. BondsBND (Vanguard Total Bond)SCHZ (Schwab US Aggregate Bond)AGG (iShares Core U.S. Aggregate Bond)
Treasury Inflation-ProtectedTIP (iShares TIPS Bond)SCHP (Schwab U.S. TIPS)VTIP (Vanguard Short-Term TIPS)

The key principle is to switch between providers. Vanguard, Schwab, and iShares all have competing products in most major asset classes, but their underlying indexes and portfolios differ slightly. This difference is what protects you from the wash sale rule.

How Similar Is Too Similar?

This is the million-dollar question, and the IRS has not given a definitive answer. Here is a practical framework:

  • Safe substitutes: Different provider, different index, similar asset class. Example: VTI (CRSP US Total Market) and SCHB (Dow Jones U.S. Broad Stock Market).
  • Probably safe substitutes: Different provider, same index family but different implementation. Example: VOO (S&P 500) and SPY (S&P 500) from different providers. Most practitioners consider these safe, but conservative investors may disagree.
  • Risky substitutes: Same provider, same index, different share class. Example: VTI and VTSAX (Vanguard Total Stock Market ETF and Admiral Shares). These hold identical portfolios and are more likely to be considered substantially identical.
  • Definitely a wash sale: Same security, same ticker, any account.

If you want to be conservative, stick to the "safe substitutes" category. If you are willing to take a small risk for closer tracking, the "probably safe" category is widely used by DIY investors and even some robo-advisors.

The Three-Fund Portfolio and TLH

Many DIY investors use a simple three-fund portfolio: U.S. total market, international total market, and U.S. bonds. For TLH purposes, this is ideal because each fund has multiple safe substitutes:

  • U.S. total market: VTI, SCHB, ITOT
  • International total market: VXUS, VEA + VWO, IXUS
  • U.S. bonds: BND, SCHZ, AGG

With three asset classes and three substitutes each, you can rotate between funds indefinitely without ever holding the same ticker within 30 days. This is the simplest TLH system for most investors.

Individual Stocks

If you hold individual stocks, substitute selection is easier in some ways and harder in others. You can sell Apple at a loss and buy Microsoft — clearly not substantially identical. But you lose the precise sector or company exposure you had before. If you believe Apple is undervalued, selling it to buy Microsoft means you no longer own Apple.

For individual stock investors, TLH is often combined with a broader portfolio strategy. You might sell a losing tech stock and buy a tech sector ETF as a temporary substitute, then switch back after 31 days. Or you might permanently rotate between similar companies in the same industry.


Cost Basis Methods and Why They Matter

Cost basis is the original value of an asset for tax purposes. When you sell, your capital gain or loss is the difference between the sale proceeds and the cost basis. How your broker calculates cost basis directly affects which lots have gains and which have losses — and therefore which lots you should harvest.

Cost Basis Methods

The IRS allows several methods for calculating cost basis:

  1. FIFO (First-In, First-Out): The default method. The oldest shares are sold first. This often results in long-term gains (because you have held the oldest shares the longest) and may not be optimal for TLH.

  2. LIFO (Last-In, First-Out): The newest shares are sold first. This can produce more short-term losses, which are more valuable for tax purposes. Not all brokers support LIFO.

  3. HIFO (Highest-In, First-Out): The shares with the highest cost basis are sold first. This minimizes gains or maximizes losses. HIFO is ideal for TLH because it lets you sell the lots with the biggest losses first.

  4. Specific Identification: You choose exactly which shares to sell. This is the most flexible method and the best for TLH. You can pick the lot with the largest loss, the most favorable holding period, or any other criteria.

  5. Average Cost: Available for mutual funds only. All shares are averaged together. You cannot harvest specific lots, which makes TLH much harder.

Which Method Should You Use?

For TLH, specific identification is the gold standard. It gives you complete control over which lots to sell. Most major brokers (Fidelity, Schwab, Vanguard, Interactive Brokers) support specific identification for ETFs and stocks. You typically need to select this method in your account settings and confirm it before each sale.

If your broker does not support specific identification, HIFO is the next best option. It automatically sells the highest-cost lots, which are usually the ones with losses in a rising market.

FIFO is the worst method for TLH because it sells your oldest, lowest-cost shares first. In a long-term bull market, this means you are selling shares with large gains instead of harvesting losses.

How to Track Cost Basis

Your broker tracks cost basis and reports it on your 1099-B, but you should keep your own records. Brokers sometimes make mistakes, especially with:

  • Reinvested dividends
  • Corporate actions (splits, mergers, spinoffs)
  • Transfers between accounts
  • Substitute securities purchased after a wash sale

Keep a spreadsheet with the following columns for each lot:

  • Ticker
  • Purchase date
  • Shares
  • Cost per share
  • Total cost basis
  • Current price
  • Unrealized gain/loss
  • Holding period (short-term or long-term)

Update this spreadsheet monthly, or use portfolio tracking software that does it automatically. For a deeper dive into cost basis tracking, see our upcoming cost basis tracking guide.

The Importance of Lot-Level Tracking

TLH only works if you know which lots have losses. If you own 500 shares of VTI purchased at different times and prices, some lots may be at a gain and others at a loss. Without lot-level tracking, you cannot harvest selectively.

Most brokers show lot-level detail in your account. Look for a "tax lots" or "unrealized gains" view. If your broker does not show this, consider switching to one that does. Interactive Brokers, Fidelity, and Schwab all have excellent tax lot reporting.


Tax Loss Harvesting in Practice: 3 Real Scenarios

Theory is helpful, but concrete examples make TLH real. Here are three scenarios based on typical investor situations. All dollar amounts are illustrative but realistic.

Scenario 1: The New Investor with a Recent Market Drop

Profile: Sarah, 32, has a $50,000 taxable brokerage account invested in a three-fund portfolio. She started investing 18 months ago and has been contributing monthly.

Situation: The market drops 12% over two months. Her holdings are now:

  • VTI: $25,000 cost basis, current value $22,000 (unrealized loss: $3,000)
  • VXUS: $15,000 cost basis, current value $13,200 (unrealized loss: $1,800)
  • BND: $10,000 cost basis, current value $9,800 (unrealized loss: $200)

Action: Sarah harvests the VTI and VXUS losses. She sells VTI and buys SCHB. She sells VXUS and buys IXUS. She leaves BND alone because the $200 loss is too small to justify the effort.

Result: She realizes $4,800 in capital losses. She has no capital gains this year, so she deducts $3,000 against her ordinary income (saving roughly $720 in taxes at her 24% marginal rate) and carries forward $1,800 to next year. She remains fully invested in similar assets through her substitute securities.

Key Lesson: Even new investors with modest portfolios can benefit from TLH. The $720 tax savings is real money, and the $1,800 carryforward provides future value.

Scenario 2: The High-Income Earner with RSU Overhang

Profile: Marcus, 45, works in tech and receives Restricted Stock Units (RSUs) from his employer. He also has a $800,000 taxable portfolio of index funds.

Situation: Marcus's RSUs vest quarterly, and he sells them immediately. This generates $40,000 in short-term capital gains per year. His index fund portfolio has several lots with losses due to market volatility:

  • VOO (purchased 8 months ago): $100,000 cost basis, current value $92,000 (loss: $8,000)
  • VEA (purchased 5 months ago): $60,000 cost basis, current value $55,000 (loss: $5,000)
  • VTI (purchased 3 years ago): $200,000 cost basis, current value $240,000 (gain: $40,000)

Action: Marcus harvests the VOO and VEA losses, realizing $13,000 in short-term losses. He buys SPY and SCHF as substitutes. He does not sell VTI because it is at a gain.

Result: The $13,000 in short-term losses offsets $13,000 of his $40,000 in short-term RSU gains. His taxable short-term gains drop to $27,000, saving him roughly $4,940 in taxes at his 38% marginal rate (federal + state). He carries forward no losses because the gains exceed the losses.

Key Lesson: TLH is especially powerful for high-income earners with regular short-term gains. The tax savings are substantial because short-term gains are taxed at the highest rates.

Scenario 3: The Retiree Managing a Large Portfolio

Profile: Linda, 68, is retired with a $2.5 million taxable portfolio. She withdraws $80,000 per year for living expenses and donates $20,000 per year to charity.

Situation: Linda has a complex portfolio with dozens of tax lots accumulated over 20 years. Some lots have massive gains, others have losses from recent purchases. She wants to harvest losses to offset gains from rebalancing and charitable giving.

Selected lots with losses:

  • VTI (purchased 11 months ago): $50,000 cost basis, current value $44,000 (loss: $6,000)
  • VBR (purchased 9 months ago): $30,000 cost basis, current value $26,000 (loss: $4,000)
  • VWO (purchased 7 months ago): $40,000 cost basis, current value $36,000 (loss: $4,000)

Action: Linda harvests all three losses, realizing $14,000 in short-term losses. She buys SCHB, SLYV, and IEMG as substitutes. She also donates $20,000 of appreciated VTI shares (purchased 15 years ago at $10,000 cost basis) to charity, avoiding the $10,000 capital gain.

Result: The $14,000 in losses offsets $14,000 of gains from other rebalancing activity. The charitable donation of appreciated shares avoids $10,000 in gains. Combined, she reduces her taxable gains by $24,000. At her 22% federal + 5% state rate, this saves roughly $6,480 in taxes. She also gets a $20,000 charitable deduction.

Key Lesson: TLH works best as part of a broader tax strategy. Combining loss harvesting with charitable giving of appreciated shares, strategic rebalancing, and careful lot selection can multiply the tax benefits.


Common Mistakes and How to Avoid Them

Even experienced investors make TLH mistakes. Here are the most common ones and how to prevent them.

Mistake 1: Triggering Wash Sales Unknowingly

The most common mistake is buying back the same security within 30 days, often through automatic dividend reinvestment or a spouse's account. We covered this extensively above, but it bears repeating: check every account you control before harvesting.

Fix: Turn off automatic reinvestment. Coordinate with your spouse. Use our Wash Sale Checker before every transaction.

Mistake 2: Harvesting Losses That Are Too Small

A $50 loss is not worth the transaction cost, tracking burden, and potential wash sale risk. Some investors get trigger-happy and harvest every tiny loss, creating a paperwork nightmare for minimal benefit.

Fix: Set a minimum threshold. Harvest losses of at least $500 or 5% of the position value.

Mistake 3: Ignoring Transaction Costs

While most brokers now offer commission-free ETF trades, some still charge for mutual funds, and bid-ask spreads apply to all trades. If you harvest a $200 loss but pay $10 in spreads, your net benefit is smaller than it appears.

Fix: Use commission-free ETFs. Be aware of spreads on thinly traded funds. Factor costs into your threshold.

Mistake 4: Forgetting About Short-Term vs. Long-Term

Short-term losses offset short-term gains first, which is great. But if you harvest a short-term loss and have no short-term gains, the loss offsets long-term gains next, which are taxed at lower rates. The tax benefit is smaller than if you had short-term gains to offset.

Fix: Plan your harvesting around your expected gains. If you know you will have RSU vesting or option exercises later in the year, save short-term losses for then.

Mistake 5: Poor Record-Keeping

The IRS can audit your return up to three years after filing (six years in some cases). If you cannot prove your cost basis and substitute security purchases, you may lose the tax benefit.

Fix: Keep detailed records of every harvest. Save trade confirmations. Use a spreadsheet or tool to track everything.

Mistake 6: Letting the Tax Tail Wag the Investment Dog

TLH is a tax optimization technique, not an investment strategy. Do not sell a good long-term holding just to harvest a loss if the substitute is significantly worse. Do not hold onto a losing investment just because you have not harvested the loss yet.

Fix: Make investment decisions first, tax decisions second. If you would not sell a position for investment reasons, do not sell it just for TLH unless the tax benefit is truly compelling.

Mistake 7: Not Harvesting in Down Markets

Some investors freeze during market crashes. They are afraid to sell because they think the market will keep falling, or they are emotionally attached to their holdings. This is when TLH is most valuable.

Fix: Have a plan before the crash. Know your substitute securities. Set price alerts. When the market drops, execute your plan mechanically.


Advanced Strategies: Direct Indexing, Asset Location

Once you have mastered basic TLH, you can explore advanced strategies that offer even greater tax efficiency.

Direct Indexing

Direct indexing involves buying the individual stocks in an index rather than the index fund itself. For example, instead of buying VTI, you buy the 3,000+ stocks that make up the CRSP US Total Market Index (or a representative sample).

The advantage for TLH is enormous. With an index fund, you can only harvest losses at the fund level. If the overall fund is up, there are no losses to harvest even if many individual stocks within the fund are down. With direct indexing, you can harvest losses on the individual stocks that are down while holding the winners.

Direct indexing used to be available only to wealthy investors with $1M+ portfolios, but fractional share trading and zero-commission brokers have lowered the barrier. Services like Fidelity's Managed Account Services and Schwab's Managed Portfolio offer direct indexing with lower minimums.

The downside is complexity. Tracking 100+ individual stocks, harvesting losses, and managing substitutes is far more work than managing a few ETFs. For most DIY investors, the effort is not worth the incremental benefit. But for large portfolios ($500K+), direct indexing can add significant after-tax value.

Asset Location

Asset location is the strategy of placing different asset classes in different account types (taxable, tax-deferred, tax-free) to minimize taxes. It works hand-in-hand with TLH.

The general principle is:

  • Taxable accounts: Hold tax-efficient assets like broad stock index ETFs. These generate minimal taxable income and provide TLH opportunities.
  • Tax-deferred accounts (401(k), traditional IRA): Hold tax-inefficient assets like bonds, REITs, and actively managed funds. The tax deferral shelters the ordinary income and capital gains.
  • Tax-free accounts (Roth IRA): Hold your highest-growth-potential assets like small-cap stocks and emerging markets. The growth is never taxed.

By placing your stock ETFs in taxable accounts, you maximize TLH opportunities while keeping bonds and REITs in tax-sheltered accounts where their ordinary income does not generate a tax bill.

Tax-Efficient Rebalancing

Rebalancing forces you to sell winners and buy losers, which generates capital gains. You can combine rebalancing with TLH by selling losing positions to fund purchases of underweight asset classes.

For example, if your target allocation is 60% stocks / 40% bonds, and stocks have risen to 65%, you need to sell 5% of your stock allocation. Instead of selling winners, harvest any losing stock positions first. Use the proceeds to buy bonds. This rebalances your portfolio while realizing losses instead of gains.

Charitable Giving of Appreciated Shares

As shown in Scenario 3, donating appreciated shares to charity is a powerful complement to TLH. You avoid capital gains tax on the appreciation, get a charitable deduction for the full market value, and free up cash that would have gone to the charity.

The optimal sequence is:

  1. Harvest losses in your taxable account.
  2. Donate appreciated long-term shares to charity.
  3. Use the cash you would have donated to buy substitute securities or rebalance.

This combines three tax-efficient strategies into one action.


FAQ

Q1: How much can I save with tax loss harvesting?

The savings depend on your tax bracket, portfolio size, and market conditions. A common estimate is 0.5% to 1.0% annually in improved after-tax returns. On a $500,000 portfolio, that is $2,500 to $5,000 per year in tax savings or deferral. In volatile markets with many losses, the benefit can be higher. In calm bull markets, it may be zero.

Q2: Do I need a lot of money for TLH to be worth it?

Not necessarily. Even a $50,000 portfolio can generate meaningful losses during market downturns. The key is to have enough positions that some are likely to be down at any given time. A single ETF may not provide enough opportunities, but a three-fund portfolio or a portfolio with individual stocks usually does.

Q3: Can I harvest losses in my 401(k) or IRA?

No. TLH only works in taxable brokerage accounts. Retirement accounts are tax-deferred or tax-free, so there is no capital gains tax to offset. Selling at a loss in an IRA does not generate a deductible loss.

Q4: What happens if I have more losses than gains?

You can deduct up to $3,000 of net capital losses against ordinary income per year. Any excess loss carries forward indefinitely to future years. For example, if you have $10,000 in losses and no gains, you deduct $3,000 this year, $3,000 next year, $3,000 the year after, and $1,000 in the fourth year.

Q5: Does TLH affect my long-term returns?

TLH improves after-tax returns but does not change pre-tax returns. By deferring taxes, you keep more money invested and compounding. Over long periods, this can meaningfully increase your after-tax wealth. However, TLH also lowers your cost basis on substitute securities, which means you will have larger gains when you eventually sell. The benefit comes from the time value of money — paying taxes later is better than paying them now.

Q6: Can I harvest losses on cryptocurrency?

Yes, but the rules are different. Cryptocurrency is treated as property, not a security, which means the wash sale rule does not currently apply. You can sell Bitcoin at a loss and buy it back immediately. However, Congress has considered closing this loophole, so the rules may change. Keep records as if the wash sale rule did apply, in case it becomes law retroactively.

Q7: What if my broker reports a wash sale I did not intend?

Brokers are required to report wash sales for identical securities within the same account. They may not catch wash sales across accounts or with substitute securities. If your broker reports a wash sale you believe is incorrect, you can adjust it on your tax return with an explanation. Keep detailed records to support your position.

Q8: Should I use a robo-advisor or do TLH myself?

It depends on your preferences and portfolio size. Robo-advisors automate TLH but charge 0.25% to 0.40% annually. DIY TLH requires 3-6 hours per year but saves the fee. For portfolios under $500,000, DIY is usually more cost-effective. For very large portfolios or investors who want a completely hands-off approach, robo-advisors may be worth the fee. See the DIY vs. Robo-Advisor section for a detailed comparison.

Q9: What is the best substitute for VTI?

SCHB (Schwab U.S. Broad Market ETF) and ITOT (iShares Core S&P Total U.S. Stock Market ETF) are the most commonly recommended substitutes. They track similar but not identical indexes, have low expense ratios, and are highly liquid. See the substitute securities table for more options.

Q10: How do I track my TLH activity?

Use a spreadsheet with columns for date, ticker, shares, cost basis, sale proceeds, realized loss, substitute ticker, and substitute cost basis. Update it after every harvest. For more advanced tracking, see our upcoming cost basis tracking guide.


Summary and Next Steps

Tax loss harvesting is one of the most powerful tax strategies available to DIY investors. It requires no special accounts, no expensive software, and no professional help. All you need is a taxable brokerage account, a systematic process, and the discipline to check your portfolio regularly.

Here is what we covered in this guide:

  • What TLH is and why it improves after-tax returns
  • The step-by-step process for harvesting losses safely
  • The wash sale rule and how to avoid its traps
  • The real cost of robo-advisors versus doing it yourself
  • A year-round calendar for timing your harvests
  • Substitute securities to maintain market exposure
  • Cost basis methods and why specific identification matters
  • Three real scenarios showing TLH in action
  • Common mistakes and how to prevent them
  • Advanced strategies like direct indexing and asset location
  • Answers to the most frequently asked questions

Your Next Steps

  1. Review your portfolio today. Look for unrealized losses. Set a threshold and harvest anything that meets it.
  2. Check for wash sale risks. Use our Wash Sale Checker to verify your planned transactions.
  3. Set up your substitute securities. Pick one substitute for each of your holdings and keep the list handy.
  4. Turn off automatic dividend reinvestment for positions you plan to harvest.
  5. Set a monthly calendar reminder to review your portfolio for new losses.
  6. Sign up for our newsletter to get notified when we publish new guides, tools, and tax-saving strategies.

Tax loss harvesting is not a one-time trick. It is a habit. The investors who benefit most are the ones who make it part of their regular financial routine. Start today, and the compounding effect of your tax savings will grow for decades.

Disclaimer: This guide is for educational purposes only. It is not personalized investment advice, and it is not a substitute for advice from a qualified tax professional or financial advisor. Tax laws change, and your situation is unique. Consult a professional before making investment or tax decisions.