An image forming apparatus wherein a wire of a charger is cleaned while a process
unit is attached to or removed from a casing. A cleaning unit pinches the wire
of the charger therein slidably, and reciprocates to clean the wire when the process
unit is attached to or removed from the casing.