We report on a new sensing concept based on resonances supported by a one-dimensional photonic crystal (1DPhC) microcavity resonator in the Kretschmann configuration. For a 1DPhC comprising six bilayers of TiO2/SiO2 with a termination layer of TiO2 employed to form a microcavity, we show that when the angle of incidence is changed, the Bloch surface waves (BSWs) can be transformed into cavity-mode resonances exhibiting an ultrahigh sensitivity and a figure of merit. Using wavelength interrogation, we demonstrate that Bloch surface TE wave excitation shows up as a sharp dip in the reflectance spectrum with a sensitivity and a figure of merit (FOM) of 70 nm per refractive index unit (RIU) and 19.5 RIU−1, respectively. When the angle of incidence decreases, cavity-mode resonances for both TE and TM waves are resolved for RI in a range of 1.0001–1.0005. The sensitivity and FOM can reach 52,300 nm/RIU and 402,300 RIU−1 for the TE wave, and 14,000 nm/RIU and 2154 RIU−1 for the TM wave, respectively. In addition, resonances are confirmed experimentally for a humid air with a sensitivity of 0.073 nm per percent of the relative humidity (%RH) for BSW resonance and is enhanced to 1.367 nm/%RH for the TM cavity-mode resonance. This research, to the best of the authors’ knowledge, is the first demonstration of a new BSW-like response that can be utilized in a simple sensing of a wide range of gaseous analytes.