Patent ID: 8774672

Claim:
An image forming apparatus comprising: a body; a holding member configured to be movable between a housing position where the holding member is accommodated in the body, and a drawn-out position where the holding member is drawn out to an outside of the body; a first cartridge configured to be attached to the holding member, along a first attachment path, at a first image forming position and to be held in the holding member; a second cartridge configured to be attached to the holding member, along a second attachment path, at a second image forming position and to be held in the holding member; a first restricting member disposed correspondingly with the first cartridge when the first cartridge is attached to the holding member; and a second restricting member disposed correspondingly with the second cartridge when the second cartridge is attached to the holding member, wherein the first and second restriction members are movably provided to the holding member such that the first and second restriction members move based on movement of the holding member, wherein the first cartridge and the second cartridge are arranged in a movement direction of the holding member, wherein, in a state where the holding member is in the drawn-out position, the first restricting member is located at a first unrestricted position that is retracted from the first attachment path and the second restricting member is located at a second unrestricted position that is retracted from the second attachment path, and wherein, in an attachment process in which the holding member is moved from the drawn-out position to the housing position, the first restricting member is moved from the first unrestricted position to a first restricting position on the first attachment path to restrict the first cartridge from being detached from the first image forming position and the second restricting member is moved from the second unrestricted position to a second restricting position on the second attachment path to restrict the second cartridge from being detached from the second image forming position.