In this study, we investigated the frictional behavior of both hydrogenated and hydrogen-free diamondlike carbon (DLC) films in high vacuum (10−6 Pa) at room temperature. Water was also introduced into the vacuum chamber to elucidate its effects on DLC film tribology. The hydrogen-free DLC (also referred to as tetrahedral amorphous carbon, or ta-C) was produced by an arc-PVD process, and the highly hydrogenated DLC was produced by plasma-enhanced chemical-vapor deposition. Tribological measurements of these films were made with a pin-on-disc machine with coated steel balls and coated steel discs in matched pairs under a 1 N load. The ball/disk pairs were rotated at sliding speeds in the range of 0.025–0.075 m/s. In vacuum, the steady-state friction coefficient of ta-C was of the order of 0.6 and the wear was severe, whereas for the highly hydrogenated film, friction was below 0.01, and in an optical microscope no wear could be detected. Adding water vapor to the sliding ta-C system in a vacuum chamber caused friction to decrease monotonically from 0.6 to ≈0.07. In contrast, adding water vapor to the sliding DLC system caused the friction to increase linearly with pressure from 0.01 to 0.07. The results illustrate the importance of taking into account environmental conditions, especially the presence of water, when DLC films are being considered for a given application.