The asymmetric unit of the title compound, C10H14N2O3, contains two independent mol-ecules with similar conformations. In the both mol-ecules, the cyclo-hexene rings adopt the same envelope conformation with the flap C atoms lying 0.658 (3) and 0.668 (3) Å from the mean planes formed by the remaining atoms. In the crystal, adjacent mol-ecules are connected via N-H⋯O hydrogen bonds and weak C-H⋯O inter-actions, forming supra-molecular layers parallel to (-101).
Keywords: Knoevenagel-type condensation; crystal structure; hydrogen bonds; nitroacetaldehyde; nitrodienamines.