The invention anywhere in the digestive tract without regard to the size of the diameter of the constitution to allow for variation in length as a capsule endoscope to be taken about this, and the optical dome, is bonded to the optical dome and spaced apart by a first capsule, with the first capsule the first distance to a built-in illumination optical system includes a built-in power supply and transmission is and the second capsules, the configuration of the first connection and the capsule and a second capsule when the pH is greater than or equal to a constant and the second capsule the first capsule to a length adjustment device for varying the length such that the second distance is longer than the first distance and, the length adjustment device includes a bellows and a magnet for connecting the second capsule with said first capsule is configured between the first capsule and a second capsule, including the first surface of the first capsule and a second capsule is coated between the capsule and a second capsule form and is characterized by consisting of a pH sensor to check the pH.본 발명은 길이 변동이 가능하도록 구성하여 직경의 크기에 구애받지 않고 소화기관의 어디라도 촬영이 가능하도록 한 캡슐 내시경에 관한 것으로서, 광학 돔과, 상기 광학 돔에 접합되어 조명 광학계를 내장하는 제 1 캡슐과, 상기 제 1 캡슐과 제 1 거리만큼 이격되어 전원부를 내장하고 송신부가 구비된 제 2 캡슐과, 상기 제 1 캡슐과 제 2 캡슐을 연결하면서 pH가 일정 이상일 때 상기 제 1 캡슐과 제 2 캡슐을 상기 제 1 거리보다 긴 제 2 거리가 되도록 길이를 가변하는 길이 가변 장치로 구성되고, 상기 길이 가변 장치는 상기 제 1 캡슐과 제 2 캡슐 사이에 구성되어 상기 제 1 캡슐과 제 2 캡슐을 연결하는 자바라 및 자석과, 상기 제 1 캡슐과 제 2 캡슐의 표면을 포함한 상기 제 1 캡슐과 제 2 캡슐 사이에 코팅되어 형성되며 pH를 검사하는 pH 센서로 이루어진 것을 특징으로 한다.