An image forming apparatus includes an image bearing member; toner image
formation means for forming a toner image on the image bearing member;
removing means for removing deposited matter deposited on the image
bearing member; detecting means for detecting a toner image to be
detected, formed on the toner image formation means; control means for
controlling a toner image forming condition of the toner image forming
means in accordance with a result of detection of the toner image to be
detected by the detecting means; the apparatus being operable in a mode
in which the removing means operates to remove the deposition, and the
detecting means operates to detect the toner image to be detected,
executing means for executing an operation in the mode; and an operating
portion for manually starting execution of the operation in the mode by
the executing means.