Deuterium incorporation is crucial in organic synthesis and has wide applications in the pharmaceutical industry. State-of-the-art H/D isotope exchange and chemical defunctionalization for deuterium incorporation suffer from significant drawbacks, including expensive deuterium sources, low deuteration efficiency and poor selectivity. In this perspective, we highlight an alternative pathway for forming C-D bonds by electrocatalytic heavy water splitting (D2O) under mild conditions. In addition, the intrinsic mechanism and examples of the synthesis of deuterated pharmaceuticals are discussed in detail. Finally, we present the challenges facing this field and provide an overall perspective on future research directions.