Functionalized membranes for use in applications, such as electrodeionization, can be prepared simply and efficiently by contacting a conductive carbon nanotube and polymer membrane with a solution containing at least one electrochemically active and functional compound under conditions suitable for electrochemically depositing the electrochemically active and function compound on a surface of the membrane.