The best way to store ground coffee is in an airtight container. Ceramic, metal, or glass containers are best.
The grounds should be kept dry, so avoid any places where beans could be exposed to moisture such as a refrigerator. Heat and light can also damage coffee grounds, so always store them in a cool, dark place – for instance in a cupboard.