A toner container includes a longitudinal container body and a held
portion. The longitudinal container body has a first end and second end
distal to the first end in a length direction of the container body and a
gripper attached to the second end. The held portion is attached to the
first end of the container body and is configured to be detachably
attached to the toner-container holder. The held portion includes a toner
outlet for discharging the toner contained in the container body, and an
open/close member for opening/closing the toner outlet in synchronization
with an attachment/detachment operation to/from the toner-container
holder.