<p>A curing agent for an epoxy resin comprising (A) a polyhydric phenol obtainable by condensing a phenol compound and a hydroxybenzaldehyde and (B) a dihydric phenol, which gives a cured material of an epoxy resin having improved moisture and heat resistance and a small coefficient of linear thermal expansion.</p>