An electrophotographic photosensitive member, comprising: a support; an undercoat layer on the support; and a photosensitive layer on the undercoat layer, wherein the undercoat layer comprises a polymerized product of a composition comprising a compound represented by the following formula: wherein, R 1 represents an alkyl group having 1 to 6 main-chain carbon atoms and having two or more polymerizable functional groups, a group derived from one of CH 2 in the main chain of the alkyl group having 1 to 6 main-chain carbon atoms substituted for an oxygen atom and having two or more polymerizable functional groups, or a group derived from one of CH 2 in the main chain of the alkyl group having 1 to 6 main-chain carbon atoms substituted for NR 7 and having two or more polymerizable functional groups, the polymerizable functional groups is a hydroxy group, a thiol group, an amino group, or a carboxyl group; R 7 represents a hydrogen atom or an alkyl group; R 2 represents an unsubstituted or substituted alkyl group having 1 to 6 main-chain carbon atoms, a group having 1 to 6 main chain atoms and derived from one of CH 2 in a main chain of an unsubstituted or substituted alkyl group substituted for an oxygen atom, a group having 1 to 6 main chain atoms and derived from one of CH 2 in the main chain of an unsubstituted or substituted alkyl group substituted for NR 8, or a substituted aryl group, and R 8 represents a hydrogen atom or an alkyl group; a substituent of the substituted alkyl group is an alkyl group having 1 to 6 carbon atoms, a benzyl group, an alkoxycarbonyl group, or a phenyl group; a substituent of the substituted aryl group is a halogen atom, a cyano group, a nitro group, a methyl group, an ethyl group, an isopropyl group, a n-propyl group, a n-butyl group, an acyl group, an alkoxycarbonyl group, an alkoxy group, a thioalkoxy group, or an aminoalkoxy group, and an atomic number of all substituent except for hydrogen atoms, which the aryl group has, is 4 or more; and R 3 to R 6 each independently represent a hydrogen atom, a halogen atom, a cyano group, a nitro group, an unsubstituted or substituted alkyl group, or an unsubstituted or substituted aryl group. a support; an undercoat layer on the support; and a photosensitive layer on the undercoat layer, wherein the undercoat layer comprises a polymerized product of a composition comprising a compound represented by the following formula: wherein, R 1 represents an alkyl group having 1 to 6 main-chain carbon atoms and having two or more polymerizable functional groups, a group derived from one of CH 2 in the main chain of the alkyl group having 1 to 6 main-chain carbon atoms substituted for an oxygen atom and having two or more polymerizable functional groups, or a group derived from one of CH 2 in the main chain of the alkyl group having 1 to 6 main-chain carbon atoms substituted for NR 7 and having two or more polymerizable functional groups, the polymerizable functional groups is a hydroxy group, a thiol group, an amino group, or a carboxyl group; R 7 represents a hydrogen atom or an alkyl group; R 2 represents an unsubstituted or substituted alkyl group having 1 to 6 main-chain carbon atoms, a group having 1 to 6 main chain atoms and derived from one of CH 2 in a main chain of an unsubstituted or substituted alkyl group substituted for an oxygen atom, a group having 1 to 6 main chain atoms and derived from one of CH 2 in the main chain of an unsubstituted or substituted alkyl group substituted for NR 8, or a substituted aryl group, and R 8 represents a hydrogen atom or an alkyl group; a substituent of the substituted alkyl group is an alkyl group having 1 to 6 carbon atoms, a benzyl group, an alkoxycarbonyl group, or a phenyl group; a substituent of the substituted aryl group is a halogen atom, a cyano group, a nitro group, a methyl group, an ethyl group, an isopropyl group, a n-propyl group, a n-butyl group, an acyl group, an alkoxycarbonyl group, an alkoxy group, a thioalkoxy group, or an aminoalkoxy group, and an atomic number of all substituent except for hydrogen atoms, which the aryl group has, is 4 or more; and R 3 to R 6 each independently represent a hydrogen atom, a halogen atom, a cyano group, a nitro group, an unsubstituted or substituted alkyl group, or an unsubstituted or substituted aryl group.