We demonstrated the feasibility of harvesting mechanical energy through the proper design and installation of a lattice structure which undergoes snap-through deformation under applied mechanical loading. First, the theoretical formulations for both symmetric and asymmetric modes of the snap-through deformation in a 2D lattice structure were derived. Then, experiments were conducted on the prototype to measure the energy harvesting ability at different frequencies and to investigate the capability of charging a capacitor connected to the lattice prototype. Finally, the effects of the defect in the lattice on energy harvesting were discussed. Our results showed that the average generated voltage across a 25 kX resistor increased by increasing the frequency of loading. However, energy stored in a capacitor was independent of loading frequency. For a defective structure with a fixed vertex, the generated voltage is lower yet increasing with the frequency of loading. The designed structure is robust and provides sustainable energy output under cyclic loading even with the presence of defects and imperfections. Published by AIP Publishing.