Optical fiber sensors developed for measuring pH values usually employ an unclad and unstrained section of the fiber. In this paper, we describe the design and fabrication of a microbent fiber optic sensor that can be used for pH sensing. In order to obtain the desired performance, a permanently microbent portion of a plastic optic fiber is coated with a thin film of dye impregnated sol–gel material. The measurements are simultaneously carried out in two independent detection schemes viz., the bright field detection configuration for detecting the core modes and dark field detection configuration, for detecting the cladding modes. The results of measurements of core mode-power and cladding mode-power variation with change in pH of a solution surrounding the coated portion of the fiber is presented. This paper thus demonstrates how a bare plastic fiber can be modified for pH sensing in a simple and cost effective manner.