Tax-Loss Harvesting: The Only Time Losing Money Saves You Money
How selling a losing investment can offset gains and lower your tax bill.
Here's a strange sentence that happens to be true: sometimes the smartest thing you can do with a losing investment is sell it. Not because you've given up, but because the tax code will pay you for the loss. It's called tax-loss harvesting, and once you understand it, you'll never look at a red position in your portfolio the same way again.
Start with the basic rule. When you sell an investment for more than you paid, that's a capital gain, and you owe tax on it. When you sell for less than you paid, that's a capital loss. Losses cancel out gains, dollar for dollar. So if you made $2,000 selling one stock and lost $2,000 selling another, your net taxable gain is zero. You still made money overall in the real world — you kept the cash from the winner — but the tax bill on it disappeared because the loser offset it.
It gets better. If your losses are bigger than your gains, you can use up to $3,000 of the extra loss each year to offset your regular income — your salary, your side hustle money, all of it. At a 22% tax rate, that's $660 back in your pocket. And any loss you can't use this year doesn't vanish. It carries forward to future years, indefinitely, until it's used up. A big loss in a bad year can quietly lower your tax bill for years to come.
Now the catch, and it's an important one: the wash sale rule. If you sell a stock at a loss and buy the same stock (or something substantially identical) within 30 days before or after the sale, the IRS disallows the loss. You can't just sell on Monday and rebuy on Tuesday and claim the deduction. The workaround investors use is to buy something similar but not identical — sell one S&P 500 index fund and buy a different company's S&P 500 fund, for example. You stay invested in the same market, but the tax loss is real. Just be careful: the rule also applies across accounts, so buying the same stock in your IRA within 30 days can kill the loss in your taxable account too.
There's also a place where harvesting does nothing at all: retirement accounts. Inside a 401(k) or IRA, gains and losses don't get taxed year to year, so there's no tax bill to offset. Harvesting only matters in a regular taxable brokerage account. If all your investing is inside retirement accounts, file this idea away for later — it'll matter the day you open a taxable account.
So when is this actually worth doing? The classic moment is December, when investors look at their year, see gains they've already locked in, and sell their losers to balance them out. But you don't have to wait for December. Any time you have a position you'd sell anyway — a stock you no longer believe in, a fund you want to replace — selling it at a loss is doing double duty. You're cleaning up your portfolio and cutting your tax bill at the same time.
One warning: don't let the tax tail wag the investment dog. Selling a great long-term investment just to grab a tax loss, or holding a terrible stock only because you don't want to "waste" the loss, are both backwards. The investment decision comes first. Tax-loss harvesting is a bonus you collect when you're already making a move, not a reason to make a bad one.
The bottom line is simple. In a taxable account, losses aren't just failures — they're assets with a dollar value. Used right, they cancel gains, shave up to $3,000 a year off your taxable income, and carry forward until they're spent. Losing money never feels good. But if you're going to lose it anyway, you might as well get paid for it at tax time.
Disclosure: This article was drafted with AI assistance and reviewed by the author.
About the Creator
Enjoyed the story? Support the Creator.
Subscribe for free to receive all their stories in your feed.
Comments
There are no comments for this story
Be the first to respond and start the conversation.