Overconsumption of caffeine in coffee, tea can impact and block the brain’s receptors for adenosine, which is basically a chemical that promotes sleep. Caffeine boosts alertness and this can be one of the major triggers for insomnia, this is the reason why it is advised to avoid drinking coffee before bedtime.