Insomnia is a medical condition that causes difficulty falling and staying asleep. It is estimated that one in four Americans develop insomnia every year. Chronic insomnia lasts more than three months. It can be caused by stress, menopause, respiratory conditions, or bad sleep habits.