5-(4-Fluorophenyl)-2,6-dioxo-2,3,6,7,8,9-hexahydro-1H,5H-imidazo[1,2-a]quinoline-4-carbonitrile

In the mol­ecule of the title compound, C18H14FN3O2, the imidazole and dihydro­pyridine rings are nearly coplanar with a dihedral angle of 2.46 (3)°, while the cyclo­hexene ring has an envelope conformation. The benzene ring is oriented with respect to the coplanar ring system at a dihedral angle of 81.45 (2)°. In the crystal structure, inter­molecular N—H⋯N hydrogen bonds link the mol­ecules into dimers.