Provided is an electrophotographic apparatus including: an electrophotographic photosensitive member; a voltage application unit configured to cause discharge from an electroconductive member to the electrophotographic photosensitive member; a charge transfer amount detection unit configured to detect a charge transfer amount per unit time resulting from the discharge from the electroconductive member to the electrophotographic photosensitive member; and a charging potential control unit, wherein V