AdvancedAI Explainer

Tax-Loss Harvesting: How to Turn Investment Losses Into Tax Savings

A beginner-friendly explanation of tax-loss harvesting and the wash-sale rule

April 27, 20266 min readAdvanced

Tax-Loss Harvesting: How to Turn Investment Losses Into Tax Savings

Investing can feel like a rollercoaster, with ups and downs. While we all hope for our investments to grow, sometimes they decrease in value. What if you could turn those occasional dips into a benefit for your wallet? That's exactly what tax-loss harvesting allows you to do.

What is Tax-Loss Harvesting?

Let's start with the basics. When you invest, you buy assets like stocks (small ownership shares in a company) or mutual funds (a collection of stocks, bonds, or other investments managed by professionals). If you sell an investment for more than you paid for it, you've made a capital gain. If you sell it for less than you paid, you've incurred a capital loss.

Tax-loss harvesting is simply the strategic act of selling investments that have lost value to offset other gains or even a portion of your regular income, thereby reducing your overall tax bill. Think of it as finding a silver lining in an investment that didn't perform as you hoped. Instead of just holding onto it and hoping it recovers, you can use that loss to save money on your taxes today.

This strategy is typically used in taxable brokerage accounts – these are investment accounts where your gains and losses are subject to taxes each year, unlike retirement accounts like 401(k)s or IRAs, which have different tax rules.

How Does Tax-Loss Harvesting Work?

The core idea is to use your losses to cancel out your gains. Here's how the IRS (Internal Revenue Service) allows this to happen:

  1. Offsetting Capital Gains: If you have capital gains (profits from selling investments) from other investments you've sold during the year, you can use your capital losses to reduce those gains dollar-for-dollar. This is the primary benefit. For example, if you made a $5,000 profit on one stock but lost $3,000 on another, you only pay taxes on a net gain of $2,000 ($5,000 - $3,000).

  2. Offsetting Ordinary Income: If your capital losses are greater than your capital gains, you can use up to $3,000 of those "extra" losses to reduce your ordinary income (like your salary or wages) each year. This means you'll pay less income tax.

  3. Carrying Over Losses: If you have more than $3,000 in losses left over after offsetting all your gains and the $3,000 of ordinary income, don't worry! You can "carry over" those unused losses to future tax years. They never expire and can be used to offset future capital gains or up to $3,000 of ordinary income each year until they are fully used up.

Example Time!

Let's say you're an investor named Sarah. Here's how tax-loss harvesting could work for her:

  • Investment A: Sarah bought Stock A for $10,000. She sold it later for $15,000. This is a $5,000 capital gain.
  • Investment B: Sarah bought Stock B for $7,000. It hasn't performed well, and its current value is $4,000. If she sells it, she'd have a $3,000 capital loss.
  • Investment C: Sarah bought Stock C for $5,000. It also hasn't done well, and its current value is $1,000. If she sells it, she'd have a $4,000 capital loss.

Scenario 1: No Tax-Loss Harvesting If Sarah only sells Stock A, she has a $5,000 capital gain and would owe taxes on that entire amount.

Scenario 2: With Tax-Loss Harvesting Sarah decides to sell Stock B and Stock C to realize her losses.

  • Total Capital Gains: $5,000 (from Stock A)
  • Total Capital Losses: $3,000 (from Stock B) + $4,000 (from Stock C) = $7,000

Here's the magic:

  1. Sarah uses $5,000 of her capital losses to completely offset her $5,000 capital gain. Now, she owes zero taxes on her investment gains.
  2. She still has $2,000 in capital losses left over ($7,000 total losses - $5,000 used).
  3. She can use this remaining $2,000 to reduce her ordinary income for the year. If her tax bracket is 22%, this saves her $440 in taxes ($2,000 * 0.22).*

This simple act turned potential tax payments into savings, all by strategically selling investments that weren't performing well.

The Wash-Sale Rule: A Crucial Detail

While tax-loss harvesting is a powerful tool, there's a very important rule you need to know: the wash-sale rule. This rule prevents you from selling an investment at a loss and then immediately buying it (or a "substantially identical" investment) back just to claim the tax loss.

The wash-sale rule states that if you sell an investment at a loss, you cannot buy the same or a substantially identical security within 30 days before or 30 days after the sale. This creates a 61-day window (30 days before, the day of the sale, and 30 days after). If you violate this rule, the IRS will disallow your capital loss for tax purposes.

What is "substantially identical"? For most beginners, this means buying back the exact same stock or mutual fund. For example, if you sell Apple stock at a loss, you can't buy Apple stock again within that 61-day window. However, you could buy stock in a different company, like Microsoft, or an Exchange Traded Fund (ETF) (a type of fund that holds a basket of investments, similar to a mutual fund, but trades like a stock) that tracks a broad market index, as long as it's not considered "substantially identical" to what you sold.

The wash-sale rule is designed to prevent people from artificially creating losses for tax purposes without actually changing their investment position.

When Should You Consider Tax-Loss Harvesting?

Tax-loss harvesting is most effective when:

  • You have capital gains: If you've sold other investments for a profit during the year, harvesting losses can directly reduce or eliminate the taxes on those gains.
  • You have a high-income year: If you expect to be in a higher tax bracket, using losses to offset up to $3,000 of ordinary income can be particularly valuable.
  • The market has experienced a downturn: Market corrections or individual stock dips present opportunities to identify investments that are currently at a loss.

It's important to remember that tax-loss harvesting should be a secondary consideration to your overall investment strategy. Don't sell an investment you believe in long-term just for the tax benefit, especially if you're violating the wash-sale rule or disrupting your financial goals. Always consider your investment objectives first.

Key Takeaways

  • Tax-loss harvesting allows you to sell investments at a loss to reduce your taxable capital gains or even a portion of your ordinary income.
  • You can offset all your capital gains and then up to $3,000 of ordinary income per year with capital losses.
  • Unused losses can be carried forward indefinitely to future tax years.
  • The wash-sale rule prevents you from claiming a loss if you buy back the same or a "substantially identical" investment within 30 days before or after the sale.
  • This strategy is used in taxable brokerage accounts and can be a smart way to manage your tax bill, especially during market downturns.

Your Journey to Financial Savvy

Understanding concepts like tax-loss harvesting might seem complex at first, but each new piece of knowledge you gain empowers you to make smarter financial decisions. Don't be intimidated by the jargon; you're building a valuable skill set that will serve you for years to come. Keep learning, keep asking questions, and remember that every step you take towards financial literacy is a win!

Recommended for this topic

Partner OfferAffiliate link — we may earn a commission

Betterment

Automated investing with tax-loss harvesting and personalized advice. A top-rated robo-advisor for hands-off investors.

Start Investing Smarter
Partner OfferAffiliate link — we may earn a commission

Personal Capital

Free financial dashboard to track your net worth, investments, and retirement readiness in one place.

Track Your Net Worth Free