In a developing apparatus provided with developer container attaching and detaching means that makes a developer container attachable to and detachable from a developing device, inadvertent operation preventing means is provided that disables, when the developing apparatus is detached from an image forming apparatus main body, operation of the developer container attaching and detaching means.