Tax-Loss Harvesting: Turn Investment Losses Into Tax Breaks

How to strategically sell stocks or funds to lower your taxes.

Many or all of the products featured here are from our partners who compensate us. This may influence which products we write about and where and how the product appears on a page. However, this does not influence our evaluations. Our opinions are our own. Here is a list of our partners and here's how we make money.

If you had a few investments go south this year, those underachievers may come in handy when it’s time to reconcile with the IRS. Through a strategy called tax-loss harvesting, investments that are in the red can be your ticket to a lower tax bill — up to $3,000 a year.

Tax-loss harvesting is a way to cut your tax bill by selling investments at a loss in order to deduct those losses on your taxes. Deducting those losses can offset some or all of the you might owe on other investments that you sold for a profit.

Tax-loss harvesting helps everyday investors minimize what they pay in capital gains taxes by offsetting the amount they have to claim as income.

Basically, you “harvest” investments to sell at a loss, then use that loss to lower or even eliminate the taxes you have to pay on gains you made during the year.

You don’t have to be a high-roller with a big portfolio to benefit from an annual portfolio harvest, either. Investors who don’t have investment gains to minimize can use the losses to offset the taxes they pay on their ordinary income too.

You won’t find any specific reference to “tax-loss harvesting” in the 45,000 words the IRS devotes to investment income and expenses in . But that doesn’t mean there aren’t rules governing the strategy. And plenty of them.

Two of the most important things to know in order to stay on the right side of the IRS when you report your masterful maneuver using and :

If your head already hurts, you’re not alone. Still, every investor should learn the basics of tax-loss harvesting in order to decide if it’s a worthwhile strategy to employ.

The idea behind tax-loss harvesting is to offset taxable investment gains. Because the IRS does not tax growth on investments in tax-sheltered accounts — such as , 403(b)s, and 529s — there’s no reason to try to minimize your gains. As long as all that money remains within the tax force field those accounts provide, your investments can generate buckets of cash without Uncle Sam coming around asking for his take.

Since the idea behind tax-loss harvesting is to lower your tax bill today, it's most beneficial for people who are currently in the higher tax brackets. In other words, the higher your income tax bracket, the bigger your savings. (Here's a breakdown of the .)

If you’re currently in a lower tax bracket and expect to be in a higher tax bracket in the future (via well-deserved promotions at work, or if you think Uncle Sam will raise tax rates), you might want to save the tax-harvesting until later when you’ll reap more savings from the strategy.

Procrastinators take note: Some investing homework — such as  — can be made up until the . However, there is no such grace period for tax-loss harvesting.

You need to complete all of your harvesting before the end of the calendar year, Dec. 31. So set that egg timer and get to work.

Index fund investors typically find it difficult to employ tax-loss harvesting in their portfolios. However, if you’re indexing using ETFs or mutual funds that focus on a particular niche (a sector, geographic area or market cap, for example), it’s a different story.

That’s where comes in handy. Robo-advisors do much more than simply build and manage well-rounded portfolios for customers. Most of them also serve as tax police keeping a 24-7 watch for opportunities to minimize taxes and offset gains.

» View NerdWallet's picks: The

The taxes you pay on gains are based on the length of time you’ve owned the investment. According to IRS holding-period rules:

Besides the difference in how big of a tax hit you’ll take, there’s an important reason to pay attention to the distinction: The IRS checks your homework when you file Schedule D to report your capital gains and losses.

Investors are allowed to claim only a limited amount of losses on their taxes in a given year. You're allowed up to $3,000 per year to offset taxable income ($1,500 if you're married, filing separately).

That said, if you had a particularly brutal year (our condolences) and racked up more investment losses than the limit, don’t fret: You can apply the overage to offset capital gains and however many other years it takes until you’ve used up the entire amount.

Don't become overzealous as you scour your portfolio for investments to harvest for tax losses. The purpose of  is to achieve long-term growth that beats the returns produced by other assets (like bonds, CDs, money market funds and savings accounts). In exchange for outperformance you have to put up with exposure to short-term volatility.

Unless there’s something fundamentally wrong with the investment that has caused it to lose value, you’re better off holding on and letting time and the magic of compound interest smooth out your returns.

There are immediate benefits of tax-loss harvesting, such as lowering your tax bill for the year. However, more important are the medium- to long-term payoffs that you can get if you invest the money you freed up in something better.

If you do decide to sell, deploy the proceeds thoughtfully. Use them to rebalance your portfolio if your asset allocation has gotten out of whack. Invest in a company that you have on your watch list; buy into an ETF or mutual fund that gives you exposure to a sector or asset class that you currently lack; or add to an existing position you believe still has great potential.

On a similar note...
Dive even deeper in Taxes