Disclosed is a photocurable resin composition which comprises a photopolymerization initiator having two oxime ester groups in the molecule, a resin containing a carboxyl group, and a compound having two or more ethylenically unsaturated groups in the molecule. The composition can achieve high sensitivity, can provide a dried coating film having excellent touch dryness of fingers, can prevent the generation of an out gas during curing or the like, and can achieve all of excellent alignment accuracy, high productivity and high reliability in the formation of a solder resist for a printed wiring board or the like.