Provided is a medical device comprising a self propelled capsule endoscope which propels itself inside the human body by oscillation of a fin portion and a capsule control device which controls self propulsion of the capsule endoscope from outside the body the medical device being capable of precisely controlling the direction of movement of the capsule endoscope easily. This medical device (1) comprises: a capsule endoscope (2) which is equipped with a magnet (21) having a magnetization direction in an axial direction is provided with a fin portion (2b) on the rear end of the endoscope main body (2a) in the axial direction and which can be self propelled inside the body and a capsule control device (3) which controls self propulsion of the capsule endoscope (2) from outside the body by generating a static magnetic field and an alternating magnetic field orthogonal thereto the directions of which are controlled three dimensionally. The capsule endoscope (2) receives the static magnetic field and moves rotationally such that the magnetization direction is parallel to the direction of the static magnetic field and receives the alternating magnetic field to which the magnet (21) reacts whereby the fin portion (2b) bends and oscillates which then generates a propelling force in the axial direction.