Want to jump straight to the best? The best robo advisor for most people is definitely Titan.

Tax-loss harvesting, also sometimes known as tax-loss selling, is a potentially beneficial tax strategy that lets investors sell an investment at a loss to claim a tax credit against the realized profits from other investments. Using this plan of action can make a lot of sense for tax-savvy investors.

Tax-loss harvesting can be done at any time, although most investors hold off until just before the tax year ends so they can assess their portfolio’s annual performance and how it will affect their taxes.

Read on to find out more about tax loss harvesting, how it works, when is the best time to use it and whether it might benefit your investment portfolio.

What is Tax Loss Harvesting?

Briefly put, tax-loss harvesting is a tax strategy that involves the selling of an asset or security at a loss during a specific time frame that provides a capital gains tax advantage that can reduce your overall tax liability. This loss sale is usually done to offset the quantity of capital gains taxes due as a result of the profitable sale of other assets or securities.

It may help you to know what capital gains are to understand tax loss harvesting better. According to the IRS, “You have a capital gain if you sell the asset for more than your adjusted basis. You have a capital loss if you sell the asset for less than your adjusted basis.”

Even investors who do not presently have capital gains can benefit from harvesting their capital gains losses in a timely manner because they can help offset income or future capital gains. Furthermore, those who have more capital losses than gains on their investments might be able to use up to $3,000 of those losses to reduce their ordinary income in the present tax year, and they can also carry over the balance to use as a deduction in future tax years.

Once the intended loss has been taken, an investor can use the proceeds to buy a similar asset or security to keep their portfolio’s overall balance stable.  Nevertheless, the investor needs to avoid violating the IRS’s “wash sale” rule, so they cannot repurchase a “substantially identical” asset within 30 days of the loss sale. Doing so invalidates the tax loss write-off.

Note that the IRS defines a “substantially identical security” as one issued by the same company. They can include shares of different classes, a convertible bond issued by the same company, or a derivative contract with the same security as its underlying asset.

How Much of a Loss can you Harvest?

According to the IRS’ website, if your capital losses are higher than your capital gains, then the excess loss amount that you can claim to reduce your income in a single year is the lesser of $3,000 (or $1,500 if you are married and filing separately) or your total net loss on line 16 of Form 1040’s Schedule D.

You can claim this excess loss on line 7 of either Form 1040 or Form 1040-SR. If your net capital loss is greater than this limit, you can carry the loss forward to use in later tax years.

Long-Term Versus Short-Term Capital Losses 

Capital gains or losses can be short-term or long-term in nature, and short-term and long-term capital gains are taxed at different rates. Although some exceptions do exist, if you hold the asset for more than a year before you sell it, your capital gain or loss is generally long term. If you hold the asset for less than a year, then your capital gain or loss is short term.  

For 2022, the long-term capital gains tax rates appear in the image below. The rate you pay on long-term capital gains will range from 0% to 20% depending on your taxable income and whether you are single, married filing jointly or head of household.

long term capital gains rates

Table of long-term capital gains tax rates for 2022. Source: SmartAsset.

A few exceptions exist where long-term capital gains are taxed at rates greater than 20%. For example, the taxable portion of a profitable sale of Section 1202 qualified stock in a small business stock will be taxed at up to 28%, as are any capital gains from the sale of collectibles like art, antiques or coins. Also, the amount of unrecaptured gain from selling Section 1250 real estate is taxed at up to 25%.

For 2022, the short-term capital gains tax rates appear in the image below. The rate you pay on short-term capital gains will range from 10% to as much as 37% depending on whether you are single, married filing jointly or head of household. 

short-term capital gains tax rates

Table of short-term capital gains tax rates for 2022. Source: SmartAsset

As the above tables illustrate, whether a capital loss is short term or long term matters considerably when using a tax loss harvesting strategy. While tax loss harvesting can be used to offset long-term capital gains, the tax strategy is typically used to reduce taxes resulting from short-term capital gains that incur a higher tax rate than long-term capital gains. 

A single taxpayer can deduct up to $3,000 per year of short-term capital losses from their short-term capital gains or up to $3,000 per year of long-term capital losses from long-term capital gains. Long-term capital losses can also be carried forward and spread over future tax years.

Special Considerations for Mutual Fund Investors

Mutual fund investors may get distributions from their fund holdings that can result in short- and long-term capital gains. You will want to take note of the capital gains distribution dates for your larger mutual fund holdings since you may be able to use tax loss harvesting to offset such gains. 

