The general method to find a H. pylori in the stomach is the rapid urease test but it is only used to decide the infection with H. pylori. In this study, it is tried to develope fiber-optic pH sensor which can be used with gastroscop to quantify H. pylori. To measure the degree of infection with H. pylori, the color change of phenol red according to the degree of pH is measured by optical fibers with different light sources and the optimum distance from a sample to the end of sensor tip is decided by measuring the maximum reflectivity from a sample. Also the sensitivity study is carried out to decide the optimum light source which has sensitive change of reflectivity to the change of pH. It is expected that the fiber-optic pH sensor which measures the degree of infection with H. pylori exactly can be developed.