A flexible electric fly swatter comprising a grid of electrically conducting shape memory materials encased within a flexible frame for striking against and electrocuting a fly on a surface or in the air. The single layer grid has odd and even rods oppositely charged where both the frame and the grid return back to their original shape after being struck. An alternate embodiment of this invention is a flexible electric fly swatter comprising two or more meshes in parallel of electrically conducting shape memory materials that are fastened together with connecting-spacers to allow a gap between the top mesh and the bottom meshes such that when a fly touches the meshes the circuit is completed and the fly is electrocuted. Also included in this invention is a spring-pivot-hinge fastened between the dorsal part of the handle to the proximal part of the frame or meshes.