Abstract: According to an embodiment, a rack accommodation device includes, a base capable of supporting supporters on a plurality of stages in a first direction and in a plurality of rows in a second direction across the first direction, the supporters each being configured to hold a rack capable of holding a plurality of upright sample holders each accommodating a sample, a first movement mechanism configured to move the supporters in the first direction, and a second movement mechanism configured to move the supporters in the second direction.