The invention proposes a device for decaffeinating a liquid. The device includes at least one cathode electrode and at least one anode electrode which are spaced apart and which are immersed in the liquid a power supply coupled to the at least one cathode electrode and the at least one anode electrode and configured to apply power thereto, wherein the at least one cathode electrode and the at least one anode electrode are configured to generate an electric field in the liquid upon application of the power to attract caffeine molecules in the liquid to the at least one cathode electrode wherein the at least one cathode electrode is made of or coated with an absorbing material configured to absorb at least part of the caffeine molecules that are attracted to the at least one cathode electrode.