Using all-atom molecular dynamic simulations, we show that a monolayer C2N membrane possesses higher permeability and excellent ion selectivity, and that multilayer C2N membranes have promising potential for water desalination.