A host of medical conditions can contribute to insomnia. Some of these include chronic pain, breathing difficulties, sleep apnea, or arthritis. Insufficient sleep is also associated with a number of chronic medical conditions, such as diabetes, cardiovascular disease, and obesity.