An image forming apparatus includes an image bearing member, charging
device which is in contact with the image bearing member and charges the
image bearing member, development device which forms a toner image on the
image bearing member and recovers a residual toner remaining after the
transfer from the image bearing member, transfer device which transfers
the toner image on the image bearing member onto a transfer material,
auxiliary charging device which is positioned at a downstream side of the
transfer device and at an upstream side of the charging device in a
rotating direction of the image bearing member, which is in contact with
the image bearing member and which is given a voltage of a polarity
opposite to that of the developing toner, and voltage selecting device
which selects the voltage applied to the auxiliary charging device based
on the potential of the image bearing member after the transfer. In this
manner, it is possible to prevent a defective image resulting from a
voltage applied to the auxiliary charging device, regardless of a
fluctuation of the potential on the photosensitive member after the
transfer.