An image forming apparatus comprising: an image bearing member configured to bear an image; an apparatus body including a transfer member configured to transfer the image borne on the image bearing member to a recording material, the transfer member being movable between a first position in which the transfer member is in contact with the image bearing member and a second position in which the transfer member is separated from the image bearing member; and an opening/closing member arranged on a side portion of the apparatus body on a first side in a first direction and movable between an open position and a closed position with respect to the apparatus body, the first direction being a direction orthogonal to a rotational axis direction of the image bearing member, wherein the apparatus body further includes a movement mechanism configured to move the transfer member in accordance with a movement of the opening/closing member, and wherein the movement mechanism includes a first movable member configured to move toward the first side in the first direction in accordance with the movement of the opening/closing member from the closed position to the open position, the first movable member being configured to move a first end portion (9b1) of the transfer member from the first position to the second position during a movement of the first movable member toward the first side in the first direction, the first movable member being provided on a first side, on which the first end portion (9b1) is provided, in the rotational axis direction, and a second movable member configured to move in a second direction along the rotational axis direction in accordance with the movement of the first movable member toward the first side in the first direction, the second movable member being configured to move a second end portion (9b2) of the transfer member from the first position to the second position during a movement of the second movable member in the second direction, the second end portion (9b2) being provided on a second side opposite from the first side in the rotational axis direction. an image bearing member configured to bear an image; an apparatus body including a transfer member configured to transfer the image borne on the image bearing member to a recording material, the transfer member being movable between a first position in which the transfer member is in contact with the image bearing member and a second position in which the transfer member is separated from the image bearing member; and an opening/closing member arranged on a side portion of the apparatus body on a first side in a first direction and movable between an open position and a closed position with respect to the apparatus body, the first direction being a direction orthogonal to a rotational axis direction of the image bearing member, wherein the apparatus body further includes a movement mechanism configured to move the transfer member in accordance with a movement of the opening/closing member, and wherein the movement mechanism includes a first movable member configured to move toward the first side in the first direction in accordance with the movement of the opening/closing member from the closed position to the open position, the first movable member being configured to move a first end portion (9b1) of the transfer member from the first position to the second position during a movement of the first movable member toward the first side in the first direction, the first movable member being provided on a first side, on which the first end portion (9b1) is provided, in the rotational axis direction, and a second movable member configured to move in a second direction along the rotational axis direction in accordance with the movement of the first movable member toward the first side in the first direction, the second movable member being configured to move a second end portion (9b2) of the transfer member from the first position to the second position during a movement of the second movable member in the second direction, the second end portion (9b2) being provided on a second side opposite from the first side in the rotational axis direction. a first movable member configured to move toward the first side in the first direction in accordance with the movement of the opening/closing member from the closed position to the open position, the first movable member being configured to move a first end portion (9b1) of the transfer member from the first position to the second position during a movement of the first movable member toward the first side in the first direction, the first movable member being provided on a first side, on which the first end portion (9b1) is provided, in the rotational axis direction, and a second movable member configured to move in a second direction along the rotational axis direction in accordance with the movement of the first movable member toward the first side in the first direction, the second movable member being configured to move a second end portion (9b2) of the transfer member from the first position to the second position during a movement of the second movable member in the second direction, the second end portion (9b2) being provided on a second side opposite from the first side in the rotational axis direction.