Provided is a capsule endoscope (C) that includes a lens frame (31) which abuts on a cover glass (28) covering a CCD (26) having a rectangular outline and holds lens members (32, 33) focusing an image on the CCD (26) and a holder (29) which abuts on the cover glass (28) and holds the lens frame (31), in order to obtain a good image inside a subject without complicating the assembling work. An abutting portion (29c) which can abut on the outline of the cover glass (28) is formed while extending from the lower edge of the holder (29), and the lens members (32, 33) are positioned with respect to the CCD (26) by causing the abutting portion (29c) to abut on the outline of the cover glass (28).