The problem with this is that many people use caffeine to ignore symptoms of more serious sleep problems, which ends up making them worse in the long run. While we may feel better after drinking a cup of coffee in the afternoon, our body is only just beginning to notice the effects of the caffeine 30-60 minutes after drinking it, and the effects can last for 4-6 hours after. Because the effects don’t leave our system for hours, some people are still struggling to rest or fall asleep when it’s their bedtime, thus causing them to sleep for less time or wake up more frequently in the night, and starting the cycle over again the next day.