The invention relates to a device for preparing a sample to be analyzed, in particular a stool sample, comprising a first container, which has a first container opening and which forms an accommodating chamber for a suspension liquid, in which suspension liquid the sample is at least partially contained, a second container, which has a second container opening and which forms a second accommodating chamber, wherein the first container can be or is at least partially accommodated in the second accommodating chamber, and a sample holder for inserting into the first container opening. The invention is characterized in that, in the first container, a liquid passage is formed, and that the first container and the second container are designed in such a way that suspension liquid passes from the first accommodating chamber into the second accommodating chamber when the first container is moved out of the second accommodating chamber. The invention further relates to a method for preparing a sample to be analyzed.