Coffee contributes fluid because the drink is mostly water. In a controlled crossover study of habitual male coffee drinkers, moderate coffee intake did not produce dehydration compared with an equal volume of water across several measured indicators. That is stronger evidence than the assumption that any caffeine-containing drink must remove more water than it provides.
The study still has boundaries: its participants and conditions do not represent every person, every caffeine dose or every exercise setting. Caffeine can increase urination in some circumstances, especially when someone is not accustomed to it. Increased urination by itself is not the same claim as net dehydration.
Water remains a straightforward way to drink when thirsty, while coffee can be one part of overall fluid intake. Do not use the hydration finding to justify unlimited caffeine or ignore symptoms. If a clinician has given you a fluid or caffeine restriction, follow that individual advice. About Coffee's original question is therefore best answered with context rather than an unrestricted yes.

The conversation
A good question can make a better brew.