The title coordination polymer, [Cd3Co2(CN)12(C2H8N2)4]n, has an infinite two-dimensional network structure. The asymmetric unit is composed of two crystallographically independent CdIIatoms, one of which is located on a twofold rotation axis. There are two independent ethylenediamine (en) ligands, one of which bis-chelates to the Cd atom that sits in a general position, while the other bridges this Cd atom to that sitting on the twofold axis. The Cd atom located on the twofold rotation axis is linked to four equivalent CoIIIatomsviacyanide bridges, while the Cd atom that sits in a general position is connected to three equivalent CoIIIatomsviacyanide bridges. In this way, a series of trinuclear, tetranuclear and pentanuclear macrocycles are linked to form a two-dimensional network structure lying parallel to thebcplane. In the crystal structure, these two-dimensional networks are linkedviaN—H...N hydrogen bonds involving an en NH2H atom and a cyanide N atom, leading to the formation of a three-dimensional structure. This coordination polymer is only the second example involving a cyanometallate where the en ligand is present in both chelating and bridging coordination modes.