The title molecule, C21H26N2O3, adopts a V-shaped conformation and is chiral at the C atom with methyl group attached at the common cut of the edges of the V-conformation and crystallizes as a racemate. It also contains an intramolecular O—H...N hydrogen bond. In the crystal, N—H...O hydrogen bonds form chains of molecules extending along the c-axis direction, together with normal van der Waals contacts. The roles of the various intermolecular interactions were clarified by Hirshfeld surface analysis, which reveals that the most important contributions to the crystal packing are from H...H (62.6%), C...H/H...C (15.8%) and O...H/H...O (15.3%) contacts.