The title compound, C12H10N4O, comprises a central 1,2,3-triazole ring (r.m.s. deviation = 0.0030 Å) flanked by N-bound 4-cyano-phenyl and C-bound acetyl groups, which make dihedral angles of 54.64 (5) and 6.8 (3)° with the five-membered ring, indicating a twisted mol-ecule. In the crystal, the three-dimensional architecture is sustained by carbonyl-C=O⋯π(triazo-yl), cyano-C≡N⋯π(triazo-yl) (these inter-actions are shown to be attractive based on non-covalent inter-action plots) and π-π stacking inter-actions [inter-centroid separation = 3.9242 (9) Å]. An analysis of the Hirshfeld surface shows the important contributions made by H⋯H (35.9%) and N⋯H (26.2%) contacts to the overall surface, as well as notable contributions by O⋯H (9.9%), C⋯H (8.7%), C⋯C (7.3%) and C⋯N (7.2%) contacts.