An image forming apparatus includes a developing device for developing an electrostatic
image formed on an image bearing member with developer including toner and carrier,
a density sensor for detecting a density of the toner, a control unit for controlling
the amount of toner to be supplied to the developing device by comparing an output
of the density sensor with a target value, a changing unit for changing the target
value when the output of the density sensor falls into an error level, and a recovering
unit for supplying the toner based on the target value changed by the changing
unit to perform a recovery operation.