Keep in mind that short-term capital gains distributions from mutual funds are considered ordinary income by the IRS that cannot be offset with capital losses, in contrast to short-term capital gains from selling securities held directly.

The Importance of Using the Right Cost Basis Calculation

Those contemplating using a tax loss harvesting strategy should also look at how the cost basis on their investments is computed. Your “cost basis” is the price you paid for an asset including brokerage costs and commissions.

If you have purchased the same security multiple times, perhaps via new purchases or reinvested dividends, you can calculate your cost basis either as an average per share of all purchases (known as the “average-cost method”) or by noting down the actual amount that each purchase of shares cost you (known as the the “actual cost method”).

The actual cost method of cost basis calculation offers a major advantage for tax loss harvesters because it lets you sell higher-cost shares to increase the amount of your realized capital loss.

How Does Tax Loss Harvesting Work?

First of all, if you do not have any losing investments, then you will not be able to do tax loss harvesting. Those who do have losing investments and might stand to benefit from tax loss harvesting will need to make two key decisions to get started. These are:

#1. Pick Losing Investments to sell

Decide which short- and long-term losing investments you want to sell to realize losses that you can use as a tax deduction. Also, you will generally want to deduct short-term losses from short-term gains and long-term losses from long-term gains. You can also roll over excess long-term losses to future years. 

#2. Pick New Investments to Replace What is Sold

Decide what new investments you would like to purchase, if any, with the proceeds from the losing investments you decided to sell. When planning how to re-invest your money, keep in mind that you cannot purchase a substantially similar investment to the one you sold within 30 days before or after the losing transaction you plan on using as a tax deduction to avoid transgressing the IRS’s wash-sale rule. 

If you still like the future prospects of the industry of the losing stock you plan on selling, then you can put the proceeds into an exchange-traded fund or mutual fund that invests in the same industry. 

Furthermore, if you get bonuses in the form of stock from your company and those are what you intend to sell, then it would make sense to avoid doing the losing transaction you plan on deducting within 30 days of the bonus stock vesting date or purchase date.


Consider the example of an investor who earns enough income to put themselves into the top short-term capital gains tax bracket of 37%. Based on the 2022 tables above, this would mean they either earned more than $539,900 if they are single or head of household, or more than $647,850 if they are married and filing jointly. 

They could substantially reduce their tax liability using tax loss harvesting given the portfolio positions and transactions they made over the past tax year shown in the following table. Note that a realized gain or loss means the position has been closed out, whereas an unrealized gain or loss means the position remains in the portfolio.

Stock nameUnrealizedRealizedHeld for
Alpha Company$100,000500 days
Beta Company-$50,000650 days
Delta Company-$70,000100 days
Gamma Company$250,000400 days
Theta Company$100,000170 days

Table of stock positions and transactions in the sample portfolio.

The sale of Gamma Company stock that was held for 400 days involves a long-term capital gain of $250,000 that is taxed at a rate of 20%. The sale of Theta Company stock that was held for only 170 days involves a short-term capital gain of $100,000 that is taxed at a rate of 37%,

Without tax loss harvesting, their tax owed on the sales of the Gamma Company and Theta Company stocks would be:

($250,000 x 20%) + ($100,000 x 37%) = $50,000 + $37,000 = $87,000

If they instead harvested some of their unrealized losses by selling their long-term holdings of Beta Company and their short-term holdings of Delta Company, those losses would help reduce the taxes owed substantially as follows: 

($250,000 – $50,000) x 20% + ($100,000 – $70,000) x 37% = $40,000 + $11,100 = $51,100

The tax loss harvesting plan thus saves them the difference of $87,000 and $51,100 or $35,900.

Who Benefits from Tax Loss Harvesting?

As the example shown in the previous section illustrates, tax loss harvesting can be beneficial for those who are facing a substantial capital gains tax liability from the sale of profitable investments, especially if the gains are on short-term investments. While tax loss harvesting generally will not eliminate capital gains taxes completely, it can notably reduce the amount of taxes paid.

Furthermore, an investment loss can be used in two different ways:

  1. The loss can be used to offset investment gains.
  2. The loss can offset up to $3,000 of joint income in a single tax year.

Those who find themselves in the higher capital gains tax brackets because of their income and who have also taken a substantial amount of short-term capital gains on their profitable investments will tend to benefit the most from implementing a tax loss harvesting plan.

