A photosensitive resin composition comprising (A) a photopolymerizable compound having an ethylenically unsaturated group and an acid substituent, (B) a curing agent, (C) a photopolymerization initiator, and (D) a photopolymerizable compound, wherein the photopolymerizable compound (D) is a polyfunctional monomer which has a skeleton (X) derived from a polyhydric alcohol and having three or more bonding groups (a), each bonded to another structure and corresponding to a hydroxy group from which the hydrogen atom has been removed, and which has three or more (meth)acryloyl groups bonded directly or indirectly to the bonding groups (a), and wherein at least one (meth)acryloyl group of the three or more (meth)acryloyl groups is bonded to the bonding group(s) (a) via a linking group.