The crystal structure of 6-(2-pyridyl)-3,5-hexadiyn-1-ol (PyHxD), C11H9NO, has been determined by a single-crystal X-ray diffraction study. The backbone diyne chain linking the pyridyl ring and the C(10)-C(11)-O group is linear. A dimer with a centre of symmetry is formed through two O-H ... N hydrogen bonds and the crystal structure indicates that solid-state polymerization is inhibited because of these hydrogen bonds.