Tax loss harvesting sounds good on paper but often costs more than it saves

Tax loss harvesting — selling investments at a loss to offset gains — works mathematically only under specific conditions. Most people who try it either don't meet those conditions, trigger unexpected tax bills, or spend more on trading costs and account management than they recover. The IRS has rules designed to prevent abuse, and those rules catch ordinary investors more often than they catch sophisticated ones.

The core problem is straightforward: you need actual gains to harvest losses against. If you don't have capital gains in the same year, the loss carries forward indefinitely — you get the tax benefit eventually, but not when you need it. If you do have gains, the math only works if the tax savings exceed the trading costs, the bid-ask spread, and the time you spend managing it.

Key Takeaways

  • Tax loss harvesting requires capital gains in the same tax year to produce an when ready tax benefit; without gains, losses carry forward and provide no current deduction.
  • The wash-sale rule prevents you from buying back the same or substantially identical security within 30 days before or after the sale, forcing you to hold cash or buy a different fund and accept tracking error.
  • Trading costs, bid-ask spreads, and account fees often exceed the tax savings, especially for accounts under $100,000 or when harvesting small positions.
  • Harvesting in taxable accounts can trigger higher Medicare premiums, reduce tax credits, or push you into a higher tax bracket if your income is near a threshold.
  • Automated harvesting services charge fees that compound the problem, and manual harvesting requires discipline and record-keeping that most investors don't maintain.

You need capital gains in the same year for it to work at all

Tax loss harvesting only produces a tax benefit in the year you harvest if you have capital gains to offset. If you have no gains — which is the case for most buy-and-hold investors in most years — the loss sits on your return as a capital loss carryforward. You can deduct up to $3,000 of net capital losses against ordinary income each year, and the rest carries to the next year indefinitely. That means you get the benefit eventually, but not when you need it.

Many investors harvest losses in down years, expecting to offset gains in up years. But markets don't cooperate on schedule. If you harvest a $10,000 loss in 2024 and the market rebounds in 2025, you may not have gains to offset it until 2027 or later. By then, the tax benefit is worth less in present-value terms, and you've already paid trading costs.

The only scenario where harvesting produces when ready tax savings is if you have realized capital gains from selling other positions in the same year. If you're a trader or you rebalance frequently, you may have those gains. If you buy and hold, you probably don't.

The wash-sale rule forces you to buy something else or hold cash

When you sell a security at a loss, the IRS prohibits you from buying back that same security — or a substantially identical one — within 30 days before or after the sale. This is the wash-sale rule, and it exists to prevent you from harvesting the loss while keeping the same position.

If you violate the rule, the loss is disallowed, and the cost basis of the replacement security is increased by the disallowed loss. You don't lose the tax benefit entirely, but you defer it and create accounting complexity.

To stay compliant, you have two options: hold cash for 31 days, or buy a different fund that tracks a similar index. If you hold cash, you're out of the market during that period and accept the risk that it rebounds without you. If you buy a similar but different fund — say, switching from one S&P 500 index fund to another — you accept tracking error: the new fund may perform differently, and you've locked in that difference. Over 30 days, tracking error is usually small, but it's a real cost that reduces the tax benefit.

Trading costs and fees often exceed the tax savings

Every time you sell and buy, you pay a bid-ask spread — the difference between what you sell for and what you buy for. On stocks, this is typically 0.01% to 0.05%. On mutual funds and ETFs, it's usually smaller, but it's not zero. You may also pay a commission, though most brokers have eliminated commissions on stocks and ETFs.

If you harvest a $5,000 loss and you're in the 24% federal tax bracket, the tax savings is $1,200. But if you pay a 0.05% spread on the sale and another 0.05% on the replacement purchase, you've paid $5 in spreads. That's not much. However, if you harvest multiple positions, or if you harvest small positions, the spread becomes significant relative to the benefit.

Automated harvesting services charge between 0.25% and 0.50% of assets under management annually. On a $50,000 account, that's $125 to $250 per year. If you harvest $5,000 in losses and save $1,200 in taxes, the service fee of $125 reduces your net benefit to $1,075. But if you harvest only $2,000 in losses and save $480, the fee cuts your benefit in half.

