If you’re struggling to sleep at night, it might be worth reconsidering that afternoon cup of coffee. Caffeine can stay in our system for more than 5 hours, with some people being more sensitive to its effects than others. Try switching to decaffeinated varieties in the PM and see if you notice a difference.