A cleaning device includes a cleaning roller, a supporting portion and a
guiding portion. The cleaning roller has a core and a cleaning member
provided around the core, the cleaning member contacting and cleaning a
charging roller by rotation of the cleaning roller, the charging roller
charging an image carrier carrying an image. The supporting portion
supports the core rotatably in a state in which the cleaning member is in
contact with the charging roller. The guiding portion movably guides the
core, which is supported by the supporting portion, in a direction
different from a direction of a straight line passing through a
rotational center of the charging roller and a rotational center of the
cleaning roller.