If a company is delisted, your shares in that company would become worthless, in that your investment goes down to straight zero. Technically, however, you can't write it off for tax loss. In order to do that there is a company out there that buy worthless shares for a fee. Once you have sold them your shares, only then would you be able to claim tax loss.