In an image forming apparatus, exhaust fans of a ventilation device and an intake port of an air purifier are provided on side wall portions respectively that are opposite each other in a main casing of the image forming apparatus, and the exhaust fans of the ventilation device are provided in a location higher than the intake port of the air purifier. With this configuration, silicone that is discharged from the exhaust fans of the ventilation device is almost never suctioned into the intake port of the air purifier, such that almost none of this silicone adheres to a discharging electrode of the ion generator, and an ion generating efficiency of the ion generator can be maintained over a long period without dropping.