For accounts under $100,000, the math rarely works. For accounts over $500,000 with frequent gains, it can work — but only if you do it yourself and don't pay a service fee.

Harvesting can trigger higher Medicare premiums and reduce tax credits

Realizing capital losses doesn't directly increase your income, but harvesting can change your modified adjusted gross income (MAGI), which determines may be able to access for several tax benefits. If you're near the income threshold for Medicare premium surcharges, the American Opportunity Credit, the Earned Income Tax Credit, or the Net Investment Income Tax, harvesting can push you over the line.

For example, if you're a retiree with $194,500 in modified adjusted gross income and you harvest a $10,000 loss, your MAGI drops to $184,500. That's good — it may lower your Medicare premiums. But if you then realize a $15,000 capital gain later in the year, your MAGI rises to $199,500, and you trigger a Medicare premium surcharge that costs more than the tax savings from the loss.

The same applies to tax credits. If you're close to the income limit for the American Opportunity Credit or the Earned Income Tax Credit, harvesting can reduce your benefit. The IRS doesn't care that you harvested a loss; it cares about your total income for the year.

The wash-sale rule extends to your spouse and certain accounts

The wash-sale rule applies not just to you, but to your spouse if you file jointly. If you sell a security at a loss in your individual brokerage account, your spouse cannot buy the same or substantially identical security in their account within the 30-day window. This catches many couples who manage separate accounts.

The rule also applies across account types. If you sell a mutual fund at a loss in your taxable brokerage account, you cannot buy the same fund in your IRA or 401(k) within 30 days. This is a common mistake: investors harvest losses in taxable accounts and then when ready rebalance their retirement accounts, triggering the wash-sale rule without realizing it.

The IRS has not published a comprehensive list of what counts as "substantially identical," but it includes the same fund under a different share class, the same stock under a different ticker, and funds that track the same index. It does not include funds that track different indexes, even if they have similar holdings.

Manual harvesting requires discipline and record-keeping most investors don't maintain

If you harvest losses yourself, you must track the cost basis of every position, the date of every sale, and the date of every replacement purchase. You must also track wash-sale violations across all your accounts and your spouse's accounts. Most tax software can import this data from your broker, but only if your broker reports it correctly — and many brokers make mistakes.

If you make a mistake, you either pay taxes on gains you thought were offset, or you face an IRS audit. The IRS has increased scrutiny of wash-sale reporting in recent years, and penalties for violations are not trivial.

Automated harvesting services handle the record-keeping, but they charge fees. And they still require you to understand the wash-sale rule, because you cannot buy the same security yourself during the 30-day window, even if the service is managing the harvest.

Frequently Asked Questions

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

No. Tax-advantaged retirement accounts are already tax-deferred or tax-free, so harvesting losses in them provides no tax benefit. The IRS prohibits realizing losses in these accounts for tax purposes. You can sell at a loss and buy something else, but the loss has no tax effect.

What if I harvest a loss but don't have gains until next year?

The loss carries forward to the next year as a capital loss carryforward. You can use it to offset gains in future years, but you get no tax deduction in the year you harvest. This delays the benefit and reduces its present value, especially if you're in a lower tax bracket next year.

Does harvesting losses affect my cost basis for future sales?

Only if you violate the wash-sale rule. If you sell at a loss and buy a substantially identical security within 30 days, the disallowed loss is added to the cost basis of the replacement security. This defers the tax benefit but doesn't eliminate it. If you avoid the wash-sale rule, your cost basis is unaffected.

Is tax loss harvesting worth it for a $50,000 account?

Rarely. The trading costs and fees typically exceed the tax savings for accounts under $100,000. You may harvest a $2,000 loss and save $480 in taxes, but pay $125 in service fees and $10 in spreads, leaving you with a net benefit of $345. That's not zero, but it's not worth the complexity and risk of mistakes for most investors.

Can I harvest losses in December and buy back in January without triggering the wash-sale rule?

No. The wash-sale rule applies 30 days before and after the sale. If you sell on December 15, you cannot buy the same security until January 15. If you buy on January 10, the wash-sale rule applies, and the loss is disallowed.