A Bergmagazin is a building that served as a granary for miners and the population of mining towns in German-speaking Europe.