An image forming apparatus for forming a toner image by feeding toner from a toner cartridge mounted to a developing device to a latent image electrostatically formed on an image carrier, wherein said toner cartridge comprises a hollow cylindrical container storing toner therein, an outlet formed in a circumferential wall of said container, and for causing said toner to be discharged therethrough, a lid pivotally mounted on said circumferential wall of said container, and for selectively opening or closing said outlet, a first magnetic member fitted on said container and adjoining said outlet, and a second magnetic member fitted on a free edge portion of said lid, wherein said lid hermetically closes said outlet due to attraction acting between said first magnetic member and said second magnetic member, and wherein said developing device comprises a mount portion for mounting said container in a rotatable manner, a toner replenishing opening formed in said mount portion and facing said outlet of said container, and a portion for selectively opening or closing said lid when said container is rotated about an axis thereof.