A protocol of a versatile H–D exchange reaction of heterocyclic compounds catalyzed by heterogeneous Pd/C in D2O is described. The reaction of various nitrogen-containing heterocycles with 10% Pd/C (10wt% of the substrate) under hydrogen atmosphere in D2O as a deuterium source at 110–180° C for 24h afforded the corresponding deuterated compounds with satisfactory efficiency of deuteration in moderate to excellent isolated ...