Abstract: A beaker for a sample dyeing machine comprises a hollow beaker body and a longitudinal sliding cylinder with flanges on both its ends. The outer wall of the cylinder is uniformly perforated for wrapping of a sample yarn or cloth to be dyed. A plurality of grooves is separately formed on the periphery of either one of the flanges to guide the flow of a dye solution. An annular passage is formed in the interior of the cylinder from one end to the other for allowing a dye solution to flow between the passage and the perforated wall of the cylinder. The beaker thus constructed can dye a sample uniformly and efficiently due to sufficient contact between a sample and a dye solution. The beaker also comprises a hollow tube outside the beaker body for one-way flow of a dye solution, and/or a dispensing device screwed on the top thereof for liquid addition to the beaker. A sample dyeing machine comprises a plurality of the beakers in a fixed rack.