Energy storage using batteries offers a solution to the intermittent nature of energy production from renewable sources; however, such technology must be sustainable. This Review discusses battery development from a sustainability perspective, considering the energy and environmental costs of state-of-the-art Li-ion batteries and the design of new systems beyond Li-ion. Images: batteries, car, globe: © iStock/Thinkstock.