There used to be a common belief that caffeine counted against hydration since it is a diuretic. However, recent studies have shown it may not affect hydration as much as was previously thought. With that said, water is always the best option when trying to stay hydrated.