But the caffeine in coffee can also act as a diuretic, according to the U.S. National Library of Medicine. This means it might make you pee more than you normally would. Diuretics generally cause your body to expel sodium and water, the Mayo Clinic says.