personally, horrendous things can happen to my sleep schedule when I drink coffee or tea right before bed. I drink it first thing in the morning it sometimes even help my dream recall when im writing them down.