In the crystal structure, supramolecular layers are formed in the bc plane through C-H···O and C-H···N interactions, Fig. 3 and Table 1 . Large 21-membered {···NC 4 H···N 2 CO···HC 2 O···HC 5 H} synthons are formed through these interactions. Layers are connected into double layers by C-H···π, Table 1 , and π-π interactions formed between the pyrazole and C-bound benzene rings [ring centroid···centroid distance = 3.6476 (12) Å, angle of inclination of 6.96 (10)° for symmetry operation 1 -x, 1 -y, 2 -z]. The double layers stack along the a axis being connected by π-π interactions between the N-and C-bound benzene rings [ring centroid···centroid distance = 3.7718 (12) Å, angle of inclination of 21.45 (10)° for symmetry operation -x, 1 -y, 1 -z].