In this paper, an optical refractive index (RI) sensor based on a hybrid plasmonic-photonic crystal (P-PhC) is designed. In the sensor's structure, some metallic rods are embedded in a rod-type photonic crystal (PhC) structure. Numerical simulations are performed based on the finite-difference time-domain (FDTD) method. The obtained results illustrate that the localized surface plasmons (LSP) induced by metallic rods can be excited in a PhC lattice to generate a hybrid P-PhC mode. According to the results, the hybrid mode provides unique opportunities. Using metallic rods in the coupling regions between waveguides and the resonant cavity significantly increases the interaction of the optical field and analyte inside the cavity. The simulation results reveal that high sensitivity of 1672nm/RIU and an excellent figure of merit (FoM) of 2388 RIU-1 are obtained for the proposed hybrid P-PhC sensor. These values are highest compared to the purely plasmonic and or purely PhC sensors reported in the literature. The proposed sensor could simultaneously enhance sensitivity and FoM values. Therefore, the proposed hybrid P-PhC RI sensor is a more fascinating candidate for high-sensitivity and high-resolution sensing applications at optic communication wavelengths.