A manganese dioxide (MnO2)/bamboo carbon (BC) composite was prepared using hydrothermal and impregnation methods and used for the capacitive desalination (CDI) and disinfection of water. The results showed that these composites had fast Na+ ion exchange and charge transfer properties. During the CDI process, these composites' electrodes exhibited good cycle stability and electrosorption capacity (4.09 mg/g) and an excellent bactericidal effect. These carbon-based composite electrodes' bactericidal rate for Escherichia coli could reach 99.99% within 180 min; therefore, they had good performance and are a good choice for high-performance deionization applications.