The invention discloses a double-axis vibrating sensor based on the flexoelectric principle. The double-axis vibrating sensor based on the flexoelectric principle comprises a sensing unit with a high flexoelectric coefficient and four electrodes, wherein the four electrodes adhere to the surface in the length direction of the sensing unit and are not connected, the sensing unit is connected to the side face of a structure to be detected through epoxy glue, the electrodes are electrically connected with a double-circuit charge amplifier, the double-circuit charge amplifier is electrically connected with a signal processing circuit, and the signal processing circuit is electrically connected with a storage and display module; when double-axis vibration happens to the structure to be detected, corresponding flexural deflection is generated by the sensing unit located on one side of the structure to be detected, a strain gradient is generated in the deflection direction of the sensing unit, two groups of corresponding polarization charges are output by the passive sensing unit, and the real-time double-axis vibrating condition of the structure to be detected is obtained by measuring and analyzing the charges in real time. According to the double-axis vibrating sensor based on the flexoelectric principle, no power needs to be supplied to the sensing unit, additional arrangement of a sensitive element is not needed, and the real-time double-axis vibrating condition of the structure to be detected can be obtained simply by directly analyzing and processing output charge signals generated through vibration.