Tax-Loss Harvesting Explained: Turning Investment Losses Into Tax Savings

Calculator on a table next to a laptop for tax planning

Nobody enjoys watching an investment drop in value. But in a regular taxable brokerage account, a loss is not always a pure setback. Used carefully, it can reduce the taxes you owe on other gains. That strategy is called tax-loss harvesting, and as the year winds down it is one of the more practical ideas to understand.

What Tax-Loss Harvesting Actually Means

Tax-loss harvesting is the practice of selling an investment that is worth less than you paid for it, so you can “realize” the loss on paper for tax purposes. That realized loss can then be used to offset capital gains you realized elsewhere. In general, losses first cancel out gains of the same type, and the remaining amount can offset other gains. If your losses exceed your gains, the tax code allows a limited amount of the excess to reduce other income, with any remainder carried into future years. The exact dollar limits and rules can change, so confirm current figures on IRS.gov or with a tax professional before acting.

Why It Only Applies to Taxable Accounts

This strategy is relevant only for taxable brokerage accounts. Inside retirement accounts such as a traditional IRA, Roth IRA or 401(k), buying and selling does not create a capital gain or loss for tax purposes in the same way. So there is nothing to harvest there. If most of your investing happens in retirement accounts, this may not matter much for you yet.

A Simple Example

Imagine you sold a stock earlier this year and locked in a gain. Later, you notice another holding in your portfolio sits well below what you paid. By selling that second position, you realize a loss that can offset the earlier gain, which lowers the amount of profit that gets taxed. You can then reinvest the proceeds so your money stays in the market, as long as you respect the wash-sale rule described below.

The Wash-Sale Rule: The Trap to Avoid

The wash-sale rule exists to stop people from selling a loser purely for the tax benefit and immediately buying the same thing back. In broad terms, if you buy the same or a substantially identical security within a window of roughly thirty days before or after the sale, the loss can be disallowed for the current year. The disallowed loss is generally added to the cost basis of the new purchase instead, so it is deferred rather than erased.

Two practical points follow. First, the rule can be triggered by purchases in other accounts you own, including an IRA, and by purchases through automatic reinvestment of dividends. Second, “substantially identical” is not precisely defined for every situation. Many investors swap into a similar but not identical fund to stay invested while avoiding the issue, but the safest move is to ask a tax professional about your specific case.

The Trade-Offs Worth Knowing

Harvesting a loss often defers taxes rather than eliminating them. When you replace a position, your new cost basis is lower, which can mean a larger taxable gain when you eventually sell. The benefit comes from paying that tax later, possibly at a different rate, and from keeping more money invested in the meantime. It can also be valuable if you expect to be in a lower tax bracket when you eventually sell, and it is less compelling if your situation is likely to be the same or worse.

There are other costs to weigh as well:

  • Transaction costs and spreads. Many brokers no longer charge commissions, but bid-ask spreads and fund expense differences still matter.
  • Tracking differences. A replacement investment will not behave identically to the one you sold.
  • Complexity. More trades mean more records and a higher chance of a paperwork mistake.

Keep Records and Check Your Forms

Your broker reports sales on Form 1099-B, and you report gains and losses on your tax return. Keep your own records of purchase dates, cost basis and replacement purchases, especially if you hold the same investment in several accounts. Brokers track wash sales within a single account but may not catch activity across different firms, which is your responsibility.

Who Should Consider It

Tax-loss harvesting tends to make the most sense for investors who have meaningful taxable account balances, have realized gains during the year, or hold positions with clear losses they would be willing to sell anyway. It makes much less sense if you would be selling a high-quality investment you still want to own, or if the tax savings are small compared with the hassle. Never let the tax tail wag the investment dog: the primary reason to buy or sell anything should still be your long-term plan.

Before You Act

As the calendar year-end approaches, review your taxable accounts for realized gains, list positions with unrealized losses, and consider whether a swap fits your plan. Then check the current IRS rules and limits, since they change over time, or talk with a qualified tax advisor. A loss will never feel good, but understanding how it fits into your tax picture can soften the blow.

This article is for general education only and is not tax or investment advice.

Leave a Reply

Your email address will not be published. Required fields are marked *