Reverse osmosis membranes hold great promise for dealing with global water scarcity. However, the trade-off between ion selectivity and water permeability is a serious obstacle to desalination. Herein, we introduce an effective strategy to enhance the desalination performance of the membrane. A series of molecular dynamics simulations manifest that an additional lateral electric field significantly promotes ion rejection in carbon nanotubes (CNTs) under the drive of longitudinal pressure. Specifically, with the increase in the electric field, the ion flux shows a deep linear decay, while the water flux decreases only slightly, resulting in a linear increase in ion rejection. The energy barriers of ions around the CNT inlet are obtained by calculating the potentials of mean force to explain enhanced ion rejection. The lateral electric field uniformly raises the energy barriers of ions by pushing them away from the CNT inlet, corresponding to the enhanced ion velocity in the field direction. Furthermore, with the increase in CNT diameter, there is a significant increase in the flux of both ions and water; however, the lateral electric field can also obviously enhance the ion rejection in wider CNTs. Consequently, the enhancement of ion rejection by lateral electric fields should be universal for different CNT diameters, which opens a new avenue for selective permeation and may have broad implications for desalination devices with large pore sizes.