Question: how long do you have to hold a stock to claim a loss?
Answer: The idea is that you can't claim a tax loss if you, or someone affiliated with you, maintains control of the shares. The simplest solution is to wait 30 days before repurchasing the same stock.