A device for preventing or extinguishing a fire in an electrochemical energy storage system comprising storage cells arranged in a storage housing, in particular lithium-ion cells, wherein a composition of expandable volume, containing a chemical compound for preventing or extinguishing a fire, is disposed with limited volume in one or a.