On the other hand, those who earn less than $41,675 if single, $83,350 if married filing jointly or $55,800 if filing as the head of household and who have only realized long-term capital gains will find themselves in the zero capital gains tax bracket, so they may not be able to benefit from a tax loss harvesting plan in that tax year. 

Since unused losses can be carried forward indefinitely, stock market corrections can present a good opportunity for tax loss harvesting. The additional losses can be put into a tax savings account that can offset taxable gains for years to come. 

How Does Tax Loss Harvesting Impact Your Portfolio?

The goal of tax loss harvesting is to pay less in taxes so that you have more money to invest in your portfolio, which is generally a good thing to help further your investment goals. Tax loss harvesting can also positively impact your portfolio by giving you a tax benefit for eliminating losing positions you might not want to keep anyway.

By selling losing investments as part of a tax loss harvesting plan and then replacing them with a similar (but not too similar) alternative, you can maintain a comparable investment portfolio while offsetting some of your tax liability resulting from realized investment gains.Taking this action means even a poor investment can do some good for your portfolio by reducing your overall tax burden.  

Compare Financial Advisors for Tax Loss Harvesting

Many tax accountants and professional financial advisors working at stockbrokers or independent firms can provide you with useful information on how tax loss harvesting can benefit your tax situation and investment portfolio. To help you get started with tax loss harvesting, Benzinga has compiled the list below of online brokers, stockbrokers with advisors and robo-advisors who offer tax-loss harvesting as part of their core services and can provide expert financial advice on the subject.

get started securely through SoFi’s website
Best For
Cost-conscious investors
1 Minute Review

The wealth management arm, which aids in both passive and active investing, provides personalized advice based on the client’s unique financial situation and goals. Advisors offer assistance and robo-advising is also available through portfolio building and auto rebalancing.

Best For
  • Beginners
  • Passive investors
  • Cost-conscious investors
  • Portfolio builders
  • Affordable pricing
  • Free for borrowers of a SoFi loan
  • Tools for goal setting and retirement analysis
  • Availability of advisors at no extra cost
  • Automatic portfolio rebalancing
  • Limited product options
  • Doesn’t possess tax-optimization features such as tax los harvesting
get started securely through Charles Schwab’s website
1 Minute Review

Schwab Intelligent Portfolios™ – an automated investment advisory service with no advisory fees, no account service fees, and no commissions charged.

Best For
  • Diversified Portfolios
  • Automatically Rebalanced
  • Tax Efficient
  • 0 Account fees for transfer and close
  • Automatic Rebalancing
  • 24/7 Customer Support
  • Great device support
  • Must have $5,000 minimum balance
  • Tax strategy is only free for accounts > 50K
get started securely through Vanguard’s website
get started securely through Betterment’s website
Best For
ETF Investors
1 Minute Review

Betterment is a smart robo-money manager that helps you save, invest and even spend your money. It has more than 500,000 registered customers and manages over $21 billion in assets. As a fiduciary, Betterment is committed to act in your best interest at all times. The investing platform lets you manage your money, guide your investments and plan your retirement at your convenience.  

Best For
  • Investors with defined financial goals
  • People who are new to investing
  • Passive investors who want to diversify their portfolio
  • Investors who want to invest heavily in ETFs
  • Investors looking for low-cost investment options
  • Investors looking to plan their retirement
  • Can open an account with a $0 minimum balance
  • Offers goal-based investing
  • Charges low annual management fees
  • Offers a wide range of stocks and ETFs
  • Provides access to advanced investing tools
  • Provides personalized financial advice plans
  • Charges a high fee for personalized financial advice comparatively
  • Not suitable for day traders and short-term investors
  • Does not offer any real estate stocks, commodities and foreign exchange

Frequently Asked Questions


Is tax loss harvesting really worth it?

Is tax loss harvesting really worth it?

Tax loss harvesting can be very beneficial in certain circumstances, but any amount you might save on taxes should not detract from your overall investment plan and goals. Be sure to sensibly balance the advantages of tax loss harvesting with the benefits of continuing to hold underwater positions for future gains. 


Is tax loss harvesting illegal?

Is tax loss harvesting illegal?

As long as you follow the IRS’ capital gains tax and wash sale guidelines exactly, tax loss harvesting is perfectly legal and may actually be financially advantageous for you.