According to the present invention, there is provided a printed wiring board for a CSP, which is excellent in the adhesion of solder balls to a substrate, and further, which is excellent in properties such as heat resistance, electric insulation after water absorption and anti-migration properties due to the use of the above-described resin.