The title compound, C15H25N5, is an aminalization product between 2,6-diacetylpyridine and 1,3-diaminopropane. It crystallizes with two independent molecules in the asymmetric unit with different conformations. In the first molecule, the methyl groups are cis oriented with respect to the pyridine ring [N—C—C—C torsion angles = 72.5 (1) and 80.3 (1)°], while they are trans oriented in the second molecule [N—C—C—C torsion angles = 82.6 (1) and −90.8 (1)°]. Each of the two molecules forms centrosymmetric dimers held together by N—H⋯N hydrogen bonds, thus forming R
2
2(16) rings. The two dimers are interlinked by additional N—H⋯N bonds into R
4
4(14) rings, building chains along the a axis. These patterns influence the orientation (either equatorial or axial) of the N—H bonds.