In the title mol-ecule, C13H13N3O2, the planes of the benzene and imidazole rings form a dihedral angle of 7.72 (5)°. In the crystal, mol-ecules are linked by weak C-H⋯N and C-H⋯O hydrogen bonds, forming layers parallel to (100). A weak C-H⋯π inter-action connects these layers into a three-dimensional network. A π-π stacking inter-action, with a centroid-centroid distance of 3.5373 (9) Å, is also observed.
Keywords: crystal structure; hydrogen bonding; imidazoles; nitroimidazoles; pharmacophore; π–π stacking interactions.