An object of the present invention is that a capsule medical device can be manufactured, even if a part of functional components mounted on circuit boards is in a failed state, without wastefully discarding the remaining functional components in a good product state. According to a manufacturing method of a capsule medical device according to the present invention, light-emitting elements 3a to 3d and a solid-state imaging device 5 are mounted on a series of flexible boards 20a having a series of flexible circuit board structure, light-emitting elements 6a to 6d, a solid-state imaging device 8, and a wireless unit 9a are mounted on a series of flexible boards 20b, which is a separate body from the series of flexible boards 20a, and the series of flexible boards 20a and 20b are board-to-board connected to a control board 19c, which is a separate body from the series of flexible boards 20a and 20b.