Based on the charging problem of wireless mouse, a magnetically coupled piezoelectric self-powered mouse is proposed in this paper. The piezoelectric self-powered mouse innovatively combines piezoelectric technology and scroll wheel structure into one. Moreover, the coupling in the structure deforms the piezoelectric element by magnetic force, avoiding damage to the piezoelectric element by direct contact. The introduction of non-linear forces improves the energy harvesting efficiency of the energy harvester. The distance between the piezoelectric cantilever beam and the rollers, and the number of magnets on the rollers are used as the study variables in this experiment. At a speed of 550 r/min, when the distance between the magnet attached to the free end of the piezoelectric cantilever beam and the mouse wheel is 17 mm and the number of magnets on the wheel is 4, the whole piezoelectric energy harvesting device has the maximum peak-to-peak voltage generated is 25.15 V. Through the design of the cantilever beam, greater deflection can be produced under the conditions of external force and size determination. The design of the structure is highly compatible with the actual mouse structure, which provides a great possibility to further combine the piezoelectric element with the mouse structure.