The MoS2/PDMS was not only a piezo-catalyst but also acting as a triboelectric nanogenerator. The MoS2/PDMS can decompose the RB dye with 99% under an ultrasonic vibration in the dark. The MoS2/PDMS nanocomposite was capable to purify the waste water and collect its mechanical energy.