In the title compound, C13H12N2O6, the dihedral angle between the benzene ring and the aminomethylene unit is 5.42 (16)°, while the angle between the aminomethylene unit and the dioxane ring is 3.06 (43)°. The dioxane ring shows a half-boat conformation, in which the C atom between the dioxane ring O atoms is 0.464 (10) Å out of the plane. An intramolecular N—H⋯O hydrogen bond stabilizes the molecular conformation. In the crystal, a three-dimensional framework is built up via intermolecular N—H⋯O hydrogen bonds.