A powder container, wherein the powder container is in the form of a cylinder and is attachable to a powder conveying device with a longitudinal direction of the powder container parallel to a horizontal direction, the powder conveying device including: a conveying nozzle, provided with a powder receiving opening to receive powder from the powder container, to convey the powder; an open/close member to open and close the powder receiving opening; a flange provided to the open/close member; a biasing member to bias the open/close member to close the powder receiving opening; and a container setting section to which a part of the powder container is to be inserted, the powder container comprising: a conveyor, arranged inside the powder container, to convey the powder from a second end of the powder container to a first end along the longitudinal direction of the powder container; a container opening protruding from the first end of the powder container wherein a container front end of the container opening has an edge; a nozzle receiving opening, provided in the container opening, into which the conveying nozzle provided to the powder conveying device is to be inserted; and a butting portion provided in the container opening, to butt against the flange so as to move the open/close member to open the powder receiving opening, characterized in that the butting portion is located on a container rear end side relative to the position of the edge of the container opening in the longitudinal direction of the powder container such that an inner housing space is formed between the butting portion and the edge, and the inner housing space is configured so that, when the powder container is attached to the powder conveying device, the container opening is inserted to the container setting section, and the flange and the biasing member are housed in the inner housing space of the container opening. a conveying nozzle, provided with a powder receiving opening to receive powder from the powder container, to convey the powder; an open/close member to open and close the powder receiving opening; a flange provided to the open/close member; a biasing member to bias the open/close member to close the powder receiving opening; and a container setting section to which a part of the powder container is to be inserted, the powder container comprising: a conveyor, arranged inside the powder container, to convey the powder from a second end of the powder container to a first end along the longitudinal direction of the powder container; a container opening protruding from the first end of the powder container wherein a container front end of the container opening has an edge; a nozzle receiving opening, provided in the container opening, into which the conveying nozzle provided to the powder conveying device is to be inserted; and a butting portion provided in the container opening, to butt against the flange so as to move the open/close member to open the powder receiving opening, a conveyor, arranged inside the powder container, to convey the powder from a second end of the powder container to a first end along the longitudinal direction of the powder container; a container opening protruding from the first end of the powder container wherein a container front end of the container opening has an edge; a nozzle receiving opening, provided in the container opening, into which the conveying nozzle provided to the powder conveying device is to be inserted; and a butting portion provided in the container opening, to butt against the flange so as to move the open/close member to open the powder receiving opening, characterized in that the butting portion is located on a container rear end side relative to the position of the edge of the container opening in the longitudinal direction of the powder container such that an inner housing space is formed between the butting portion and the edge, and the inner housing space is configured so that, when the powder container is attached to the powder conveying device, the container opening is inserted to the container setting section, and the flange and the biasing member are housed in the inner housing space of the container opening. the butting portion is located on a container rear end side relative to the position of the edge of the container opening in the longitudinal direction of the powder container such that an inner housing space is formed between the butting portion and the edge, and the inner housing space is configured so that, when the powder container is attached to the powder conveying device, the container opening is inserted to the container setting section, and the flange and the biasing member are housed in the inner housing space of the container opening.