The oxygen evolution reaction (OER) is a complex four-electron transfer process that poses a significant challenge to the efficient production of hydrogen through water splitting. However, developing non-noble metal electrocatalyst with excellent OER performance is still a big challenge. Herein, we propose a new strategy for the in-situ growth of two-dimensional amorphous/crystalline thiophene-based Ni-Fe metal–organic frameworks (MOFs) using Ni-Fe foam (NFF) as metal source and current collector, and thiophene-2,5-dicarboxylic acid (TDC) as corrosion agent and ligand. TDC was ionized at high temperature to produce H+ ions that etch NFF to release Ni2+ and Fe2+ ions, which were coordinated with TDC to in situ synthesize two-dimensional Ni-Fe thiophenedicarboxylate coordination polymer (NiFe-TDC) nanobelts on NFF. The unique structure and synergistic effect of Ni and Fe ions of NiFe-TDC0.05 result in the excellent OER performance with an overpotential of 224 and 256 mV at current densities of 10 and 100 mA cm−2, respectively, and it can run stably for 100 h at a current density of 100 mA cm−2, indicating the outstanding stability. Furthermore, NiFe-TDC0.05 remains the excellent OER performance with an extremely low potential of 196 and 271 mV at current densities of 10 and 100 mA cm−2 in seawater with 1 mol L-1 (M) KOH, respectively. The assembled NiFe-TDC0.05 || Pt/C water electrolysis cell achieves a current density of 100 mA cm−2 at a low voltage of 1.78 V. The work provides a new method to prepare two dimensional MOFs for efficient water oxidation.