A capsule endoscope includes: an imaging unit that images a subject and to acquire an image of the subject and is set to either of a first mode and a second mode; a data acquiring unit that acquires data other than an image; and a control unit that switches a mode of the imaging unit between the first mode and the second mode based on an analysis result of the image and an analysis result of the data. The control unit switches the mode of the imaging unit to the second mode based on the analysis result of the data when the mode of the imaging unit is set to the first mode, and switches the mode of the imaging unit to the first mode based on the analysis result of the image when the mode of the imaging unit is set to the second mode.