The resonant frequency and sensitivity of flexural vibration for an atomic force microscope (AFM) cantilever with a sidewall probe have been analyzed. A closed-form expression for the sensitivity of vibration modes has been obtained using the relationship between the resonant frequency and contact stiffness of cantilever and sample. The results show that a sidewall scanning AFM is more sensitive when the contact stiffness is lower and that the first mode is the most sensitive. However, the high-order modes become more sensitive than the low-order modes as the contact stiffness increases. The resonance frequency of an AFM cantilever is low when contact stiffness is small. However, the frequency rapidly increases as contact stiffness increases. In addition, it can be found that the effects of the vertical extension on the sensitivity and the resonant frequency of an AFM cantilever are significant. Decreasing the length of vertical extension can increase the resonance frequency and sensitivity of mode 1 when the contact stiffness is small. However, the situation is reverse when the contact stiffness becomes large.