Insomnia can be a very frustrating condition. People who experience insomnia often have trouble falling asleep, staying asleep, or both. Some people with insomnia wake up feeling tired and unrested despite having slept for what seems like a long time. Insomnia can be caused by many things, including stress, anxiety, medications, and health problems. Poor sleep habits can also lead to insomnia.