A charging device that switches and executes a first mode which brings a
magnetic brush into contact with a photosensitive member to charge a
surface of the photosensitive member and a second mode which collects a
two-component developing agent including a toner and a carrier, which
remains on the surface of the photosensitive member. The charging device
includes a magnetic brush carrying roller, a toner collecting roller, a
toner removing member, and a regulating member. The toner collecting
roller is located further on a downstream side than the regulating member
and further on an upstream side than a contact position of the magnetic
brush and the photosensitive member in a moving direction of a roller
surface of the magnetic brush carrying roller.