Electromagnetic flowmeter(EMF) is a common volumetric flow measurement instrument widely used in industrial flow measurement. With the development of EMF in the direction of high precision and intelligence, it is increasingly urgent to further improve the accuracy of EMF measurement. The key to reducing measurement error and eliminating the impact of interference noise is optimizing the electromagnetic flow sensor structure. Aiming at the existing EMF electrode optimization deficiencies, a new mesh structure electrode is firstly proposed in this paper. Then, a theoretical study on the distribution of virtual current density based on this mesh structure electrode is carried out, different structure electrodes are verified and analyzed through COMSOL finite element simulation, and the optimal structure design parameters of the new mesh electrode are obtained. Finally, an experimental platform is built, and a comparative experiment is conducted on the electromagnetic flow measurement system composed of the new mesh structure electrodes. The experimental results show that the maximum relative error of the optimized electromagnetic flow measurement system (OEMFS) is reduced by 0.47% compared with the ordinary EMF in the non-axisymmetric flow test. In the low-flow velocity test, the maximum relative error of the OEMFS is reduced by 7.46% compared with the ordinary EMF. In the strong interference test, the steady-state fluctuation of the amplitude of the OEMFS is reduced by 5.01% compared with the ordinary EMF. The OEMFS has better anti-interference, and the relative error of the system is less affected by the change in flow rate.