A sample analyzer comprising: a reagent container holder, configured to rotate around a rotational axis, for holding a reagent container containing a reagent; a reagent aspirator for aspirating the reagent from the reagent container held by the reagent container holder; an analysis section for analyzing a measurement sample that is prepared from the reagent aspirated by the reagent aspirator and a sample; and a controller configured to control: when the reagent is to be aspirated from the reagent container, the reagent container holder to rotate such that the reagent container is located at a reagent aspirating position at which the reagent aspirator aspirates the reagent; when the reagent is to be agitated, the reagent container holder to rotate while being accelerated and decelerated repeatedly and alternately; when the reagent container from which the reagent is to be aspirated is to be located at the reagent aspirating position, the reagent container holder to be accelerated with first acceleration to start rotating, and to be decelerated with first deceleration to stop rotating; and when the reagent is to be agitated, the reagent container holder to rotate while being repeatedly and alternately accelerated with second acceleration greater than the first acceleration and decelerated with second deceleration greater than the first deceleration. a reagent container holder, configured to rotate around a rotational axis, for holding a reagent container containing a reagent; a reagent aspirator for aspirating the reagent from the reagent container held by the reagent container holder; an analysis section for analyzing a measurement sample that is prepared from the reagent aspirated by the reagent aspirator and a sample; and a controller configured to control: when the reagent is to be aspirated from the reagent container, the reagent container holder to rotate such that the reagent container is located at a reagent aspirating position at which the reagent aspirator aspirates the reagent; when the reagent is to be agitated, the reagent container holder to rotate while being accelerated and decelerated repeatedly and alternately; when the reagent container from which the reagent is to be aspirated is to be located at the reagent aspirating position, the reagent container holder to be accelerated with first acceleration to start rotating, and to be decelerated with first deceleration to stop rotating; and when the reagent is to be agitated, the reagent container holder to rotate while being repeatedly and alternately accelerated with second acceleration greater than the first acceleration and decelerated with second deceleration greater than the first deceleration. when the reagent is to be aspirated from the reagent container, the reagent container holder to rotate such that the reagent container is located at a reagent aspirating position at which the reagent aspirator aspirates the reagent; when the reagent is to be agitated, the reagent container holder to rotate while being accelerated and decelerated repeatedly and alternately; when the reagent container from which the reagent is to be aspirated is to be located at the reagent aspirating position, the reagent container holder to be accelerated with first acceleration to start rotating, and to be decelerated with first deceleration to stop rotating; and when the reagent is to be agitated, the reagent container holder to rotate while being repeatedly and alternately accelerated with second acceleration greater than the first acceleration and decelerated with second deceleration greater than the first deceleration.