When it comes to managing your investment portfolio, taxes can quietly eat into your returns year after year. Two powerful strategies — tax loss harvesting and tax gain harvesting — give investors the ability to be proactive rather than reactive when it comes to their tax bill. But understanding the difference between them, and knowing which one applies to your situation, can mean the difference between leaving money on the table and genuinely optimizing your financial life. In this guide, we'll break down both strategies, compare them directly, and help you figure out which approach makes sense for you.
Tax loss harvesting is the practice of selling investments that have declined in value to realize a capital loss, which can then be used to offset capital gains or even ordinary income. It's one of the most well-known tax strategies in personal finance, and for good reason — it can meaningfully reduce what you owe to the IRS without requiring you to change your long-term investment outlook.
Here's how it works in practice: Suppose you bought shares of a tech ETF for $10,000, and its current value has dropped to $7,500. You sell those shares, locking in a $2,500 capital loss. That loss can be used to offset any capital gains you've realized elsewhere in your portfolio. If you don't have enough gains to offset, you can use up to $3,000 in losses to reduce your ordinary income each year, with any excess carried forward to future tax years.
After selling, investors typically reinvest the proceeds into a similar (but not identical) investment to maintain their market exposure. This is where the IRS's wash-sale rule becomes important — you cannot repurchase the same or a "substantially identical" security within 30 days before or after the sale, or your loss will be disallowed.
Tax gain harvesting is the lesser-known sibling of tax loss harvesting, and it's a strategy that surprises many investors when they first hear about it. Rather than selling losing positions, tax gain harvesting involves intentionally selling investments that have increased in value — and doing so strategically to take advantage of low or zero capital gains tax rates.
The logic behind tax gain harvesting is straightforward: if you're in the 0% long-term capital gains tax bracket, you can sell appreciated investments and pay absolutely nothing in federal taxes on those gains. You can then immediately repurchase the same investment at the higher cost basis, effectively "resetting" your basis and reducing the taxable gain you'd owe down the road when you sell in a higher-bracket year.
For 2024, the 0% long-term capital gains rate applies to single filers with taxable income up to approximately $47,025 and married filing jointly couples with income up to about $94,050. For investors in these brackets — including retirees, young investors in early earning years, or those who've had a low-income year — tax gain harvesting can be an extraordinary opportunity.
Let's say you're married filing jointly and your taxable income for the year is $75,000. You have a brokerage account with $20,000 in unrealized long-term capital gains. Since your income is below $94,050, you could realize some or all of those gains at a 0% tax rate. If you sell $19,050 worth of gains (staying safely within the 0% threshold), you pay zero federal capital gains tax on that amount. You then repurchase the same investment with a new, higher cost basis. Years later, when you're in a higher bracket, you'll owe tax on a much smaller gain than you otherwise would have.
When you put tax loss harvesting vs tax gain harvesting side by side, the differences become clear — but so does the fact that they serve very different investor profiles and financial situations. Neither strategy is universally superior; the right choice depends entirely on your tax bracket, the composition of your portfolio, and your long-term financial goals.
Tax loss harvesting is most valuable for investors who are in higher tax brackets and who have realized significant capital gains during the year. If you've sold a rental property, exercised stock options, or experienced large gains in your portfolio, harvesting losses can directly offset those gains and produce immediate, tangible tax savings.
It's also a useful strategy during periods of market volatility. When markets pull back, long-term investors who aren't concerned about the temporary decline can harvest losses while repositioning into similar funds, maintaining their investment exposure without missing out on the eventual recovery.
Consider this scenario: You're a high earner in the 37% ordinary income bracket, and you've realized $50,000 in short-term capital gains this year. By harvesting $50,000 in losses from underperforming positions, you eliminate your entire capital gains tax bill — potentially saving you $18,500 or more at the highest short-term rate.
Tax gain harvesting is the ideal strategy for investors who are temporarily in a lower income bracket. This commonly includes:
The beauty of tax gain harvesting is that unlike tax loss harvesting, it doesn't require the wash-sale rule to be navigated. You can sell an appreciated position and buy it right back the very next day, locking in a higher cost basis with no restrictions. This makes it a cleaner, more flexible tool in many ways.
Absolutely — and sophisticated investors often do. Within the same tax year, you might harvest losses from some positions while simultaneously harvesting gains from others. The losses and gains will offset each other, but if you're sitting in the 0% capital gains bracket, you want to be careful not to let gains push your income above the threshold before you've had a chance to take advantage of it.
For example, a retiree might be in the 0% capital gains bracket for the year. They have both unrealized gains in a stock they've held for years and unrealized losses in a bond fund. By harvesting both in the same year, they can realize gains tax-free while using the losses to offset other income or carry them forward. This kind of coordinated strategy is where working with a tax-savvy financial advisor can pay enormous dividends.
Both strategies come with pitfalls that can undermine their effectiveness if you're not careful.
The honest answer is that neither tax loss harvesting nor tax gain harvesting is universally "better" — they are tools for different situations. Tax loss harvesting is a powerful strategy for high-income investors looking to reduce a large tax bill, particularly in years with significant realized gains or during market downturns. Tax gain harvesting, meanwhile, is a subtle but incredibly powerful wealth-building move for investors who find themselves temporarily in a low-income bracket and want to lock in gains at favorable rates.
The most financially savvy investors are those who understand both strategies well enough to deploy them at the right time. Keep track of your projected income throughout the year, monitor your portfolio's unrealized gains and losses, and consult with a tax professional before making moves that could have significant tax consequences.
In the grand comparison of tax loss harvesting vs tax gain harvesting, the winner isn't one over the other — it's the informed investor who knows when to use each one. Start by reviewing your current tax bracket, your portfolio's gain and loss positions, and your income expectations for the year. That clarity will point you directly to the strategy that can save you the most money.
Use our free tax loss harvesting calculator to see exactly how much you could save.
Try the Calculator →This article is for educational purposes only and does not constitute tax or investment advice. Consult a qualified tax professional before making investment decisions.