An image forming apparatus including: an image bearing member; an electrifying
unit for electrifying the image bearing member at a contact portion in order to
form an electrostatic image on the image bearing member, a voltage, in which a
direct-current voltage and an alternating-current voltage are superimposed on each
other, being applied to the electrifying unit; and a developing unit for developing
the electrostatic image on the image bearing member using toner; where after a
toner image on the image bearing member is transferred onto a transferring medium,
residual toner residing on the image bearing member is carried to the contact portion
in accordance with rotation of the image bearing member, and a peak to peak voltage
of the alternating-current voltage applied to the electrifying unit in order to
discharge the residual toner adhering to the electrifying unit to the image bearing
member during a certain period of non-image forming is set so as to be higher than
a peak to peak voltage applied during image forming.