A novel strategy to fabricate Co3O4 nanosheet arrays for the oxygen evolution reaction (OER) was developed by electrodeposition of Co(OH)2 on nickel foam (NF) and subsequent in situ electrochemical oxidation into Co3O4 during the OER. The produced Co3O4@NF-15, which was further engraved with air plasma, exhibits the best performance and long-term stability.