Full-blown insomnia is more serious than the sleep problems most people occasionally have. To qualify for a diagnosis, people must have endured at least a month of chronic sleep loss that has caused problems at work, at home or in important relationships. Several studies now suggest that developing insomnia doubles a person’s risk of later becoming depressed — the sleep problem preceding the mood disorder, rather than the other way around.