Capacitive deionization (CDI) represents an alternative process to remove the ions from the brackish water. In this study two series of ordered mesoporous carbons (OMCs) that demonstrated the potential use for capacitive desalination have been synthesized