A method of depositing an active material for a metal ion battery comprising the steps of: providing a conductive material in an electrodeposition bath wherein the electrodeposition bath contains an electrolyte comprising a source of the active material; and electrodepositing the active material onto a surface of the conductive material.