Context. Despite the low elemental deuterium abundance in the Galaxy, enhanced molecular D/H ratios have been found in the environments of low-mass star-forming regions, and in particular the Class 0 protostar IRAS 16293-2422. Aims. The CHESS (Chemical HErschel Surveys of Star forming regions) key program aims to study the molecular complexity of the interstellar medium. The high sensitivity and spectral resolution of the Herschel/HIFI instrument provide a unique opportunity to observe the fundamental 11,1−00,0 transition of the ortho-D2O molecule, which is inaccessible from the ground, and determine the ortho-to-para D2O ratio. Methods. We detected the fundamental transition of the ortho-D2O molecule at 607.35 GHz towards IRAS 16293-2422. ...