The two title compounds are isomers of C6H3ClN2containing a pyridine ring, a nitrile group, and a chloro substituent. The molecules of each compound pack together in the solid state with offset face-to-face π-stacking, and intermolecular C—H...Nnitrileand C—H...Npyridineinteractions. 4-Chloropyridine-2-carbonitrile, (I), exhibits pairwise centrosymmetric head-to-head C—H...Nnitrileand C—H...Npyridineinteractions, forming one-dimensional chains, which are π-stacked in an offset face-to-face fashion. The intermolecular packing of the isomeric 6-chloropyridine-2-carbonitrile, (II), which differs only in the position of the chloro substituent on the pyridine ring, exhibits head-to-tail C—H...Nnitrileand C—H...Npyridineinteractions, forming two-dimensional sheets which are π-stacked in an offset face-to-face fashion. In contrast to (I), the offset face-to-face π-stacking in (II) is formed between molecules with alternating orientations of the chloro and nitrile substituents.