<p>Disclosed is a semiconductor wafer which is characterized in that a resin layer composed of a resin composition containing a cyclic olefin resin (A) having an epoxy group and a photoacid generator (B) is arranged on a surface on which a circuit element is formed, and the residual stress of the resin layer after curing is 1-20 MPa. Also disclosed is a semiconductor device comprising such a semiconductor wafer.</p>