Wash sale buying the same or a substantially identical security within 30 days of the loss sale, which disallows the loss. Where it's taught Tax-Loss Harvesting: Turning a Loser Into a Tax Break Try it with a calculator Tax Loss Harvest Calculator Related terms $3,000 ordinary-income offsetCapital loss / gainCarry-forwardCost basisRealized vs. unrealizedStep-up in basis