In the crystal structure of the title compound, C17H21N3O2·2H2O, water molecules are mutually O—H⋯O hydrogen bonded and form infinite chains propagating along the b axis. Neighboring chains are linked by the quinazoline molecules by means of O—H⋯O=C hydrogen bonds, forming a two–dimensional network.