The image forming apparatus includes a rotatable image bearing member, a
charging member that is contactably provided to the image bearing member
and that charges the image bearing member with a voltage containing an AC
component and a DC component; and a control device that makes selection
on whether a mode, in which a rotation time of the image bearing member
is prolonged and in which a voltage is applied to the charging member in
the prolonged rotation time, is performed or not. As a result, the image
forming apparatus is provided which performs charging with high
stability.