An image forming apparatus of the present invention includes a charging device
having a charging mechanism positioned to face the circumference of a photoconductive
drum and a casing member surrounding the charging means. A solid, high-molecular
electrolytic film is mounted on the casing member with one surface facing the inside
of the casing member and the other surface facing the outside of the same. A porous
cathode is mounted on one surface of the electrolytic film, which faces the inside
of the casing member, and connected to the cathode of a power supply. A porous
anode is mounted on the other surface of the electrolytic film, which faces the
outside of the casing member, and connected to the anode of the power supply.