The ground-state rotational spectra of the hydrogen-bonded species CH 3NC⋯HCN and CH 3NC⋯DCN have been studied using the technique of pulsed-nozzle Fourier-transform microwave spectroscopy. The spectra were of the symmetric-top type and their analysis led to the rotational constants B 0 = 969.0435(4) MHz and 964.7530(5) MHz for the parent and deuterated molecule, respectively. The centrifugal distortion constants, D J and D JK , were established to be 0.369(7) kHz and 40.8(2) kHz for CH 3NC⋯HCN, and 0.356(8) kHz and 39.4(2) kHz for the deuterium species, while the corresponding 14N-nuclear coupling constants were χ( 14N) = −4.23(11) MHz and −4.5(1) MHz. Analysis of the centrifugal constants D J using a model of C 3v symmetry with the atoms arranged in the order H 3CNC⋯HCN gave the quadratic force constant associated with stretching of the hydrogen bond as 9.3(1) N m −1 and 9.7(1) N m −1 in CH 3NC⋯HCN and CH 3NC⋯DCN, respectively. The distances in these isotopomers between the carbon nuclei adjacent to the hydrogen bond r(C⋯C), were found to be 3.433(3) Å and 3.420(3) Å, when using a model that compensates for the contributions of the intermolecular bending modes to the zero-point motion.