Disclosure: NerdsInvest may earn a commission from links on this site at no extra cost to you. We only recommend products we believe are genuinely useful for beginner investors. Learn more.
NerdsInvest uses cookies for analytics (Google Analytics) and advertising (Google AdSense) to improve the site and keep it free. By clicking Accept, you consent to our use of non-essential cookies. You can Decline to use only essential cookies. Read our Privacy Policy for details.
A beginner-friendly explanation of tax-loss harvesting and the wash-sale rule
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.
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.
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:
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).
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.
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:
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.
Here's the magic:
This simple act turned potential tax payments into savings, all by strategically selling investments that weren't performing well.
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.
Tax-loss harvesting is most effective when:
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.
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
Automated investing with tax-loss harvesting and personalized advice. A top-rated robo-advisor for hands-off investors.
Free financial dashboard to track your net worth, investments, and retirement readiness in one place.
Explains the importance of dividends, how they provide income and accelerate investment payback, and the relationship between dividends and market value.
Why the order of investment returns matters as much as the average return, especially near retirement
What ESG investing is, how it works, and the trade-offs compared to broad index funds