In an electrophotographic photosensitive member, a first intermediate layer contains a polymerized product of a composition including an electron transporting substance having a polymerizable functional group, and a crosslinking agent, and a second intermediate layer contains a binder resin and a metal oxide particle.