Coffee is a mild diuretic, which means that it can cause increased urination and temporary water loss. However, excessive consumption of coffee or adding high-sodium ingredients to coffee can contribute to water retention.