Coffee doesn't actually dehydrate you. A 2003 study found that the diuretic effect of caffeine is negligible in people who regularly consume caffeinated drinks.