An image forming apparatus comprising: a developing portion configured to carry a magnetic brush including toner and a carrier and bring the magnetic brush into contact with an effective outer circumferential surface of an outer circumferential surface of a rotating photosensitive member on which effective outer circumferential surface an electrostatic latent image can be formed, thereby to develop the electrostatic latent image into a toner image; and a previous charge removal light-emitting portion configured to apply charge removal light to a charge removal target region of the effective outer circumferential surface of the photosensitive member which charge removal target region includes a part of a magnetic brush contact region with which the magnetic brush is brought into contact and a region between the magnetic brush contact region and a transfer position of the toner image; a charge removal light control portion configured to change a light amount of the previous charge removal light-emitting portion in accordance with a density of the toner image on the charge removal target region; the previous charge removal light-emitting portion includes a plurality of unit previous charge removal light-emitting portions (441, 442) capable of applying the charge removal light to a plurality of partial regions each of which forms a part of the charge removal target region in a width direction of the photosensitive member, including a first partial region and a pair of second partial regions, the first partial region including a center portion of the charge removal target region in the width direction of the photosensitive member, the pair of second partial regions being adjacent to both sides of the first partial region; wherein, in accordance with the density of the toner image on each of the plurality of partial regions of the charge removal target region, the charge removal light control portion is configured to adjust a light amount of the corresponding unit previous charge removal light-emitting portion (441, 442); when the density of the toner image on each of the plurality of partial regions is high, the charge removal light control portion is configured to make the light amount of the corresponding unit previous charge removal light-emitting portion (441, 442) smaller than when the density of the toner image is low; the charge removal light control portion further configured to control turning-on and turning-off of each of the plurality of unit previous charge removal light-emitting portions (441, 442) on the basis of whether the density of the toner image on each of the plurality of partial regions is less than a preset threshold. a developing portion configured to carry a magnetic brush including toner and a carrier and bring the magnetic brush into contact with an effective outer circumferential surface of an outer circumferential surface of a rotating photosensitive member on which effective outer circumferential surface an electrostatic latent image can be formed, thereby to develop the electrostatic latent image into a toner image; and a previous charge removal light-emitting portion configured to apply charge removal light to a charge removal target region of the effective outer circumferential surface of the photosensitive member which charge removal target region includes a part of a magnetic brush contact region with which the magnetic brush is brought into contact and a region between the magnetic brush contact region and a transfer position of the toner image; a charge removal light control portion configured to change a light amount of the previous charge removal light-emitting portion in accordance with a density of the toner image on the charge removal target region; the previous charge removal light-emitting portion includes a plurality of unit previous charge removal light-emitting portions (441, 442) capable of applying the charge removal light to a plurality of partial regions each of which forms a part of the charge removal target region in a width direction of the photosensitive member, including a first partial region and a pair of second partial regions, the first partial region including a center portion of the charge removal target region in the width direction of the photosensitive member, the pair of second partial regions being adjacent to both sides of the first partial region; wherein, in accordance with the density of the toner image on each of the plurality of partial regions of the charge removal target region, the charge removal light control portion is configured to adjust a light amount of the corresponding unit previous charge removal light-emitting portion (441, 442); when the density of the toner image on each of the plurality of partial regions is high, the charge removal light control portion is configured to make the light amount of the corresponding unit previous charge removal light-emitting portion (441, 442) smaller than when the density of the toner image is low; the charge removal light control portion further configured to control turning-on and turning-off of each of the plurality of unit previous charge removal light-emitting portions (441, 442) on the basis of whether the density of the toner image on each of the plurality of partial regions is less than a preset threshold.