The complete molecule of the title compound, C(24)H(22)N(4)O(2), is generated by a crystallographic inversion centre located at the mid-point of the central C-C bond. The quinoline ring system and the hexyl chain are both essentially planar, and the dihedral angle between them is 46.30 (2)°. Intra-molecular N-H⋯N and C-H⋯O hydrogen bonds form five- and six-numbered rings, respectively. The crystal packing is stabilized by short C-H⋯O inter-actions.