Patent ID: 8224215

Claim:
An image forming apparatus, comprising: a casing formed with an opening; an electrostatic latent image bearing member having a surface on which an electrostatic latent image is formed; a toner cartridge that contains toner; a developing member that supplies the toner from the toner cartridge onto the surface of the electrostatic latent image bearing member, thereby developing the electrostatic latent image into a toner image; a transfer member that transfers the toner image from the surface of the electrostatic latent image bearing member to a recording medium; a developing device, to which the toner cartridge is removably coupled and which incorporates the developing member; a supplying member that supplies the toner from the toner cartridge to the developing device; a returning member that recovers the toner from the developing device into the toner cartridge, the returning member being able to operate independently from the supplying member; a mounting/detaching detecting unit that detects whether the toner cartridge is mounted to or detached from the casing, or whether the opening is opened or closed; a replacement-timing detecting unit that detects whether the toner cartridge should be replaced with a new one based on an amount of toner contained in the toner cartridge; and a control unit that, when the replacement-timing detecting unit determines that the toner cartridge should be replaced with a new one, performs a recovery control causing the returning member to be operated while supplying member is stopped, wherein after executing the recovery control, if the mounting/detaching detecting unit detects that the toner cartridge is mounted to the developing device or that the opening is closed, the control unit controls the supplying member to be operated by a predetermined amount while the returning member is stopped, wherein after operating the supplying member by the predetermined amount, the replacement-timing detecting unit determines whether the toner cartridge should be replaced with a new one.