They were stored in cylindrical pottery jars and kept perfectly preserved in the almost moisture-free conditions of the caves.
The caves where they were stored were nearly absent of any moisture.
The scrolls were bereft of any container and sat in the open air for centuries.