Sleep And Caffeine – What’s The Connection? Sleep and caffeine are related, but there are some important differences between the two. Caffeine affects the sleep cycle in many ways, including by increasing the level of melatonin in the pineal gland, which aids in the promotion of sleep. Caffeine blocks the action of this hormone, preventing it from binding to receptors …