Question: how much caffeine will affect your sleep?
Answer: The results of this study suggest that 400 mg of caffeine taken 0, 3, or even 6 hours prior to bedtime significantly disrupts sleep. Even at 6 hours, caffeine reduced sleep by more than 1 hour. This degree of sleep loss, if experienced over multiple nights, may have detrimental effects on daytime function.