Reactions of cadmium(II) iodide with 2-chloro- (2-ClPy), 2-bromo- (2-BrPy), 2-iodo- (2-IPy), and 2-bromo-5-methylpyridines (2-Br-5-MePy) afforded heteroleptic neutral complexes {[LCdI2]}n, where L = 2-ClPy (1), 2-BrPy (2), and [L2CdI2], where L = 2-IPy (3), 2-Br-5-MePy (4). The structures of the final compounds were determined by X-ray diffraction. The structures of compounds 3 and 4 contain halogen bonds, the nature of which was studied using quantum chemical calculations.