The crystal and molecular structures of two polymorphs of N , N , N ′, N ′-tetrakis(2-cyanoethyl)-1,2-ethylenediamine have been characterized by X-ray diffraction along with density functional theory (DFT) studies. The molecules differ from each other by conformation. N , N , N ′, N ′-tetrakis(2-cyanoethyl)-1,2-ethylenediamine has been synthesized by cyanoethylation of ethylenediamine. Cyanoethylation of vicinal diamines is important for the synthesis of hyperbranched polymeric materials applied as catalysts, surfactants and encapsulating agents in drug delivery systems. The molecular geometry of N , N , N ′, N ′-tetracyanoethyl-1,2-ethylenediamine is similar to that of homologous compounds. DFT calculations were performed to analyze the differences in the molecular geometry of the studied compounds in a crystalline state and for an isolated molecule.