Tax-loss harvesting is a strategy where you sell assets, such as stocks, bonds, mutual funds, that have lost value to offset gains on other investments. This reduces your overall tax liability at the end of the year. You “harvest” a loss when an asset loses value. You can then use that money to buy a similar asset, so your portfolio stays diversified.