New research suggests that we shouldn't blame our modern lifestyles and electronic devices for lack of sleep.
It turns out people living thousands of years ago only got six or seven hours of sleep per night.
Researchers writing in the Journal of Current Biology say that the sleep many of us do get these days is often interrupted by bouts of insomnia.
The solutions they suggest include no smartphones or computers in the bedroom.
Also make sure the temperature is comfortable, and you give yourself enough time to get a full night's sleep.