Abstract The fast development of flexible electronic devices in recent years requires the development of flexible batteries. In this study, a compact and flexible battery (15 mm × 15 mm) was developed. The anode electrode of the battery was based on an anodized stainless mesh coated multiwalled carbon nanotubes (MWCNTs). The battery can be activated anytime, anywhere, by saline solution. The anodization process was applied to the anode electrode. After the heat-treatment process, the anodized stainless mesh was coated MWCNTs. The power generation characteristics of the flexible battery were investigated. Two types of anode electrodes made of stainless mesh with and without anodization were used for the experiment. The anodized stainless mesh anode generated 169 µW/cm 2 , which is four times higher than that of the anode without anodization, 41.9 µW/cm 2 .