Get your taxes done using TurboTax

When you sell a stock for a loss, this is considered a capital loss and can only be offset by selling stock for which you have capital gains. If you have no capital gain, then you can offset $3000 against other income. Any loss above $3000 can be carried forward into future years until the loss is completely used up.