An electrophotographic photosensitive member has an undercoat layer containing a polymerized product of a composition including electron transporting substance having a polymerizable functional group and a crosslinking agent, and resin particles. The content of the electron transporting substance is 30% by mass or more and 70% by mass or less based on the total mass of the composition. Protrusions derived from the resin particles in the undercoat layer are formed at an interface between the undercoat layer and the charge generating layer.