Cognitive behavioral therapy for insomnia
Cognitive behavioral therapy for insomnia (CBT-I) is a technique for treating insomnia without (or alongside) medications. Insomnia is a common problem involving trouble falling asleep, staying asleep, or getting quality sleep. CBT-I aims to improve sleep habits and behaviors by identifying and changing the thoughts and the behaviors that affect the ability of a person to sleep or sleep well.
Insomnia
Insomnia, also known as sleeplessness, is a sleep disorder where people have trouble sleeping. They may have difficulty falling asleep, or staying asleep as long as desired. Insomnia is typically followed by daytime sleepiness, low energy, irritability, and a depressed mood. It may result in an increased risk of motor vehicle collisions, as well as problems focusing and learning. Insomnia can be short term, lasting for days or weeks, or long term, lasting more than a month.
Insomnia can occur independently or as a result of another problem. Conditions that can result in insomnia include psychological stress, chronic pain, heart failure, hyperthyroidism, heartburn, restless leg syndrome, menopause, certain medications, and drugs such as caffeine, nicotine, and alcohol. Other risk factors include working night shifts and sleep apnea. Diagnosis is based on sleep habits and an examination to look for underlying causes. A sleep study may be done to look for underlying sleep disorders. Screening may be done with two questions: "do you experience difficulty sleeping?" and "do you have difficulty falling or staying asleep?"
Sleep hygiene and lifestyle changes are typically the first treatment for insomnia. Sleep hygiene includes a consistent bedtime, exposure to sunlight, a quiet and dark room, and regular exercise. Cognitive behavioral therapy may be added to this. While sleeping pills may help, they are associated with injuries, dementia, and addiction. These medications are not recommended for more than four or five weeks. The effectiveness and safety of alternative medicine is unclear.
Between 10% and 30% of adults have insomnia at any given point in time and up to half of people have insomnia in a given year. About 6% of people have insomnia that is not due to another problem and lasts for more than a month. People over the age of 65 are affected more often than younger people. Females are more often affected than males. Descriptions of insomnia occur at least as far back as ancient Greece. 
Symptoms of insomnia: