<p>[Problem] To provide: an epoxy resin which exhibits low viscosity when used in a resin composition and which exhibits excellent heat resistance when used in a cured product; and a resin composition. [Solution] This resin composition comprises an epoxy resin (A) that has a total chlorine content of 0.01 to 1000ppm and a resin (B) that has a melting or softening point of 50°C or higher, the content of the epoxy resin (A) being 20 to 90% by mass relative to the total amount of all the resins.</p>