An image forming apparatus includes a toner forced discharge treatment for executing a toner discharge mode in which toner inside a developing device is forcedly consumed, and a toner discharge judgment treatment capable of judging necessity of execution of the toner discharge mode based on a decision as to whether or not a toner state inside the developing device is in a state of leading to an image quality defect. Further, the apparatus includes a toner forced supply treatment for executing a toner supply mode in which new toner is supplied from a toner replenishment device to the developing device in addition to execution of the toner discharge mode.