The optimal conditions for storing firearms generally include a relative humidity level of around 50% and a stable, cool temperature. Consider using a dehumidifier or desiccant packs to control moisture levels in the cabinet. Excessive moisture can lead to rust, while extreme temperatures can negatively impact the performance of firearms.