Caffeine, like that cup of morning coffee, can give you a boost, but it’s important to remember that research has shown that it could interfere with your sleep if consumed too late in the day. If possible, do your best to avoid caffeine at least 8 hours before bedtime to ensure better sleep quality. Don’t forget, caffeine is also found in many teas, sodas, and foods, such as chocolate.